Class DeliveryWindowOption
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.inbound.v2024_03_20.DeliveryWindowOption
-
public class DeliveryWindowOption extends java.lang.Object
Contains information pertaining to a delivery window option.
-
-
Constructor Summary
Constructors Constructor Description DeliveryWindowOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryWindowOption
availabilityType(java.lang.String availabilityType)
DeliveryWindowOption
deliveryWindowOptionId(java.lang.String deliveryWindowOptionId)
DeliveryWindowOption
endDate(org.threeten.bp.OffsetDateTime endDate)
boolean
equals(java.lang.Object o)
java.lang.String
getAvailabilityType()
Identifies type of Delivery Window Availability.java.lang.String
getDeliveryWindowOptionId()
Identifier of a delivery window option.org.threeten.bp.OffsetDateTime
getEndDate()
The time at which this delivery window option ends.org.threeten.bp.OffsetDateTime
getStartDate()
The time at which this delivery window option starts.org.threeten.bp.OffsetDateTime
getValidUntil()
The time at which this window delivery option is no longer valid.int
hashCode()
void
setAvailabilityType(java.lang.String availabilityType)
void
setDeliveryWindowOptionId(java.lang.String deliveryWindowOptionId)
void
setEndDate(org.threeten.bp.OffsetDateTime endDate)
void
setStartDate(org.threeten.bp.OffsetDateTime startDate)
void
setValidUntil(org.threeten.bp.OffsetDateTime validUntil)
DeliveryWindowOption
startDate(org.threeten.bp.OffsetDateTime startDate)
java.lang.String
toString()
DeliveryWindowOption
validUntil(org.threeten.bp.OffsetDateTime validUntil)
-
-
-
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)
-
endDate
public DeliveryWindowOption endDate(org.threeten.bp.OffsetDateTime endDate)
-
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)
-
startDate
public DeliveryWindowOption startDate(org.threeten.bp.OffsetDateTime startDate)
-
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 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
-
-