All Superinterfaces:
BusinessObject
All Known Implementing Classes:
OrderBean

public interface Order extends BusinessObject
Interface representing an order within the system. An order may be complete and part of a customer's order history, or it may represent the user's cart: in other words, the current order the customer is building in the store.

When the application needs to create an instance that implements Order, BusinessObjectFactory finds the name of the Java class to instantiate from the "orderImplementer" setting in the appComponents.properties file.

The default "orderImplementer" is OrderBean.

Author:
David Tobey
  • Method Details

    • getOrderID

      int getOrderID()
    • setOrderID

      void setOrderID(int orderID)
    • getCustomerID

      Integer getCustomerID()
    • setCustomerID

      void setCustomerID(Integer customerID)
    • getUserName

      String getUserName()
    • setUserName

      void setUserName(String userName)
    • getOrderNumber

      Integer getOrderNumber()
    • setOrderNumber

      void setOrderNumber(Integer orderNumber)
    • getTrackingNumber

      String getTrackingNumber()
    • setTrackingNumber

      void setTrackingNumber(String trackingNumber)
    • getTotal

      Double getTotal()
    • setTotal

      void setTotal(Double total)
    • getShipping

      Double getShipping()
    • setShipping

      void setShipping(Double shipping)
    • getTax

      Double getTax()
    • setTax

      void setTax(Double tax)
    • getTaxableSubtotal

      Double getTaxableSubtotal()
    • setTaxableSubtotal

      void setTaxableSubtotal(Double taxableSubtotal)
    • getSubtotal

      Double getSubtotal()
    • setSubtotal

      void setSubtotal(Double subtotal)
    • getWeight

      Double getWeight()
    • setWeight

      void setWeight(Double weight)
    • getQuantity

      Integer getQuantity()
    • setQuantity

      void setQuantity(Integer quantity)
    • getFormattedTotal

      String getFormattedTotal()
    • setFormattedTotal

      void setFormattedTotal(String formattedTotal)
    • getFormattedShipping

      String getFormattedShipping()
    • setFormattedShipping

      void setFormattedShipping(String formattedShipping)
    • getFormattedTax

      String getFormattedTax()
    • setFormattedTax

      void setFormattedTax(String formattedTax)
    • getFormattedTaxableSubtotal

      String getFormattedTaxableSubtotal()
    • setFormattedTaxableSubtotal

      void setFormattedTaxableSubtotal(String formattedTaxableSubtotal)
    • getFormattedSubtotal

      String getFormattedSubtotal()
    • setFormattedSubtotal

      void setFormattedSubtotal(String formattedSubtotal)
    • getCreated

      String getCreated()
    • setCreated

      void setCreated(String created)
    • getLastModified

      String getLastModified()
    • setLastModified

      void setLastModified(String lastModified)
    • getCompleted

      String getCompleted()
    • setCompleted

      void setCompleted(String completed)
    • getFormattedCreated

      String getFormattedCreated()
    • setFormattedCreated

      void setFormattedCreated(String formattedCreated)
    • getFormattedLastModified

      String getFormattedLastModified()
    • setFormattedLastModified

      void setFormattedLastModified(String formattedLastModified)
    • getFormattedCompleted

      String getFormattedCompleted()
    • setFormattedCompleted

      void setFormattedCompleted(String formattedCompleted)
    • getStatus

      String getStatus()
    • setStatus

      void setStatus(String status)
    • getStatusDetails

      String getStatusDetails()
    • setStatusDetails

      void setStatusDetails(String statusDetails)
    • getShippingMethod

      String getShippingMethod()
    • setShippingMethod

      void setShippingMethod(String shippingMethod)
    • getFirstName

      String getFirstName()
    • setFirstName

      void setFirstName(String firstName)
    • getLastName

      String getLastName()
    • setLastName

      void setLastName(String lastName)
    • getOrganization

      String getOrganization()
    • setOrganization

      void setOrganization(String organization)
    • getAddress1

      String getAddress1()
    • setAddress1

      void setAddress1(String address1)
    • getAddress2

      String getAddress2()
    • setAddress2

      void setAddress2(String address2)
    • getCity

      String getCity()
    • setCity

      void setCity(String city)
    • getState

      String getState()
    • setState

      void setState(String state)
    • getCountry

      String getCountry()
    • setCountry

      void setCountry(String country)
    • getPostalCode

      String getPostalCode()
    • setPostalCode

      void setPostalCode(String postalCode)
    • getPhone1

      String getPhone1()
    • setPhone1

      void setPhone1(String phone1)
    • getPhone2

      String getPhone2()
    • setPhone2

      void setPhone2(String phone2)
    • getEmail1

      String getEmail1()
    • setEmail1

      void setEmail1(String email1)
    • getEmail2

      String getEmail2()
    • setEmail2

      void setEmail2(String email2)
    • getExtra1

      String getExtra1()
    • setExtra1

      void setExtra1(String extra1)
    • getExtra2

      String getExtra2()
    • setExtra2

      void setExtra2(String extra2)
    • getExtra3

      String getExtra3()
    • setExtra3

      void setExtra3(String extra3)
    • getExtra4

      String getExtra4()
    • setExtra4

      void setExtra4(String extra4)
    • getExtra5

      String getExtra5()
    • setExtra5

      void setExtra5(String extra5)
    • getNotes

      String getNotes()
    • setNotes

      void setNotes(String notes)
    • getAutoSavedCartToken

      String getAutoSavedCartToken()
    • setAutoSavedCartToken

      void setAutoSavedCartToken(String autoSavedCartToken)
    • getOrderDeliveryCollection

      Collection getOrderDeliveryCollection()
    • setOrderDeliveryCollection

      void setOrderDeliveryCollection(Collection orderDeliveryCollection)
    • getOrderItemCollection

      Collection getOrderItemCollection()
    • setOrderItemCollection

      void setOrderItemCollection(Collection orderItemCollection)
    • getPayments

      Collection getPayments()
    • setPayments

      void setPayments(Collection payments)
    • getOrderDiscounts

      Collection getOrderDiscounts()
    • setOrderDiscounts

      void setOrderDiscounts(Collection orderDiscounts)
    • getCustomer

      Customer getCustomer()
    • setCustomer

      void setCustomer(Customer customer)
    • getBillingFirstName

      String getBillingFirstName()
    • setBillingFirstName

      void setBillingFirstName(String billingFirstName)
    • getBillingLastName

      String getBillingLastName()
    • setBillingLastName

      void setBillingLastName(String billingLastName)
    • getBillingOrganization

      String getBillingOrganization()
    • setBillingOrganization

      void setBillingOrganization(String billingOrganization)
    • getBillingAddress1

      String getBillingAddress1()
    • setBillingAddress1

      void setBillingAddress1(String billingAddress1)
    • getBillingAddress2

      String getBillingAddress2()
    • setBillingAddress2

      void setBillingAddress2(String billingAddress2)
    • getBillingCity

      String getBillingCity()
    • setBillingCity

      void setBillingCity(String billingCity)
    • getBillingState

      String getBillingState()
    • setBillingState

      void setBillingState(String billingState)
    • getBillingCountry

      String getBillingCountry()
    • setBillingCountry

      void setBillingCountry(String billingCountry)
    • getBillingPostalCode

      String getBillingPostalCode()
    • setBillingPostalCode

      void setBillingPostalCode(String billingPostalCode)
    • getBillingPhone1

      String getBillingPhone1()
    • setBillingPhone1

      void setBillingPhone1(String billingPhone1)
    • getBillingPhone2

      String getBillingPhone2()
    • setBillingPhone2

      void setBillingPhone2(String billingPhone2)
    • getBillingEmail1

      String getBillingEmail1()
    • setBillingEmail1

      void setBillingEmail1(String billingEmail1)
    • getBillingEmail2

      String getBillingEmail2()
    • setBillingEmail2

      void setBillingEmail2(String billingEmail2)
    • getBillingExtra1

      String getBillingExtra1()
    • setBillingExtra1

      void setBillingExtra1(String billingExtra1)
    • getBillingExtra2

      String getBillingExtra2()
    • setBillingExtra2

      void setBillingExtra2(String billingExtra2)
    • getBillingExtra3

      String getBillingExtra3()
    • setBillingExtra3

      void setBillingExtra3(String billingExtra3)
    • getBillingExtra4

      String getBillingExtra4()
    • setBillingExtra4

      void setBillingExtra4(String billingExtra4)
    • getBillingExtra5

      String getBillingExtra5()
    • setBillingExtra5

      void setBillingExtra5(String billingExtra5)
    • getBillingNotes

      String getBillingNotes()
    • setBillingNotes

      void setBillingNotes(String billingNotes)
    • firstDelivery

      OrderDelivery firstDelivery()
    • addFormatting

      void addFormatting(Locale locale, String currencyCode)
    • getOrderShippingRules

      Collection getOrderShippingRules()
    • setOrderShippingRules

      void setOrderShippingRules(Collection orderShippingRules)
    • getEstimatedShippingOptions

      Collection getEstimatedShippingOptions()
    • setEstimatedShippingOptions

      void setEstimatedShippingOptions(Collection estimatedShippingOptions)
    • getPaymentProfileID

      String getPaymentProfileID()
    • setPaymentProfileID

      void setPaymentProfileID(String paymentProfileID)
    • getSkipAddressValidation

      boolean getSkipAddressValidation()
    • setSkipAddressValidation

      void setSkipAddressValidation(boolean skipAddressValidation)
    • getOrderSettings

      Map getOrderSettings()
    • setOrderSettings

      void setOrderSettings(Map orderSettings)