PaymentSystemFactory
extends Factory
in package
This class will return the kind of page we need.
Tags
Table of Contents
TYPE | = 'module' | |
---|---|---|
CLASS_SEPARATOR | = '.' | |
CLASS_SUFFIX | = '\\Dtos\\Basket\\PaymentSystem' | |
DEFAULT_CLASS | = 'SDK\\Dtos\\Basket\\PaymentSystem' | |
NAMESPACE | = 'Plugins' | |
getElement() | Returns the needed element. | : Element|null |
getPaymentSystem() | Returns the needed type of payment system. | : PaymentSystem|null |
defaultReturnValue() | : Element|null | |
getClassName() | : string | |
getItem() | : Element|null | |
prepareClassName() | : string |
Constants
TYPE
public
mixed
TYPE
= 'module'
CLASS_SEPARATOR
protected
mixed
CLASS_SEPARATOR
= '.'
CLASS_SUFFIX
protected
mixed
CLASS_SUFFIX
= '\\Dtos\\Basket\\PaymentSystem'
DEFAULT_CLASS
protected
mixed
DEFAULT_CLASS
= 'SDK\\Dtos\\Basket\\PaymentSystem'
NAMESPACE
protected
mixed
NAMESPACE
= 'Plugins'
Methods
getElement()
Returns the needed element.
public
static getElement([array<string|int, mixed> $data = [] ]) : Element|null
Parameters
- $data : array<string|int, mixed> = []
Tags
Return values
Element|null —getPaymentSystem()
Returns the needed type of payment system.
public
static getPaymentSystem([array<string|int, mixed> $data = [] ]) : PaymentSystem|null
Parameters
- $data : array<string|int, mixed> = []
Return values
PaymentSystem|null —defaultReturnValue()
protected
static defaultReturnValue(array<string|int, mixed> $data) : Element|null
Parameters
- $data : array<string|int, mixed>
Return values
Element|null —getClassName()
protected
static getClassName(string $name) : string
Parameters
- $name : string
Return values
string —getItem()
protected
static getItem([array<string|int, mixed> $data = [] ]) : Element|null
Parameters
- $data : array<string|int, mixed> = []
Return values
Element|null —prepareClassName()
protected
static prepareClassName(string $name) : string
Parameters
- $name : string