Package dev.hyo.openiap
See: Description
-
Enum Summary Enum Description AlternativeBillingMode Alternative billing mode Supported by both Google Play Billing and Meta Horizon Billing Level AlternativeBillingModeAndroid Alternative billing mode for Android Controls which billing system is used BillingProgramAndroid Billing program types for external content links, external offers, and external payments (Android) Available in Google Play Billing Library 8.2.0+, EXTERNAL_PAYMENTS added in 8.3. DeveloperBillingLaunchModeAndroid Launch mode for developer billing option (Android) Determines how the external payment URL is launched Available in Google Play Billing Library 8.3. DiscountOfferType Discount offer type enumeration. ErrorCode ExternalLinkLaunchModeAndroid Launch mode for external link flow (Android) Determines how the external URL is launched Available in Google Play Billing Library 8.2. ExternalLinkTypeAndroid Link type for external link flow (Android) Specifies the type of external link destination Available in Google Play Billing Library 8.2. ExternalPurchaseCustomLinkNoticeTypeIOS Notice types for ExternalPurchaseCustomLink (iOS 18.1+). ExternalPurchaseCustomLinkTokenTypeIOS Token types for ExternalPurchaseCustomLink (iOS 18.1+). ExternalPurchaseNoticeAction User actions on external purchase notice sheet (iOS 17. IapEvent IapkitPurchaseState Unified purchase states from IAPKit verification response. IapPlatform IapStore PaymentMode Payment mode for subscription offers. PaymentModeIOS ProductQueryType ProductStatusAndroid Status code for individual products returned from queryProductDetailsAsync (Android) Prior to 8.0, products that couldn't be fetched were simply not returned. ProductType ProductTypeIOS PurchaseState PurchaseVerificationProvider SubResponseCodeAndroid Sub-response codes for more granular purchase error information (Android) Available in Google Play Billing Library 8.0. SubscriptionOfferTypeIOS SubscriptionPeriodIOS SubscriptionPeriodUnit Subscription period unit for cross-platform use. SubscriptionReplacementModeAndroid Replacement mode for subscription changes (Android) These modes determine how the subscription replacement affects billing. -
-
Class Summary Class Description ProductNotFound PurchaseVerificationFailed Purchase verification failed with a specific error from the verification provider (e.g. SkuNotFound AlternativeBillingUnavailable OpenIapError OpenIAP specific exceptions ActiveSubscription AppTransaction BillingProgramAvailabilityResultAndroid Result of checking billing program availability (Android) Available in Google Play Billing Library 8.2. BillingProgramReportingDetailsAndroid Reporting details for transactions made outside of Google Play Billing (Android) Contains the external transaction token needed for reporting Available in Google Play Billing Library 8.2. BillingResultAndroid Extended billing result with sub-response code (Android) Available in Google Play Billing Library 8.0. DeveloperProvidedBillingDetailsAndroid Details provided when user selects developer billing option (Android) Received via DeveloperProvidedBillingListener callback Available in Google Play Billing Library 8.3. DiscountAmountAndroid Discount amount details for one-time purchase offers (Android) Available in Google Play Billing Library 7. DiscountDisplayInfoAndroid Discount display information for one-time purchase offers (Android) Available in Google Play Billing Library 7. DiscountIOS Discount information returned from the store. DiscountOffer Standardized one-time product discount offer. DiscountOfferIOS iOS DiscountOffer (output type). EntitlementIOS ExternalOfferAvailabilityResultAndroid External offer availability result (Android) ExternalOfferReportingDetailsAndroid External offer reporting details (Android) ExternalPurchaseCustomLinkNoticeResultIOS Result of showing ExternalPurchaseCustomLink notice (iOS 18.1+). ExternalPurchaseCustomLinkTokenResultIOS Result of requesting an ExternalPurchaseCustomLink token (iOS 18.1+). ExternalPurchaseLinkResultIOS Result of presenting an external purchase link ExternalPurchaseNoticeResultIOS Result of presenting external purchase notice sheet (iOS 17.4+) Returns the token when user continues to external purchase. FetchProductsResultAll FetchProductsResultProducts FetchProductsResultSubscriptions InstallmentPlanDetailsAndroid Installment plan details for subscription offers (Android) Contains information about the installment plan commitment. LimitedQuantityInfoAndroid Limited quantity information for one-time purchase offers (Android) Available in Google Play Billing Library 7. PendingPurchaseUpdateAndroid Pending purchase update for subscription upgrades/downgrades (Android) When a user initiates a subscription change (upgrade/downgrade), the new purchase may be pending until the current billing period ends. PreorderDetailsAndroid Pre-order details for one-time purchase products (Android) Available in Google Play Billing Library 8.1. PricingPhaseAndroid PricingPhasesAndroid ProductAndroid ProductAndroidOneTimePurchaseOfferDetail One-time purchase offer details (Android). ProductIOS ProductSubscriptionAndroid ProductSubscriptionAndroidOfferDetails Subscription offer details (Android). ProductSubscriptionIOS PurchaseAndroid PurchaseError PurchaseIOS PurchaseOfferIOS RefundResultIOS RenewalInfoIOS Subscription renewal information from Product.SubscriptionInfo.RenewalInfo https://developer.apple. RentalDetailsAndroid Rental details for one-time purchase products that can be rented (Android) Available in Google Play Billing Library 7. RequestPurchaseResultPurchase RequestPurchaseResultPurchases RequestVerifyPurchaseWithIapkitResult SubscriptionInfoIOS SubscriptionOffer Standardized subscription discount/promotional offer. SubscriptionOfferIOS iOS subscription offer details. SubscriptionPeriod Subscription period value combining unit and count. SubscriptionPeriodValueIOS SubscriptionStatusIOS UserChoiceBillingDetails User Choice Billing event details (Android) Fired when a user selects alternative billing in the User Choice Billing dialog ValidTimeWindowAndroid Valid time window for when an offer is available (Android) Available in Google Play Billing Library 7. VerifyPurchaseResultAndroid VerifyPurchaseResultHorizon Result from Meta Horizon verify_entitlement API. VerifyPurchaseResultIOS VerifyPurchaseWithProviderError VerifyPurchaseWithProviderResult AndroidSubscriptionOfferInput DeepLinkOptions DeveloperBillingOptionParamsAndroid Parameters for developer billing option in purchase flow (Android) Used with BillingFlowParams to enable external payments flow Available in Google Play Billing Library 8.3. DiscountOfferInputIOS InitConnectionConfig Connection initialization configuration LaunchExternalLinkParamsAndroid Parameters for launching an external link (Android) Used with launchExternalLink to initiate external offer or app install flows Available in Google Play Billing Library 8.2. ProductRequest PromotionalOfferJWSInputIOS JWS promotional offer input for iOS 15+ (StoreKit 2, WWDC 2025). PurchaseOptions RequestPurchaseAndroidProps RequestPurchaseIosProps Purchase Subscription Request RequestPurchaseProps RequestPurchasePropsByPlatforms Platform-specific purchase request parameters. RequestSubscriptionAndroidProps RequestSubscriptionIosProps RequestSubscriptionPropsByPlatforms Platform-specific subscription request parameters. RequestVerifyPurchaseWithIapkitAppleProps RequestVerifyPurchaseWithIapkitGoogleProps RequestVerifyPurchaseWithIapkitProps Platform-specific verification parameters for IAPKit. SubscriptionProductReplacementParamsAndroid Product-level subscription replacement parameters (Android) Used with setSubscriptionProductReplacementParams in BillingFlowParams.ProductDetailsParams Available in Google Play Billing Library 8.1. VerifyPurchaseAppleOptions Apple App Store verification parameters. VerifyPurchaseGoogleOptions Google Play Store verification parameters. VerifyPurchaseHorizonOptions Meta Horizon (Quest) verification parameters. VerifyPurchaseProps Platform-specific purchase verification parameters. VerifyPurchaseWithProviderProps WinBackOfferInputIOS Win-back offer input for iOS 18+ (StoreKit 2) Win-back offers are used to re-engage churned subscribers. ProductItem ProductSubscriptionItem MutationHandlers QueryHandlers SubscriptionHandlers OpenIapModule Main OpenIapModule implementation for Android OpenIapViewModel Android ViewModel wrapper around OpenIapStore for easy integration OpenIapErrorExtensionsKt -
Interface Summary Interface Description OpenIapProtocol Shared contract implemented by platform-specific OpenIAP billing modules. ProductCommon PurchaseCommon FetchProductsResult RequestPurchaseResult Product ProductOrSubscription ProductSubscription Purchase VerifyPurchaseResult MutationResolver GraphQL root mutation operations. QueryResolver GraphQL root query operations. SubscriptionResolver GraphQL root subscription operations.