Beispiel #1
0
 public RefundClient(IBalancedService balanceService, IBalancedRest rest)
 {
     this.Service = balanceService;
     this.rest = rest;
 }
Beispiel #2
0
 public CardClient(IBalancedService balanceService, IBalancedRest rest)
 {
     Service = balanceService;
     this.rest = rest;
 }
 public AccountClient(IBalancedService balanceService, IBalancedRest rest)
 {
     this.Service = balanceService;
     this.rest = rest;
 }
 public BalancedService(string key, IBalancedRest rest)
 {
     this.accountClient = new AccountClient(this, rest);
     this.bankClient = new BankAccountClient(this, rest);
     this.cardClient = new CardClient(this, rest);
     this.holdClient = new HoldClient(this, rest);
     this.creditClient = new CreditClient(this, rest);
     this.debitClient = new DebitClient(this, rest);
     this.refundClient = new RefundClient(this, rest);
     this.eventClient = new EventClient(this, rest);
     this.verificationClient = new VerificationClient(this, rest);
     this.marketplaceClient = new MarketplaceClient(this, rest);
     this.key = key;
 }
 public MarketplaceClient(IBalancedService balanceService, IBalancedRest rest)
 {
     Service = balanceService;
     this.rest = rest;
 }
 public VerificationClient(IBalancedService balanceService, IBalancedRest rest)
 {
     this.Service = balanceService;
     this.rest = rest;
 }