Class SegmentDetails
- java.lang.Object
-
- software.amazon.spapi.models.pricing.v2022_05_01.SegmentDetails
-
public class SegmentDetails extends java.lang.Object
The details about the segment. The FeaturedOfferExpectedPrice API uses only the sampleLocation portion as input.
-
-
Constructor Summary
Constructors Constructor Description SegmentDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.math.BigDecimal
getGlanceViewWeightPercentage()
The glance view weighted percentage for this segment, which is the glance views for this segment as a percentage of total glance views across all segments for the ASIN.SampleLocation
getSampleLocation()
Get sampleLocationSegmentDetails
glanceViewWeightPercentage(java.math.BigDecimal glanceViewWeightPercentage)
int
hashCode()
SegmentDetails
sampleLocation(SampleLocation sampleLocation)
void
setGlanceViewWeightPercentage(java.math.BigDecimal glanceViewWeightPercentage)
void
setSampleLocation(SampleLocation sampleLocation)
java.lang.String
toString()
-
-
-
Method Detail
-
glanceViewWeightPercentage
public SegmentDetails glanceViewWeightPercentage(java.math.BigDecimal glanceViewWeightPercentage)
-
getGlanceViewWeightPercentage
public java.math.BigDecimal getGlanceViewWeightPercentage()
The glance view weighted percentage for this segment, which is the glance views for this segment as a percentage of total glance views across all segments for the ASIN. A higher percentage indicates that more Amazon customers receive this offer as the Featured Offer.- Returns:
- glanceViewWeightPercentage
-
setGlanceViewWeightPercentage
public void setGlanceViewWeightPercentage(java.math.BigDecimal glanceViewWeightPercentage)
-
sampleLocation
public SegmentDetails sampleLocation(SampleLocation sampleLocation)
-
getSampleLocation
public SampleLocation getSampleLocation()
Get sampleLocation- Returns:
- sampleLocation
-
setSampleLocation
public void setSampleLocation(SampleLocation sampleLocation)
-
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
-
-