RefundCommandAttributer
in package
implements
CommandAttributerContract
Uses
CommandAttributeTrait, ReferenceCommandAttributeTrait, AmountCommandAttributeTrait
Class RefundCommandAttributer
Represents an implementation of CommandAttributerContract used for "payment refund" commands.
Table of Contents
Interfaces
Properties
- $amount : int
- The payment amount in coins.
- $reference : string
- The unique payment (order) ID for future usage.
Methods
- getAmount() : int
- Get the amount attribute.
- getReference() : string
- Get the reference attribute.
- setAmount() : void
- Set the amount attribute.
- setReference() : void
- Set the reference attribute.
Properties
$amount
The payment amount in coins.
private
int
$amount
$reference
The unique payment (order) ID for future usage.
private
string
$reference
Methods
getAmount()
Get the amount attribute.
public
getAmount() : int
Return values
int —The payment amount in coins.
getReference()
Get the reference attribute.
public
getReference() : string
Return values
string —The unique payment (order) ID.
setAmount()
Set the amount attribute.
public
setAmount(int $amount) : void
Parameters
- $amount : int
-
The payment amount in coins.
Tags
setReference()
Set the reference attribute.
public
setReference(string $reference) : void
Parameters
- $reference : string
-
The unique payment (order) ID.