Method |
Description |
|
__construct ( AbstractAdapter $adapter ) : Payment |
Constructor |
|
__get ( string $name ) : mixed |
Get method to return the value of fields[$name]. |
|
__isset ( string $name ) : boolean |
Return the isset value of fields[$name]. |
|
__set ( string $name, mixed $value ) : void |
Set method to set the property to the value of fields[$name]. |
|
__unset ( string $name ) : void |
Unset fields[$name]. |
|
adapter ( ) : AbstractAdapter |
Access the adapter |
|
getCode ( string $key ) : string |
Get specific response code from a field in the array |
|
getMessage ( ) : string |
Get response message |
|
getResponse ( ) : string |
Get raw response |
|
getResponseCode ( ) : string |
Get response code |
|
getResponseCodes ( ) : array |
Get response codes |
|
isApproved ( ) : boolean |
Return whether the transaction is approved |
|
isDeclined ( ) : boolean |
Return whether the transaction is declined |
|
isError ( ) : boolean |
Return whether the transaction is an error |
|
isTest ( ) : boolean |
Return whether the transaction is in test mode |
|
isValid ( ) : boolean |
Validate transaction data |
|
send ( boolean $verifyPeer = true ) : void |
Send transaction data |
|
shippingSameAsBilling ( ) : Payment |
Set the shipping data fields to the same as billing data fields |
|