예제 #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);
 }
예제 #5
0
 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";
 }