## OfferDetails

### Class Overview
Model class encapsulating the

### Summary

| Nested Classes |
| --- |
| class | [OfferDetails.Builder](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.Builder.html) | Creates a new instance with the details of an impression to be passed to an `configureWith(OfferDetails)` method. |

| Public Methods |
| --- |
| static<br> <br> <br> [OfferDetails](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html) | [buildEmptyOffer](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#buildEmptyOffer())() |
| boolean | [equals](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#equals(java.lang.Object))( [Object](https://d.android.com/reference/java/lang/Object.html) o) |
| [String](https://d.android.com/reference/java/lang/String.html) | [getOfferId](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#getOfferId())()<br> <br> <br>The Button-provided value that identifies the served offer. |
| [String](https://d.android.com/reference/java/lang/String.html) | [getUrl](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#getUrl())()<br> <br> <br>The URL that is associated with the offer. |
| float | [getVisibleRate](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#getVisibleRate())()<br> <br> <br>The rate visible to the user. |
| [VisibleRateType](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#getVisibleRateType())()<br> <br> <br>An enum value representing type of the visibleRate for the offer that is displayed to the<br>user, either `PERCENT` or `FIXED`. |
| int | [hashCode](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#hashCode())() |
| [String](https://d.android.com/reference/java/lang/String.html) | [toString](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html#toString())() |

### Public Methods
#### public   static         [OfferDetails](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/OfferDetails.html)buildEmptyOffer()
#### public           boolean  equals( [Object](https://d.android.com/reference/java/lang/Object.html) o)
#### public           [String](https://d.android.com/reference/java/lang/String.html)getOfferId()
The Button-provided value that identifies the served offer.
#### public           [String](https://d.android.com/reference/java/lang/String.html)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](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/impression/VisibleRateType.html)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](https://d.android.com/reference/java/lang/String.html)toString()
