CoolCMS API

PaymentMethodCollectionTrait

Tags
template

Table of Contents

Properties

$paymentMethods  : Collection<int, TPaymentMethod>

Methods

addPaymentMethod()  : $this
clearPaymentMethods()  : $this
getPaymentMethods()  : Collection<int, TPaymentMethod>
paymentMethodCollectionInit()  : void
removePaymentMethod()  : $this
setPaymentMethods()  : $this

Properties

Methods

addPaymentMethod()

public addPaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
$paymentMethod : TPaymentMethod
Return values
$this

getPaymentMethods()

public getPaymentMethods() : Collection<int, TPaymentMethod>
Return values
Collection<int, TPaymentMethod>

removePaymentMethod()

public removePaymentMethod(TPaymentMethod $paymentMethod) : $this
Parameters
$paymentMethod : TPaymentMethod
Return values
$this

setPaymentMethods()

public setPaymentMethods(Collection<int, TPaymentMethod>|array<int, TPaymentMethod> $paymentMethods) : $this
Parameters
$paymentMethods : Collection<int, TPaymentMethod>|array<int, TPaymentMethod>
Return values
$this
On this page

Search results