Copied!

TypeFactoryInterface

TypeFactoryInterface.php : 14

Factory for payment method types.

Methods

publiccreateType()

TypeFactoryInterface.php : 23

Creates a new payment method type.

public createType(string $identifier[, string|null $name = null ][, string|null $domain = null ]) : TypeInterface

Parameters

Name Type Default value Description
$identifier string -

Identifier of the payment method type

$name string|null null

Name of the payment method type.

$domain string|null null

Domain used to translate the name

Return values

TypeInterface