PaymentMethodFactory
in package
Class PaymentMethodFactory
Table of Contents
- createPaymentMethodId() : PaymentMethodId
- Creates and returns a payment method ID.
- createPaymentMethods() : PaymentMethods
- Creates and returns a collection of payment methods.
Methods
createPaymentMethodId()
Creates and returns a payment method ID.
public
createPaymentMethodId(string $paymentMethodId) : PaymentMethodId
Parameters
- $paymentMethodId : string
Return values
PaymentMethodId —createPaymentMethods()
Creates and returns a collection of payment methods.
public
createPaymentMethods(PaymentMethod ...$paymentMethods) : PaymentMethods
Parameters
- $paymentMethods : PaymentMethod