phpDocumentor

Withdrawal
in package
implements WithdrawalInterface

Class Withdrawal

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

WithdrawalInterface
Interface WithdrawalInterface

Table of Contents

$createdByAdmin  : bool
$repository  : WithdrawalRepositoryInterface
$withdrawalContent  : string
$withdrawalDate  : DateTime
$withdrawalDateCreated  : DateTime
$withdrawalId  : int
$withdrawalOrder  : WithdrawalOrderInterface
__construct()  : mixed
Withdrawal constructor.
delete()  : $this|WithdrawalInterface
Deletes withdrawal from database.
getCreatedByAdmin()  : bool
Checks if withdrawal by admin created or not.
getDateCreated()  : DateTime
Returns the withdrawal created datetime.
getWithdrawalContent()  : string
Returns the content.
getWithdrawalDate()  : DateTime
Returns the withdrawal datetime.
getWithdrawalId()  : int
Returns the withdrawal id.
getWithdrawalOrder()  : WithdrawalOrderInterface
Returns the withdrawal Order.
setCreatedByAdmin()  : $this|WithdrawalInterface
Sets whether the withdrawal by admin created or not.
setDateCreated()  : $this|WithdrawalInterface
Sets the withdrawal created datetime.
setWithdrawalContent()  : $this|WithdrawalInterface
Sets the withdrawal content.
setWithdrawalDate()  : $this|WithdrawalInterface
sets the datetime.
setWithdrawalId()  : $this|WithdrawalInterface
Sets the withdrawal id.
setWithdrawalOrder()  : $this|WithdrawalInterface
Sets the withdrawal order.
store()  : $this|WithdrawalInterface
Saves withdrawal in database.

Properties

$withdrawalDateCreated

protected DateTime $withdrawalDateCreated

Methods

getCreatedByAdmin()

Checks if withdrawal by admin created or not.

public getCreatedByAdmin() : bool
Return values
bool

getDateCreated()

Returns the withdrawal created datetime.

public getDateCreated() : DateTime
Return values
DateTime

getWithdrawalContent()

Returns the content.

public getWithdrawalContent() : string
Return values
string

getWithdrawalDate()

Returns the withdrawal datetime.

public getWithdrawalDate() : DateTime
Return values
DateTime

getWithdrawalId()

Returns the withdrawal id.

public getWithdrawalId() : int
Return values
int

Withdrawal id.

setDateCreated()

Sets the withdrawal created datetime.

public setDateCreated(DateTime $dateCreated) : $this|WithdrawalInterface
Parameters
$dateCreated : DateTime

Created date to be set.

Return values
$this|WithdrawalInterface

Same instance for chained method calls.

setWithdrawalDate()

sets the datetime.

public setWithdrawalDate(DateTime $withdrawalDate) : $this|WithdrawalInterface
Parameters
$withdrawalDate : DateTime

Date to be set.

Return values
$this|WithdrawalInterface

Same instance for chained method calls.

Search results