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

# _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

# getIsFrontendEnabled()

Since
4.2.0

View source (opens new window)

Arguments

Returns

boolean (opens new window), string (opens new window), null (opens new window)

# setIsFrontendEnabled()

Since
4.2.0

View source (opens new window)

Arguments

Returns

void