public BraintreeGateway GetBrainTreeGateway(BrainTreeSettings config)
 {
     return new BraintreeGateway
     {
         Environment = BrainTreeConfig.GetEnum(config.Enviroment),
         MerchantId = config.MerchantId,
         PublicKey = config.PublicKey,
         PrivateKey = config.PrivateKey
     };
 }
Пример #2
0
 public BraintreeGateway GetBrainTreeGateway(BrainTreeSettings config)
 {
     return(new BraintreeGateway
     {
         Environment = BrainTreeConfig.GetEnum(config.Enviroment),
         MerchantId = config.MerchantId,
         PublicKey = config.PublicKey,
         PrivateKey = config.PrivateKey
     });
 }