OrderInterface

Extends

Interface OrderInterface

category

System

package

Order

subpackage

Interfaces

Methods

Adds an addon collection to the existing one.

addAddonValues(\KeyValueCollection $addonCollection) : \OrderInterface

Arguments

$addonCollection

\KeyValueCollection

Addon collection.

Response

\OrderInterface

Same instance for method chaining.

Returns the order addon key value from collection.

getAddonValue(\StringType $key) : string

Arguments

$key

\StringType

Addon key.

Response

string

Addon value.

Returns the order addon value collection.

getAddonValues() : \EditableKeyValueCollection

Response

\EditableKeyValueCollection

Order addon value collection.

Returns the billing address.

getBillingAddress() : \AddressBlockInterface

Response

\AddressBlockInterface

Billing address.

Returns the order comment.

getComment() : string

Response

string

Order comment.

Returns the order currency code.

getCurrencyCode() : \CurrencyCode

Response

\CurrencyCode

Order currency code.

Returns the customer address.

getCustomerAddress() : \AddressBlockInterface

Response

\AddressBlockInterface

Customer address.

Returns the associated customer email address.

getCustomerEmail() : string

Response

string

Associated customer email address.

Returns the associated customer ID.

getCustomerId() : integer

Response

integer

Associated customer ID.

Returns the customer number.

getCustomerNumber() : string

Response

string

Customer number.

Returns the Customer status information.

getCustomerStatusInformation() : \CustomerStatusInformation

Response

\CustomerStatusInformation

Customer status information.

Returns the associated customer telephone number.

getCustomerTelephone() : string

Response

string

Associated customer telephone number.

Returns the delivery address.

getDeliveryAddress() : \AddressBlockInterface

Response

\AddressBlockInterface

Delivery address.

Returns the order language code.

getLanguageCode() : \LanguageCode

Response

\LanguageCode

Order language code.

Returns the datetime of last modification.

getLastModifiedDateTime() : \DateTime

Response

\DateTime

Datetime of last modification.

Returns the unique order hash.

getOrderHash() : string

Response

string

Unique order hash.

Returns the order ID.

getOrderId() : integer

Response

integer

Order ID.

Returns the order items collection.

getOrderItems() : \OrderItemCollection

Response

\OrderItemCollection

Order items collection.

Returns the order totals collection.

getOrderTotals() : \OrderTotalCollection

Response

\OrderTotalCollection

Order totals collection.

Returns the order payment type.

getPaymentType() : \OrderPaymentType

Response

\OrderPaymentType

Order payment type.

Returns the order purchase datetime.

getPurchaseDateTime() : \DateTime

Response

\DateTime

Order purchase datetime.

Returns the order shipping type.

getShippingType() : \OrderShippingType

Response

\OrderShippingType

Order shipping type.

Returns the order status history.

getStatusHistory() : \OrderStatusHistoryListItemCollection

Response

\OrderStatusHistoryListItemCollection

Order status history.

Returns the order status ID.

getStatusId() : integer

Response

integer

Order status ID.

Returns the total weight of the ordered products.

getTotalWeight() : double

Response

double

Returns the VAT ID number.

getVatIdNumber() : string

Response

string

VAT ID number.

Adds/updates a key value in the addon value collection.

setAddonValue(\StringType $key, \StringType $value) : \OrderInterface

Arguments

$key

\StringType

Addon key.

$value

\StringType

Addon value.

Response

\OrderInterface

Same instance for method chaining.

Sets the billing address.

setBillingAddress(\AddressBlockInterface $address) : \OrderInterface

Arguments

$address

\AddressBlockInterface

Billing address.

Response

\OrderInterface

Same instance for method chaining.

Sets the order comment.

setComment(\StringType $comment) : \OrderInterface

Arguments

$comment

\StringType

Comment.

Response

\OrderInterface

Same instance for method chaining.

Sets the order currency code.

setCurrencyCode(\CurrencyCode $currencyCode) : \OrderInterface

Arguments

$currencyCode

\CurrencyCode

Currency code.

Response

\OrderInterface

Same instance for method chaining.

Sets the customer address.

setCustomerAddress(\AddressBlockInterface $address) : \OrderInterface

Arguments

$address

\AddressBlockInterface

Customer address.

Response

\OrderInterface

Same instance for method chaining.

Sets the customer email address.

setCustomerEmail(\EmailStringType $email) : \OrderInterface

Arguments

$email

\EmailStringType

Customer email address.

Response

\OrderInterface

Same instance for method chaining.

Sets the associated customer ID.

setCustomerId(\IdType $id) : \OrderInterface

Arguments

$id

\IdType

Customer ID.

Response

\OrderInterface

Same instance for method chaining.

Sets customer number of Order

setCustomerNumber(\StringType $customerNumber) : \OrderInterface

Arguments

$customerNumber

\StringType

Customer number.

Response

\OrderInterface

Same instance for method chaining.

Sets the customer status information.

setCustomerStatusInformation(\CustomerStatusInformation $customerStatusInformation) 

Arguments

$customerStatusInformation

\CustomerStatusInformation

Customer status information.

Sets the customer telephone number.

setCustomerTelephone(\StringType $telephone) : \OrderInterface

Arguments

$telephone

\StringType

Customer telephone number.

Response

\OrderInterface

Same instance for method chaining.

Sets the delivery address.

setDeliveryAddress(\AddressBlockInterface $address) : \OrderInterface

Arguments

$address

\AddressBlockInterface

Delivery address.

Response

\OrderInterface

Same instance for method chaining.

Sets the order language code.

setLanguageCode(\LanguageCode $languageCode) : \OrderInterface

Arguments

$languageCode

\LanguageCode

Language code.

Response

\OrderInterface

Same instance for method chaining.

Sets the date time of last modification.

setLastModifiedDateTime(\DateTime $lastModifiedDateTime) : \OrderInterface

Arguments

$lastModifiedDateTime

\DateTime

Last modification date time

Response

\OrderInterface

Same instance for method chaining.

Sets the unique order hash.

setOrderHash(\NonEmptyStringType $orderHash) : \GXEngineOrder

Arguments

$orderHash

\NonEmptyStringType

Unique order hash.

Response

\GXEngineOrder

Same instance for method chaining.

Sets the order ID.

setOrderId(\IdType $id) : \OrderInterface

Arguments

$id

\IdType

Order ID.

Response

\OrderInterface

Same instance for method chaining.

Sets the order items collection.

setOrderItems(\OrderItemCollection $collection) : \OrderInterface

Arguments

$collection

\OrderItemCollection

Items collection.

Response

\OrderInterface

Same instance for method chaining.

Sets the order total collection.

setOrderTotals(\OrderTotalCollection $collection) : \OrderInterface

Arguments

$collection

\OrderTotalCollection

Total collection.

Response

\OrderInterface

Same instance for method chaining.

Sets the order payment type.

setPaymentType(\OrderPaymentType $paymentType) : \OrderInterface

Arguments

$paymentType

\OrderPaymentType

Payment type.

Response

\OrderInterface

Same instance for method chaining.

Sets the order purchase date time.

setPurchaseDateTime(\DateTime $dateTime) : \OrderInterface

Arguments

$dateTime

\DateTime

Purchase date time.

Response

\OrderInterface

Same instance for method chaining.

Sets the order shipping type.

setShippingType(\OrderShippingType $shippingType) : \OrderInterface

Arguments

$shippingType

\OrderShippingType

Shipping type.

Response

\OrderInterface

Same instance for method chaining.

Sets the order status ID.

setStatusId(\IntType $id) : \OrderInterface

Arguments

$id

\IntType

Status ID.

Response

\OrderInterface

Same instance for method chaining.

Sets the total weight of the ordered products.

setTotalWeight(\DecimalType $totalWeight) : $this|\OrderInterface

Arguments

$totalWeight

\DecimalType

Response

$this|\OrderInterface

Same instance for method chaining.

Sets the VAT ID Number.

setVatIdNumber(\StringType $vatIdNumber) : \OrderInterface

Arguments

$vatIdNumber

\StringType

VAT ID number.

Response

\OrderInterface

Same instance for method chaining.