Android · Schema
SubscriptionOffer
A subscription offer represents special pricing for a subscription, such as a free trial or introductory price.
AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearables
Properties
| Name | Type | Description |
|---|---|---|
| packageName | string | The package name of the parent app. |
| productId | string | The product ID of the parent subscription. |
| basePlanId | string | The base plan ID the offer is associated with. |
| offerId | string | The unique identifier for this offer. |
| state | string | The current state of the offer. |
| phases | array | The pricing phases for this offer. Each phase defines a pricing period with its own duration and price. |
| targeting | object | Targeting rules for the offer. |
| regionalConfigs | array | Regional configuration for this offer. |
| offerTags | array | Custom tags for this offer. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SubscriptionOffer",
"type": "object",
"description": "A subscription offer represents special pricing for a subscription, such as a free trial or introductory price.",
"properties": {
"packageName": {
"type": "string",
"description": "The package name of the parent app."
},
"productId": {
"type": "string",
"description": "The product ID of the parent subscription."
},
"basePlanId": {
"type": "string",
"description": "The base plan ID the offer is associated with."
},
"offerId": {
"type": "string",
"description": "The unique identifier for this offer."
},
"state": {
"type": "string",
"description": "The current state of the offer."
},
"phases": {
"type": "array",
"description": "The pricing phases for this offer. Each phase defines a pricing period with its own duration and price."
},
"targeting": {
"type": "object",
"description": "Targeting rules for the offer."
},
"regionalConfigs": {
"type": "array",
"description": "Regional configuration for this offer."
},
"offerTags": {
"type": "array",
"description": "Custom tags for this offer."
}
}
}