Class PurchasedProductModel
- java.lang.Object
-
- ru.easydonate.easydonate4j.callback.data.model.jackson.purchase.PurchasedProductModel
-
- All Implemented Interfaces:
PurchasedProduct
,ru.easydonate.easydonate4j.data.model.PrettyPrintable
public class PurchasedProductModel extends Object implements PurchasedProduct
-
-
Constructor Summary
Constructors Constructor Description PurchasedProductModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull Optional<String>
getDescription()
@NotNull Optional<Discounts>
getDiscounts()
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.data.model.PrettyPrintable
toPrettyString
-
Methods inherited from interface ru.easydonate.easydonate4j.callback.data.model.purchase.PurchasedProduct
getAdditionalFields, getBoughtAmount, getCommands, getIconImage, getId, getName, getPrice
-
-
-
-
Method Detail
-
getDescription
@NotNull public @NotNull Optional<String> getDescription()
- Specified by:
getDescription
in interfacePurchasedProduct
-
getDiscounts
@NotNull public @NotNull Optional<Discounts> getDiscounts()
- Specified by:
getDiscounts
in interfacePurchasedProduct
-
-