コード例 #1
0
 public OpenpayAPI(string api_key, string merchant_id, bool production = false)
 {
     this.httpClient     = new OpenpayHttpClient(api_key, merchant_id, production);
     CustomerService     = new CustomerService(this.httpClient);
     CardService         = new CardService(this.httpClient);
     BankAccountService  = new BankAccountService(this.httpClient);
     ChargeService       = new ChargeService(this.httpClient);
     PayoutService       = new PayoutService(this.httpClient);
     TransferService     = new TransferService(this.httpClient);
     FeeService          = new FeeService(this.httpClient);
     PlanService         = new PlanService(this.httpClient);
     SubscriptionService = new SubscriptionService(this.httpClient);
     OpenpayFeesService  = new OpenpayFeesService(this.httpClient);
     WebhooksService     = new WebhookService(this.httpClient);
 }
コード例 #2
0
 internal MerchantService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "";
 }
コード例 #3
0
 internal ChargeService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "charges";
 }
コード例 #4
0
ファイル: CardService.cs プロジェクト: SerchPM/SESEPEP_MOVIL
 internal CardService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "cards";
 }
コード例 #5
0
 internal CustomerService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "customers";
 }
コード例 #6
0
 internal PayoutReportService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
 }
コード例 #7
0
 internal WebhookService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "webhooks";
 }
コード例 #8
0
 internal OpenpayFeesService(OpenpayHttpClient opHttpClient)
 {
     this.httpClient = opHttpClient;
 }
コード例 #9
0
 internal SubscriptionService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "subscriptions";
 }
コード例 #10
0
 internal BankAccountService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "bankaccounts";
 }
コード例 #11
0
ファイル: FeeService.cs プロジェクト: osueboy/openpay-dotnet
 internal FeeService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "fees";
 }
コード例 #12
0
 internal OpenpayGenericService(OpenpayHttpClient opHttpClient)
 {
     this.httpClient = opHttpClient;
 }
コード例 #13
0
 internal PlanService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "plans";
 }
コード例 #14
0
 internal TransferService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "transfers";
 }
コード例 #15
0
 public OpenpayResourceService(string api_key, string merchant_id, bool production = false)
 {
     this.httpClient = new OpenpayHttpClient(api_key, merchant_id, production);
 }
コード例 #16
0
 internal OpenpayResourceService(OpenpayHttpClient opHttpClient)
 {
     this.httpClient = opHttpClient;
 }
コード例 #17
0
 internal PayoutService(OpenpayHttpClient opHttpClient)
     : base(opHttpClient)
 {
     ResourceName = "payouts";
 }