public static class ProductRec.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addBullet(String bullet)
Merchant SKU feature description
Max length: 500 characters
Maximum of 5 elements
|
ProductRec.Builder |
addBullets(List<String> bullets)
Merchant SKU feature description
Max length: 500 characters
Maximum of 5 elements
|
ProductRec |
build()
Build an instance
|
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
|
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.
|
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() |
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
|
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)
|
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
|
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 product variation data
|
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 |
setAlternateImage(ProductImageSlot slot,
String image)
A set of alternate image slots and locations
key: The slot that the alternate image should be uploaded to.
|
ProductRec.Builder |
setAlternateImages(Map<ProductImageSlot,String> alternateImages)
A set of alternate image slots and locations
key: The slot that the alternate image should be uploaded to.
|
ProductRec.Builder |
setAsin(String asin)
ASIN Number.
|
ProductRec.Builder |
setAttributesNodeSpecific(List<SkuAttributeRec> attributesNodeSpecific)
This is not documented
|
ProductRec.Builder |
setAttributesNodeSpecific(SkuAttributeRec attributesNodeSpecific)
This is not documented
|
ProductRec.Builder |
setAzItemTypeKeyword(String azItemTypeKeyword)
ItemType allows customers to find your products as they browse to the
most specific item types.
|
ProductRec.Builder |
setBrand(String brand)
Brand of the merchant SKU
1-50 characters
|
ProductRec.Builder |
setBrowseNodeId(long browseNodeId)
The unique ID that defines where the product will be found in the
Jet.com browse structure
|
ProductRec.Builder |
setBullet(String bullet)
Set a bullet
|
ProductRec.Builder |
setBullets(List<String> bullets)
Add a list of shipping exception nodes
|
ProductRec.Builder |
setCategoryPath(String categoryPath)
Please enter a category path using your own product taxonomy
|
ProductRec.Builder |
setCorrelationId(String id) |
ProductRec.Builder |
setCountryOfOrigin(String countryOfOrigin)
The country that the item was manufactured in.
|
ProductRec.Builder |
setCpsiaStatement(CPSIA cpsiaStatement)
Use this field to indicate if a cautionary statement relating to the
choking hazards of children's toys and games applies to your product.
|
ProductRec.Builder |
setCpsiaStatement(String cpsiaStatement)
Use this field to indicate if a cautionary statement relating to the
choking hazards of children's toys and games applies to your product.
|
ProductRec.Builder |
setCpsiaStatements(List<CPSIA> cpsiaStatements)
Use this field to indicate if a cautionary statement relating to the
choking hazards of children's toys and games applies to your product.
|
ProductRec.Builder |
setDisplayHeightInches(BigDecimal displayHeightInches)
Height of the merchant SKU when in its fully assembled/usable condition
|
ProductRec.Builder |
setDisplayLengthInches(BigDecimal displayLengthInches)
Length of the merchant SKU when in its fully assembled/usable condition
|
ProductRec.Builder |
setDisplayWidthInches(BigDecimal displayWidthInches)
Width of the merchant SKU when in its fully assembled/usable condition
|
ProductRec.Builder |
setExcludeFromFeeAdjustments(boolean exclude)
This SKU will not be subject to any fee adjustment rules that are set up
if this field is 'true'
|
ProductRec.Builder |
setfNodeInventory(FNodeInventoryRec fNodeInventory)
Fulfillment node inventory
|
ProductRec.Builder |
setfNodeInventory(List<FNodeInventoryRec> fNodeInventory)
Fulfillment node inventory
|
ProductRec.Builder |
setfNodePrices(FNodePriceRec fNodePrices)
Fulfillment node prices
|
ProductRec.Builder |
setfNodePrices(List<FNodePriceRec> fNodePrices)
Fulfillment node prices
|
ProductRec.Builder |
setFulfillmentTime(int time)
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).
|
ProductRec.Builder |
setId(int id) |
ProductRec.Builder |
setInvLastUpdate(JetDate date) |
ProductRec.Builder |
setIsArchived(boolean isArchived)
Set the is archived flag.
|
ProductRec.Builder |
setJetRetailSku(String sku) |
ProductRec.Builder |
setLegalDisclaimerDescription(String legalDisclaimerDescription)
Any legal language required to be displayed with the product.
|
ProductRec.Builder |
setMainImageUrl(String mainImageUrl)
URL location where Jet.com can access the image.
|
ProductRec.Builder |
setManufacturer(String manufacturer)
Manufacturer of the merchant SKU
1-50 characters
|
ProductRec.Builder |
setMapImplementation(MAPType mapImplementation)
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)
|
ProductRec.Builder |
setMapImplementation(String mapImplementation)
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)
|
ProductRec.Builder |
setMapPrice(Money map)
Retailer price for the product for which member savings will be applied
(if applicable, see map_implementation)
|
ProductRec.Builder |
setMerchantSku(String sku)
Set the merchant sku.
|
ProductRec.Builder |
setMerchantSkuId(String id) |
ProductRec.Builder |
setMfrPartNumber(String mfrPartNumber)
Part number provided by the original manufacturer of the merchant SKU
Max length: 50 characters
|
ProductRec.Builder |
setMsrp(Money msrp)
Manufacturer's suggested retail price or list price for the product.
|
ProductRec.Builder |
setMultipackQuantity(int multipackQuantity)
Number of items with the given Standard Product Code that makes up
your merchant SKU
|
ProductRec.Builder |
setNoReturnFeeAdj(Money noReturnFeeAdj)
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.
|
ProductRec.Builder |
setNumberUnitsForPricePerUnit(BigDecimal numberUnitsForPricePerUnit)
For Price Per Unit calculations, the number of units included in
the merchant SKU.
|
ProductRec.Builder |
setPackageHeightInches(BigDecimal packageHeightInches)
Height of the merchant SKU when in its shippable configuration
|
ProductRec.Builder |
setPackageLengthInches(BigDecimal packageLengthInches)
Length of the merchant SKU when in its shippable configuration
|
ProductRec.Builder |
setPackageWidthInches(BigDecimal packageWidthInches)
Width of the merchant SKU when in its shippable configuration
|
ProductRec.Builder |
setParentSku(String parentSku) |
ProductRec.Builder |
setPrice(Money price)
The overall price that the merchant SKU is priced at
|
ProductRec.Builder |
setPriceLastUpdate(JetDate date) |
ProductRec.Builder |
setProducerId(String id) |
ProductRec.Builder |
setProductCode(ProductCodeRec productCode)
Add a single product code
|
ProductRec.Builder |
setProductCodes(List<ProductCodeRec> productCodes)
Add a set of product codes
|
ProductRec.Builder |
setProductDescription(String productDescription)
Long description of the merchant SKU
1-2000 characters
|
ProductRec.Builder |
setProductStatus(ProductStatus status) |
ProductRec.Builder |
setProductSubStatus(String status) |
ProductRec.Builder |
setProductTaxCode(ProductTaxCode productTaxCode)
Product Tax Code
|
ProductRec.Builder |
setProp65(boolean prop65)
You must tell us if your product is subject to Proposition 65 rules and
regulations.
|
ProductRec.Builder |
setSafetyWarning(String safetyWarning)
If applicable, use to supply any associated warnings for your product.
|
ProductRec.Builder |
setShippingExceptionNodes(FNodeShippingRec node)
Add a shipping exception node
|
ProductRec.Builder |
setShippingExceptionNodes(List<FNodeShippingRec> nodes)
Add a list of shipping exception nodes
|
ProductRec.Builder |
setShippingWeightPounds(BigDecimal shippingWeightPounds)
Weight of the merchant SKU when in its shippable configuration
|
ProductRec.Builder |
setShipsAlone(boolean shipsAlone)
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 |
setSkuLastUpdate(JetDate date) |
ProductRec.Builder |
setStartSellingDate(JetDate startSellingDate)
If updating merchant SKU that has quantity = 0 at all FCs, date that the
inventory in this message should be available for sale on Jet.com.
|
ProductRec.Builder |
setSwatchImageUrl(String swatchImageUrl)
URL location where Jet.com can access an image of a color or fabric for a
given merchant SKU.
|
ProductRec.Builder |
setTitle(String title)
Short product description
5-500 characters
|
ProductRec.Builder |
setTypeOfUnitForPricePerUnit(String typeOfUnitForPricePerUnit)
The type_of_unit_for_price_per_unit attribute is a label for the
number_units_for_price_per_unit.
|
ProductRec.Builder |
setVariations(ProductVariationGroupRec v) |
public ProductRec build()
public ProductRec.Builder setMerchantSkuId(String id)
public List<ReturnsExceptionRec> getReturnsExceptions()
public ProductVariationGroupRec getVariations()
public ProductRec.Builder setVariations(ProductVariationGroupRec v)
public ProductStatus getProductStatus()
public ProductRec.Builder setProductStatus(ProductStatus status)
public ProductRec.Builder setProductSubStatus(String status)
public ProductRec.Builder setParentSku(String parentSku)
public String getParentSku()
public String getJetRetailSku()
public ProductRec.Builder setJetRetailSku(String sku)
public JetDate getSkuLastUpdate()
public ProductRec.Builder setSkuLastUpdate(JetDate date)
public JetDate getInventoryLastUpdate()
public ProductRec.Builder setInvLastUpdate(JetDate date)
public JetDate getPriceLastUpdate()
public ProductRec.Builder setPriceLastUpdate(JetDate date)
public String getProducerId()
public String getCorrelationId()
public String getMerchantSkuId()
public String getMerchantSku()
public ProductRec.Builder setMerchantSku(String sku)
sku
- skupublic int getFulfillmentTime()
public ProductRec.Builder setFulfillmentTime(int time)
time
- public String getTitle()
public ProductRec.Builder setTitle(String title)
title
- the title to setpublic long getBrowseNodeId()
public ProductRec.Builder setBrowseNodeId(long browseNodeId)
browseNodeId
- the browseNodeId to setpublic String getAzItemTypeKeyword()
public ProductRec.Builder setAzItemTypeKeyword(String azItemTypeKeyword)
azItemTypeKeyword
- the azItemTypeKeyword to setpublic String getCategoryPath()
public ProductRec.Builder setCategoryPath(String categoryPath)
categoryPath
- the categoryPath to setpublic ProductRec.Builder setIsArchived(boolean isArchived)
isArchived
- if this is archived or notpublic List<ProductSubStatus> getSubstatus()
public List<ProductCodeRec> getProductCodes()
public ProductRec.Builder setProductCodes(List<ProductCodeRec> productCodes)
productCodes
- the productCodes to setpublic ProductRec.Builder setProductCode(ProductCodeRec productCode)
productCode
- the productCode to setpublic String getAsin()
public ProductRec.Builder setAsin(String asin)
asin
- the asin to setpublic int getMultipackQuantity()
public ProductRec.Builder setMultipackQuantity(int multipackQuantity)
multipackQuantity
- the multipackQuantity to setpublic String getBrand()
public ProductRec.Builder setBrand(String brand)
brand
- the brand to setpublic String getManufacturer()
public ProductRec.Builder setManufacturer(String manufacturer)
manufacturer
- the manufacturer to setpublic String getMfrPartNumber()
public ProductRec.Builder setMfrPartNumber(String mfrPartNumber)
mfrPartNumber
- the mfrPartNumber to setpublic String getProductDescription()
public ProductRec.Builder setProductDescription(String productDescription)
productDescription
- the productDescription to setpublic List<String> getBullets()
public void addBullet(String bullet)
bullet
- the bullet to addpublic ProductRec.Builder addBullets(List<String> bullets)
bullets
- the bullets to setpublic BigDecimal getNumberUnitsForPricePerUnit()
public ProductRec.Builder setNumberUnitsForPricePerUnit(BigDecimal numberUnitsForPricePerUnit)
numberUnitsForPricePerUnit
- the numberUnitsForPricePerUnit to setpublic String getTypeOfUnitForPricePerUnit()
public ProductRec.Builder setTypeOfUnitForPricePerUnit(String typeOfUnitForPricePerUnit)
typeOfUnitForPricePerUnit
- the typeOfUnitForPricePerUnit to setpublic BigDecimal getShippingWeightPounds()
public ProductRec.Builder setShippingWeightPounds(BigDecimal shippingWeightPounds)
shippingWeightPounds
- the shippingWeightPounds to setpublic BigDecimal getPackageLengthInches()
public ProductRec.Builder setPackageLengthInches(BigDecimal packageLengthInches)
packageLengthInches
- the packageLengthInches to setpublic BigDecimal getPackageWidthInches()
public ProductRec.Builder setPackageWidthInches(BigDecimal packageWidthInches)
packageWidthInches
- the packageWidthInches to setpublic BigDecimal getPackageHeightInches()
public ProductRec.Builder setPackageHeightInches(BigDecimal packageHeightInches)
packageHeightInches
- the packageHeightInches to setpublic BigDecimal getDisplayLengthInches()
public ProductRec.Builder setDisplayLengthInches(BigDecimal displayLengthInches)
displayLengthInches
- the displayLengthInches to setpublic BigDecimal getDisplayWidthInches()
public ProductRec.Builder setDisplayWidthInches(BigDecimal displayWidthInches)
displayWidthInches
- the displayWidthInches to setpublic BigDecimal getDisplayHeightInches()
public ProductRec.Builder setDisplayHeightInches(BigDecimal displayHeightInches)
displayHeightInches
- the displayHeightInches to setpublic boolean isProp65()
public ProductRec.Builder setProp65(boolean prop65)
prop65
- the prop65 to setpublic String getLegalDisclaimerDescription()
public ProductRec.Builder setLegalDisclaimerDescription(String legalDisclaimerDescription)
legalDisclaimerDescription
- the legalDisclaimerDescription to setpublic List<CPSIA> getCpsiaStatements()
public ProductRec.Builder setCpsiaStatements(List<CPSIA> cpsiaStatements)
cpsiaStatements
- the cpsiaStatements to setpublic ProductRec.Builder setCpsiaStatement(CPSIA cpsiaStatement)
cpsiaStatement
- the cpsiaStatement to addpublic ProductRec.Builder setCpsiaStatement(String cpsiaStatement)
cpsiaStatement
- the cpsiaStatement to addpublic String getCountryOfOrigin()
public ProductRec.Builder setCorrelationId(String id)
public ProductRec.Builder setProducerId(String id)
public ProductRec.Builder setCountryOfOrigin(String countryOfOrigin)
countryOfOrigin
- the countryOfOrigin to setpublic String getSafetyWarning()
public ProductRec.Builder setSafetyWarning(String safetyWarning)
safetyWarning
- the safetyWarning to setpublic final ProductRec.Builder setStartSellingDate(JetDate startSellingDate)
startSellingDate
- the startSellingDate to setpublic Money getMsrp()
public ProductRec.Builder setMsrp(Money msrp)
msrp
- the msrp to setpublic Money getMapPrice()
public ProductRec.Builder setMapPrice(Money map)
map
- the map to setpublic MAPType getMapImplementation()
public ProductRec.Builder setMapImplementation(MAPType mapImplementation)
mapImplementation
- the mapImplementation to setpublic ProductRec.Builder setMapImplementation(String mapImplementation)
mapImplementation
- the mapImplementation to setIllegalArgumentException
- if an invalid type is encountered and
mapImplementation is NOT emptypublic ProductTaxCode getProductTaxCode()
public ProductRec.Builder setProductTaxCode(ProductTaxCode productTaxCode)
productTaxCode
- the productTaxCode to setpublic Money getNoReturnFeeAdj()
public ProductRec.Builder setNoReturnFeeAdj(Money noReturnFeeAdj)
noReturnFeeAdj
- the noReturnFeeAdj to setpublic boolean isShipsAlone()
public ProductRec.Builder setShipsAlone(boolean shipsAlone)
shipsAlone
- the shipsAlone to setpublic boolean isExcludeFromFeeAdjustments()
public ProductRec.Builder setExcludeFromFeeAdjustments(boolean exclude)
exclude
- statepublic List<SkuAttributeRec> getAttributesNodeSpecific()
public ProductRec.Builder setAttributesNodeSpecific(List<SkuAttributeRec> attributesNodeSpecific)
attributesNodeSpecific
- the attributesNodeSpecific to setpublic ProductRec.Builder setAttributesNodeSpecific(SkuAttributeRec attributesNodeSpecific)
attributesNodeSpecific
- the attributesNodeSpecific to setpublic Map<ProductImageSlot,String> getAlternateImages()
public ProductRec.Builder setId(int id)
public int getId()
public ProductRec.Builder setAlternateImages(Map<ProductImageSlot,String> alternateImages)
alternateImages
- the alternateImages to setpublic ProductRec.Builder setAlternateImage(ProductImageSlot slot, String image)
slot
- The image slotimage
- The imagepublic String getMainImageUrl()
public ProductRec.Builder setMainImageUrl(String mainImageUrl)
mainImageUrl
- the mainImageUrl to setpublic String getSwatchImageUrl()
public ProductRec.Builder setSwatchImageUrl(String swatchImageUrl)
swatchImageUrl
- the swatchImageUrl to setpublic Money getPrice()
public ProductRec.Builder setPrice(Money price)
price
- the price to setpublic List<FNodePriceRec> getfNodePrices()
public ProductRec.Builder setfNodePrices(List<FNodePriceRec> fNodePrices)
fNodePrices
- the fNodePrices to setpublic ProductRec.Builder setfNodePrices(FNodePriceRec fNodePrices)
fNodePrices
- the fNodePrices to setpublic List<FNodeInventoryRec> getfNodeInventory()
public ProductRec.Builder setfNodeInventory(List<FNodeInventoryRec> fNodeInventory)
fNodeInventory
- the fNodeInventory to setpublic ProductRec.Builder setfNodeInventory(FNodeInventoryRec fNodeInventory)
fNodeInventory
- the fNodeInventory to setpublic ProductRec.Builder setShippingExceptionNodes(List<FNodeShippingRec> nodes)
nodes
- nodes to addpublic ProductRec.Builder setShippingExceptionNodes(FNodeShippingRec node)
node
- node to addpublic List<FNodeShippingRec> getShippingExceptionNodes()
public ProductRec.Builder setBullet(String bullet)
bullet
- the bulletpublic ProductRec.Builder setBullets(List<String> bullets)
nodes
- nodes to addCopyright © 2017. All rights reserved.