|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CreateOrderOptionsIf
An object used to contain options used when creating an order from an array of basket items.
| Method Summary | |
|---|---|
int |
getBillingAddrId()
Id of billing address to use when creating the order. |
java.lang.String |
getCatalogId()
The id of the catalog which contains dynamic product information such as the price and quantity |
int |
getCustomerAddrId()
Id of customer address to use when creating the order. |
int |
getDeliveryAddrId()
Id of delivery address to use when creating the order. |
java.lang.String |
getLocale()
Locale of the customer |
java.util.Calendar |
getPriceDate()
The date for which a price is requested. |
boolean |
isCopyBasketCustomFields()
When this boolean is set, all the custom fields of a basket item are automatically copied to the custom fields of the OrderProduct object in the order. |
boolean |
isUseDefaultCustomer()
This boolean is set so that an order can be created before a customer has logged in to the application. |
boolean |
isUseExternalPrice()
If true we attempt to fetch the prices from the external table |
boolean |
isUseExternalQuantity()
If true we attempt to fetch the quantities from the external table |
boolean |
isUseWishListShippingAddr()
If any one of the basket items, has a valid wish list id, then we use the address of the wish list as the shipping address. |
void |
setBillingAddrId(int billingAddrId)
Id of billing address to use when creating the order. |
void |
setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and quantity |
void |
setCopyBasketCustomFields(boolean copyBasketCustomFields)
When this boolean is set, all the custom fields of a basket item are automatically copied to the custom fields of the OrderProduct object in the order. |
void |
setCustomerAddrId(int customerAddrId)
Id of customer address to use when creating the order. |
void |
setDeliveryAddrId(int deliveryAddrId)
Id of delivery address to use when creating the order. |
void |
setLocale(java.lang.String locale)
Locale of the customer |
void |
setPriceDate(java.util.Calendar priceDate)
The date for which a price is requested. |
void |
setUseDefaultCustomer(boolean useDefaultCustomer)
This boolean is set so that an order can be created before a customer has logged in to the application. |
void |
setUseExternalPrice(boolean useExternalPrice)
If true we attempt to fetch the prices from the external table |
void |
setUseExternalQuantity(boolean useExternalQuantity)
If true we attempt to fetch the quantities from the external table |
void |
setUseWishListShippingAddr(boolean useWishListShippingAddr)
If any one of the basket items, has a valid wish list id, then we use the address of the wish list as the shipping address. |
| Method Detail |
|---|
boolean isCopyBasketCustomFields()
void setCopyBasketCustomFields(boolean copyBasketCustomFields)
copyBasketCustomFields - The copyBasketCustomFields to set.boolean isUseDefaultCustomer()
session parameter can be set to null.
void setUseDefaultCustomer(boolean useDefaultCustomer)
session parameter can be set to null.
useDefaultCustomer - The useDefaultCustomer to set.java.lang.String getCatalogId()
void setCatalogId(java.lang.String catalogId)
catalogId - the catalogId to setjava.util.Calendar getPriceDate()
void setPriceDate(java.util.Calendar priceDate)
priceDate - the priceDate to setboolean isUseWishListShippingAddr()
void setUseWishListShippingAddr(boolean useWishListShippingAddr)
useWishListShippingAddr - the useWishListShippingAddr to setboolean isUseExternalPrice()
void setUseExternalPrice(boolean useExternalPrice)
useExternalPrice - the useExternalPrice to setjava.lang.String getLocale()
void setLocale(java.lang.String locale)
locale - the locale to setboolean isUseExternalQuantity()
void setUseExternalQuantity(boolean useExternalQuantity)
useExternalQuantity - the useExternalQuantity to setint getBillingAddrId()
void setBillingAddrId(int billingAddrId)
billingAddrId - the billingAddrId to setint getCustomerAddrId()
void setCustomerAddrId(int customerAddrId)
customerAddrId - the customerAddrId to setint getDeliveryAddrId()
void setDeliveryAddrId(int deliveryAddrId)
deliveryAddrId - the deliveryAddrId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||