-
public final class ProductAndroidOneTimePurchaseOfferDetailOne-time purchase offer details (Android). Available in Google Play Billing Library 7.0+
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProductAndroidOneTimePurchaseOfferDetail.Companion
-
Field Summary
Fields Modifier and Type Field Description private final DiscountDisplayInfoAndroiddiscountDisplayInfoprivate final StringformattedPriceprivate final StringfullPriceMicrosprivate final LimitedQuantityInfoAndroidlimitedQuantityInfoprivate final StringofferIdprivate final List<String>offerTagsprivate final StringofferTokenprivate final PreorderDetailsAndroidpreorderDetailsAndroidprivate final StringpriceAmountMicrosprivate final StringpriceCurrencyCodeprivate final StringpurchaseOptionIdprivate final RentalDetailsAndroidrentalDetailsAndroidprivate final ValidTimeWindowAndroidvalidTimeWindow
-
Constructor Summary
Constructors Constructor Description ProductAndroidOneTimePurchaseOfferDetail(DiscountDisplayInfoAndroid discountDisplayInfo, String formattedPrice, String fullPriceMicros, LimitedQuantityInfoAndroid limitedQuantityInfo, String offerId, List<String> offerTags, String offerToken, PreorderDetailsAndroid preorderDetailsAndroid, String priceAmountMicros, String priceCurrencyCode, String purchaseOptionId, RentalDetailsAndroid rentalDetailsAndroid, ValidTimeWindowAndroid validTimeWindow)
-
Method Summary
Modifier and Type Method Description final DiscountDisplayInfoAndroidgetDiscountDisplayInfo()Discount display information Only available for discounted offers final StringgetFormattedPrice()final StringgetFullPriceMicros()Full (non-discounted) price in micro-units Only available for discounted offers final LimitedQuantityInfoAndroidgetLimitedQuantityInfo()Limited quantity information final StringgetOfferId()Offer ID final List<String>getOfferTags()List of offer tags final StringgetOfferToken()Offer token for use in BillingFlowParams when purchasing final PreorderDetailsAndroidgetPreorderDetailsAndroid()Pre-order details for products available for pre-order Available in Google Play Billing Library 8.1. final StringgetPriceAmountMicros()final StringgetPriceCurrencyCode()final StringgetPurchaseOptionId()Purchase option ID for this offer (Android) Used to identify which purchase option the user selected. final RentalDetailsAndroidgetRentalDetailsAndroid()Rental details for rental offers final ValidTimeWindowAndroidgetValidTimeWindow()Valid time window for the offer final Map<String, Object>toJson()-
-
Constructor Detail
-
ProductAndroidOneTimePurchaseOfferDetail
ProductAndroidOneTimePurchaseOfferDetail(DiscountDisplayInfoAndroid discountDisplayInfo, String formattedPrice, String fullPriceMicros, LimitedQuantityInfoAndroid limitedQuantityInfo, String offerId, List<String> offerTags, String offerToken, PreorderDetailsAndroid preorderDetailsAndroid, String priceAmountMicros, String priceCurrencyCode, String purchaseOptionId, RentalDetailsAndroid rentalDetailsAndroid, ValidTimeWindowAndroid validTimeWindow)
-
-
Method Detail
-
getDiscountDisplayInfo
final DiscountDisplayInfoAndroid getDiscountDisplayInfo()
Discount display information Only available for discounted offers
-
getFormattedPrice
final String getFormattedPrice()
-
getFullPriceMicros
final String getFullPriceMicros()
Full (non-discounted) price in micro-units Only available for discounted offers
-
getLimitedQuantityInfo
final LimitedQuantityInfoAndroid getLimitedQuantityInfo()
Limited quantity information
-
getOfferId
final String getOfferId()
Offer ID
-
getOfferTags
final List<String> getOfferTags()
List of offer tags
-
getOfferToken
final String getOfferToken()
Offer token for use in BillingFlowParams when purchasing
-
getPreorderDetailsAndroid
final PreorderDetailsAndroid getPreorderDetailsAndroid()
Pre-order details for products available for pre-order Available in Google Play Billing Library 8.1.0+
-
getPriceAmountMicros
final String getPriceAmountMicros()
-
getPriceCurrencyCode
final String getPriceCurrencyCode()
-
getPurchaseOptionId
final String getPurchaseOptionId()
Purchase option ID for this offer (Android) Used to identify which purchase option the user selected. Available in Google Play Billing Library 7.0+
-
getRentalDetailsAndroid
final RentalDetailsAndroid getRentalDetailsAndroid()
Rental details for rental offers
-
getValidTimeWindow
final ValidTimeWindowAndroid getValidTimeWindow()
Valid time window for the offer
-
-
-
-