Interface SurchargeDiscount
-
- All Superinterfaces:
PrettyPrintable
public interface SurchargeDiscount extends PrettyPrintable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<? extends AdditionalField>
getAdditionalFields()
int
getAmount()
@NotNull OptionalInt
getCategoryId()
@NotNull List<String>
getCommands()
@NotNull LocalDateTime
getCreatedAt()
@NotNull OptionalInt
getCurrentMostExpensiveId()
@NotNull Optional<String>
getDescription()
double
getDiscountAmount()
@NotNull String
getIconImage()
int
getId()
@NotNull String
getName()
@NotNull OptionalDouble
getOldPrice()
double
getPrice()
int
getShopId()
@NotNull ProductType
getType()
@NotNull String
getTypeRaw()
@NotNull LocalDateTime
getUpdatedAt()
@NotNull List<String>
getWithdrawCommands()
@NotNull OptionalInt
getWithdrawCommandsDelay()
boolean
isHidden()
boolean
isOneTimePurchasable()
-
Methods inherited from interface ru.easydonate.easydonate4j.data.model.PrettyPrintable
toPrettyString
-
-
-
-
Method Detail
-
getId
int getId()
-
getShopId
int getShopId()
-
getName
@NotNull @NotNull String getName()
-
getType
@NotNull @NotNull ProductType getType()
-
getTypeRaw
@NotNull @NotNull String getTypeRaw()
-
getPrice
double getPrice()
-
getAmount
int getAmount()
-
getOldPrice
@NotNull @NotNull OptionalDouble getOldPrice()
-
getCategoryId
@NotNull @NotNull OptionalInt getCategoryId()
-
getIconImage
@NotNull @NotNull String getIconImage()
-
isHidden
boolean isHidden()
-
isOneTimePurchasable
boolean isOneTimePurchasable()
-
getWithdrawCommandsDelay
@NotNull @NotNull OptionalInt getWithdrawCommandsDelay()
-
getAdditionalFields
@NotNull @NotNull List<? extends AdditionalField> getAdditionalFields()
-
getDiscountAmount
double getDiscountAmount()
-
getCurrentMostExpensiveId
@NotNull @NotNull OptionalInt getCurrentMostExpensiveId()
-
getCreatedAt
@NotNull @NotNull LocalDateTime getCreatedAt()
-
getUpdatedAt
@NotNull @NotNull LocalDateTime getUpdatedAt()
-
-