Messageniantic.platform.iap
InAppPurchaseSubscriptionInfo
| No. | Field | Type | Tag |
|---|---|---|---|
| 1 | subscription_id | string | 0a |
| 2 | state | InAppPurchaseSubscriptionInfo.State | 10 |
| 3 | sku_id | string | 1a |
| 4 | native_store_vendor | InAppPurchaseSubscriptionInfo.NativeStoreVendor | 20 |
| 5 | purchase_period | repeatedInAppPurchaseSubscriptionInfo.PurchasePeriod | 2a |
| 6 | last_notification_time_ms | int64 | 30 |
| 7 | payment_state | InAppPurchaseSubscriptionInfo.PaymentState | 38 |
| 8 | lookup_id | string | 42 |
| 9 | tiered_sub_price | map<string, SkuStorePrice> | 4a |
Nested types
Used in (1)
- GetActiveSubscriptionsResponseProto.subscription
.proto source
// niantic_platform_iap.proto · package niantic.platform.iap message InAppPurchaseSubscriptionInfo { string subscription_id = 1; State state = 2; string sku_id = 3; NativeStoreVendor native_store_vendor = 4; repeated PurchasePeriod purchase_period = 5; int64 last_notification_time_ms = 6; PaymentState payment_state = 7; string lookup_id = 8; map<string, SkuStorePrice> tiered_sub_price = 9; enum NativeStoreVendor { NATIVE_STORE_VENDOR_UNKNOWN_STORE = 0; NATIVE_STORE_VENDOR_GOOGLE = 1; NATIVE_STORE_VENDOR_APPLE = 2; NATIVE_STORE_VENDOR_DESKTOP = 3; NATIVE_STORE_VENDOR_XSOLLA = 4; NATIVE_STORE_VENDOR_SOFTBANK = 5; NATIVE_STORE_VENDOR_FASTSPRING = 6; } enum PaymentState { PAYMENT_STATE_UNKNOWN_STATE = 0; PAYMENT_STATE_SUCCESS = 1; PAYMENT_STATE_BILLING_ISSUE = 2; } message PurchasePeriod { int64 subscription_end_time_ms = 1; int64 receipt_timestamp_ms = 2; string receipt = 3; SkuStorePrice store_price = 4; string country_code = 5; string sku_id = 7; } enum State { STATE_UNKNOWN = 0; STATE_ACTIVE = 1; STATE_CANCELLED = 2; STATE_EXPIRED = 3; STATE_GRACE_PERIOD = 4; STATE_FREE_TRIAL = 5; STATE_PENDING_PURCHASE = 6; STATE_REVOKED = 7; STATE_ON_HOLD = 8; STATE_OFFER_PERIOD = 9; } }