Interface OrderWriteServiceInterface
category |
System |
---|---|
package |
Order |
subpackage |
Interfaces |
addOrderItem(\IdType $orderId, \OrderItemInterface $orderItem) : integer
integer
ID of the StoredOrderItem.
addOrderItemAttribute(\IdType $orderItemId, \OrderItemAttributeInterface $orderItemAttribute) : integer
integer
ID of stored order item attribute.
addOrderStatusHistoryEntry(\IdType $orderId, \StringType $comment, \IdType $customerId)
Add an order status history entry to an order, without changing the status or notifying the customer.
addOrderTotal(\IdType $orderId, \OrderTotalInterface $orderTotal) : integer
integer
ID of stored order total.
createNewCustomerOrder(\IdType $customerId, \CustomerStatusInformation $customerStatusInfo, \StringType $customerNumber, \EmailStringType $customerEmail, \StringType $customerTelephone, \StringType $vatIdNumber, \AddressBlockInterface $customerAddress, \AddressBlockInterface $billingAddress, \AddressBlockInterface $deliveryAddress, \OrderItemCollection $orderItemCollection, \OrderTotalCollection $orderTotalCollection, \OrderShippingType $shippingType, \OrderPaymentType $paymentType, \CurrencyCode $currencyCode, \LanguageCode $languageCode, \DecimalType $totalWeight, \StringType $comment = null, \IntType $orderStatusId = null, \KeyValueCollection $addonValues = null) : integer
\KeyValueCollection
Optional key => value collection of addon values - e.g. cookies (default = null).
integer
Order ID.
createNewStandaloneOrder(\StringType $customerNumber, \EmailStringType $customerEmail, \StringType $customerTelephone, \StringTYpe $vatIdNumber, \AddressBlockInterface $customerAddress, \AddressBlockInterface $billingAddress, \AddressBlockInterface $deliveryAddress, \OrderItemCollection $orderItemCollection, \OrderTotalCollection $orderTotalCollection, \OrderShippingType $shippingType, \OrderPaymentType $paymentType, \CurrencyCode $currencyCode, \LanguageCode $languageCode, \DecimalType $totalWeight, \StringType $comment = null, \IntType $orderStatusId = null, \KeyValueCollection $addonValues = null) : integer
\StringTYpe
VAT ID number of the customer.
\KeyValueCollection
Optional key => value collection of addon values - e.g. cookies (default = null).
integer
Order ID.
removeOrderById(\IdType $orderId)
removeOrderItem(\StoredOrderItemInterface $orderItem)
removeOrderItemAttribute(\StoredOrderItemAttributeInterface $orderItemAttribute)
removeOrderTotal(\StoredOrderTotalInterface $orderTotal)
updateBillingAddress(\IdType $orderId, \AddressBlockInterface $newAddress)
updateComment(\IdType $orderId, \StringType $newComment)
updateCustomerAddress(\IdType $orderId, \AddressBlockInterface $newAddress)
updateDeliveryAddress(\IdType $orderId, \AddressBlockInterface $newAddress)
updateOrder(\OrderInterface $order)
updateOrderItem(\StoredOrderItemInterface $orderItem)
updateOrderItemAttribute(\StoredOrderItemAttributeInterface $orderItemAttribute)
updateOrderStatus(\IdType $orderId, \IntType $newOrderStatusId, \StringType $comment, \BoolType $customerNotified, \IdType $customerId = null)
updateOrderTotal(\StoredOrderTotalInterface $orderTotal)
updatePaymentType(\IdType $orderId, \OrderPaymentType $newPaymentType)
updateShippingType(\IdType $orderId, \OrderShippingType $newShippingType)