PlanOffer
Stay organized with collections
Save and categorize content based on your preferences.
A plan offer the operator is interested in extending to the user to improve user experience. An operator can send this offer to GTAF and it is passed on to the applications running on user device.
JSON representation |
{
"name": string,
"offers": [
{
object (Offer )
}
],
"expireTime": string,
"formOfPayment": enum (FormOfPayment )
} |
Fields |
name |
string
LINT.ThenChange(//depot/google3/google/mobile/dataplansharing/v1/mobiledataplansharing_enums.proto) The resource name of the PlanStatus in the following format: operators/{asn_id}/planOffers/{userKey} . The name is ignored when creating a PlanOffer entry.
|
offers[] |
object (Offer )
List of all offers being extended to the user.
|
expireTime |
string (Timestamp format)
Required. The time when this offer expires. GTAF will not share offers with applications once an offer expires. Expire time must be in the future. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
formOfPayment |
enum (FormOfPayment )
Specify how the user will be charged for the offer, if the user clicks buy. E.g., "Deducted from wallet balance." or "Charged against your saved credit card". The string will be displayed as-is to the user when making the purchase.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-03 UTC."],[[["A PlanOffer is a mechanism for operators to extend data plan offers to users, aiming to enhance their experience."],["Operators can submit PlanOffers to GTAF for distribution to relevant user applications."],["These offers have a defined expiration time, after which GTAF ceases to share them."],["PlanOffers encompass details like the offer name, specific data plan offers, expiration time, and the user's payment method."]]],[]]