PaymentMethodCollectionTrait
-
template
-
Table of Contents
Properties
-
$paymentMethods
: Collection<int, TPaymentMethod>
Methods
-
addPaymentMethod()
: $this
-
clearPaymentMethods()
: $this
-
getPaymentMethods()
: Collection<int, TPaymentMethod>
-
paymentMethodCollectionInit()
: void
-
removePaymentMethod()
: $this
-
setPaymentMethods()
: $this
$paymentMethods
protected
Collection<int, TPaymentMethod>
$paymentMethods
addPaymentMethod()
public
addPaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
-
$paymentMethod
: TPaymentMethod
-
clearPaymentMethods()
public
clearPaymentMethods() : $this
getPaymentMethods()
public
getPaymentMethods() : Collection<int, TPaymentMethod>
Return values
Collection<int, TPaymentMethod>
paymentMethodCollectionInit()
public
paymentMethodCollectionInit() : void
removePaymentMethod()
public
removePaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
-
$paymentMethod
: TPaymentMethod
-
setPaymentMethods()
public
setPaymentMethods(Collection<int, TPaymentMethod>|array<int, TPaymentMethod> $paymentMethods) : $this
Parameters
-
$paymentMethods
: Collection<int, TPaymentMethod>|array<int, TPaymentMethod>
-