PaymentMethodInterface
PaymentMethodInterface.php
:
15
Methods¶
getCreatedAt() ¶
PaymentMethodInterface.php
:
58
Returns the date and time when the payment method was created.
|
|
Return values
DateTimeInterface
getDescription() ¶
PaymentMethodInterface.php
:
35
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
:
17
|
|
Return values
int
getIdentifier() ¶
PaymentMethodInterface.php
:
19
|
|
Return values
string
getLanguages() ¶
PaymentMethodInterface.php
:
49
Returns the list of languages in which the payment method is available.
|
|
Return values
array<string|int, string>
getMainLanguageCode() ¶
PaymentMethodInterface.php
:
42
Return the main language code of the payment method.
|
|
Return values
string
Tags
getName() ¶
PaymentMethodInterface.php
:
28
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
:
53
|
|
Return values
getType() ¶
PaymentMethodInterface.php
:
21
|
|
Return values
getUpdatedAt() ¶
PaymentMethodInterface.php
:
63
Returns the date and time when the payment method was last updated.
|
|
Return values
DateTimeInterface
isEnabled() ¶
PaymentMethodInterface.php
:
51
|
|
Return values
bool