@revenuecat/purchases-capacitor 10.0.2 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs.json CHANGED
@@ -28,6 +28,61 @@
28
28
  ],
29
29
  "slug": "configure"
30
30
  },
31
+ {
32
+ "name": "parseAsWebPurchaseRedemption",
33
+ "signature": "(options: { urlString: string; }) => Promise<{ webPurchaseRedemption: WebPurchaseRedemption | null; }>",
34
+ "parameters": [
35
+ {
36
+ "name": "options",
37
+ "docs": "Set the urlString used to open the App.",
38
+ "type": "{ urlString: string; }"
39
+ }
40
+ ],
41
+ "returns": "Promise<{ webPurchaseRedemption: WebPurchaseRedemption | null; }>",
42
+ "tags": [
43
+ {
44
+ "name": "param",
45
+ "text": "options Set the urlString used to open the App."
46
+ },
47
+ {
48
+ "name": "returns",
49
+ "text": "A promise of a WebPurchaseRedemption\nobject that can be redeemed using {@link redeemWebPurchase} or null if the link is invalid."
50
+ }
51
+ ],
52
+ "docs": "Parses the given URL string into a [WebPurchaseRedemption] object that can be used to redeem web purchases.",
53
+ "complexTypes": [
54
+ "WebPurchaseRedemption"
55
+ ],
56
+ "slug": "parseaswebpurchaseredemption"
57
+ },
58
+ {
59
+ "name": "redeemWebPurchase",
60
+ "signature": "(options: { webPurchaseRedemption: WebPurchaseRedemption; }) => Promise<WebPurchaseRedemptionResult>",
61
+ "parameters": [
62
+ {
63
+ "name": "options",
64
+ "docs": "The WebPurchaseRedemption object obtained from {@link parseAsWebPurchaseRedemption}.",
65
+ "type": "{ webPurchaseRedemption: WebPurchaseRedemption; }"
66
+ }
67
+ ],
68
+ "returns": "Promise<WebPurchaseRedemptionResult>",
69
+ "tags": [
70
+ {
71
+ "name": "param",
72
+ "text": "options The WebPurchaseRedemption object obtained from {@link parseAsWebPurchaseRedemption}."
73
+ },
74
+ {
75
+ "name": "returns",
76
+ "text": "The result of the redemption process.\nCan throw if an invalid WebPurchaseRedemption parameter is passed or Purchases is not configured."
77
+ }
78
+ ],
79
+ "docs": "Redeems the web purchase associated with the Redemption Link obtained with [parseAsWebPurchaseRedemption].",
80
+ "complexTypes": [
81
+ "WebPurchaseRedemptionResult",
82
+ "WebPurchaseRedemption"
83
+ ],
84
+ "slug": "redeemwebpurchase"
85
+ },
31
86
  {
32
87
  "name": "setMockWebResults",
33
88
  "signature": "(options: { shouldMockWebResults: boolean; }) => Promise<void>",
@@ -1669,6 +1724,15 @@
1669
1724
  "PurchasesStoreTransaction"
1670
1725
  ],
1671
1726
  "type": "PurchasesStoreTransaction[]"
1727
+ },
1728
+ {
1729
+ "name": "subscriptionsByProductIdentifier",
1730
+ "tags": [],
1731
+ "docs": "Information about the customer's subscriptions for each product identifier.",
1732
+ "complexTypes": [
1733
+ "PurchasesSubscriptionInfo"
1734
+ ],
1735
+ "type": "{ [key: string]: PurchasesSubscriptionInfo; }"
1672
1736
  }
1673
1737
  ]
1674
1738
  },
@@ -1747,7 +1811,7 @@
1747
1811
  {
1748
1812
  "name": "periodType",
1749
1813
  "tags": [],
1750
- "docs": "The last period type this entitlement was in. Either: NORMAL, INTRO, TRIAL.",
1814
+ "docs": "The last period type this entitlement was in. Either: NORMAL, INTRO, TRIAL, PREPAID.",
1751
1815
  "complexTypes": [],
1752
1816
  "type": "string"
1753
1817
  },
@@ -1797,8 +1861,10 @@
1797
1861
  "name": "store",
1798
1862
  "tags": [],
1799
1863
  "docs": "The store where this entitlement was unlocked from.",
1800
- "complexTypes": [],
1801
- "type": "'PLAY_STORE' | 'APP_STORE' | 'STRIPE' | 'MAC_APP_STORE' | 'PROMOTIONAL' | 'AMAZON' | 'RC_BILLING' | 'EXTERNAL' | 'UNKNOWN_STORE'"
1864
+ "complexTypes": [
1865
+ "Store"
1866
+ ],
1867
+ "type": "Store"
1802
1868
  },
1803
1869
  {
1804
1870
  "name": "productIdentifier",
@@ -1853,8 +1919,10 @@
1853
1919
  "name": "ownershipType",
1854
1920
  "tags": [],
1855
1921
  "docs": "Supported ownership types for an entitlement.\nPURCHASED if the purchase was made directly by this user.\nFAMILY_SHARED if the purchase has been shared to this user by a family member.\nUNKNOWN if the purchase has no or an unknown ownership type.",
1856
- "complexTypes": [],
1857
- "type": "'FAMILY_SHARED' | 'PURCHASED' | 'UNKNOWN'"
1922
+ "complexTypes": [
1923
+ "OwnershipType"
1924
+ ],
1925
+ "type": "OwnershipType"
1858
1926
  },
1859
1927
  {
1860
1928
  "name": "verification",
@@ -1901,6 +1969,219 @@
1901
1969
  }
1902
1970
  ]
1903
1971
  },
1972
+ {
1973
+ "name": "PurchasesSubscriptionInfo",
1974
+ "slug": "purchasessubscriptioninfo",
1975
+ "docs": "Subscription purchases of the Customer.",
1976
+ "tags": [
1977
+ {
1978
+ "name": "public"
1979
+ }
1980
+ ],
1981
+ "methods": [],
1982
+ "properties": [
1983
+ {
1984
+ "name": "productIdentifier",
1985
+ "tags": [],
1986
+ "docs": "The product identifier.",
1987
+ "complexTypes": [],
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "name": "purchaseDate",
1992
+ "tags": [],
1993
+ "docs": "Date when the last subscription period started.",
1994
+ "complexTypes": [],
1995
+ "type": "string"
1996
+ },
1997
+ {
1998
+ "name": "originalPurchaseDate",
1999
+ "tags": [],
2000
+ "docs": "Date when this subscription first started. This property does not update with renewals.\nThis property also does not update for product changes within a subscription group or\nre-subscriptions by lapsed subscribers.",
2001
+ "complexTypes": [],
2002
+ "type": "string | null"
2003
+ },
2004
+ {
2005
+ "name": "expiresDate",
2006
+ "tags": [],
2007
+ "docs": "Date when the subscription expires/expired",
2008
+ "complexTypes": [],
2009
+ "type": "string | null"
2010
+ },
2011
+ {
2012
+ "name": "store",
2013
+ "tags": [],
2014
+ "docs": "Store where the subscription was purchased.",
2015
+ "complexTypes": [
2016
+ "Store"
2017
+ ],
2018
+ "type": "Store"
2019
+ },
2020
+ {
2021
+ "name": "unsubscribeDetectedAt",
2022
+ "tags": [],
2023
+ "docs": "Date when RevenueCat detected that auto-renewal was turned off for this subscription.\nNote the subscription may still be active, check the `expiresDate` attribute.",
2024
+ "complexTypes": [],
2025
+ "type": "string | null"
2026
+ },
2027
+ {
2028
+ "name": "isSandbox",
2029
+ "tags": [],
2030
+ "docs": "Whether or not the purchase was made in sandbox mode.",
2031
+ "complexTypes": [],
2032
+ "type": "boolean"
2033
+ },
2034
+ {
2035
+ "name": "billingIssuesDetectedAt",
2036
+ "tags": [],
2037
+ "docs": "Date when RevenueCat detected any billing issues with this subscription.\nIf and when the billing issue gets resolved, this field is set to nil.",
2038
+ "complexTypes": [],
2039
+ "type": "string | null"
2040
+ },
2041
+ {
2042
+ "name": "gracePeriodExpiresDate",
2043
+ "tags": [],
2044
+ "docs": "Date when any grace period for this subscription expires/expired.\nnil if the customer has never been in a grace period.",
2045
+ "complexTypes": [],
2046
+ "type": "string | null"
2047
+ },
2048
+ {
2049
+ "name": "ownershipType",
2050
+ "tags": [],
2051
+ "docs": "How the Customer received access to this subscription:\n- [OwnershipType.PURCHASED]: The customer bought the subscription.\n- [OwnershipType.FAMILY_SHARED]: The Customer has access to the product via their family.",
2052
+ "complexTypes": [
2053
+ "OwnershipType"
2054
+ ],
2055
+ "type": "OwnershipType"
2056
+ },
2057
+ {
2058
+ "name": "periodType",
2059
+ "tags": [],
2060
+ "docs": "Type of the current subscription period:\n- [PeriodType.NORMAL]: The product is in a normal period (default)\n- [PeriodType.TRIAL]: The product is in a free trial period\n- [PeriodType.INTRO]: The product is in an introductory pricing period\n- [PeriodType.PREPAID]: The product is in a prepaid pricing period",
2061
+ "complexTypes": [
2062
+ "PeriodType"
2063
+ ],
2064
+ "type": "PeriodType"
2065
+ },
2066
+ {
2067
+ "name": "refundedAt",
2068
+ "tags": [],
2069
+ "docs": "Date when RevenueCat detected a refund of this subscription.",
2070
+ "complexTypes": [],
2071
+ "type": "string | null"
2072
+ },
2073
+ {
2074
+ "name": "storeTransactionId",
2075
+ "tags": [],
2076
+ "docs": "The transaction id in the store of the subscription.",
2077
+ "complexTypes": [],
2078
+ "type": "string | null"
2079
+ },
2080
+ {
2081
+ "name": "isActive",
2082
+ "tags": [],
2083
+ "docs": "Whether the subscription is currently active.",
2084
+ "complexTypes": [],
2085
+ "type": "boolean"
2086
+ },
2087
+ {
2088
+ "name": "willRenew",
2089
+ "tags": [],
2090
+ "docs": "Whether the subscription will renew at the next billing period.",
2091
+ "complexTypes": [],
2092
+ "type": "boolean"
2093
+ }
2094
+ ]
2095
+ },
2096
+ {
2097
+ "name": "PurchasesError",
2098
+ "slug": "purchaseserror",
2099
+ "docs": "Type encapsulating an error in an SDK operation.",
2100
+ "tags": [
2101
+ {
2102
+ "name": "public"
2103
+ }
2104
+ ],
2105
+ "methods": [],
2106
+ "properties": [
2107
+ {
2108
+ "name": "code",
2109
+ "tags": [],
2110
+ "docs": "",
2111
+ "complexTypes": [
2112
+ "PURCHASES_ERROR_CODE"
2113
+ ],
2114
+ "type": "PURCHASES_ERROR_CODE"
2115
+ },
2116
+ {
2117
+ "name": "message",
2118
+ "tags": [],
2119
+ "docs": "",
2120
+ "complexTypes": [],
2121
+ "type": "string"
2122
+ },
2123
+ {
2124
+ "name": "readableErrorCode",
2125
+ "tags": [
2126
+ {
2127
+ "text": "access readableErrorCode through userInfo.readableErrorCode",
2128
+ "name": "deprecated"
2129
+ }
2130
+ ],
2131
+ "docs": "",
2132
+ "complexTypes": [],
2133
+ "type": "string"
2134
+ },
2135
+ {
2136
+ "name": "userInfo",
2137
+ "tags": [],
2138
+ "docs": "",
2139
+ "complexTypes": [
2140
+ "ErrorInfo"
2141
+ ],
2142
+ "type": "ErrorInfo"
2143
+ },
2144
+ {
2145
+ "name": "underlyingErrorMessage",
2146
+ "tags": [],
2147
+ "docs": "",
2148
+ "complexTypes": [],
2149
+ "type": "string"
2150
+ },
2151
+ {
2152
+ "name": "userCancelled",
2153
+ "tags": [
2154
+ {
2155
+ "text": "use code === Purchases.PURCHASES_ERROR_CODE.PURCHASE_CANCELLED_ERROR instead",
2156
+ "name": "deprecated"
2157
+ }
2158
+ ],
2159
+ "docs": "",
2160
+ "complexTypes": [],
2161
+ "type": "boolean | null"
2162
+ }
2163
+ ]
2164
+ },
2165
+ {
2166
+ "name": "ErrorInfo",
2167
+ "slug": "errorinfo",
2168
+ "docs": "Type encapsulating extra info on an error in an SDK operation.",
2169
+ "tags": [
2170
+ {
2171
+ "name": "public"
2172
+ }
2173
+ ],
2174
+ "methods": [],
2175
+ "properties": [
2176
+ {
2177
+ "name": "readableErrorCode",
2178
+ "tags": [],
2179
+ "docs": "",
2180
+ "complexTypes": [],
2181
+ "type": "string"
2182
+ }
2183
+ ]
2184
+ },
1904
2185
  {
1905
2186
  "name": "PurchasesOfferings",
1906
2187
  "slug": "purchasesofferings",
@@ -3290,6 +3571,42 @@
3290
3571
  }
3291
3572
  ]
3292
3573
  },
3574
+ {
3575
+ "name": "WebPurchaseRedemptionResultType",
3576
+ "slug": "webpurchaseredemptionresulttype",
3577
+ "members": [
3578
+ {
3579
+ "name": "SUCCESS",
3580
+ "value": "\"SUCCESS\"",
3581
+ "tags": [],
3582
+ "docs": "The redemption was successful."
3583
+ },
3584
+ {
3585
+ "name": "ERROR",
3586
+ "value": "\"ERROR\"",
3587
+ "tags": [],
3588
+ "docs": "The redemption failed."
3589
+ },
3590
+ {
3591
+ "name": "PURCHASE_BELONGS_TO_OTHER_USER",
3592
+ "value": "\"PURCHASE_BELONGS_TO_OTHER_USER\"",
3593
+ "tags": [],
3594
+ "docs": "The purchase associated to the link belongs to another user."
3595
+ },
3596
+ {
3597
+ "name": "INVALID_TOKEN",
3598
+ "value": "\"INVALID_TOKEN\"",
3599
+ "tags": [],
3600
+ "docs": "The token is invalid."
3601
+ },
3602
+ {
3603
+ "name": "EXPIRED",
3604
+ "value": "\"EXPIRED\"",
3605
+ "tags": [],
3606
+ "docs": "The token has expired. A new Redemption Link will be sent to the email used during purchase."
3607
+ }
3608
+ ]
3609
+ },
3293
3610
  {
3294
3611
  "name": "VERIFICATION_RESULT",
3295
3612
  "slug": "verification_result",
@@ -3320,6 +3637,222 @@
3320
3637
  }
3321
3638
  ]
3322
3639
  },
3640
+ {
3641
+ "name": "PURCHASES_ERROR_CODE",
3642
+ "slug": "purchases_error_code",
3643
+ "members": [
3644
+ {
3645
+ "name": "UNKNOWN_ERROR",
3646
+ "value": "\"0\"",
3647
+ "tags": [],
3648
+ "docs": ""
3649
+ },
3650
+ {
3651
+ "name": "PURCHASE_CANCELLED_ERROR",
3652
+ "value": "\"1\"",
3653
+ "tags": [],
3654
+ "docs": ""
3655
+ },
3656
+ {
3657
+ "name": "STORE_PROBLEM_ERROR",
3658
+ "value": "\"2\"",
3659
+ "tags": [],
3660
+ "docs": ""
3661
+ },
3662
+ {
3663
+ "name": "PURCHASE_NOT_ALLOWED_ERROR",
3664
+ "value": "\"3\"",
3665
+ "tags": [],
3666
+ "docs": ""
3667
+ },
3668
+ {
3669
+ "name": "PURCHASE_INVALID_ERROR",
3670
+ "value": "\"4\"",
3671
+ "tags": [],
3672
+ "docs": ""
3673
+ },
3674
+ {
3675
+ "name": "PRODUCT_NOT_AVAILABLE_FOR_PURCHASE_ERROR",
3676
+ "value": "\"5\"",
3677
+ "tags": [],
3678
+ "docs": ""
3679
+ },
3680
+ {
3681
+ "name": "PRODUCT_ALREADY_PURCHASED_ERROR",
3682
+ "value": "\"6\"",
3683
+ "tags": [],
3684
+ "docs": ""
3685
+ },
3686
+ {
3687
+ "name": "RECEIPT_ALREADY_IN_USE_ERROR",
3688
+ "value": "\"7\"",
3689
+ "tags": [],
3690
+ "docs": ""
3691
+ },
3692
+ {
3693
+ "name": "INVALID_RECEIPT_ERROR",
3694
+ "value": "\"8\"",
3695
+ "tags": [],
3696
+ "docs": ""
3697
+ },
3698
+ {
3699
+ "name": "MISSING_RECEIPT_FILE_ERROR",
3700
+ "value": "\"9\"",
3701
+ "tags": [],
3702
+ "docs": ""
3703
+ },
3704
+ {
3705
+ "name": "NETWORK_ERROR",
3706
+ "value": "\"10\"",
3707
+ "tags": [],
3708
+ "docs": ""
3709
+ },
3710
+ {
3711
+ "name": "INVALID_CREDENTIALS_ERROR",
3712
+ "value": "\"11\"",
3713
+ "tags": [],
3714
+ "docs": ""
3715
+ },
3716
+ {
3717
+ "name": "UNEXPECTED_BACKEND_RESPONSE_ERROR",
3718
+ "value": "\"12\"",
3719
+ "tags": [],
3720
+ "docs": ""
3721
+ },
3722
+ {
3723
+ "name": "RECEIPT_IN_USE_BY_OTHER_SUBSCRIBER_ERROR",
3724
+ "value": "\"13\"",
3725
+ "tags": [],
3726
+ "docs": ""
3727
+ },
3728
+ {
3729
+ "name": "INVALID_APP_USER_ID_ERROR",
3730
+ "value": "\"14\"",
3731
+ "tags": [],
3732
+ "docs": ""
3733
+ },
3734
+ {
3735
+ "name": "OPERATION_ALREADY_IN_PROGRESS_ERROR",
3736
+ "value": "\"15\"",
3737
+ "tags": [],
3738
+ "docs": ""
3739
+ },
3740
+ {
3741
+ "name": "UNKNOWN_BACKEND_ERROR",
3742
+ "value": "\"16\"",
3743
+ "tags": [],
3744
+ "docs": ""
3745
+ },
3746
+ {
3747
+ "name": "INVALID_APPLE_SUBSCRIPTION_KEY_ERROR",
3748
+ "value": "\"17\"",
3749
+ "tags": [],
3750
+ "docs": ""
3751
+ },
3752
+ {
3753
+ "name": "INELIGIBLE_ERROR",
3754
+ "value": "\"18\"",
3755
+ "tags": [],
3756
+ "docs": ""
3757
+ },
3758
+ {
3759
+ "name": "INSUFFICIENT_PERMISSIONS_ERROR",
3760
+ "value": "\"19\"",
3761
+ "tags": [],
3762
+ "docs": ""
3763
+ },
3764
+ {
3765
+ "name": "PAYMENT_PENDING_ERROR",
3766
+ "value": "\"20\"",
3767
+ "tags": [],
3768
+ "docs": ""
3769
+ },
3770
+ {
3771
+ "name": "INVALID_SUBSCRIBER_ATTRIBUTES_ERROR",
3772
+ "value": "\"21\"",
3773
+ "tags": [],
3774
+ "docs": ""
3775
+ },
3776
+ {
3777
+ "name": "LOG_OUT_ANONYMOUS_USER_ERROR",
3778
+ "value": "\"22\"",
3779
+ "tags": [],
3780
+ "docs": ""
3781
+ },
3782
+ {
3783
+ "name": "CONFIGURATION_ERROR",
3784
+ "value": "\"23\"",
3785
+ "tags": [],
3786
+ "docs": ""
3787
+ },
3788
+ {
3789
+ "name": "UNSUPPORTED_ERROR",
3790
+ "value": "\"24\"",
3791
+ "tags": [],
3792
+ "docs": ""
3793
+ },
3794
+ {
3795
+ "name": "EMPTY_SUBSCRIBER_ATTRIBUTES_ERROR",
3796
+ "value": "\"25\"",
3797
+ "tags": [],
3798
+ "docs": ""
3799
+ },
3800
+ {
3801
+ "name": "PRODUCT_DISCOUNT_MISSING_IDENTIFIER_ERROR",
3802
+ "value": "\"26\"",
3803
+ "tags": [],
3804
+ "docs": ""
3805
+ },
3806
+ {
3807
+ "name": "PRODUCT_DISCOUNT_MISSING_SUBSCRIPTION_GROUP_IDENTIFIER_ERROR",
3808
+ "value": "\"28\"",
3809
+ "tags": [],
3810
+ "docs": ""
3811
+ },
3812
+ {
3813
+ "name": "CUSTOMER_INFO_ERROR",
3814
+ "value": "\"29\"",
3815
+ "tags": [],
3816
+ "docs": ""
3817
+ },
3818
+ {
3819
+ "name": "SYSTEM_INFO_ERROR",
3820
+ "value": "\"30\"",
3821
+ "tags": [],
3822
+ "docs": ""
3823
+ },
3824
+ {
3825
+ "name": "BEGIN_REFUND_REQUEST_ERROR",
3826
+ "value": "\"31\"",
3827
+ "tags": [],
3828
+ "docs": ""
3829
+ },
3830
+ {
3831
+ "name": "PRODUCT_REQUEST_TIMED_OUT_ERROR",
3832
+ "value": "\"32\"",
3833
+ "tags": [],
3834
+ "docs": ""
3835
+ },
3836
+ {
3837
+ "name": "API_ENDPOINT_BLOCKED",
3838
+ "value": "\"33\"",
3839
+ "tags": [],
3840
+ "docs": ""
3841
+ },
3842
+ {
3843
+ "name": "INVALID_PROMOTIONAL_OFFER_ERROR",
3844
+ "value": "\"34\"",
3845
+ "tags": [],
3846
+ "docs": ""
3847
+ },
3848
+ {
3849
+ "name": "OFFLINE_CONNECTION_ERROR",
3850
+ "value": "\"35\"",
3851
+ "tags": [],
3852
+ "docs": ""
3853
+ }
3854
+ ]
3855
+ },
3323
3856
  {
3324
3857
  "name": "PACKAGE_TYPE",
3325
3858
  "slug": "package_type",
@@ -3763,6 +4296,141 @@
3763
4296
  }
3764
4297
  ]
3765
4298
  },
4299
+ {
4300
+ "name": "WebPurchaseRedemption",
4301
+ "slug": "webpurchaseredemption",
4302
+ "docs": "An object containing the redemption link to be redeemed.",
4303
+ "types": [
4304
+ {
4305
+ "text": "{\n /**\n * The redemption link to be redeemed.\n */\n redemptionLink: string;\n}",
4306
+ "complexTypes": []
4307
+ }
4308
+ ]
4309
+ },
4310
+ {
4311
+ "name": "WebPurchaseRedemptionResult",
4312
+ "slug": "webpurchaseredemptionresult",
4313
+ "docs": "The result of a redemption attempt.",
4314
+ "types": [
4315
+ {
4316
+ "text": "{\n result: WebPurchaseRedemptionResultType.SUCCESS;\n customerInfo: CustomerInfo;\n}",
4317
+ "complexTypes": [
4318
+ "WebPurchaseRedemptionResultType",
4319
+ "CustomerInfo"
4320
+ ]
4321
+ },
4322
+ {
4323
+ "text": "{\n result: WebPurchaseRedemptionResultType.ERROR;\n error: PurchasesError;\n}",
4324
+ "complexTypes": [
4325
+ "WebPurchaseRedemptionResultType",
4326
+ "PurchasesError"
4327
+ ]
4328
+ },
4329
+ {
4330
+ "text": "{\n result: WebPurchaseRedemptionResultType.PURCHASE_BELONGS_TO_OTHER_USER;\n}",
4331
+ "complexTypes": [
4332
+ "WebPurchaseRedemptionResultType"
4333
+ ]
4334
+ },
4335
+ {
4336
+ "text": "{\n result: WebPurchaseRedemptionResultType.INVALID_TOKEN;\n}",
4337
+ "complexTypes": [
4338
+ "WebPurchaseRedemptionResultType"
4339
+ ]
4340
+ },
4341
+ {
4342
+ "text": "{\n result: WebPurchaseRedemptionResultType.EXPIRED;\n obfuscatedEmail: string;\n}",
4343
+ "complexTypes": [
4344
+ "WebPurchaseRedemptionResultType"
4345
+ ]
4346
+ }
4347
+ ]
4348
+ },
4349
+ {
4350
+ "name": "Store",
4351
+ "slug": "store",
4352
+ "docs": "The supported stores for purchases.",
4353
+ "types": [
4354
+ {
4355
+ "text": "\"PLAY_STORE\"",
4356
+ "complexTypes": []
4357
+ },
4358
+ {
4359
+ "text": "\"APP_STORE\"",
4360
+ "complexTypes": []
4361
+ },
4362
+ {
4363
+ "text": "\"STRIPE\"",
4364
+ "complexTypes": []
4365
+ },
4366
+ {
4367
+ "text": "\"MAC_APP_STORE\"",
4368
+ "complexTypes": []
4369
+ },
4370
+ {
4371
+ "text": "\"PROMOTIONAL\"",
4372
+ "complexTypes": []
4373
+ },
4374
+ {
4375
+ "text": "\"AMAZON\"",
4376
+ "complexTypes": []
4377
+ },
4378
+ {
4379
+ "text": "\"RC_BILLING\"",
4380
+ "complexTypes": []
4381
+ },
4382
+ {
4383
+ "text": "\"EXTERNAL\"",
4384
+ "complexTypes": []
4385
+ },
4386
+ {
4387
+ "text": "\"UNKNOWN_STORE\"",
4388
+ "complexTypes": []
4389
+ }
4390
+ ]
4391
+ },
4392
+ {
4393
+ "name": "OwnershipType",
4394
+ "slug": "ownershiptype",
4395
+ "docs": "The supported ownership types for an entitlement.",
4396
+ "types": [
4397
+ {
4398
+ "text": "\"PURCHASED\"",
4399
+ "complexTypes": []
4400
+ },
4401
+ {
4402
+ "text": "\"FAMILY_SHARED\"",
4403
+ "complexTypes": []
4404
+ },
4405
+ {
4406
+ "text": "\"UNKNOWN\"",
4407
+ "complexTypes": []
4408
+ }
4409
+ ]
4410
+ },
4411
+ {
4412
+ "name": "PeriodType",
4413
+ "slug": "periodtype",
4414
+ "docs": "The supported period types for an entitlement.",
4415
+ "types": [
4416
+ {
4417
+ "text": "\"NORMAL\"",
4418
+ "complexTypes": []
4419
+ },
4420
+ {
4421
+ "text": "\"INTRO\"",
4422
+ "complexTypes": []
4423
+ },
4424
+ {
4425
+ "text": "\"TRIAL\"",
4426
+ "complexTypes": []
4427
+ },
4428
+ {
4429
+ "text": "\"PREPAID\"",
4430
+ "complexTypes": []
4431
+ }
4432
+ ]
4433
+ },
3766
4434
  {
3767
4435
  "name": "CustomerInfoUpdateListener",
3768
4436
  "slug": "customerinfoupdatelistener",