public PaymentRails_Gateway(PaymentRails_Configuration config)
 {
     this.config           = config;
     this.client           = new PaymentRails_Client(config);
     this.recipient        = new PaymentRails_Recipient_Gateway(this);
     this.recipientAccount = new PaymentRails_RecipientAccount_Gateway(this);
     this.balances         = new PaymentRails_Balances_Gateway(this);
     this.batch            = new PaymentRails_Batch_Gateway(this);
     this.payment          = new PaymentRails_Payment_Gateway(this);
 }
Exemple #2
0
 public static PaymentRails_Client client(PaymentRails_Configuration config)
 {
     return(new PaymentRails_Client(config));
 }