Class WithdrawalWriteService
Class WithdrawalWriteService
-
WithdrawalWriteService
implements
WithdrawalWriteServiceInterface
Methods summary
public
|
|
public
Withdrawal
|
#
createWithdrawal( )
Returns new instances of withdrawal entities
Returns new instances of withdrawal entities
Returns
Implementation of
|
public
WithdrawalOrder
|
#
createOrder( IntType $orderId, IntType $customerId, StringType $customerGender, StringType $customerFirstName, StringType $customerLastName, StringType $customerStreetAddress, IntType $customerPostCode, StringType $customerCity, StringType $customerCountry, StringType $customerEmail, DateTime $orderDate, DateTime $deliveryDate )
Returns a new instance of withdrawal order.
Returns a new instance of withdrawal order.
Parameters
- $orderId
- $customerId
- $customerGender
- $customerFirstName
- $customerLastName
- $customerStreetAddress
- $customerPostCode
- $customerCity
- $customerCountry
- $customerEmail
- $orderDate
- $deliveryDate
Returns
Implementation of
|
public
|
#
store( WithdrawalInterface $withdrawal )
Saves withdrawal entity in database.
Saves withdrawal entity in database.
Parameters
- $withdrawal
- Withdrawal unit to be saved.
Returns
$this|\WithdrawalWriteServiceInterface Same instance for chained method calls.
Implementation of
|
public
|
#
delete( WithdrawalInterface $withdrawal )
Deletes withdrawal entity from database.
Deletes withdrawal entity from database.
Parameters
- $withdrawal
- Withdrawal entity to be deleted.
Returns
$this|\WithdrawalWriteServiceInterface Same instance for chained method calls.
Implementation of
|