Documentation

Transaction
in package
implements DomainObjectInterface

Tags

Interfaces, Classes, Traits and Enums

DomainObjectInterface

Table of Contents

$amount  : int
$backdate  : DateTimeImmutable|null
$checkNumber  : string|null
$claimGiftAid  : bool
$coveredFees  : bool
$created  : DateTimeImmutable
$currency  : string
$depositDate  : DateTimeImmutable|null
$depositId  : DepositId|null
$fee  : int
$id  : TransactionId
$location  : Location|null
$memo  : string
$organizationId  : ThubOrganizationId|null
$payer  : Payer|null
$paymentCategory  : PaymentCategory|null
$paymentId  : PaymentId
$paymentMeta  : PaymentMeta
$paymentMethod  : PaymentMethod
$product  : string|null
$refund  : array<string|int, mixed>
$status  : string
$tax  : int|null
$updated  : DateTimeImmutable
__construct()  : mixed
amount()  : int
backdate()  : DateTimeImmutable|null
checkNumber()  : string|null
claimGiftAid()  : bool|null
coveredFees()  : bool
created()  : DateTimeImmutable
currency()  : string
depositDate()  : DateTimeImmutable|null
depositId()  : DepositId|null
fee()  : int
id()  : TransactionId
location()  : Location|null
memo()  : string
organizationId()  : ThubOrganizationId|null
payer()  : Payer|null
paymentCategory()  : PaymentCategory|null
paymentId()  : PaymentId
paymentMeta()  : PaymentMeta
paymentMethod()  : PaymentMethod
product()  : string|null
refund()  : array<string|int, TransactionRefund>
status()  : string
tax()  : int|null
updated()  : DateTimeImmutable

Properties

$backdate

private DateTimeImmutable|null $backdate
Tags

$depositDate

private DateTimeImmutable|null $depositDate
Tags

$product

private string|null $product
Tags
deprecated

$refund

private array<string|int, mixed> $refund
Tags

Methods

__construct()

public __construct(TransactionId $id, Location|null $location, string|null $product, string $memo, DateTimeImmutable $created, PaymentMethod $paymentMethod, PaymentId $paymentId, Payer|null $payer, PaymentMeta $paymentMeta, string $currency, int $amount, int $fee, bool $coveredFees, array<string|int, TransactionRefund$refund, string|null $checkNumber, string $status, DepositId|null $depositId, DateTimeImmutable|null $depositDate, int|null $tax, DateTimeImmutable|null $backdate, bool|null $claimGiftAid, ThubOrganizationId|null $organizationId, PaymentCategory|null $paymentCategory, DateTimeImmutable $updated) : mixed
Parameters
$id : TransactionId
$location : Location|null
$product : string|null
$memo : string
$created : DateTimeImmutable
$paymentMethod : PaymentMethod
$paymentId : PaymentId
$payer : Payer|null
$paymentMeta : PaymentMeta
$currency : string
$amount : int
$fee : int
$coveredFees : bool
$refund : array<string|int, TransactionRefund>
$checkNumber : string|null
$status : string
$depositId : DepositId|null
$depositDate : DateTimeImmutable|null
$tax : int|null
$backdate : DateTimeImmutable|null
$claimGiftAid : bool|null
$organizationId : ThubOrganizationId|null
$paymentCategory : PaymentCategory|null
$updated : DateTimeImmutable
Tags
Return values
mixed

amount()

public amount() : int
Return values
int

backdate()

public backdate() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

checkNumber()

public checkNumber() : string|null
Return values
string|null

claimGiftAid()

public claimGiftAid() : bool|null
Return values
bool|null

coveredFees()

public coveredFees() : bool
Return values
bool

created()

public created() : DateTimeImmutable
Return values
DateTimeImmutable

currency()

public currency() : string
Return values
string

depositDate()

public depositDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

memo()

public memo() : string
Return values
string

product()

public product() : string|null
Tags
deprecated
Return values
string|null

status()

public status() : string
Return values
string

tax()

public tax() : int|null
Return values
int|null

updated()

public updated() : DateTimeImmutable
Return values
DateTimeImmutable

Search results