Interface Order
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
OrderBean
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 Summary
Modifier and TypeMethodDescriptionvoidaddFormatting(Locale locale, String currencyCode) getCity()getNotes()intbooleangetState()getTax()getTotal()voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetAutoSavedCartToken(String autoSavedCartToken) voidsetBillingAddress1(String billingAddress1) voidsetBillingAddress2(String billingAddress2) voidsetBillingCity(String billingCity) voidsetBillingCountry(String billingCountry) voidsetBillingEmail1(String billingEmail1) voidsetBillingEmail2(String billingEmail2) voidsetBillingExtra1(String billingExtra1) voidsetBillingExtra2(String billingExtra2) voidsetBillingExtra3(String billingExtra3) voidsetBillingExtra4(String billingExtra4) voidsetBillingExtra5(String billingExtra5) voidsetBillingFirstName(String billingFirstName) voidsetBillingLastName(String billingLastName) voidsetBillingNotes(String billingNotes) voidsetBillingOrganization(String billingOrganization) voidsetBillingPhone1(String billingPhone1) voidsetBillingPhone2(String billingPhone2) voidsetBillingPostalCode(String billingPostalCode) voidsetBillingState(String billingState) voidvoidsetCompleted(String completed) voidsetCountry(String country) voidsetCreated(String created) voidsetCustomer(Customer customer) voidsetCustomerID(Integer customerID) voidvoidvoidsetEstimatedShippingOptions(Collection estimatedShippingOptions) voidvoidvoidvoidvoidvoidsetFirstName(String firstName) voidsetFormattedCompleted(String formattedCompleted) voidsetFormattedCreated(String formattedCreated) voidsetFormattedLastModified(String formattedLastModified) voidsetFormattedShipping(String formattedShipping) voidsetFormattedSubtotal(String formattedSubtotal) voidsetFormattedTax(String formattedTax) voidsetFormattedTaxableSubtotal(String formattedTaxableSubtotal) voidsetFormattedTotal(String formattedTotal) voidsetLastModified(String lastModified) voidsetLastName(String lastName) voidvoidsetOrderDeliveryCollection(Collection orderDeliveryCollection) voidsetOrderDiscounts(Collection orderDiscounts) voidsetOrderID(int orderID) voidsetOrderItemCollection(Collection orderItemCollection) voidsetOrderNumber(Integer orderNumber) voidsetOrderSettings(Map orderSettings) voidsetOrderShippingRules(Collection orderShippingRules) voidsetOrganization(String organization) voidsetPaymentProfileID(String paymentProfileID) voidsetPayments(Collection payments) voidvoidvoidsetPostalCode(String postalCode) voidsetQuantity(Integer quantity) voidsetShipping(Double shipping) voidsetShippingMethod(String shippingMethod) voidsetSkipAddressValidation(boolean skipAddressValidation) voidvoidvoidsetStatusDetails(String statusDetails) voidsetSubtotal(Double subtotal) voidvoidsetTaxableSubtotal(Double taxableSubtotal) voidvoidsetTrackingNumber(String trackingNumber) voidsetUserName(String userName) voidMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getOrderID
int getOrderID() -
setOrderID
void setOrderID(int orderID) -
getCustomerID
Integer getCustomerID() -
setCustomerID
-
getUserName
String getUserName() -
setUserName
-
getOrderNumber
Integer getOrderNumber() -
setOrderNumber
-
getTrackingNumber
String getTrackingNumber() -
setTrackingNumber
-
getTotal
Double getTotal() -
setTotal
-
getShipping
Double getShipping() -
setShipping
-
getTax
Double getTax() -
setTax
-
getTaxableSubtotal
Double getTaxableSubtotal() -
setTaxableSubtotal
-
getSubtotal
Double getSubtotal() -
setSubtotal
-
getWeight
Double getWeight() -
setWeight
-
getQuantity
Integer getQuantity() -
setQuantity
-
getFormattedTotal
String getFormattedTotal() -
setFormattedTotal
-
getFormattedShipping
String getFormattedShipping() -
setFormattedShipping
-
getFormattedTax
String getFormattedTax() -
setFormattedTax
-
getFormattedTaxableSubtotal
String getFormattedTaxableSubtotal() -
setFormattedTaxableSubtotal
-
getFormattedSubtotal
String getFormattedSubtotal() -
setFormattedSubtotal
-
getCreated
String getCreated() -
setCreated
-
getLastModified
String getLastModified() -
setLastModified
-
getCompleted
String getCompleted() -
setCompleted
-
getFormattedCreated
String getFormattedCreated() -
setFormattedCreated
-
getFormattedLastModified
String getFormattedLastModified() -
setFormattedLastModified
-
getFormattedCompleted
String getFormattedCompleted() -
setFormattedCompleted
-
getStatus
String getStatus() -
setStatus
-
getStatusDetails
String getStatusDetails() -
setStatusDetails
-
getShippingMethod
String getShippingMethod() -
setShippingMethod
-
getFirstName
String getFirstName() -
setFirstName
-
getLastName
String getLastName() -
setLastName
-
getOrganization
String getOrganization() -
setOrganization
-
getAddress1
String getAddress1() -
setAddress1
-
getAddress2
String getAddress2() -
setAddress2
-
getCity
String getCity() -
setCity
-
getState
String getState() -
setState
-
getCountry
String getCountry() -
setCountry
-
getPostalCode
String getPostalCode() -
setPostalCode
-
getPhone1
String getPhone1() -
setPhone1
-
getPhone2
String getPhone2() -
setPhone2
-
getEmail1
String getEmail1() -
setEmail1
-
getEmail2
String getEmail2() -
setEmail2
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getExtra4
String getExtra4() -
setExtra4
-
getExtra5
String getExtra5() -
setExtra5
-
getNotes
String getNotes() -
setNotes
-
getAutoSavedCartToken
String getAutoSavedCartToken() -
setAutoSavedCartToken
-
getOrderDeliveryCollection
Collection getOrderDeliveryCollection() -
setOrderDeliveryCollection
-
getOrderItemCollection
Collection getOrderItemCollection() -
setOrderItemCollection
-
getPayments
Collection getPayments() -
setPayments
-
getOrderDiscounts
Collection getOrderDiscounts() -
setOrderDiscounts
-
getCustomer
Customer getCustomer() -
setCustomer
-
getBillingFirstName
String getBillingFirstName() -
setBillingFirstName
-
getBillingLastName
String getBillingLastName() -
setBillingLastName
-
getBillingOrganization
String getBillingOrganization() -
setBillingOrganization
-
getBillingAddress1
String getBillingAddress1() -
setBillingAddress1
-
getBillingAddress2
String getBillingAddress2() -
setBillingAddress2
-
getBillingCity
String getBillingCity() -
setBillingCity
-
getBillingState
String getBillingState() -
setBillingState
-
getBillingCountry
String getBillingCountry() -
setBillingCountry
-
getBillingPostalCode
String getBillingPostalCode() -
setBillingPostalCode
-
getBillingPhone1
String getBillingPhone1() -
setBillingPhone1
-
getBillingPhone2
String getBillingPhone2() -
setBillingPhone2
-
getBillingEmail1
String getBillingEmail1() -
setBillingEmail1
-
getBillingEmail2
String getBillingEmail2() -
setBillingEmail2
-
getBillingExtra1
String getBillingExtra1() -
setBillingExtra1
-
getBillingExtra2
String getBillingExtra2() -
setBillingExtra2
-
getBillingExtra3
String getBillingExtra3() -
setBillingExtra3
-
getBillingExtra4
String getBillingExtra4() -
setBillingExtra4
-
getBillingExtra5
String getBillingExtra5() -
setBillingExtra5
-
getBillingNotes
String getBillingNotes() -
setBillingNotes
-
firstDelivery
OrderDelivery firstDelivery() -
addFormatting
-
getOrderShippingRules
Collection getOrderShippingRules() -
setOrderShippingRules
-
getEstimatedShippingOptions
Collection getEstimatedShippingOptions() -
setEstimatedShippingOptions
-
getPaymentProfileID
String getPaymentProfileID() -
setPaymentProfileID
-
getSkipAddressValidation
boolean getSkipAddressValidation() -
setSkipAddressValidation
void setSkipAddressValidation(boolean skipAddressValidation) -
getOrderSettings
Map getOrderSettings() -
setOrderSettings
-