Method |
Description |
|
__toString ( ) : string |
create a printable representation of the object as:
ClassName[property=value, property=value] |
|
allCardTypes ( ) : array |
|
|
create ( $attribs ) |
static methods redirecting to gateway |
|
createCreditCardUrl ( ) |
|
|
createFromTransparentRedirect ( $queryString ) |
|
|
createNoValidate ( $attribs ) |
|
|
credit ( $token, $transactionAttribs ) |
|
|
creditNoValidate ( $token, $transactionAttribs ) |
|
|
delete ( $token ) |
|
|
expired ( ) |
|
|
expiringBetween ( $startDate, $endDate ) |
|
|
factory ( $attributes ) : CreditCard |
factory method: returns an instance of CreditCard
to the requesting method, with populated properties |
|
fetchExpired ( $ids ) |
|
|
fetchExpiring ( $startDate, $endDate, $ids ) |
|
|
find ( $token ) |
|
|
fromNonce ( $nonce ) |
|
|
isDefault ( ) : boolean |
returns false if default is null or false |
|
isEqual ( object $otherCreditCard ) : boolean |
returns false if comparing object is not a CreditCard,
or is a CreditCard with a different id |
|
isExpired ( ) : boolean |
checks whether the card is expired based on the current date |
|
isVenmoSdk ( ) : boolean |
checks whether the card is associated with venmo sdk |
|
sale ( $token, $transactionAttribs ) |
|
|
saleNoValidate ( $token, $transactionAttribs ) |
|
|
update ( $token, $attributes ) |
|
|
updateCreditCardUrl ( ) |
|
|
updateFromTransparentRedirect ( $queryString ) |
|
|
updateNoValidate ( $token, $attributes ) |
|
|