Details of data plans in the offer being extended to the user.
JSON representation | |
---|---|
{ "planName": string, "planId": string, "planDescription": string, "promoMessage": string, "languageCode": string, "overusagePolicy": enum ( |
Fields | ||
---|---|---|
planName |
Required. A string which identifies the offer to the user. |
|
planId |
Required. A unique string that can be used to uniquely identify the offer and subsequently purchase if the user wishes. |
|
planDescription |
Required. A longer string which describes offer to the user. |
|
promoMessage |
String describing the promotion. |
|
languageCode |
Required. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. |
|
overusagePolicy |
Determines what happens if the user ends up using more than the amount of data that is being offered. Currently supported options are: throttled, blocked, and pay-as-you-go which deducts balance from the user account. |
|
maxRateKbps |
The maximum bandwidth that the plan offers to the user. The information could be shown to the user when the offer is presented. |
|
cost |
Required. Cost of this plan. |
|
duration |
Number of seconds for which the plan is valid once the plan is activated. A duration in seconds with up to nine fractional digits, terminated by ' |
|
offerContext |
Offer context, used in TransactionRequest message. |
|
trafficCategories[] |
List of traffic categories that will be charged against this plan module. |
|
connectionType |
Type of connection extended as part of this offer. |
|
refreshPeriod |
The refresh period of this plan offer, or REFRESH_PERIOD_NONE if the plan does not refresh its quota. Plans that refresh quota will do so once every refresh period. |
|
offerType |
Identify the type of offer. Based on the type of offer, the user experience with the offer purchase can be customized by the client. |
|
Union field quota . Plan quota information, should be one of the following: quota_bytes, quota_minutes. quota can be only one of the following: |
||
quotaBytes |
Package quota in bytes. |
|
quotaMinutes |
Package quota in minutes. |