|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_CreateOrderOptions
public class J_CreateOrderOptions
An object used to contain options used when creating an order from an array of basket items.
| Constructor Summary | |
|---|---|
J_CreateOrderOptions()
|
|
| 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 |
isCalcQuantityForBundles()
When set to true the quantity available for a product is calculated by reading the quantities of the products within the bundle. |
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 |
setCalcQuantityForBundles(boolean _calcQuantityForBundles)
When set to true the quantity available for a product is calculated by reading the quantities of the products within the bundle. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_CreateOrderOptions()
| Method Detail |
|---|
public boolean isCopyBasketCustomFields()
public void setCopyBasketCustomFields(boolean _copyBasketCustomFields)
_copyBasketCustomFields - The copyBasketCustomFields to set.public boolean isUseDefaultCustomer()
session parameter can be set to null.
public void setUseDefaultCustomer(boolean _useDefaultCustomer)
session parameter can be set to null.
_useDefaultCustomer - The useDefaultCustomer to set.public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String _catalogId)
_catalogId - the catalogId to setpublic java.util.Calendar getPriceDate()
public void setPriceDate(java.util.Calendar _priceDate)
_priceDate - the priceDate to setpublic boolean isUseWishListShippingAddr()
public void setUseWishListShippingAddr(boolean _useWishListShippingAddr)
_useWishListShippingAddr - the useWishListShippingAddr to setpublic boolean isUseExternalPrice()
public void setUseExternalPrice(boolean _useExternalPrice)
_useExternalPrice - the useExternalPrice to setpublic java.lang.String getLocale()
public void setLocale(java.lang.String _locale)
_locale - the locale to setpublic boolean isUseExternalQuantity()
public void setUseExternalQuantity(boolean _useExternalQuantity)
_useExternalQuantity - the useExternalQuantity to setpublic int getBillingAddrId()
public void setBillingAddrId(int _billingAddrId)
_billingAddrId - the billingAddrId to setpublic int getCustomerAddrId()
public void setCustomerAddrId(int _customerAddrId)
_customerAddrId - the customerAddrId to setpublic int getDeliveryAddrId()
public void setDeliveryAddrId(int _deliveryAddrId)
_deliveryAddrId - the deliveryAddrId to setpublic boolean isCalcQuantityForBundles()
public void setCalcQuantityForBundles(boolean _calcQuantityForBundles)
_calcQuantityForBundles - the calcQuantityForBundles to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||