WithdrawalInterface
in
Interface WithdrawalInterface
Tags
Table of Contents
- 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.
Methods
delete()
Deletes withdrawal from database.
public
delete() : $this|WithdrawalInterface
Return values
$this|WithdrawalInterface —Same instance for chained method calls.
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.
getWithdrawalOrder()
Returns the withdrawal Order.
public
getWithdrawalOrder() : WithdrawalOrderInterface
Return values
WithdrawalOrderInterface —setCreatedByAdmin()
Sets whether the withdrawal by admin created or not.
public
setCreatedByAdmin(BoolType $createdByAdmin) : $this|WithdrawalInterface
Parameters
- $createdByAdmin : BoolType
Return values
$this|WithdrawalInterface —Same instance for chained method calls.
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.
setWithdrawalContent()
Sets the withdrawal content.
public
setWithdrawalContent(StringType $withdrawalContent) : $this|WithdrawalInterface
Parameters
- $withdrawalContent : StringType
-
Withdrawal content 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.
setWithdrawalId()
Sets the withdrawal id.
public
setWithdrawalId(IdType $withdrawalId) : $this|WithdrawalInterface
Parameters
- $withdrawalId : IdType
-
The withdrawal id to be set.
Return values
$this|WithdrawalInterface —Same instance for chained method calls.
setWithdrawalOrder()
Sets the withdrawal order.
public
setWithdrawalOrder(WithdrawalOrderInterface $withdrawalOrder) : $this|WithdrawalInterface
Parameters
- $withdrawalOrder : WithdrawalOrderInterface
Return values
$this|WithdrawalInterface —Same instance for chained method calls.
store()
Saves withdrawal in database.
public
store() : $this|WithdrawalInterface
Return values
$this|WithdrawalInterface —Same instance for chained method calls.