Copied!

TypeRegistryInterface

TypeRegistryInterface.php : 14

Registry for payment method types.

Methods

publicgetPaymentMethodType()

TypeRegistryInterface.php : 28

Returns a payment method type by its identifier.

public getPaymentMethodType(string $identifier) : TypeInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

TypeInterface

Tags
Throws
InvalidArgumentException

If the payment method type is not found.

publicgetPaymentMethodTypes()

TypeRegistryInterface.php : 21

Returns all available payment method types.

public getPaymentMethodTypes() : iterable<string|int, TypeInterface>

Return values

iterable<string|int, TypeInterface>

publichasPaymentMethodType()

TypeRegistryInterface.php : 33

Checks if a payment method type with given identifier exists.

public hasPaymentMethodType(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool