GatewayTrait ​
- Type
- Trait
- Namespace
- craft\commerce\base
- Implemented by
- craft\commerce\base\Gateway, craft\commerce\base\SubscriptionGateway, craft\commerce\gateways\Dummy, craft\commerce\gateways\Manual, craft\commerce\gateways\MissingGateway
- Since
- 2.0
GatewayTrait
Public Properties ​
| Property | Description |
|---|---|
| _isFrontendEnabled | boolean, string, null – Enabled on the frontend |
| dateArchived | DateTime, null – Archived Date |
| handle | string, null – Handle |
| isArchived | boolean – Archived |
| name | string, null – Name |
| paymentType | string – Payment Type |
| sortOrder | integer, null – Sort order |
| uid | string, null – UID |
_isFrontendEnabled ​
Enabled on the frontend
dateArchived ​
Archived Date
handle ​
Handle
isArchived ​
- Type
- boolean
- Default value
false
Archived
name ​
Name
paymentType ​
- Type
- string
- Default value
'purchase'
Payment Type
sortOrder ​
Sort order
uid ​
UID
Public Methods ​
| Method | Description |
|---|---|
| getIsFrontendEnabled() | |
| setIsFrontendEnabled() |
getIsFrontendEnabled() ​
- Since
- 4.2.0
Arguments ​
$parse(boolean)
Returns ​
setIsFrontendEnabled() ​
- Since
- 4.2.0
Arguments ​
Returns ​
void