Class ExceptionDates
- java.lang.Object
-
- software.amazon.spapi.models.orders.v0.ExceptionDates
-
public class ExceptionDates extends java.lang.Object
Dates when the business is closed or open with a different time window.
-
-
Constructor Summary
Constructors Constructor Description ExceptionDates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionDates
addOpenIntervalsItem(OpenInterval openIntervalsItem)
boolean
equals(java.lang.Object o)
ExceptionDates
exceptionDate(java.lang.String exceptionDate)
java.lang.String
getExceptionDate()
Date when the business is closed, in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> date format.java.util.List<OpenInterval>
getOpenIntervals()
Time window during the day when the business is open.int
hashCode()
java.lang.Boolean
isIsOpen()
Boolean indicating if the business is closed or open on that date.ExceptionDates
isOpen(java.lang.Boolean isOpen)
ExceptionDates
openIntervals(java.util.List<OpenInterval> openIntervals)
void
setExceptionDate(java.lang.String exceptionDate)
void
setIsOpen(java.lang.Boolean isOpen)
void
setOpenIntervals(java.util.List<OpenInterval> openIntervals)
java.lang.String
toString()
-
-
-
Method Detail
-
exceptionDate
public ExceptionDates exceptionDate(java.lang.String exceptionDate)
-
getExceptionDate
public java.lang.String getExceptionDate()
Date when the business is closed, in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> date format.- Returns:
- exceptionDate
-
setExceptionDate
public void setExceptionDate(java.lang.String exceptionDate)
-
isOpen
public ExceptionDates isOpen(java.lang.Boolean isOpen)
-
isIsOpen
public java.lang.Boolean isIsOpen()
Boolean indicating if the business is closed or open on that date.- Returns:
- isOpen
-
setIsOpen
public void setIsOpen(java.lang.Boolean isOpen)
-
openIntervals
public ExceptionDates openIntervals(java.util.List<OpenInterval> openIntervals)
-
addOpenIntervalsItem
public ExceptionDates addOpenIntervalsItem(OpenInterval openIntervalsItem)
-
getOpenIntervals
public java.util.List<OpenInterval> getOpenIntervals()
Time window during the day when the business is open.- Returns:
- openIntervals
-
setOpenIntervals
public void setOpenIntervals(java.util.List<OpenInterval> openIntervals)
-
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
-
-