MassAssignable
trait MassAssignable (View source)
Trait MassAssignable
This trait encapsulates the method required to create mass assignment on the ReceiveMoney and SendMoney Properties
Methods
This function sets the customer data (name, email and msisdn|number|phone)
sets the money value (Amount) to be sent or received
sets a description for the transaction.
Set's a reference on the transaction for easy identification and transaction tracking.
sets the transaction channel (Mobile Network)
This method sets the callbacks for the Hubtel Payments
This method exposes the mass assignment method.
This method is used to mass assign the properties required by the Hubtel ReceiveMoney and SendMoney Api
No description
No description
Details
at line 35
abstract MassAssignable
setCustomer(array $data = [])
This function sets the customer data (name, email and msisdn|number|phone)
at line 43
abstract MassAssignable
setAmount(string $amount)
sets the money value (Amount) to be sent or received
at line 51
abstract MassAssignable
setDescription(string $description)
sets a description for the transaction.
at line 60
abstract MassAssignable
setClientReference(string $clientReference)
Set's a reference on the transaction for easy identification and transaction tracking.
at line 68
abstract MassAssignable
setChannel(string $channel)
sets the transaction channel (Mobile Network)
at line 75
abstract MassAssignable
setCallback(array|string $data = [])
This method sets the callbacks for the Hubtel Payments
at line 82
MassAssignable
make(array $data = [])
This method exposes the mass assignment method.
at line 93
protected MassAssignable
massAssign(array $data = [])
This method is used to mass assign the properties required by the Hubtel ReceiveMoney and SendMoney Api