You are here

public function Braintree_CreditCard::__toString in Commerce Braintree 7

create a printable representation of the object as: ClassName[property=value, property=value]

Return value

string

File

braintree_php/lib/Braintree/CreditCard.php, line 499

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

Code

public function __toString() {
  return __CLASS__ . '[' . Braintree_Util::attributesToString($this->_attributes) . ']';
}