# DeveloperProvidedBillingDetails.Product


```
public class DeveloperProvidedBillingDetails.Product
```

<br />

*** ** * ** ***

Details about a product being purchased.

## Summary

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object.html o)` |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#getId()()` Returns the id of the product being purchased. |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#getOfferToken()()` Returns the offer token that was passed in launchBillingFlow to purchase the product. |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#getType()()` Returns the `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.ProductType` of the product being purchased. |
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#hashCode()()` |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/com/android/billingclient/api/DeveloperProvidedBillingDetails.Product#toString()()` |

## Public methods

### equals

```
public boolean equals(Object o)
```

### getId

```
public String getId()
```

Returns the id of the product being purchased.

### getOfferToken

```
public String getOfferToken()
```

Returns the offer token that was passed in launchBillingFlow to purchase the product.

### getType

```
public String getType()
```

Returns the `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.ProductType` of the product being purchased.

### hashCode

```
public int hashCode()
```

### toString

```
public String toString()
```