You are here

public function Braintree_CreditCard::isExpired in Commerce Braintree 7

checks whether the card is expired based on the current date

Return value

boolean

File

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

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

Code

public function isExpired() {
  return $this->expired;
}