AlternativeChoiceDetails.Product

public static class AlternativeChoiceDetails.Product
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.AlternativeChoiceDetails.Product
Included in documentation by the annotations: @Annotations.AlternativeBilling

Details about a product being purchased.

Summary

Public methods

boolean equals(Object o)
String getId()

Returns the id of the product being purchased. Included in documentation by the annotations: @Annotations.AlternativeBilling

String getOfferToken()

Returns the offer token that was passed in launchBillingFlow to purchase the product. Included in documentation by the annotations: @Annotations.AlternativeBilling

String getType()

Returns the BillingClient.ProductType of the product being purchased. Included in documentation by the annotations: @Annotations.AlternativeBilling

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getId

public String getId ()
Included in documentation by the annotations: @Annotations.AlternativeBilling

Returns the id of the product being purchased.

Returns
String

getOfferToken

public String getOfferToken ()
Included in documentation by the annotations: @Annotations.AlternativeBilling

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

Returns
String

getType

public String getType ()
Included in documentation by the annotations: @Annotations.AlternativeBilling

Returns the BillingClient.ProductType of the product being purchased.

Returns
String

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String