My Project
|
Public Member Functions | |
Configuration () | |
Initializes a new instance of the Configuration class More... | |
Configuration (IDictionary< string, string > defaultHeader, IDictionary< string, string > apiKey, IDictionary< string, string > apiKeyPrefix, string basePath="https://api.orbipay.com/payments/v1") | |
Initializes a new instance of the Configuration class More... | |
Configuration (ApiClient apiClient=null, IDictionary< string, string > defaultHeader=null, string username=null, string password=null, string accessToken=null, IDictionary< string, string > apiKey=null, IDictionary< string, string > apiKeyPrefix=null, string tempFolderPath=null, string dateTimeFormat=null, int timeout=100000, string userAgent="orbipay-paymentsapi-client/1.13.0/csharp") | |
Initializes a new instance of the Configuration class with different settings More... | |
Configuration (ApiClient apiClient) | |
Initializes a new instance of the Configuration class. More... | |
string | GetApiKeyWithPrefix (string apiKeyIdentifier) |
Gets the API key with prefix. More... | |
void | AddDefaultHeader (string key, string value) |
Add default header. More... | |
ApiClient | CreateApiClient () |
Creates a new ApiClient based on this Configuration instance. More... | |
void | AddApiKey (string key, string value) |
Add Api Key Header. More... | |
void | AddApiKeyPrefix (string key, string value) |
Sets the API key prefix. More... | |
Static Public Member Functions | |
static String | ToDebugReport () |
Returns a string with essential information for debugging. More... | |
Public Attributes | |
const string | Version = "1.13.0" |
Version of the package. More... | |
const string | ISO8601_DATETIME_FORMAT = "o" |
Identifier for ISO 8601 DateTime Format More... | |
Static Public Attributes | |
static readonly ExceptionFactory | DefaultExceptionFactory |
Default creation of exceptions for a given method name and response object More... | |
Properties | |
static Configuration | Default [get, set] |
Gets or sets the default Configuration. More... | |
virtual ApiClient | ApiClient [get] |
Gets an instance of an ApiClient for this configuration More... | |
virtual string | BasePath [get, set] |
Gets or sets the base path for API access. More... | |
virtual string | ClientKey [get, set] |
Gets or sets the base path for API access. More... | |
virtual string | ClientSigKey [get, set] |
Gets or sets the client key for API access. More... | |
virtual string | ClientApiKey [get, set] |
Gets or sets the base path for API access. More... | |
virtual string | Algorithm [get, set] |
Gets or sets the Algorithm for API access. More... | |
virtual IDictionary< string, string > | DefaultHeader [get, set] |
Gets or sets the default header. More... | |
virtual int | Timeout [get, set] |
Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. More... | |
virtual string | UserAgent [get, set] |
Gets or sets the HTTP user agent. More... | |
virtual string | Username [get, set] |
Gets or sets the username (HTTP basic authentication). More... | |
virtual string | Password [get, set] |
Gets or sets the password (HTTP basic authentication). More... | |
virtual string | AccessToken [get, set] |
Gets or sets the access token for OAuth2 authentication. More... | |
virtual string | TempFolderPath [get, set] |
Gets or sets the temporary folder path to store the files downloaded from the server. More... | |
virtual string | DateTimeFormat [get, set] |
Gets or sets the the date time format used when serializing in the ApiClient By default, it's set to ISO 8601 - "o", for others see: https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx No validation is done to ensure that the string you're providing is valid More... | |
virtual IDictionary< string, string > | ApiKeyPrefix [get, set] |
Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. More... | |
virtual IDictionary< string, string > | ApiKey [get, set] |
Gets or sets the API key based on the authentication name. More... | |
Properties inherited from Orbipay.PaymentsApi.Client.Client.IReadableConfiguration | |
string | AccessToken [get] |
Gets the access token. More... | |
IDictionary< string, string > | ApiKey [get] |
Gets the API key. More... | |
IDictionary< string, string > | ApiKeyPrefix [get] |
Gets the API key prefix. More... | |
string | BasePath [get] |
Gets the base path. More... | |
string | DateTimeFormat [get] |
Gets the date time format. More... | |
IDictionary< string, string > | DefaultHeader [get] |
Gets the default header. More... | |
string | TempFolderPath [get] |
Gets the temp folder path. More... | |
int | Timeout [get] |
Gets the HTTP connection timeout (in milliseconds) More... | |
string | UserAgent [get] |
Gets the user agent. More... | |
string | Username [get] |
Gets the username. More... | |
string | Password [get] |
Gets the password. More... | |
Orbipay.PaymentsApi.Client.Client.Configuration.Configuration | ( | ) |
Initializes a new instance of the Configuration class
Orbipay.PaymentsApi.Client.Client.Configuration.Configuration | ( | IDictionary< string, string > | defaultHeader, |
IDictionary< string, string > | apiKey, | ||
IDictionary< string, string > | apiKeyPrefix, | ||
string | basePath = "https://api.orbipay.com/payments/v1" |
||
) |
Initializes a new instance of the Configuration class
Orbipay.PaymentsApi.Client.Client.Configuration.Configuration | ( | ApiClient | apiClient = null , |
IDictionary< string, string > | defaultHeader = null , |
||
string | username = null , |
||
string | password = null , |
||
string | accessToken = null , |
||
IDictionary< string, string > | apiKey = null , |
||
IDictionary< string, string > | apiKeyPrefix = null , |
||
string | tempFolderPath = null , |
||
string | dateTimeFormat = null , |
||
int | timeout = 100000 , |
||
string | userAgent = "orbipay-paymentsapi-client/1.13.0/csharp" |
||
) |
Initializes a new instance of the Configuration class with different settings
apiClient | Api client |
defaultHeader | Dictionary of default HTTP header |
username | Username |
password | Password |
accessToken | accessToken |
apiKey | Dictionary of API key |
apiKeyPrefix | Dictionary of API key prefix |
tempFolderPath | Temp folder path |
dateTimeFormat | DateTime format string |
timeout | HTTP connection timeout (in milliseconds) |
userAgent | HTTP user agent |
Orbipay.PaymentsApi.Client.Client.Configuration.Configuration | ( | ApiClient | apiClient | ) |
Initializes a new instance of the Configuration class.
apiClient | Api client. |
void Orbipay.PaymentsApi.Client.Client.Configuration.AddApiKey | ( | string | key, |
string | value | ||
) |
void Orbipay.PaymentsApi.Client.Client.Configuration.AddApiKeyPrefix | ( | string | key, |
string | value | ||
) |
void Orbipay.PaymentsApi.Client.Client.Configuration.AddDefaultHeader | ( | string | key, |
string | value | ||
) |
Add default header.
key | Header field name. |
value | Header field value. |
ApiClient Orbipay.PaymentsApi.Client.Client.Configuration.CreateApiClient | ( | ) |
Creates a new ApiClient based on this Configuration instance.
string Orbipay.PaymentsApi.Client.Client.Configuration.GetApiKeyWithPrefix | ( | string | apiKeyIdentifier | ) |
Gets the API key with prefix.
apiKeyIdentifier | API key identifier (authentication scheme). |
Implements Orbipay.PaymentsApi.Client.Client.IReadableConfiguration.
|
static |
Returns a string with essential information for debugging.
|
static |
Default creation of exceptions for a given method name and response object
const string Orbipay.PaymentsApi.Client.Client.Configuration.ISO8601_DATETIME_FORMAT = "o" |
Identifier for ISO 8601 DateTime Format
See https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 for more information.
const string Orbipay.PaymentsApi.Client.Client.Configuration.Version = "1.13.0" |
Version of the package.
Version of the package.
|
getset |
Gets or sets the access token for OAuth2 authentication.
The access token.
|
getset |
Gets or sets the Algorithm for API access.
|
get |
Gets an instance of an ApiClient for this configuration
|
getset |
Gets or sets the API key based on the authentication name.
The API key.
|
getset |
Gets or sets the prefix (e.g. Token) of the API key based on the authentication name.
The prefix of the API key.
|
getset |
Gets or sets the base path for API access.
|
getset |
Gets or sets the base path for API access.
|
getset |
Gets or sets the base path for API access.
|
getset |
Gets or sets the client key for API access.
|
getset |
Gets or sets the the date time format used when serializing in the ApiClient By default, it's set to ISO 8601 - "o", for others see: https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx No validation is done to ensure that the string you're providing is valid
The DateTimeFormat string
|
staticgetset |
Gets or sets the default Configuration.
|
getset |
Gets or sets the default header.
|
getset |
Gets or sets the password (HTTP basic authentication).
The password.
|
getset |
Gets or sets the temporary folder path to store the files downloaded from the server.
Folder path.
|
getset |
Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds.
|
getset |
Gets or sets the HTTP user agent.
Http user agent.
|
getset |
Gets or sets the username (HTTP basic authentication).
The username.