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
$dateArchivedDateTime – Archived Date
$handlestring – Handle
$isArchivedboolean – Archived
$isFrontendEnabledboolean – Enabled on the frontend
$namestring – Name
$paymentTypestring – Payment Type
$sortOrderinteger, null – Sort order

$dateArchived

Type
DateTime

Archived Date

View source

Signature

public DateTime $dateArchived = null

$handle

Signature

public string $handle = null

$isArchived

Type
boolean

Archived

View source

Signature

public boolean $isArchived = false

$isFrontendEnabled

Type
boolean

Enabled on the frontend

View source

Signature

public boolean $isFrontendEnabled = true

$name

Signature

public string $name = null

$paymentType

Type
string

Payment Type

View source

Signature

public string $paymentType = 'purchase'

$sortOrder

Type
integer, null

Sort order

View source

Signature

public integer, null $sortOrder = null