phpDocumentor

WithdrawalFactory

Class WithdrawalFactory

Table of Contents

createCustomerAddress()  : CustomerAddress
Creates and returns a customer address.
createCustomerDetails()  : CustomerDetails
Creates and returns customer details.
createOrderDetails()  : OrderDetails
Creates and returns order details.
createOrderId()  : OrderId
Creates and returns an order ID.
createWithdrawal()  : Withdrawal
Creates and returns a withdrawal.
createWithdrawalId()  : WithdrawalId
Creates and returns an withdrawal ID.
createWithdrawalIds()  : WithdrawalIds
Creates and returns a collection of withdrawal IDs.
createWithdrawals()  : Withdrawals
Creates and returns a collection of withdrawals.

Methods

createCustomerAddress()

Creates and returns a customer address.

public createCustomerAddress([string $street = '' ][, string $postcode = '' ][, string $city = '' ][, string $country = '' ]) : CustomerAddress
Parameters
$street : string = ''
$postcode : string = ''
$city : string = ''
$country : string = ''
Return values
CustomerAddress

createCustomerDetails()

Creates and returns customer details.

public createCustomerDetails(string $email, CustomerAddress $address[, int|null $id = null ][, string|null $gender = null ][, string|null $firstname = '' ][, string|null $lastname = '' ]) : CustomerDetails
Parameters
$email : string
$address : CustomerAddress
$id : int|null = null
$gender : string|null = null
$firstname : string|null = ''
$lastname : string|null = ''
Return values
CustomerDetails

createOrderDetails()

Creates and returns order details.

public createOrderDetails([int|null $id = null ][, string|null $creationDate = null ][, string|null $deliveryDate = null ]) : OrderDetails
Parameters
$id : int|null = null
$creationDate : string|null = null
$deliveryDate : string|null = null
Return values
OrderDetails

Search results