WithdrawalWriteServiceInterface

Extends

Interface WithdrawalWriteServiceInterface

category

System

package

Withdrawal

subpackage

Interfaces

Methods

Returns a new instance of withdrawal order.

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) : \WithdrawalOrder

Arguments

$orderId

\IntType

$customerId

\IntType

$customerGender

\StringType

$customerFirstName

\StringType

$customerLastName

\StringType

$customerStreetAddress

\StringType

$customerPostCode

\IntType

$customerCity

\StringType

$customerCountry

\StringType

$customerEmail

\StringType

$orderDate

\DateTime

$deliveryDate

\DateTime

Response

\WithdrawalOrder

Returns new instances of withdrawal entities

createWithdrawal() : \Withdrawal

Response

\Withdrawal

New withdrawal entity.

Deletes withdrawal entity from database.

delete(\WithdrawalInterface $withdrawal) : $this|\WithdrawalWriteServiceInterface

Arguments

$withdrawal

\WithdrawalInterface

Withdrawal entity to be deleted.

Response

$this|\WithdrawalWriteServiceInterface

Same instance for chained method calls.

Saves withdrawal entity in database.

store(\WithdrawalInterface $withdrawal) : $this|\WithdrawalWriteServiceInterface

Arguments

$withdrawal

\WithdrawalInterface

Withdrawal unit to be saved.

Response

$this|\WithdrawalWriteServiceInterface

Same instance for chained method calls.