You are here

public function Braintree_CreditCard::isDefault in Commerce Braintree 7

returns false if default is null or false

Return value

boolean

File

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

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

Code

public function isDefault() {
  return $this->default;
}