/// <summary> /// Initializes a client that will use the domain and version provided instead of the testing endpoint. /// </summary> /// <param name="credentials"></param> /// <param name="domain">The domain of the endpoint (ex: "https://api.gidx-service.in").</param> /// <param name="version">The API version number you want to use.</param> public GIDXClient(MerchantCredentials credentials, string domain, string version) { if (version[0] != 'v') version = "v" + version; var path = string.Format("/{0}/api/", version); Init(credentials, new Uri(new Uri(domain), path)); }
public WebCashierClient(MerchantCredentials credentials, Uri baseAddress) : base(credentials, baseAddress, "WebCashier") { }
public WebMyAccountClient(MerchantCredentials credentials, Uri baseAddress) : base(credentials, baseAddress, "WebMyAccount") { }
public CustomerIdentityClient(MerchantCredentials credentials, Uri baseAddress) : base(credentials, baseAddress, "CustomerIdentity") { }
public WebRegClient(MerchantCredentials credentials, Uri baseAddress) : base(credentials, baseAddress, "WebReg") { }
private void Init(MerchantCredentials credentials, Uri baseAddress) { Credentials = credentials; _baseAddress = baseAddress; }
public GIDXClient(MerchantCredentials credentials, string baseAddress) { Init(credentials, new Uri(baseAddress)); }
/// <summary> /// Initializes a client that will use the testing endpoint. /// </summary> /// <param name="credentials"></param> public GIDXClient(MerchantCredentials credentials) : this(credentials, DefaultDomain, DefaultVersion) { }
public DocumentLibraryClient(MerchantCredentials credentials, Uri baseAddress) : base(credentials, baseAddress, "DocumentLibrary") { }