phpDocumentor

Withdrawal extends AbstractEventRaisingEntity

Class Withdrawal

Table of Contents

$content  : string
$createdByAdmin  : bool
$createdOn  : DateTime|null
$customer  : CustomerDetails
$date  : DateTime|null
$id  : WithdrawalId
$order  : OrderDetails
$raisedEvents  : array<string|int, object>
changeOrderId()  : void
content()  : string
create()  : Withdrawal
createdOn()  : string|null
customerCity()  : string
customerCountry()  : string
customerEmail()  : string
customerFirstName()  : string
customerGender()  : string
customerId()  : int|null
customerLastName()  : string
customerPostcode()  : string
customerStreet()  : string
date()  : string|null
id()  : int
orderCreationDate()  : string|null
orderDeliveryDate()  : string|null
orderId()  : int|null
releaseEvents()  : array<string|int, object>
toArray()  : array<string|int, mixed>
wasCreatedByAdmin()  : bool
raiseEvent()  : void
__construct()  : mixed
Withdrawal constructor.

Properties

Methods

content()

public content() : string
Return values
string

createdOn()

public createdOn([string $format = 'Y-m-d H:i:s' ]) : string|null
Parameters
$format : string = 'Y-m-d H:i:s'
Return values
string|null

customerCity()

public customerCity() : string
Return values
string

customerCountry()

public customerCountry() : string
Return values
string

customerEmail()

public customerEmail() : string
Return values
string

customerFirstName()

public customerFirstName() : string
Return values
string

customerGender()

public customerGender() : string
Return values
string

customerId()

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

customerLastName()

public customerLastName() : string
Return values
string

customerPostcode()

public customerPostcode() : string
Return values
string

customerStreet()

public customerStreet() : string
Return values
string

date()

public date([string $format = 'Y-m-d H:i:s' ]) : string|null
Parameters
$format : string = 'Y-m-d H:i:s'
Return values
string|null

orderCreationDate()

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

orderDeliveryDate()

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

orderId()

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

toArray()

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

wasCreatedByAdmin()

public wasCreatedByAdmin() : bool
Return values
bool

Search results