AmountCommandAttributeTrait
Trait AmountCommandAttributeTrait
Trait containing methods to manage the amount attribute of Yigim payment system commands. The amount attribute represents the payment amount in coins.
Table of Contents
Properties
- $amount : int
- The payment amount in coins.
Methods
- getAmount() : int
- Get the amount attribute.
- setAmount() : void
- Set the amount attribute.
Properties
$amount
The payment amount in coins.
private
int
$amount
Methods
getAmount()
Get the amount attribute.
public
getAmount() : int
Return values
int —The payment amount in coins.
setAmount()
Set the amount attribute.
public
setAmount(int $amount) : void
Parameters
- $amount : int
-
The payment amount in coins.