-
- All Implemented Interfaces:
-
com.onesignal.common.events.IEventNotifier
public final class PurchaseInfo extends Model
Information about a specific purchase.
-
-
Field Summary
Fields Modifier and Type Field Description private Stringskuprivate Stringisoprivate BigDecimalamountprivate Stringidprivate final BooleanhasSubscribers
-
Constructor Summary
Constructors Constructor Description PurchaseInfo(String sku, String iso, BigDecimal amount)PurchaseInfo()
-
Method Summary
Modifier and Type Method Description final StringgetSku()final UnitsetSku(String sku)final StringgetIso()final UnitsetIso(String iso)final BigDecimalgetAmount()final UnitsetAmount(BigDecimal amount)final StringgetId()final UnitsetId(String id)BooleangetHasSubscribers()-
Methods inherited from class com.onesignal.user.internal.operations.PurchaseInfo
hasProperty, initializeFromJson, initializeFromModel, setAnyProperty, setBigDecimalProperty, setBooleanProperty, setDoubleProperty, setEnumProperty, setFloatProperty, setIntProperty, setListProperty, setLongProperty, setMapModelProperty, setOptAnyProperty, setOptBigDecimalProperty, setOptBooleanProperty, setOptDoubleProperty, setOptEnumProperty, setOptFloatProperty, setOptIntProperty, setOptListProperty, setOptLongProperty, setOptMapModelProperty, setOptStringProperty, setStringProperty, subscribe, toJSON, unsubscribe -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PurchaseInfo
PurchaseInfo(String sku, String iso, BigDecimal amount)
-
PurchaseInfo
PurchaseInfo()
-
-
Method Detail
-
getAmount
final BigDecimal getAmount()
-
setAmount
final Unit setAmount(BigDecimal amount)
-
getHasSubscribers
Boolean getHasSubscribers()
-
-
-
-