WithdrawalInterface

Extends

Interface WithdrawalInterface

category

System

package

Withdrawal

subpackage

Entities

Methods

Deletes withdrawal from database.

delete() : $this|\WithdrawalInterface

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Checks if withdrawal by admin created or not.

getCreatedByAdmin() : boolean

Response

boolean

Returns the withdrawal created datetime.

getDateCreated() : \DateTime

Response

\DateTime

Returns the content.

getWithdrawalContent() : string

Response

string

Returns the withdrawal datetime.

getWithdrawalDate() : \DateTime

Response

\DateTime

Returns the withdrawal id.

getWithdrawalId() : integer

Response

integer

Withdrawal id.

Returns the withdrawal Order.

getWithdrawalOrder() : \WithdrawalOrderInterface

Sets whether the withdrawal by admin created or not.

setCreatedByAdmin(\BoolType $createdByAdmin) : $this|\WithdrawalInterface

Arguments

$createdByAdmin

\BoolType

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Sets the withdrawal created datetime.

setDateCreated(\DateTime $dateCreated) : $this|\WithdrawalInterface

Arguments

$dateCreated

\DateTime

Created date to be set.

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Sets the withdrawal content.

setWithdrawalContent(\StringType $withdrawalContent) : $this|\WithdrawalInterface

Arguments

$withdrawalContent

\StringType

Withdrawal content to be set.

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

sets the datetime.

setWithdrawalDate(\DateTime $withdrawalDate) : $this|\WithdrawalInterface

Arguments

$withdrawalDate

\DateTime

Date to be set.

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Sets the withdrawal id.

setWithdrawalId(\IdType $withdrawalId) : $this|\WithdrawalInterface

Arguments

$withdrawalId

\IdType

The withdrawal id to be set.

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Sets the withdrawal order.

setWithdrawalOrder(\WithdrawalOrderInterface $withdrawalOrder) : $this|\WithdrawalInterface

Arguments

$withdrawalOrder

\WithdrawalOrderInterface

Response

$this|\WithdrawalInterface

Same instance for chained method calls.

Saves withdrawal in database.

store() : $this|\WithdrawalInterface

Response

$this|\WithdrawalInterface

Same instance for chained method calls.