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()intgetAmount()@NotNull OptionalIntgetCategoryId()@NotNull List<String>getCommands()@NotNull LocalDateTimegetCreatedAt()@NotNull OptionalIntgetCurrentMostExpensiveId()@NotNull Optional<String>getDescription()doublegetDiscountAmount()@NotNull StringgetIconImage()intgetId()@NotNull StringgetName()@NotNull OptionalDoublegetOldPrice()doublegetPrice()intgetShopId()@NotNull ProductTypegetType()@NotNull StringgetTypeRaw()@NotNull LocalDateTimegetUpdatedAt()@NotNull List<String>getWithdrawCommands()@NotNull OptionalIntgetWithdrawCommandsDelay()booleanisHidden()booleanisOneTimePurchasable()-
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()
-
-