Class SegmentDetails


  • public class SegmentDetails
    extends java.lang.Object
    The details about the segment. The FeaturedOfferExpectedPrice API uses only the sampleLocation portion as input.
    • Constructor Detail

      • SegmentDetails

        public SegmentDetails()
    • 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)
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object