Modifier and Type | Class and Description |
---|---|
static class |
ProductRec.Builder |
Modifier | Constructor and Description |
---|---|
protected |
ProductRec(ProductRec.Builder b)
Create a new JetProductRec Instance
|
Modifier and Type | Method and Description |
---|---|
void |
addBullet(String bullet)
Merchant SKU feature description
Max length: 500 characters
Maximum of 5 elements
|
void |
addBullets(List<String> bullets)
Merchant SKU feature description
Max length: 500 characters
Maximum of 5 elements
|
ProductRec |
createCopy()
Creates a deep copy of this object
|
static ProductRec |
fromJSON(javax.json.JsonObject json)
Populate a product record from Jet API Json results
|
String |
getAlternateImageBySlot(ProductImageSlot slot) |
Map<ProductImageSlot,String> |
getAlternateImages()
A set of alternate image slots and locations
key: The slot that the alternate image should be uploaded to.
|
String |
getAsin()
ASIN Number.
|
List<SkuAttributeRec> |
getAttributesNodeSpecific()
This is not documented
|
String |
getAzItemTypeKeyword()
ItemType allows customers to find your products as they browse to the
most specific item types.
|
String |
getBrand()
Brand of the merchant SKU
1-50 characters
|
long |
getBrowseNodeId()
The unique ID that defines where the product will be found in the
Jet.com browse structure
|
String |
getBulletBySlot(int slot)
Retrieve a bullet by slot
|
List<String> |
getBullets()
Merchant SKU feature description
Max length: 500 characters
Maximum of 5 elements
|
String |
getCategoryPath()
Please enter a category path using your own product taxonomy
|
String |
getCorrelationId()
Product get response correlation id
|
String |
getCountryOfOrigin()
The country that the item was manufactured in.
|
String |
getCPSIABySlot(int slot)
Retrieve a cpsia statement by slot as a string
|
List<CPSIA> |
getCpsiaStatements()
Use this field to indicate if a cautionary statement relating to the
choking hazards of children's toys and games applies to your product.
|
BigDecimal |
getDisplayHeightInches()
Height of the merchant SKU when in its fully assembled/usable condition
|
BigDecimal |
getDisplayLengthInches()
Length of the merchant SKU when in its fully assembled/usable condition
|
BigDecimal |
getDisplayWidthInches()
Width of the merchant SKU when in its fully assembled/usable condition
|
List<FNodeInventoryRec> |
getfNodeInventory()
Fulfillment node inventory
|
List<FNodePriceRec> |
getfNodePrices()
Fulfillment node prices
|
int |
getFulfillmentTime()
Number of business days from receipt of an order for the given merchant SKU until it will be shipped (only populate if it is different than your account default).
|
int |
getId()
Get some non-jet related id
|
JetDate |
getInventoryLastUpdate()
Retrieve the last inventory update time
|
String |
getJetRetailSku()
The unique ID for an individually selectable product for sale on Jet.com.
|
String |
getLegalDisclaimerDescription()
Any legal language required to be displayed with the product.
|
String |
getMainImageUrl()
URL location where Jet.com can access the image.
|
String |
getManufacturer()
Manufacturer of the merchant SKU
1-50 characters
|
MAPType |
getMapImplementation()
The type of rule that indicates how Jet member savings are allowed to be
applied to an item’s base price (which is referred to as map_price in the
API documentation)
|
Money |
getMapPrice()
Retailer price for the product for which member savings will be applied
(if applicable, see map_implementation)
|
String |
getMerchantSku()
Retrieve the merchant sku.
|
String |
getMerchantSkuId()
Retrieve the merchant sku id
|
String |
getMfrPartNumber()
Part number provided by the original manufacturer of the merchant SKU
Max length: 50 characters
|
Money |
getMsrp()
Manufacturer's suggested retail price or list price for the product.
|
int |
getMultipackQuantity()
Number of items with the given Standard Product Code that makes up
your merchant SKU
|
Money |
getNoReturnFeeAdj()
Overides the category level setting for this fee adjustment; this is the
increase in commission you are willing to pay on this product if the
customer waives their ability to return it.
|
BigDecimal |
getNumberUnitsForPricePerUnit()
For Price Per Unit calculations, the number of units included in
the merchant SKU.
|
BigDecimal |
getPackageHeightInches()
Height of the merchant SKU when in its shippable configuration
|
BigDecimal |
getPackageLengthInches()
Length of the merchant SKU when in its shippable configuration
|
BigDecimal |
getPackageWidthInches()
Width of the merchant SKU when in its shippable configuration
|
String |
getParentSku() |
Money |
getPrice()
The overall price that the merchant SKU is priced at
|
JetDate |
getPriceLastUpdate()
Retrieve the last price update time
|
String |
getProducerId()
Retrieve the producer id from the product get response
|
ProductCodeRec |
getProductCodeByType(ProductCodeType type)
This retrieves a product code record by type.
|
List<ProductCodeRec> |
getProductCodes()
Product codes
|
String |
getProductDescription()
Long description of the merchant SKU
1-2000 characters
|
ProductStatus |
getProductStatus()
Retrieve the product status
|
ProductTaxCode |
getProductTaxCode()
Product Tax Code
|
List<ReturnsExceptionRec> |
getReturnsExceptions()
Access the returns exceptions
|
String |
getSafetyWarning()
If applicable, use to supply any associated warnings for your product.
|
List<FNodeShippingRec> |
getShippingExceptionNodes()
Retrieve the shipping exception node list
|
BigDecimal |
getShippingWeightPounds()
Weight of the merchant SKU when in its shippable configuration
|
JetDate |
getSkuLastUpdate()
Retrieve the last update time (only after product get response is received)
|
JetDate |
getStartSellingDate()
Get the start selling date
|
List<ProductSubStatus> |
getSubstatus()
Get the sub status
|
String |
getSwatchImageUrl()
URL location where Jet.com can access an image of a color or fabric for a
given merchant SKU.
|
String |
getTitle()
Short product description
5-500 characters
|
int |
getTotalInventory()
Retrieve a total count across all fulfillment nodes.
|
String |
getTypeOfUnitForPricePerUnit()
The type_of_unit_for_price_per_unit attribute is a label for the
number_units_for_price_per_unit.
|
ProductVariationGroupRec |
getVariations()
Access the variations
|
boolean |
isArchived()
If this is an archived sku.
|
boolean |
isExcludeFromFeeAdjustments()
This SKU will not be subject to any fee adjustment rules that are set up
if this field is 'true'
|
boolean |
isProp65()
You must tell us if your product is subject to Proposition 65 rules and
regulations.
|
boolean |
isShipsAlone()
If this field is 'true', it indicates that this 'merchant SKU' will always
ship on its own.A separate 'merchant_order' will always be placed for this
'merchant_SKU', one consequence of this will be that this merchant_sku
will never contriube to any basket size fee adjustments with any other
merchant_skus.
|
ProductRec.Builder |
toBuilder()
Turn this into a builder.
|
javax.json.JsonObject |
toImageJson()
Retrieve the json needed for an image upload
|
javax.json.JsonObject |
toInventoryJson()
Retrieve the json for the set inventory quantity operation
|
javax.json.JsonObject |
toJSON()
Turn this object into JSON for a product operation
This does not include everything.
|
javax.json.JsonObject |
toPriceJson()
Retrieve the json for the set price operation
|
javax.json.JsonObject |
toShipExceptionJson()
Retrieve the json for the shipping exceptions operation
|
javax.json.JsonObject |
toSkuJson()
Retrieve the JSON required for the merchant sku operation
|
void |
validate()
Test to see if this product record is valid enough to send.
|
protected ProductRec(ProductRec.Builder b)
public static ProductRec fromJSON(javax.json.JsonObject json)
json
- Jsonpublic String getParentSku()
public boolean isArchived()
public int getId()
public JetDate getStartSellingDate()
public ProductStatus getProductStatus()
public String getJetRetailSku()
public JetDate getSkuLastUpdate()
public JetDate getInventoryLastUpdate()
public ProductVariationGroupRec getVariations()
public List<ReturnsExceptionRec> getReturnsExceptions()
public JetDate getPriceLastUpdate()
public String getProducerId()
public String getCorrelationId()
public String getMerchantSkuId()
public String getMerchantSku()
public int getFulfillmentTime()
public String getTitle()
public long getBrowseNodeId()
public String getAzItemTypeKeyword()
public String getCategoryPath()
public List<ProductSubStatus> getSubstatus()
public List<ProductCodeRec> getProductCodes()
public String getAsin()
public int getMultipackQuantity()
public String getBrand()
public String getManufacturer()
public String getMfrPartNumber()
public String getProductDescription()
public List<String> getBullets()
public void addBullet(String bullet)
bullet
- the bullet to addpublic void addBullets(List<String> bullets)
bullets
- the bullets to setpublic BigDecimal getNumberUnitsForPricePerUnit()
public String getTypeOfUnitForPricePerUnit()
public BigDecimal getShippingWeightPounds()
public BigDecimal getPackageLengthInches()
public BigDecimal getPackageWidthInches()
public BigDecimal getPackageHeightInches()
public BigDecimal getDisplayLengthInches()
public BigDecimal getDisplayWidthInches()
public BigDecimal getDisplayHeightInches()
public boolean isProp65()
public String getLegalDisclaimerDescription()
public List<CPSIA> getCpsiaStatements()
public String getCountryOfOrigin()
public String getSafetyWarning()
public Money getMsrp()
public Money getMapPrice()
public MAPType getMapImplementation()
public ProductTaxCode getProductTaxCode()
public Money getNoReturnFeeAdj()
public boolean isShipsAlone()
public boolean isExcludeFromFeeAdjustments()
public List<SkuAttributeRec> getAttributesNodeSpecific()
public Map<ProductImageSlot,String> getAlternateImages()
public String getAlternateImageBySlot(ProductImageSlot slot)
public String getMainImageUrl()
public String getSwatchImageUrl()
public Money getPrice()
public List<FNodePriceRec> getfNodePrices()
public List<FNodeInventoryRec> getfNodeInventory()
public int getTotalInventory()
public ProductCodeRec getProductCodeByType(ProductCodeType type)
public String getBulletBySlot(int slot)
slot
- slotIndexOutOfBoundsException
- if slot is less than zero or greater than 4public String getCPSIABySlot(int slot)
slot
- slotIndexOutOfBoundsException
- if slot is less than zero or greater than 4public List<FNodeShippingRec> getShippingExceptionNodes()
public javax.json.JsonObject toSkuJson()
public javax.json.JsonObject toImageJson()
public javax.json.JsonObject toPriceJson()
public javax.json.JsonObject toInventoryJson()
public javax.json.JsonObject toShipExceptionJson()
public void validate() throws ValidateException
ValidateException
public javax.json.JsonObject toJSON()
public ProductRec.Builder toBuilder()
public ProductRec createCopy()
Copyright © 2017. All rights reserved.