Class MassSaleModel
- java.lang.Object
-
- ru.easydonate.easydonate4j.api.v3.data.model.jackson.shop.mass.sale.MassSaleModel
-
-
Constructor Summary
Constructors Constructor Description MassSaleModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull Optional<LocalDateTime>
getExpiresAt()
@NotNull Optional<ProductsList>
getProducts()
@NotNull OptionalInt
getShopId()
@NotNull Optional<LocalDateTime>
getStartsAt()
int
hashCode()
@NotNull String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ru.easydonate.easydonate4j.api.v3.data.model.shop.mass.sale.MassSale
getCreatedAt, getDiscountPercent, getId, getName, getUpdatedAt
-
-
-
-
Method Detail
-
getShopId
@NotNull public @NotNull OptionalInt getShopId()
-
getProducts
@NotNull public @NotNull Optional<ProductsList> getProducts()
- Specified by:
getProducts
in interfaceMassSale
-
getStartsAt
@NotNull public @NotNull Optional<LocalDateTime> getStartsAt()
- Specified by:
getStartsAt
in interfaceMassSale
-
getExpiresAt
@NotNull public @NotNull Optional<LocalDateTime> getExpiresAt()
- Specified by:
getExpiresAt
in interfaceMassSale
-
-