Documentation

CreatePaymentRequest
in package

Tags

Table of Contents

$amount  : int
$claimGiftAid  : bool
$coveredFees  : bool
$depositAccountId  : string
$fee  : int
$organizationId  : string
$paymentMeta  : stdClass
$paymentMethodId  : string
$statementDescriptor  : string
$transactions  : array<string|int, mixed>
__construct()  : mixed
addTransaction()  : void
amount()  : int
claimGiftAid()  : bool
coveredFees()  : bool
depositAccountId()  : string
fee()  : int
organizationId()  : string
paymentMeta()  : stdClass
paymentMethodId()  : string
setDepositAccountId()  : void
setFee()  : void
setPaymentMeta()  : void
statementDescriptor()  : string
transactions()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(int $amount, string $paymentMethodId, string $statementDescriptor, string $organizationId, bool $claimGiftAid, bool $coveredFees) : mixed
Parameters
$amount : int
$paymentMethodId : string
$statementDescriptor : string
$organizationId : string
$claimGiftAid : bool
$coveredFees : bool
Tags
codeCoverageIgnore
Return values
mixed

addTransaction()

public addTransaction(int $amount, int $backdate, int $fee, string $locationId, string $memo, array<string|int, mixed> $metadata, string $paymentCategoryId, string $paymentCategoryProduct, int $tax) : void
Parameters
$amount : int
$backdate : int
$fee : int
$locationId : string
$memo : string
$metadata : array<string|int, mixed>
$paymentCategoryId : string
$paymentCategoryProduct : string
$tax : int
Tags
throws
TransactionServiceException
Return values
void

setDepositAccountId()

public setDepositAccountId(string $depositAccountId) : void
Parameters
$depositAccountId : string
Tags
Return values
void

setFee()

public setFee(int $fee) : void
Parameters
$fee : int
Tags
Return values
void

setPaymentMeta()

public setPaymentMeta(string $product, string $referrer, string $type) : void
Parameters
$product : string
$referrer : string
$type : string
Tags
Return values
void

transactions()

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

Search results