OfferDetails | Button SDK for Android v7.0.0
OfferDetails
Class Overview
Model class encapsulating the
Summary
| Nested Classes |
|---|
| class |
| Public Methods |
|---|
| static OfferDetails |
| boolean |
| String |
| String |
| float |
| VisibleRateType() An enum value representing type of the visibleRate for the offer that is displayed to the user, either PERCENT or FIXED. |
| int |
| String |
Public Methods
public static OfferDetailsbuildEmptyOffer()
public boolean equals( Object o)
public StringgetOfferId()
The Button-provided value that identifies the served offer.
public StringgetUrl()
The URL that is associated with the offer.
public float getVisibleRate()
The rate visible to the user.
If the visibleRateType is FIXED, this value represents the amount in
the currency of the offer.
If the visibleRateType is FIXED, this value should be ranging from
0.0 to 100.0
public VisibleRateTypegetVisibleRateType()
An enum value representing type of the visibleRate for the offer that is displayed to the
user, either PERCENT or FIXED.