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 TypeMethodDescriptionvoid
addFormatting
(Locale locale, String currencyCode) getCity()
getNotes()
int
boolean
getState()
getTax()
getTotal()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
setAutoSavedCartToken
(String autoSavedCartToken) void
setBillingAddress1
(String billingAddress1) void
setBillingAddress2
(String billingAddress2) void
setBillingCity
(String billingCity) void
setBillingCountry
(String billingCountry) void
setBillingEmail1
(String billingEmail1) void
setBillingEmail2
(String billingEmail2) void
setBillingExtra1
(String billingExtra1) void
setBillingExtra2
(String billingExtra2) void
setBillingExtra3
(String billingExtra3) void
setBillingExtra4
(String billingExtra4) void
setBillingExtra5
(String billingExtra5) void
setBillingFirstName
(String billingFirstName) void
setBillingLastName
(String billingLastName) void
setBillingNotes
(String billingNotes) void
setBillingOrganization
(String billingOrganization) void
setBillingPhone1
(String billingPhone1) void
setBillingPhone2
(String billingPhone2) void
setBillingPostalCode
(String billingPostalCode) void
setBillingState
(String billingState) void
void
setCompleted
(String completed) void
setCountry
(String country) void
setCreated
(String created) void
setCustomer
(Customer customer) void
setCustomerID
(Integer customerID) void
void
void
setEstimatedShippingOptions
(Collection estimatedShippingOptions) void
void
void
void
void
void
setFirstName
(String firstName) void
setFormattedCompleted
(String formattedCompleted) void
setFormattedCreated
(String formattedCreated) void
setFormattedLastModified
(String formattedLastModified) void
setFormattedShipping
(String formattedShipping) void
setFormattedSubtotal
(String formattedSubtotal) void
setFormattedTax
(String formattedTax) void
setFormattedTaxableSubtotal
(String formattedTaxableSubtotal) void
setFormattedTotal
(String formattedTotal) void
setLastModified
(String lastModified) void
setLastName
(String lastName) void
void
setOrderDeliveryCollection
(Collection orderDeliveryCollection) void
setOrderDiscounts
(Collection orderDiscounts) void
setOrderID
(int orderID) void
setOrderItemCollection
(Collection orderItemCollection) void
setOrderNumber
(Integer orderNumber) void
setOrderSettings
(Map orderSettings) void
setOrderShippingRules
(Collection orderShippingRules) void
setOrganization
(String organization) void
setPaymentProfileID
(String paymentProfileID) void
setPayments
(Collection payments) void
void
void
setPostalCode
(String postalCode) void
setQuantity
(Integer quantity) void
setShipping
(Double shipping) void
setShippingMethod
(String shippingMethod) void
setSkipAddressValidation
(boolean skipAddressValidation) void
void
void
setStatusDetails
(String statusDetails) void
setSubtotal
(Double subtotal) void
void
setTaxableSubtotal
(Double taxableSubtotal) void
void
setTrackingNumber
(String trackingNumber) void
setUserName
(String userName) void
Methods 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
-