PaymentMethodInterface
PaymentMethodInterface.php
:
16
Interface
Methods¶
getCreatedAt()
¶
PaymentMethodInterface.php
:
59
Returns the date and time when the payment method was created.
|
|
|
Return values
DateTimeInterface
getDescription()
¶
PaymentMethodInterface.php
:
36
Returns the description of the payment method in given language.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $languageCode | string|null | null |
Language code in which the description should be returned or null to use the main language |
Return values
string|null
getId()
¶
PaymentMethodInterface.php
:
18
|
|
|
Return values
int
getIdentifier()
¶
PaymentMethodInterface.php
:
20
|
|
|
Return values
string
getLanguages()
¶
PaymentMethodInterface.php
:
50
Returns the list of languages in which the payment method is available.
|
|
|
Return values
array<string|int, string>
getMainLanguageCode()
¶
PaymentMethodInterface.php
:
43
Return the main language code of the payment method.
|
|
|
Return values
string
Tags
getName()
¶
PaymentMethodInterface.php
:
29
Returns the name of the payment method in given language.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $languageCode | string|null | null |
Language code in which the name should be returned or null to use the main language |
Return values
string
getOptions()
¶
PaymentMethodInterface.php
:
54
|
|
|
Return values
getType()
¶
PaymentMethodInterface.php
:
22
|
|
|
Return values
getUpdatedAt()
¶
PaymentMethodInterface.php
:
64
Returns the date and time when the payment method was last updated.
|
|
|
Return values
DateTimeInterface
isEnabled()
¶
PaymentMethodInterface.php
:
52
|
|
|
Return values
bool