UpdatePaymentRequest
in package
Tags
Table of Contents
- $id : string
- $organizationId : string
- $transactions : array<string|int, mixed>
- __construct() : mixed
- addTransaction() : void
- This method will add a txn for purposes of updating the existing txn or creating new txns on the payment.
- id() : string
- organizationId() : string
- transactions() : array<string|int, mixed>
Properties
$id
private
string
$id
Tags
$organizationId
private
string
$organizationId
Tags
$transactions
private
array<string|int, mixed>
$transactions
= []
Tags
Methods
__construct()
public
__construct(string $organizationId, string $id) : mixed
Parameters
- $organizationId : string
- $id : string
Tags
Return values
mixed —addTransaction()
This method will add a txn for purposes of updating the existing txn or creating new txns on the payment.
public
addTransaction(string|null $id, int $amount, string $locationId, int $backdate, string $memo, string $paymentCategoryId, string $paymentCategoryProduct) : void
If $id is omitted, a new txn id will be created. The total number of txns that exist on this request object will be the total number that will exist on the payment.
Parameters
- $id : string|null
- $amount : int
- $locationId : string
- $backdate : int
- $memo : string
- $paymentCategoryId : string
- $paymentCategoryProduct : string
Tags
Return values
void —id()
public
id() : string
Return values
string —organizationId()
public
organizationId() : string
Return values
string —transactions()
public
transactions() : array<string|int, mixed>