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
View source (opens new window)
# Public Properties
Property | Description |
---|---|
_isFrontendEnabled | boolean (opens new window), string (opens new window), null (opens new window) – Enabled on the frontend |
dateArchived | DateTime (opens new window), null (opens new window) – Archived Date |
handle | string (opens new window), null (opens new window) – Handle |
isArchived | boolean (opens new window) – Archived |
name | string (opens new window), null (opens new window) – Name |
paymentType | string (opens new window) – Payment Type |
sortOrder | integer (opens new window), null (opens new window) – Sort order |
uid | string (opens new window), null (opens new window) – UID |
# _isFrontendEnabled
- Type
- boolean (opens new window), string (opens new window), null (opens new window)
- Default value
true
Enabled on the frontend
View source (opens new window)
# dateArchived
- Type
- DateTime (opens new window), null (opens new window)
- Default value
null
Archived Date
View source (opens new window)
# handle
- Type
- string (opens new window), null (opens new window)
- Default value
null
Handle
View source (opens new window)
# isArchived
- Type
- boolean (opens new window)
- Default value
false
Archived
View source (opens new window)
# name
- Type
- string (opens new window), null (opens new window)
- Default value
null
Name
View source (opens new window)
# paymentType
- Type
- string (opens new window)
- Default value
'purchase'
Payment Type
View source (opens new window)
# sortOrder
- Type
- integer (opens new window), null (opens new window)
- Default value
null
Sort order
View source (opens new window)
# uid
- Type
- string (opens new window), null (opens new window)
- Default value
null
UID
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getIsFrontendEnabled() | |
setIsFrontendEnabled() |
# getIsFrontendEnabled()
- Since
- 4.2.0
View source (opens new window)
Arguments
$parse
(boolean (opens new window))
Returns
boolean (opens new window), string (opens new window), null (opens new window)
# setIsFrontendEnabled()
- Since
- 4.2.0
View source (opens new window)
Arguments
$isFrontendEnabled
(boolean (opens new window), string (opens new window), null (opens new window))
Returns
void