WithdrawalOrder

Implements \WithdrawalOrderInterface

Class WithdrawalOrder

category

System

package

Withdrawal

subpackage

ValueObjects

Methods

WithdrawalOrder constructor.

__construct(\IntType $orderId, \IntType $customerId, \StringType $customerGender, \StringType $customerFirstName, \StringType $customerLastName, \StringType $customerStreetAddress, \IntType $customerPostCode, \StringType $customerCity, \StringType $customerCountry, \StringType $customerEmail, \DateTime $orderDate, \DateTime $deliveryDate) 

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

Returns the customer city.

getCustomerCity() : string

Response

string

The customer city.

Returns the customer country.

getCustomerCountry() : string

Response

string

The customer country.

Returns the customer Email.

getCustomerEmail() : string

Response

string

The customer Email.

Returns the customer first name.

getCustomerFirstName() : string

Response

string

The customer first name.

Returns the customer gender.

getCustomerGender() : string

Response

string

The customer gender.

Returns the customer id.

getCustomerId() : integer

Response

integer

The customer id.

Returns the customer last name.

getCustomerLastName() : string

Response

string

The customer last name.

Returns the customer post code.

getCustomerPostCode() : integer

Response

integer

The customer post code.

Returns the customer street address.

getCustomerStreetAddress() : string

Response

string

The customer street address.

Returns the delivery datetime.

getDeliveryDate() : \DateTime

Response

\DateTime

Returns the order datetime.

getOrderDate() : \DateTime

Response

\DateTime

Returns the order id.

getOrderId() : integer

Response

integer

The order id.

Properties

orderId

orderId : integer
var

Type(s)

integer

customerId

customerId : integer
var

Type(s)

integer

customerGender

customerGender : \StringType
var

Type(s)

\StringType

customerFirstName

customerFirstName : string
var

Type(s)

string

customerLastName

customerLastName : string
var

Type(s)

string

customerStreetAddress

customerStreetAddress : string
var

Type(s)

string

customerPostCode

customerPostCode : integer
var

Type(s)

integer

customerCity

customerCity : string
var

Type(s)

string

customerCountry

customerCountry : string
var

Type(s)

string

customerEmail

customerEmail : string
var

Type(s)

string

orderDate

orderDate : \DateTime
var

Type(s)

\DateTime

deliveryDate

deliveryDate : \DateTime
var

Type(s)

\DateTime