public class

OfferDetails

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.impression.OfferDetails

Class Overview

Model class encapsulating the

Summary

Nested Classes
class OfferDetails.Builder Creates a new instance with the details of an impression to be passed to an configureWith(OfferDetails) method. 
Public Methods
static OfferDetails buildEmptyOffer()
boolean equals(Object o)
String getOfferId()
The Button-provided value that identifies the served offer.
String getUrl()
The URL that is associated with the offer.
float getVisibleRate()
The rate visible to the user.
VisibleRateType getVisibleRateType()
An enum value representing type of the visibleRate for the offer that is displayed to the user, either PERCENT or FIXED.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static OfferDetails buildEmptyOffer ()

public boolean equals (Object o)

public String getOfferId ()

The Button-provided value that identifies the served offer.

public String getUrl ()

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 VisibleRateType getVisibleRateType ()

An enum value representing type of the visibleRate for the offer that is displayed to the user, either PERCENT or FIXED.

public int hashCode ()

public String toString ()