Manual ​
- Type
- Class
- Namespace
- craft\commerce\models\responses
- Inherits
- craft\commerce\models\responses\Manual
- Implements
- craft\commerce\base\RequestResponseInterface
- Since
- 2.0
This is a dummy gateway request response.
Public Methods ​
Method | Description |
---|---|
getCode() | Returns the response code. |
getData() | Returns the data. |
getMessage() | Returns the gateway message. |
getRedirectData() | Returns the redirect data provided. |
getRedirectMethod() | Returns the redirect method to use, if any. |
getRedirectUrl() | Returns the redirect URL to use, if any. |
getTransactionReference() | Returns the transaction reference. |
isProcessing() | Returns whether the payment is being processed by gateway. |
isRedirect() | Returns whether the user needs to be redirected. |
isSuccessful() | Returns whether the payment was successful. |
redirect() | Perform the redirect. |
getCode()
​
Returns the response code.
getData()
​
Returns the data.
Returns ​
mixed
getMessage()
​
Returns the gateway message.
getRedirectData()
​
Returns the redirect data provided.
getRedirectMethod()
​
Returns the redirect method to use, if any.
getRedirectUrl()
​
Returns the redirect URL to use, if any.
getTransactionReference()
​
Returns the transaction reference.
isProcessing()
​
Returns whether the payment is being processed by gateway.
isRedirect()
​
Returns whether the user needs to be redirected.
isSuccessful()
​
Returns whether the payment was successful.
redirect()
​
Perform the redirect.