Documentation

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

Methods

__construct()

public __construct(string $organizationId, string $id) : mixed
Parameters
$organizationId : string
$id : string
Tags
codeCoverageIgnore
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

transactions()

public transactions() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results