Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
RegionalPriceMigrationConfig
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
| JSON 表示法 |
{
"regionCode": string,
"oldestAllowedPriceVersionTime": string,
"priceIncreaseType": enum (PriceIncreaseType)
} |
| 欄位 |
regionCode |
string
必填。這項設定適用的區域代碼,如 ISO 3166-2 所定義,例如「US」。
|
oldestAllowedPriceVersionTime |
string (Timestamp format)
必填。在此之前,所有舊版價格同類群組的訂閱者都會改為目前價格。較新價格同類群組的訂閱者不受影響。受影響的訂閱者會收到 Google Play 傳送的一或多則價格異動通知。價格調降會在訂閱者的下個帳單結算日生效。價格調漲後,訂閱者會在通知期過後下一個帳單結算日開始支付新價格。通知期長度會因地區和價格調漲類型而異。 使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z"、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30"。
|
priceIncreaseType |
enum (PriceIncreaseType)
(選用步驟) 要求的漲價類型
|
PriceIncreaseType
| 列舉 |
PRICE_INCREASE_TYPE_UNSPECIFIED |
未指定狀態。 |
PRICE_INCREASE_TYPE_OPT_IN |
訂閱者必須接受漲價方案,否則系統會取消訂閱。 |
PRICE_INCREASE_TYPE_OPT_OUT |
系統會通知訂閱者,但他們不必接受漲價。如果被動接受型漲價方案不符合地區、頻率和金額限制,系統會改為採用主動接受型漲價方案。每個應用程式的第一個被動接受型漲價方案,都必須在 Google Play 管理中心啟動。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-28 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2026-05-28 (世界標準時間)。"],[],["This document details the configuration for migrating legacy price cohorts. Key elements include: `regionCode`, a required string indicating the region (e.g., \"US\"); `oldestAllowedPriceVersionTime`, a required timestamp specifying which price cohorts will be migrated; and `priceIncreaseType`, an optional enum. The `priceIncreaseType` defines if subscribers must opt-in or can opt-out of the price increase. The timestamp determines which subscribers will have their pricing changed and receive a notification.\n"]]