BraintreeGateway

Braintree Gateway module.

Defined (1)

The class is defined in the following location(s).

/classes/lib/Braintree/Braintree/Gateway.php  
  1. class Gateway 
  2. /** 
  3. * @var Configuration 
  4. */ 
  5. public $config; 
  6.  
  7. public function __construct($config) 
  8. if (is_array($config)) { 
  9. $config = new Configuration($config); 
  10. $this->config = $config; 
  11.  
  12. /** 
  13. * @return AddOnGateway 
  14. */ 
  15. public function addOn() 
  16. return new AddOnGateway($this); 
  17.  
  18. /** 
  19. * @return AddressGateway 
  20. */ 
  21. public function address() 
  22. return new AddressGateway($this); 
  23.  
  24. /** 
  25. * @return ClientTokenGateway 
  26. */ 
  27. public function clientToken() 
  28. return new ClientTokenGateway($this); 
  29.  
  30. /** 
  31. * @return CreditCardGateway 
  32. */ 
  33. public function creditCard() 
  34. return new CreditCardGateway($this); 
  35.  
  36. /** 
  37. * @return CreditCardVerificationGateway 
  38. */ 
  39. public function creditCardVerification() 
  40. return new CreditCardVerificationGateway($this); 
  41.  
  42. /** 
  43. * @return CustomerGateway 
  44. */ 
  45. public function customer() 
  46. return new CustomerGateway($this); 
  47.  
  48. /** 
  49. * @return DiscountGateway 
  50. */ 
  51. public function discount() 
  52. return new DiscountGateway($this); 
  53.  
  54. /** 
  55. * @return MerchantGateway 
  56. */ 
  57. public function merchant() 
  58. return new MerchantGateway($this); 
  59.  
  60. /** 
  61. * @return MerchantAccountGateway 
  62. */ 
  63. public function merchantAccount() 
  64. return new MerchantAccountGateway($this); 
  65.  
  66. /** 
  67. * @return OAuthGateway 
  68. */ 
  69. public function oauth() 
  70. return new OAuthGateway($this); 
  71.  
  72. /** 
  73. * @return PaymentMethodGateway 
  74. */ 
  75. public function paymentMethod() 
  76. return new PaymentMethodGateway($this); 
  77.  
  78. /** 
  79. * @return PaymentMethodNonceGateway 
  80. */ 
  81. public function paymentMethodNonce() 
  82. return new PaymentMethodNonceGateway($this); 
  83.  
  84. /** 
  85. * @return PayPalAccountGateway 
  86. */ 
  87. public function payPalAccount() 
  88. return new PayPalAccountGateway($this); 
  89.  
  90. /** 
  91. * @return PlanGateway 
  92. */ 
  93. public function plan() 
  94. return new PlanGateway($this); 
  95.  
  96. /** 
  97. * @return SettlementBatchSummaryGateway 
  98. */ 
  99. public function settlementBatchSummary() 
  100. return new SettlementBatchSummaryGateway($this); 
  101.  
  102. /** 
  103. * @return SubscriptionGateway 
  104. */ 
  105. public function subscription() 
  106. return new SubscriptionGateway($this); 
  107.  
  108. /** 
  109. * @return TestingGateway 
  110. */ 
  111. public function testing() 
  112. return new TestingGateway($this); 
  113.  
  114. /** 
  115. * @return TransactionGateway 
  116. */ 
  117. public function transaction() 
  118. return new TransactionGateway($this); 
  119.  
  120. /** 
  121. * @return TransparentRedirectGateway 
  122. */ 
  123. public function transparentRedirect() 
  124. return new TransparentRedirectGateway($this);