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
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. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "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 proposal from an operator to enhance user experience by offering mobile data plans."],["Operators share PlanOffers with GTAF for distribution to user devices."],["PlanOffers contain details like offer name, available offers, expiration time, and payment method."],["Offers within a PlanOffer are defined using the 'Offer' object, and payment details are specified using the 'FormOfPayment' enum."],["GTAF manages the delivery of PlanOffers to applications and respects the specified expiration time."]]],[]]