Beispiel #1
0
 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);
 }
Beispiel #2
0
 internal CustomerService(BbvaHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "customers";
 }
Beispiel #3
0
 internal BbvaResourceService(BbvaHttpClient opHttpClient)
 {
     this.httpClient = opHttpClient;
 }
Beispiel #4
0
 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;
 }
Beispiel #6
0
 internal MerchantService(BbvaHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "";
 }
 internal ChargeService(BbvaHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "charges";
 }
Beispiel #8
0
 internal TokenService(BbvaHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "tokens";
 }