OrderInterface
in
Interface OrderInterface
Tags
Table of Contents
- addAddonValues() : OrderInterface
- Adds an addon collection to the existing one.
- getAddonValue() : string
- Returns the order addon key value from collection.
- getAddonValues() : EditableKeyValueCollection
- Returns the order addon value collection.
- getBillingAddress() : AddressBlockInterface
- Returns the billing address.
- getComment() : string
- Returns the order comment.
- getCurrencyCode() : CurrencyCode
- Returns the order currency code.
- getCustomerAddress() : AddressBlockInterface
- Returns the customer address.
- getCustomerEmail() : string
- Returns the associated customer email address.
- getCustomerId() : int
- Returns the associated customer ID.
- getCustomerNumber() : string
- Returns the customer number.
- getCustomerStatusInformation() : CustomerStatusInformation
- Returns the Customer status information.
- getCustomerTelephone() : string
- Returns the associated customer telephone number.
- getDeliveryAddress() : AddressBlockInterface
- Returns the delivery address.
- getLanguageCode() : LanguageCode
- Returns the order language code.
- getLastModifiedDateTime() : DateTime
- Returns the datetime of last modification.
- getOrderHash() : string
- Returns the unique order hash.
- getOrderId() : int
- Returns the order ID.
- getOrderItems() : OrderItemCollection
- Returns the order items collection.
- getOrderTotals() : OrderTotalCollection
- Returns the order totals collection.
- getPaymentType() : OrderPaymentType
- Returns the order payment type.
- getPurchaseDateTime() : DateTime
- Returns the order purchase datetime.
- getShippingType() : OrderShippingType
- Returns the order shipping type.
- getStatusHistory() : OrderStatusHistoryListItemCollection
- Returns the order status history.
- getStatusId() : int
- Returns the order status ID.
- getTotalWeight() : float
- Returns the total weight of the ordered products.
- getVatIdNumber() : string
- Returns the VAT ID number.
- setAddonValue() : OrderInterface
- Adds/updates a key value in the addon value collection.
- setBillingAddress() : OrderInterface
- Sets the billing address.
- setComment() : OrderInterface
- Sets the order comment.
- setCurrencyCode() : OrderInterface
- Sets the order currency code.
- setCustomerAddress() : OrderInterface
- Sets the customer address.
- setCustomerEmail() : OrderInterface
- Sets the customer email address.
- setCustomerId() : OrderInterface
- Sets the associated customer ID.
- setCustomerNumber() : OrderInterface
- Sets customer number of Order
- setCustomerStatusInformation() : mixed
- Sets the customer status information.
- setCustomerTelephone() : OrderInterface
- Sets the customer telephone number.
- setDeliveryAddress() : OrderInterface
- Sets the delivery address.
- setLanguageCode() : OrderInterface
- Sets the order language code.
- setLastModifiedDateTime() : OrderInterface
- Sets the date time of last modification.
- setOrderHash() : GXEngineOrder
- Sets the unique order hash.
- setOrderId() : OrderInterface
- Sets the order ID.
- setOrderItems() : OrderInterface
- Sets the order items collection.
- setOrderTotals() : OrderInterface
- Sets the order total collection.
- setPaymentType() : OrderInterface
- Sets the order payment type.
- setPurchaseDateTime() : OrderInterface
- Sets the order purchase date time.
- setShippingType() : OrderInterface
- Sets the order shipping type.
- setStatusId() : OrderInterface
- Sets the order status ID.
- setTotalWeight() : $this|OrderInterface
- Sets the total weight of the ordered products.
- setVatIdNumber() : OrderInterface
- Sets the VAT ID Number.
Methods
addAddonValues()
Adds an addon collection to the existing one.
public
addAddonValues(KeyValueCollection $addonCollection) : OrderInterface
Parameters
- $addonCollection : KeyValueCollection
-
Addon collection.
Return values
OrderInterface —Same instance for method chaining.
getAddonValue()
Returns the order addon key value from collection.
public
getAddonValue(StringType $key) : string
Parameters
- $key : StringType
-
Addon key.
Return values
string —Addon value.
getAddonValues()
Returns the order addon value collection.
public
getAddonValues() : EditableKeyValueCollection
Return values
EditableKeyValueCollection —Order addon value collection.
getBillingAddress()
Returns the billing address.
public
getBillingAddress() : AddressBlockInterface
Return values
AddressBlockInterface —Billing address.
getComment()
Returns the order comment.
public
getComment() : string
Return values
string —Order comment.
getCurrencyCode()
Returns the order currency code.
public
getCurrencyCode() : CurrencyCode
Return values
CurrencyCode —Order currency code.
getCustomerAddress()
Returns the customer address.
public
getCustomerAddress() : AddressBlockInterface
Return values
AddressBlockInterface —Customer address.
getCustomerEmail()
Returns the associated customer email address.
public
getCustomerEmail() : string
Return values
string —Associated customer email address.
getCustomerId()
Returns the associated customer ID.
public
getCustomerId() : int
Return values
int —Associated customer ID.
getCustomerNumber()
Returns the customer number.
public
getCustomerNumber() : string
Return values
string —Customer number.
getCustomerStatusInformation()
Returns the Customer status information.
public
getCustomerStatusInformation() : CustomerStatusInformation
Return values
CustomerStatusInformation —Customer status information.
getCustomerTelephone()
Returns the associated customer telephone number.
public
getCustomerTelephone() : string
Return values
string —Associated customer telephone number.
getDeliveryAddress()
Returns the delivery address.
public
getDeliveryAddress() : AddressBlockInterface
Return values
AddressBlockInterface —Delivery address.
getLanguageCode()
Returns the order language code.
public
getLanguageCode() : LanguageCode
Return values
LanguageCode —Order language code.
getLastModifiedDateTime()
Returns the datetime of last modification.
public
getLastModifiedDateTime() : DateTime
Return values
DateTime —Datetime of last modification.
getOrderHash()
Returns the unique order hash.
public
getOrderHash() : string
Return values
string —Unique order hash.
getOrderId()
Returns the order ID.
public
getOrderId() : int
Return values
int —Order ID.
getOrderItems()
Returns the order items collection.
public
getOrderItems() : OrderItemCollection
Return values
OrderItemCollection —Order items collection.
getOrderTotals()
Returns the order totals collection.
public
getOrderTotals() : OrderTotalCollection
Return values
OrderTotalCollection —Order totals collection.
getPaymentType()
Returns the order payment type.
public
getPaymentType() : OrderPaymentType
Return values
OrderPaymentType —Order payment type.
getPurchaseDateTime()
Returns the order purchase datetime.
public
getPurchaseDateTime() : DateTime
Return values
DateTime —Order purchase datetime.
getShippingType()
Returns the order shipping type.
public
getShippingType() : OrderShippingType
Return values
OrderShippingType —Order shipping type.
getStatusHistory()
Returns the order status history.
public
getStatusHistory() : OrderStatusHistoryListItemCollection
Return values
OrderStatusHistoryListItemCollection —Order status history.
getStatusId()
Returns the order status ID.
public
getStatusId() : int
Return values
int —Order status ID.
getTotalWeight()
Returns the total weight of the ordered products.
public
getTotalWeight() : float
Return values
float —getVatIdNumber()
Returns the VAT ID number.
public
getVatIdNumber() : string
Return values
string —VAT ID number.
setAddonValue()
Adds/updates a key value in the addon value collection.
public
setAddonValue(StringType $key, StringType $value) : OrderInterface
Parameters
- $key : StringType
-
Addon key.
- $value : StringType
-
Addon value.
Return values
OrderInterface —Same instance for method chaining.
setBillingAddress()
Sets the billing address.
public
setBillingAddress(AddressBlockInterface $address) : OrderInterface
Parameters
- $address : AddressBlockInterface
-
Billing address.
Return values
OrderInterface —Same instance for method chaining.
setComment()
Sets the order comment.
public
setComment(StringType $comment) : OrderInterface
Parameters
- $comment : StringType
-
Comment.
Return values
OrderInterface —Same instance for method chaining.
setCurrencyCode()
Sets the order currency code.
public
setCurrencyCode(CurrencyCode $currencyCode) : OrderInterface
Parameters
- $currencyCode : CurrencyCode
-
Currency code.
Return values
OrderInterface —Same instance for method chaining.
setCustomerAddress()
Sets the customer address.
public
setCustomerAddress(AddressBlockInterface $address) : OrderInterface
Parameters
- $address : AddressBlockInterface
-
Customer address.
Return values
OrderInterface —Same instance for method chaining.
setCustomerEmail()
Sets the customer email address.
public
setCustomerEmail(EmailStringType $email) : OrderInterface
Parameters
- $email : EmailStringType
-
Customer email address.
Return values
OrderInterface —Same instance for method chaining.
setCustomerId()
Sets the associated customer ID.
public
setCustomerId(IdType $id) : OrderInterface
Parameters
- $id : IdType
-
Customer ID.
Return values
OrderInterface —Same instance for method chaining.
setCustomerNumber()
Sets customer number of Order
public
setCustomerNumber(StringType $customerNumber) : OrderInterface
Parameters
- $customerNumber : StringType
-
Customer number.
Return values
OrderInterface —Same instance for method chaining.
setCustomerStatusInformation()
Sets the customer status information.
public
setCustomerStatusInformation(CustomerStatusInformation $customerStatusInformation) : mixed
Parameters
- $customerStatusInformation : CustomerStatusInformation
-
Customer status information.
Return values
mixed —setCustomerTelephone()
Sets the customer telephone number.
public
setCustomerTelephone(StringType $telephone) : OrderInterface
Parameters
- $telephone : StringType
-
Customer telephone number.
Return values
OrderInterface —Same instance for method chaining.
setDeliveryAddress()
Sets the delivery address.
public
setDeliveryAddress(AddressBlockInterface $address) : OrderInterface
Parameters
- $address : AddressBlockInterface
-
Delivery address.
Return values
OrderInterface —Same instance for method chaining.
setLanguageCode()
Sets the order language code.
public
setLanguageCode(LanguageCode $languageCode) : OrderInterface
Parameters
- $languageCode : LanguageCode
-
Language code.
Return values
OrderInterface —Same instance for method chaining.
setLastModifiedDateTime()
Sets the date time of last modification.
public
setLastModifiedDateTime(DateTime $lastModifiedDateTime) : OrderInterface
Parameters
- $lastModifiedDateTime : DateTime
-
Last modification date time
Return values
OrderInterface —Same instance for method chaining.
setOrderHash()
Sets the unique order hash.
public
setOrderHash(NonEmptyStringType $orderHash) : GXEngineOrder
Parameters
- $orderHash : NonEmptyStringType
-
Unique order hash.
Return values
GXEngineOrder —Same instance for method chaining.
setOrderId()
Sets the order ID.
public
setOrderId(IdType $id) : OrderInterface
Parameters
- $id : IdType
-
Order ID.
Return values
OrderInterface —Same instance for method chaining.
setOrderItems()
Sets the order items collection.
public
setOrderItems(OrderItemCollection $collection) : OrderInterface
Parameters
- $collection : OrderItemCollection
-
Items collection.
Return values
OrderInterface —Same instance for method chaining.
setOrderTotals()
Sets the order total collection.
public
setOrderTotals(OrderTotalCollection $collection) : OrderInterface
Parameters
- $collection : OrderTotalCollection
-
Total collection.
Return values
OrderInterface —Same instance for method chaining.
setPaymentType()
Sets the order payment type.
public
setPaymentType(OrderPaymentType $paymentType) : OrderInterface
Parameters
- $paymentType : OrderPaymentType
-
Payment type.
Return values
OrderInterface —Same instance for method chaining.
setPurchaseDateTime()
Sets the order purchase date time.
public
setPurchaseDateTime(DateTime $dateTime) : OrderInterface
Parameters
- $dateTime : DateTime
-
Purchase date time.
Return values
OrderInterface —Same instance for method chaining.
setShippingType()
Sets the order shipping type.
public
setShippingType(OrderShippingType $shippingType) : OrderInterface
Parameters
- $shippingType : OrderShippingType
-
Shipping type.
Return values
OrderInterface —Same instance for method chaining.
setStatusId()
Sets the order status ID.
public
setStatusId(IntType $id) : OrderInterface
Parameters
- $id : IntType
-
Status ID.
Return values
OrderInterface —Same instance for method chaining.
setTotalWeight()
Sets the total weight of the ordered products.
public
setTotalWeight(DecimalType $totalWeight) : $this|OrderInterface
Parameters
- $totalWeight : DecimalType
Return values
$this|OrderInterface —Same instance for method chaining.
setVatIdNumber()
Sets the VAT ID Number.
public
setVatIdNumber(StringType $vatIdNumber) : OrderInterface
Parameters
- $vatIdNumber : StringType
-
VAT ID number.
Return values
OrderInterface —Same instance for method chaining.