Braintree_Transaction_CreditCardDetails

Creates an instance of CreditCardDetails.

Defined (1)

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

/classes/lib/Braintree/Braintree/Transaction/CreditCardDetails.php  
  1. class CreditCardDetails extends Instance 
  2. protected $_attributes = []; 
  3.  
  4. /** 
  5. * @ignore 
  6. */ 
  7. public function __construct($attributes) 
  8. parent::__construct($attributes); 
  9. $this->_attributes['expirationDate'] = $this->expirationMonth . '/' . $this->expirationYear; 
  10. $this->_attributes['maskedNumber'] = $this->bin . '******' . $this->last4; 
  11.