public interface IOrderPlacement extends ERPInterface
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_ORDER
An error type that indicates there was an error returned from the ERP
program when placing quotes orders.
|
ERROR_CONNECT, ERROR_NONE, ERROR_PROGRAM, WARN_DUPLICATE, WARN_NONE
Modifier and Type | Method and Description |
---|---|
boolean |
createOrder(Cart cart)
Creates a new order on the ERP system.
|
boolean |
createQuote(Cart cart)
Creates a new quote on the ERP system.
|
int |
getEmailAddressDefaultIndex()
Returns the index in the retrieved collections of email addresses and
names for the default over limits email.
|
java.util.ArrayList<java.lang.String> |
getEmailAddresses()
Returns the retrieved collection of email addresses.
|
java.util.ArrayList<java.lang.String> |
getEmailNames()
Returns the retrieved collection of email names.
|
java.util.ArrayList<java.lang.Object[]> |
getErrorCodes()
Returns the retrieved collection of error codes.
|
User |
getOrderUser()
Returns the ordering user for the order based on the properties value for
erp.OrderPlacement.Sfi.OrderingUser . |
boolean |
requestQuotation(Cart cart)
Sets order totals, taxes, freight, etc.
|
getContext, getErrorType, getWarningType, setContext, setErrorType, setWarningType
static final int ERROR_ORDER
boolean createOrder(Cart cart)
cart
- (Cart) The shopping cart on which the order is based.true
if creating the order was successful,
otherwise false
.boolean createQuote(Cart cart)
cart
- (Cart) The shopping cart on which the quote is based.true
if creating the quote was successful,
otherwise false
.boolean requestQuotation(Cart cart)
cart
- (Cart) The shoppping cart for quotation.true
if the quotation was successful,
otherwise false
.java.util.ArrayList<java.lang.Object[]> getErrorCodes()
int getEmailAddressDefaultIndex()
java.util.ArrayList<java.lang.String> getEmailAddresses()
java.util.ArrayList<java.lang.String> getEmailNames()
User getOrderUser()
erp.OrderPlacement.Sfi.OrderingUser
.