public BbvaAPI(string api_key, string merchant_id, bool production = false) { this.httpClient = new BbvaHttpClient(api_key, merchant_id, production); ChargeService = new ChargeService(this.httpClient); MerchantService = new MerchantService(this.httpClient); TokenService = new TokenService(this.httpClient); }
internal CustomerService(BbvaHttpClient opHttpClient) : base(opHttpClient) { ResourceName = "customers"; }
internal BbvaResourceService(BbvaHttpClient opHttpClient) { this.httpClient = opHttpClient; }
public BbvaResourceService(string api_key, string merchant_id, bool production = false) { this.httpClient = new BbvaHttpClient(api_key, merchant_id, production); }
internal BbvaGenericService(BbvaHttpClient opHttpClient) { this.httpClient = opHttpClient; }
internal MerchantService(BbvaHttpClient opHttpClient) : base(opHttpClient) { ResourceName = ""; }
internal ChargeService(BbvaHttpClient opHttpClient) : base(opHttpClient) { ResourceName = "charges"; }
internal TokenService(BbvaHttpClient opHttpClient) : base(opHttpClient) { ResourceName = "tokens"; }