Methods summary
public
array
|
#
toArray( )
Get an array representation of the object to build the request. It will
collect all protected properties.
Get an array representation of the object to build the request. It will
collect all protected properties.
If a token is set, use it, otherwise use the full card data
Returns
array An array to be used in the request
Overrides
|
public
string
|
#
getToken( )
Gets the value of token.
Returns
string string
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setToken( string $token )
Sets the value of token.
Parameters
Returns
|
public
string
|
#
getNumber( )
Gets the value of number.
Gets the value of number.
Returns
string string
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setNumber( string $number )
Sets the value of number.
Sets the value of number.
Parameters
Returns
|
public
string
|
#
getHolder( )
Gets the value of cardholder.
Gets the value of cardholder.
Returns
string string
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setHolder( string $holder )
Sets the value of cardholder.
Sets the value of cardholder.
Parameters
Returns
|
public
integer
|
#
getCvc( )
Gets the value of cvc.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setCvc( integer $cvc )
Sets the value of cvc.
Parameters
Returns
|
public
integer
|
#
getExpMonth( )
Gets the value of exp_month.
Gets the value of exp_month.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setExpMonth( integer $expMonth )
Sets the value of exp_month.
Sets the value of exp_month.
Parameters
Returns
|
public
integer
|
#
getExpYear( )
Gets the value of exp_year.
Gets the value of exp_year.
Returns
integer integer
|
public
Syspay_Merchant_Entity_Creditcard
|
#
setExpYear( integer $expYear )
Sets the value of exp_year.
Sets the value of exp_year.
Parameters
Returns
|