Class GXEngineOrder
This class is used for managing order data.
category |
System |
---|---|
package |
Order |
subpackage |
Entities |
__construct()
_initializeAddressProperties()
_initializeCollectionProperties()
_initializeTypeAndCodeProperties()
addAddonValues(\KeyValueCollection $addonCollection) : \GXEngineOrder
deleteAddonValue(\StringType $key) : \GXEngineOrder
getAddonValue(\StringType $key) : \EditableKeyValueCollection
getAddonValueContainerId() : integer
The addon value container id is equal to the orders id.
integer
Addon value container ID
getAddonValues() : \EditableKeyValueCollection
getBillingAddress() : \AddressBlockInterface
getComment() : string
string
Order comment.
getCurrencyCode() : \CurrencyCode
getCustomerAddress() : \AddressBlockInterface
getCustomerEmail() : string
string
Associated customer email address.
getCustomerId() : integer
integer
Associated customer ID.
getCustomerNumber() : string
string
Customer number.
getCustomerStatusInformation() : \CustomerStatusInformation
getCustomerTelephone() : string
string
Associated customer telephone number.
getDeliveryAddress() : \AddressBlockInterface
getLanguageCode() : \LanguageCode
getLastModifiedDateTime() : \DateTime
\DateTime
Datetime of last modification.
getOrderHash() : string
string
Unique order hash.
getOrderId() : integer
integer
Order ID.
getOrderItems() : \OrderItemCollection
getOrderTotals() : \OrderTotalCollection
getPaymentType() : \OrderPaymentType
getPurchaseDateTime() : \DateTime
\DateTime
Order purchase datetime.
getShippingType() : \OrderShippingType
getStatusHistory() : \OrderStatusHistoryListItemCollection
getStatusId() : integer
integer
Order status ID.
getTotalWeight() : double
double
getVatIdNumber() : string
string
VAT ID number.
setAddonValue(\StringType $key, \StringType $value) : \GXEngineOrder
setBillingAddress(\AddressBlockInterface $address) : \GXEngineOrder
setComment(\StringType $comment) : \GXEngineOrder
setCurrencyCode(\CurrencyCode $currencyCode) : \GXEngineOrder
setCustomerAddress(\AddressBlockInterface $address) : \GXEngineOrder
setCustomerEmail(\EmailStringType $email) : \GXEngineOrder
setCustomerId(\IdType $id) : \GXEngineOrder
setCustomerNumber(\StringType $customerNumber) : \GXEngineOrder
setCustomerStatusInformation(\CustomerStatusInformation $customerStatusInformation)
setCustomerTelephone(\StringType $telephone) : \GXEngineOrder
setDeliveryAddress(\AddressBlockInterface $address) : \GXEngineOrder
setLanguageCode(\LanguageCode $languageCode) : \GXEngineOrder
setLastModifiedDateTime(\DateTime $lastModifiedDateTime) : \GXEngineOrder
\DateTime
Last modification date time
\GXEngineOrder
Same instance for method chaining.
setOrderHash(\NonEmptyStringType $orderHash) : \GXEngineOrder
setOrderId(\IdType $id) : \GXEngineOrder
Note, that the ID will be saved as string to the class property.
\GXEngineOrder
Same instance for method chaining.
setOrderItems(\OrderItemCollection $collection) : \GXEngineOrder
setOrderStatusHistoryReader(\OrderStatusHistoryReaderInterface $orderStatusHistoryReader) : \GXEngineOrder
setOrderTotals(\OrderTotalCollection $collection) : \GXEngineOrder
setPaymentType(\OrderPaymentType $paymentType) : \GXEngineOrder
setPurchaseDateTime(\DateTime $purchaseDateTime) : \GXEngineOrder
\DateTime
Purchase date time.
\GXEngineOrder
Same instance for method chaining.
setShippingType(\OrderShippingType $shippingType) : \GXEngineOrder
setStatusId(\IntType $id) : \GXEngineOrder
setTotalWeight(\DecimalType $totalWeight) : $this|\GXEngineOrder
setVatIdNumber(\StringType $vatIdNumber) : \GXEngineOrder
orderId : integer
var |
---|
integer
orderHash : string
var |
---|
string
statusId : integer
var |
---|
integer
customerId : integer
var |
---|
integer
customerEmail : string
var |
---|
string
customerTelephone : string
var |
---|
string
customerNumber : string
var |
---|
string
vatIdNumber : string
var |
---|
string
customerStatusInformation : \CustomerStatusInformation
purchaseDateTime : \DateTime
var |
---|
\DateTime
lastModifiedDateTime : \DateTime
var |
---|
\DateTime
addonValues : \EditableKeyValueCollection
orderStatusHistoryReader : \OrderStatusHistoryStorage
totalWeight : float
var |
---|
float
Order comment.
Type(s)
string