TypeInterface
TypeInterface.php
:
29
Interface
Interface for payment method types.
final class CreditCardType implements TypeInterface
{
public function getIdentifier(): string
{
return 'credit_card';
}
public function getName(): string
{
return 'Credit Card';
}
}
Methods¶
getIdentifier()
¶
TypeInterface.php
:
36
Returns the identifier of the payment method type.
|
|
Identifier MUST be unique and SHOULD contain alphanumeric characters and underscores.
Return values
string
getName()
¶
TypeInterface.php
:
41
Returns the name of the payment method type.
|
|
Return values
string