Class OfferDetail
- java.lang.Object
-
- software.amazon.spapi.models.pricing.v0.OfferDetail
-
public class OfferDetail extends java.lang.Object
Schema for an individual offer. Object in `OfferDetailList`.
-
-
Constructor Summary
Constructors Constructor Description OfferDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfferDetail
addQuantityDiscountPricesItem(QuantityDiscountPriceType quantityDiscountPricesItem)
OfferDetail
conditionNotes(java.lang.String conditionNotes)
boolean
equals(java.lang.Object o)
java.lang.String
getConditionNotes()
Information about the condition of the item.MoneyType
getListingPrice()
Get listingPriceOfferCustomerType
getOfferType()
Get offerTypePoints
getPoints()
Get pointsPrimeInformationType
getPrimeInformation()
Get primeInformationjava.util.List<QuantityDiscountPriceType>
getQuantityDiscountPrices()
List of `QuantityDiscountPrice` that contains item's pricing information when buy in bulk.SellerFeedbackType
getSellerFeedbackRating()
Get sellerFeedbackRatingjava.lang.String
getSellerId()
The seller identifier for the offer.MoneyType
getShipping()
Get shippingDetailedShippingTimeType
getShippingTime()
Get shippingTimeShipsFromType
getShipsFrom()
Get shipsFromjava.lang.String
getSubCondition()
The subcondition of the item.int
hashCode()
OfferDetail
isBuyBoxWinner(java.lang.Boolean isBuyBoxWinner)
OfferDetail
isFeaturedMerchant(java.lang.Boolean isFeaturedMerchant)
OfferDetail
isFulfilledByAmazon(java.lang.Boolean isFulfilledByAmazon)
java.lang.Boolean
isIsBuyBoxWinner()
When true, the offer is currently in the Buy Box.java.lang.Boolean
isIsFeaturedMerchant()
When true, the seller of the item is eligible to win the Buy Box.java.lang.Boolean
isIsFulfilledByAmazon()
When true, the offer is fulfilled by Amazon.java.lang.Boolean
isMyOffer()
When true, this is the seller's offer.OfferDetail
listingPrice(MoneyType listingPrice)
OfferDetail
myOffer(java.lang.Boolean myOffer)
OfferDetail
offerType(OfferCustomerType offerType)
OfferDetail
points(Points points)
OfferDetail
primeInformation(PrimeInformationType primeInformation)
OfferDetail
quantityDiscountPrices(java.util.List<QuantityDiscountPriceType> quantityDiscountPrices)
OfferDetail
sellerFeedbackRating(SellerFeedbackType sellerFeedbackRating)
OfferDetail
sellerId(java.lang.String sellerId)
void
setConditionNotes(java.lang.String conditionNotes)
void
setIsBuyBoxWinner(java.lang.Boolean isBuyBoxWinner)
void
setIsFeaturedMerchant(java.lang.Boolean isFeaturedMerchant)
void
setIsFulfilledByAmazon(java.lang.Boolean isFulfilledByAmazon)
void
setListingPrice(MoneyType listingPrice)
void
setMyOffer(java.lang.Boolean myOffer)
void
setOfferType(OfferCustomerType offerType)
void
setPoints(Points points)
void
setPrimeInformation(PrimeInformationType primeInformation)
void
setQuantityDiscountPrices(java.util.List<QuantityDiscountPriceType> quantityDiscountPrices)
void
setSellerFeedbackRating(SellerFeedbackType sellerFeedbackRating)
void
setSellerId(java.lang.String sellerId)
void
setShipping(MoneyType shipping)
void
setShippingTime(DetailedShippingTimeType shippingTime)
void
setShipsFrom(ShipsFromType shipsFrom)
void
setSubCondition(java.lang.String subCondition)
OfferDetail
shipping(MoneyType shipping)
OfferDetail
shippingTime(DetailedShippingTimeType shippingTime)
OfferDetail
shipsFrom(ShipsFromType shipsFrom)
OfferDetail
subCondition(java.lang.String subCondition)
java.lang.String
toString()
-
-
-
Method Detail
-
myOffer
public OfferDetail myOffer(java.lang.Boolean myOffer)
-
isMyOffer
public java.lang.Boolean isMyOffer()
When true, this is the seller's offer.- Returns:
- myOffer
-
setMyOffer
public void setMyOffer(java.lang.Boolean myOffer)
-
offerType
public OfferDetail offerType(OfferCustomerType offerType)
-
getOfferType
public OfferCustomerType getOfferType()
Get offerType- Returns:
- offerType
-
setOfferType
public void setOfferType(OfferCustomerType offerType)
-
subCondition
public OfferDetail subCondition(java.lang.String subCondition)
-
getSubCondition
public java.lang.String getSubCondition()
The subcondition of the item. Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other.- Returns:
- subCondition
-
setSubCondition
public void setSubCondition(java.lang.String subCondition)
-
sellerId
public OfferDetail sellerId(java.lang.String sellerId)
-
getSellerId
public java.lang.String getSellerId()
The seller identifier for the offer.- Returns:
- sellerId
-
setSellerId
public void setSellerId(java.lang.String sellerId)
-
conditionNotes
public OfferDetail conditionNotes(java.lang.String conditionNotes)
-
getConditionNotes
public java.lang.String getConditionNotes()
Information about the condition of the item.- Returns:
- conditionNotes
-
setConditionNotes
public void setConditionNotes(java.lang.String conditionNotes)
-
sellerFeedbackRating
public OfferDetail sellerFeedbackRating(SellerFeedbackType sellerFeedbackRating)
-
getSellerFeedbackRating
public SellerFeedbackType getSellerFeedbackRating()
Get sellerFeedbackRating- Returns:
- sellerFeedbackRating
-
setSellerFeedbackRating
public void setSellerFeedbackRating(SellerFeedbackType sellerFeedbackRating)
-
shippingTime
public OfferDetail shippingTime(DetailedShippingTimeType shippingTime)
-
getShippingTime
public DetailedShippingTimeType getShippingTime()
Get shippingTime- Returns:
- shippingTime
-
setShippingTime
public void setShippingTime(DetailedShippingTimeType shippingTime)
-
listingPrice
public OfferDetail listingPrice(MoneyType listingPrice)
-
getListingPrice
public MoneyType getListingPrice()
Get listingPrice- Returns:
- listingPrice
-
setListingPrice
public void setListingPrice(MoneyType listingPrice)
-
quantityDiscountPrices
public OfferDetail quantityDiscountPrices(java.util.List<QuantityDiscountPriceType> quantityDiscountPrices)
-
addQuantityDiscountPricesItem
public OfferDetail addQuantityDiscountPricesItem(QuantityDiscountPriceType quantityDiscountPricesItem)
-
getQuantityDiscountPrices
public java.util.List<QuantityDiscountPriceType> getQuantityDiscountPrices()
List of `QuantityDiscountPrice` that contains item's pricing information when buy in bulk.- Returns:
- quantityDiscountPrices
-
setQuantityDiscountPrices
public void setQuantityDiscountPrices(java.util.List<QuantityDiscountPriceType> quantityDiscountPrices)
-
points
public OfferDetail points(Points points)
-
getPoints
public Points getPoints()
Get points- Returns:
- points
-
setPoints
public void setPoints(Points points)
-
shipping
public OfferDetail shipping(MoneyType shipping)
-
getShipping
public MoneyType getShipping()
Get shipping- Returns:
- shipping
-
setShipping
public void setShipping(MoneyType shipping)
-
shipsFrom
public OfferDetail shipsFrom(ShipsFromType shipsFrom)
-
getShipsFrom
public ShipsFromType getShipsFrom()
Get shipsFrom- Returns:
- shipsFrom
-
setShipsFrom
public void setShipsFrom(ShipsFromType shipsFrom)
-
isFulfilledByAmazon
public OfferDetail isFulfilledByAmazon(java.lang.Boolean isFulfilledByAmazon)
-
isIsFulfilledByAmazon
public java.lang.Boolean isIsFulfilledByAmazon()
When true, the offer is fulfilled by Amazon.- Returns:
- isFulfilledByAmazon
-
setIsFulfilledByAmazon
public void setIsFulfilledByAmazon(java.lang.Boolean isFulfilledByAmazon)
-
primeInformation
public OfferDetail primeInformation(PrimeInformationType primeInformation)
-
getPrimeInformation
public PrimeInformationType getPrimeInformation()
Get primeInformation- Returns:
- primeInformation
-
setPrimeInformation
public void setPrimeInformation(PrimeInformationType primeInformation)
-
isBuyBoxWinner
public OfferDetail isBuyBoxWinner(java.lang.Boolean isBuyBoxWinner)
-
isIsBuyBoxWinner
public java.lang.Boolean isIsBuyBoxWinner()
When true, the offer is currently in the Buy Box. There can be up to two Buy Box winners at any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.- Returns:
- isBuyBoxWinner
-
setIsBuyBoxWinner
public void setIsBuyBoxWinner(java.lang.Boolean isBuyBoxWinner)
-
isFeaturedMerchant
public OfferDetail isFeaturedMerchant(java.lang.Boolean isFeaturedMerchant)
-
isIsFeaturedMerchant
public java.lang.Boolean isIsFeaturedMerchant()
When true, the seller of the item is eligible to win the Buy Box.- Returns:
- isFeaturedMerchant
-
setIsFeaturedMerchant
public void setIsFeaturedMerchant(java.lang.Boolean isFeaturedMerchant)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-