PlanOffer

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.