PlanOffer
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
業者想為使用者提供方案,持續向使用者提供更完善的體驗。業者可以將此優惠傳送至 GTAF,並將該優惠傳遞至使用者裝置上執行的應用程式。
JSON 表示法 |
{
"name": string,
"offers": [
{
object (Offer )
}
],
"expireTime": string,
"formOfPayment": enum (FormOfPayment )
} |
欄位 |
name |
string
LINT.ThenChange(//depot/google3/google/mobile/dataplansharing/v1/mobiledataplansharing_enums.proto) PlanStatus 的資源名稱,格式如下:operators/{asn_id}/planOffers/{userKey} 。建立 PlanOffer 項目時,系統會忽略名稱。
|
offers[] |
object (Offer )
已擴充給使用者的所有優惠清單。
|
expireTime |
string (Timestamp format)
必要,這項優惠的到期時間。優惠到期後,GTAF 就不會與應用程式分享優惠。到期時間必須在未來。 RFC3339 UTC 的「Zulu」格式時間戳記,單位為奈秒解析度,最多可達九位數。範例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
formOfPayment |
enum (FormOfPayment )
指定使用者點擊優惠時要支付的費用。例如:& 從電子錢包餘額扣款。」或「根據已儲存的信用卡扣款」。購買交易時,系統會依原樣顯示字串,
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-09-26 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2022-09-26 (世界標準時間)。"],[[["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."]]],[]]