WithdrawalWriteService
in
Interface WithdrawalWriteService
Table of Contents
- createMultipleWithdrawals() : WithdrawalIds
- Creates multiple withdrawals and returns their IDs.
- createWithdrawal() : WithdrawalId
- Creates a new withdrawals and returns its ID.
- deleteWithdrawals() : void
- Deletes withdrawals based on the given IDs.
- storeWithdrawals() : void
- Stores multiple withdrawals.
Methods
createMultipleWithdrawals()
Creates multiple withdrawals and returns their IDs.
public
createMultipleWithdrawals(array<string|int, mixed> ...$creationArguments) : WithdrawalIds
Parameters
- $creationArguments : array<string|int, mixed>
-
Provided array must contain arguments like they are used in the single creation method. Provide multiple arrays for multi creation.
Tags
Return values
WithdrawalIds —createWithdrawal()
Creates a new withdrawals and returns its ID.
public
createWithdrawal(OrderDetails $order, CustomerDetails $customer[, string $date = '' ][, string $content = '' ][, bool $createdByAdmin = true ]) : WithdrawalId
Parameters
- $order : OrderDetails
- $customer : CustomerDetails
- $date : string = ''
- $content : string = ''
- $createdByAdmin : bool = true
Tags
Return values
WithdrawalId —deleteWithdrawals()
Deletes withdrawals based on the given IDs.
public
deleteWithdrawals(int ...$ids) : void
Parameters
- $ids : int
Tags
Return values
void —storeWithdrawals()
Stores multiple withdrawals.
public
storeWithdrawals(Withdrawal ...$withdrawals) : void
Parameters
- $withdrawals : Withdrawal