public interface CreateOrderOptionsIf
Modifier and Type | Method and Description |
---|---|
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
|
java.lang.String |
getCouponCode()
The value of the coupon code to use when creating the order
|
java.lang.String |
getCurrencyCode()
The currency code of the currency to be used for the order.
|
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 |
getGiftCertCode()
The value of the gift certificate code to use when creating the order
|
int[] |
getInventoryUpdateExcludeProdTypes()
Used to define product types that are excluded from inventory updates.
|
java.lang.String |
getLocale()
Locale of the customer
|
java.lang.String |
getPaymentModuleCode()
The code of the payment module to set for the order (e.g.
|
java.lang.String |
getPaymentModuleSubCode()
The sub code of the payment module to set for the order.
|
java.util.Calendar |
getPriceDate()
The date for which a price is requested.
|
java.lang.String |
getShippingModuleCode()
The code of the shipping module to set for the order (e.g.
|
java.lang.String |
getShippingServiceCode()
The service code of the shipping module to set for the order.
|
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 |
isGetImages()
When creating the order we attach a product object to each order product.
|
boolean |
isPopulateAvailablePaymentGateways()
When set to true, the order is populated with an array of available payment gateways.
|
boolean |
isPopulateAvailableShippingQuotes()
When set to true the order is populated with an array of available shipping quotes.
|
boolean |
isPopulateOrderTotals()
When set to true, the order is populated with its order total modules.
|
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 |
setCouponCode(java.lang.String couponCode)
The value of the coupon code to use when creating the order
|
void |
setCurrencyCode(java.lang.String currencyCode)
The currency code of the currency to be used for 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 |
setGetImages(boolean getImages)
When creating the order we attach a product object to each order product.
|
void |
setGiftCertCode(java.lang.String giftCertCode)
The value of the gift certificate code to use when creating the order
|
void |
setInventoryUpdateExcludeProdTypes(int[] inventoryUpdateExcludeProdTypes)
Used to define product types that are excluded from inventory updates.
|
void |
setLocale(java.lang.String locale)
Locale of the customer
|
void |
setPaymentModuleCode(java.lang.String paymentModuleCode)
The code of the payment module to set for the order (e.g.
|
void |
setPaymentModuleSubCode(java.lang.String paymentModuleSubCode)
The sub code of the payment module to set for the order.
|
void |
setPopulateAvailablePaymentGateways(boolean populateAvailablePaymentGateways)
When set to true, the order is populated with an array of available payment gateways.
|
void |
setPopulateAvailableShippingQuotes(boolean populateAvailableShippingQuotes)
When set to true the order is populated with an array of available shipping quotes.
|
void |
setPopulateOrderTotals(boolean populateOrderTotals)
When set to true, the order is populated with its order total modules.
|
void |
setPriceDate(java.util.Calendar priceDate)
The date for which a price is requested.
|
void |
setShippingModuleCode(java.lang.String shippingModuleCode)
The code of the shipping module to set for the order (e.g.
|
void |
setShippingServiceCode(java.lang.String shippingServiceCode)
The service code of the shipping module to set for the order.
|
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.
|
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 setboolean isCalcQuantityForBundles()
void setCalcQuantityForBundles(boolean calcQuantityForBundles)
calcQuantityForBundles
- the calcQuantityForBundles to setjava.lang.String getCouponCode()
void setCouponCode(java.lang.String couponCode)
couponCode
- the couponCode to setjava.lang.String getGiftCertCode()
void setGiftCertCode(java.lang.String giftCertCode)
giftCertCode
- the giftCertCode to setboolean isPopulateAvailableShippingQuotes()
shippingModuleCode
and shippingServiceCode
are set, it
attempts to find these codes in the list of available shipping quotes and if found it uses
this quote as the selected shipping quote.void setPopulateAvailableShippingQuotes(boolean populateAvailableShippingQuotes)
shippingModuleCode
and shippingServiceCode
are set, it
attempts to find these codes in the list of available shipping quotes and if found it uses
this quote as the selected shipping quote.populateAvailableShippingQuotes
- the populateAvailableShippingQuotes to setjava.lang.String getShippingModuleCode()
void setShippingModuleCode(java.lang.String shippingModuleCode)
shippingModuleCode
- the shippingModuleCode to setjava.lang.String getShippingServiceCode()
void setShippingServiceCode(java.lang.String shippingServiceCode)
shippingServiceCode
- the shippingServiceCode to setboolean isPopulateAvailablePaymentGateways()
paymentModuleCode
and paymentModuleSubCode
are set, it
attempts to find these codes in the list of available payment gateways and if found it uses
this gateway as the selected payment gateway.void setPopulateAvailablePaymentGateways(boolean populateAvailablePaymentGateways)
paymentModuleCode
and paymentModuleSubCode
are set, it
attempts to find these codes in the list of available payment gateways and if found it uses
this gateway as the selected payment gateway.populateAvailablePaymentGateways
- the populateAvailablePaymentGateways to setjava.lang.String getPaymentModuleCode()
void setPaymentModuleCode(java.lang.String paymentModuleCode)
paymentModuleCode
- the paymentModuleCode to setjava.lang.String getPaymentModuleSubCode()
void setPaymentModuleSubCode(java.lang.String paymentModuleSubCode)
paymentModuleSubCode
- the paymentModuleSubCode to setboolean isPopulateOrderTotals()
void setPopulateOrderTotals(boolean populateOrderTotals)
populateOrderTotals
- the populateOrderTotals to setboolean isGetImages()
void setGetImages(boolean getImages)
getImages
- the getImages to setint[] getInventoryUpdateExcludeProdTypes()
void setInventoryUpdateExcludeProdTypes(int[] inventoryUpdateExcludeProdTypes)
inventoryUpdateExcludeProdTypes
- the inventoryUpdateExcludeProdTypes to setjava.lang.String getCurrencyCode()
void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- the currencyCode to setCopyright © 2018 DS Data Systems UK Ltd.