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