public class AdminProductMgrOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
catalogId
The id of the catalog which contains dynamic product information such as the price and
quantity
|
private boolean |
getRelationshipData
Only used by the API call
getRelatedProductsWithOptions . |
private boolean |
ignoreOrdered
When true, the number of times a product has been ordered is not modified when a product is
edited using
editProductWithOptions() |
private boolean |
ignoreQuantity
When true, the current quantity of the product and its variants is not modified when a
product is edited using
editProductWithOptions() |
private boolean |
ignoreViewedCount
When true, the viewed count of the product (in all languages) is not modified when a product
is edited using
editProductWithOptions() |
private java.util.Calendar |
priceDate
The date for which a price is requested.
|
private java.lang.String |
relationCustom1
Custom1 value that's added to a product to product relationship
|
private java.lang.String |
relationCustom2
Custom2 value that's added to a product to product relationship
|
private boolean |
useExternalPrice
If true we attempt to use the prices from the external table
|
private boolean |
useExternalQuantity
If true we attempt to use the quantities from the external table
|
Constructor and Description |
---|
AdminProductMgrOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId() |
java.util.Calendar |
getPriceDate() |
java.lang.String |
getRelationCustom1()
Custom1 value that's added to a product to product relationship
|
java.lang.String |
getRelationCustom2()
Custom2 value that's added to a product to product relationship
|
boolean |
isGetRelationshipData()
Only used by the API call
getRelatedProductsWithOptions . |
boolean |
isIgnoreOrdered()
When true, the number of times a product has been ordered is not modified when a product is
edited using
editProductWithOptions() |
boolean |
isIgnoreQuantity()
When true, the current quantity of the product and its variants is not modified when a
product is edited using
editProductWithOptions() |
boolean |
isIgnoreViewedCount()
When true, the viewed count of the product (in all languages) is not modified when a product
is edited using
editProductWithOptions() |
boolean |
isUseExternalPrice() |
boolean |
isUseExternalQuantity() |
void |
setCatalogId(java.lang.String catalogId) |
void |
setGetRelationshipData(boolean getRelationshipData)
Only used by the API call
getRelatedProductsWithOptions . |
void |
setIgnoreOrdered(boolean ignoreOrdered)
When true, the number of times a product has been ordered is not modified when a product is
edited using
editProductWithOptions() |
void |
setIgnoreQuantity(boolean ignoreQuantity)
When true, the current quantity of the product and its variants is not modified when a
product is edited using
editProductWithOptions() |
void |
setIgnoreViewedCount(boolean ignoreViewedCount)
When true, the viewed count of the product (in all languages) is not modified when a product
is edited using
editProductWithOptions() |
void |
setPriceDate(java.util.Calendar priceDate) |
void |
setRelationCustom1(java.lang.String relationCustom1)
Custom1 value that's added to a product to product relationship
|
void |
setRelationCustom2(java.lang.String relationCustom2)
Custom2 value that's added to a product to product relationship
|
void |
setUseExternalPrice(boolean useExternalPrice) |
void |
setUseExternalQuantity(boolean useExternalQuantity) |
private java.lang.String catalogId
private java.util.Calendar priceDate
private boolean useExternalPrice
private boolean useExternalQuantity
private boolean getRelationshipData
getRelatedProductsWithOptions
. If set to true, the
return Products
object contains an array of ProductRelationship
objects which contain data specific to each relationship.private java.lang.String relationCustom1
private java.lang.String relationCustom2
private boolean ignoreQuantity
editProductWithOptions()
private boolean ignoreOrdered
editProductWithOptions()
private boolean ignoreViewedCount
editProductWithOptions()
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 isUseExternalPrice()
public void setUseExternalPrice(boolean useExternalPrice)
useExternalPrice
- the useExternalPrice to setpublic boolean isUseExternalQuantity()
public void setUseExternalQuantity(boolean useExternalQuantity)
useExternalQuantity
- the useExternalQuantity to setpublic boolean isGetRelationshipData()
getRelatedProductsWithOptions
. If set to true, the
return Products
object contains an array of ProductRelationship
objects which contain data specific to each relationship.public void setGetRelationshipData(boolean getRelationshipData)
getRelatedProductsWithOptions
. If set to true, the
return Products
object contains an array of ProductRelationship
objects which contain data specific to each relationship.getRelationshipData
- the getRelationshipData to setpublic java.lang.String getRelationCustom1()
public void setRelationCustom1(java.lang.String relationCustom1)
relationCustom1
- the relationCustom1 to setpublic java.lang.String getRelationCustom2()
public void setRelationCustom2(java.lang.String relationCustom2)
relationCustom2
- the relationCustom2 to setpublic boolean isIgnoreQuantity()
editProductWithOptions()
public void setIgnoreQuantity(boolean ignoreQuantity)
editProductWithOptions()
ignoreQuantity
- the ignoreQuantity to setpublic boolean isIgnoreViewedCount()
editProductWithOptions()
public void setIgnoreViewedCount(boolean ignoreViewedCount)
editProductWithOptions()
ignoreViewedCount
- the ignoreViewedCount to setpublic boolean isIgnoreOrdered()
editProductWithOptions()
public void setIgnoreOrdered(boolean ignoreOrdered)
editProductWithOptions()
ignoreOrdered
- the ignoreOrdered to setCopyright © 2018 DS Data Systems UK Ltd.