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