Package 

Interface SubscriptionResolver

    • Method Summary

      Modifier and Type Method Description
      abstract DeveloperProvidedBillingDetailsAndroid developerProvidedBillingAndroid() Fires when a user selects developer billing in the External Payments flow (Android only) Triggered when the user chooses to pay via the developer's external payment option instead of Google Play Billing in the side-by-side choice dialog.
      abstract String promotedProductIOS() Fires when the App Store surfaces a promoted product (iOS only)
      abstract PurchaseError purchaseError() Fires when a purchase fails or is cancelled
      abstract Purchase purchaseUpdated() Fires when a purchase completes successfully or a pending purchase resolves
      abstract UserChoiceBillingDetails userChoiceBillingAndroid() Fires when a user selects alternative billing in the User Choice Billing dialog (Android only) Only triggered when the user selects alternative billing instead of Google Play billing
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • developerProvidedBillingAndroid

         abstract DeveloperProvidedBillingDetailsAndroid developerProvidedBillingAndroid()

        Fires when a user selects developer billing in the External Payments flow (Android only) Triggered when the user chooses to pay via the developer's external payment option instead of Google Play Billing in the side-by-side choice dialog. Contains the externalTransactionToken needed to report the transaction. Available in Google Play Billing Library 8.3.0+

      • promotedProductIOS

         abstract String promotedProductIOS()

        Fires when the App Store surfaces a promoted product (iOS only)

      • purchaseUpdated

         abstract Purchase purchaseUpdated()

        Fires when a purchase completes successfully or a pending purchase resolves

      • userChoiceBillingAndroid

         abstract UserChoiceBillingDetails userChoiceBillingAndroid()

        Fires when a user selects alternative billing in the User Choice Billing dialog (Android only) Only triggered when the user selects alternative billing instead of Google Play billing