UserChoiceDetails.Product

public static class UserChoiceDetails.Product
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.UserChoiceDetails.Product


Details about a product being purchased.

Summary

Public methods

boolean equals(Object o)
String getId()

Returns the id of the product being purchased.

String getOfferToken()

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

String getType()

Returns the BillingClient.ProductType of the product being purchased.

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getId

public String getId ()

Returns the id of the product being purchased.

Returns
String

getOfferToken

public String getOfferToken ()

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

Returns
String

getType

public String getType ()

Returns the BillingClient.ProductType of the product being purchased.

Returns
String

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String