Class DeliveryWindowOption


  • public class DeliveryWindowOption
    extends java.lang.Object
    Contains information pertaining to a delivery window option.
    • Constructor Detail

      • DeliveryWindowOption

        public DeliveryWindowOption()
    • Method Detail

      • availabilityType

        public DeliveryWindowOption availabilityType​(java.lang.String availabilityType)
      • getAvailabilityType

        public java.lang.String getAvailabilityType()
        Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
        Returns:
        availabilityType
      • setAvailabilityType

        public void setAvailabilityType​(java.lang.String availabilityType)
      • deliveryWindowOptionId

        public DeliveryWindowOption deliveryWindowOptionId​(java.lang.String deliveryWindowOptionId)
      • getDeliveryWindowOptionId

        public java.lang.String getDeliveryWindowOptionId()
        Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
        Returns:
        deliveryWindowOptionId
      • setDeliveryWindowOptionId

        public void setDeliveryWindowOptionId​(java.lang.String deliveryWindowOptionId)
      • getEndDate

        public org.threeten.bp.OffsetDateTime getEndDate()
        The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
        Returns:
        endDate
      • setEndDate

        public void setEndDate​(org.threeten.bp.OffsetDateTime endDate)
      • getStartDate

        public org.threeten.bp.OffsetDateTime getStartDate()
        The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
        Returns:
        startDate
      • setStartDate

        public void setStartDate​(org.threeten.bp.OffsetDateTime startDate)
      • validUntil

        public DeliveryWindowOption validUntil​(org.threeten.bp.OffsetDateTime validUntil)
      • getValidUntil

        public org.threeten.bp.OffsetDateTime getValidUntil()
        The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
        Returns:
        validUntil
      • setValidUntil

        public void setValidUntil​(org.threeten.bp.OffsetDateTime validUntil)
      • 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