BraintreeTransparentRedirect

Braintree Transparent Redirect module Static class providing methods to build Transparent Redirect urls.

Defined (1)

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

/classes/lib/Braintree/Braintree/TransparentRedirect.php  
  1. class TransparentRedirect 
  2. // Request Kinds 
  3. const CREATE_TRANSACTION = 'create_transaction'; 
  4. const CREATE_PAYMENT_METHOD = 'create_payment_method'; 
  5. const UPDATE_PAYMENT_METHOD = 'update_payment_method'; 
  6. const CREATE_CUSTOMER = 'create_customer'; 
  7. const UPDATE_CUSTOMER = 'update_customer'; 
  8.  
  9. /** 
  10. * @ignore 
  11. * don't permit an explicit call of the constructor! 
  12. * (like $t = new TransparentRedirect()) 
  13. */ 
  14. protected function __construct() 
  15.  
  16.  
  17.  
  18. // static methods redirecting to gateway 
  19.  
  20. public static function confirm($queryString) 
  21. return Configuration::gateway()->transparentRedirect()->confirm($queryString); 
  22.  
  23. public static function createCreditCardData($params) 
  24. return Configuration::gateway()->transparentRedirect()->createCreditCardData($params); 
  25.  
  26. public static function createCustomerData($params) 
  27. return Configuration::gateway()->transparentRedirect()->createCustomerData($params); 
  28.  
  29. public static function url() 
  30. return Configuration::gateway()->transparentRedirect()->url(); 
  31.  
  32. public static function transactionData($params) 
  33. return Configuration::gateway()->transparentRedirect()->transactionData($params); 
  34.  
  35. public static function updateCreditCardData($params) 
  36. return Configuration::gateway()->transparentRedirect()->updateCreditCardData($params); 
  37.  
  38. public static function updateCustomerData($params) 
  39. return Configuration::gateway()->transparentRedirect()->updateCustomerData($params); 
  40.  
  41. public static function parseAndValidateQueryString($queryString) 
  42. return Configuration::gateway()->transparentRedirect()->parseAndValidateQueryString($queryString);