Skip to content

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

Public Properties ​

PropertyDescription
_isFrontendEnabledboolean, string, null – Enabled on the frontend
dateArchivedDateTime, null – Archived Date
handlestring, null – Handle
isArchivedboolean – Archived
namestring, null – Name
paymentTypestring – Payment Type
sortOrderinteger, null – Sort order
uidstring, null – UID

_isFrontendEnabled ​

Type
boolean, string, null
Default value
true

Enabled on the frontend

View source

dateArchived ​

Type
DateTime, null
Default value
null

Archived Date

View source

handle ​

Type
string, null
Default value
null

Handle

View source

isArchived ​

Type
boolean
Default value
false

Archived

View source

name ​

Type
string, null
Default value
null

Name

View source

paymentType ​

Type
string
Default value
'purchase'

Payment Type

View source

sortOrder ​

Type
integer, null
Default value
null

Sort order

View source

uid ​

Type
string, null
Default value
null

UID

View source

Public Methods ​

MethodDescription
getIsFrontendEnabled()
setIsFrontendEnabled()

getIsFrontendEnabled() ​

Since
4.2.0

View source

Arguments ​

Returns ​

boolean, string, null

setIsFrontendEnabled() ​

Since
4.2.0

View source

Arguments ​

Returns ​

void