public sealed class PricePhase : IMessage<PricePhase>, IEquatable<PricePhase>, IDeepCloneable<PricePhase>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class PricePhase.
Specifies the price by the duration of months.
For example, a 20% discount for the first six months, then a 10% discount
starting on the seventh month.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePricePhase\u003c/code\u003e class in the Google Cloud Channel v1 API defines pricing for a specific duration, allowing for tiered or period-based discounts.\u003c/p\u003e\n"],["\u003cp\u003eThis API class, which is part of the \u003ccode\u003eGoogle.Cloud.Channel.V1\u003c/code\u003e namespace, supports several versions, with the latest being 2.14.0 and the page's current version set at 2.8.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePricePhase\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, providing methods for working with price phases, including managing the first and last periods, the period type, and price tiers.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows you to set the \u003ccode\u003eFirstPeriod\u003c/code\u003e, \u003ccode\u003eLastPeriod\u003c/code\u003e, \u003ccode\u003ePeriodType\u003c/code\u003e, and \u003ccode\u003ePrice\u003c/code\u003e properties, as well as manage \u003ccode\u003ePriceTiers\u003c/code\u003e using the \u003ccode\u003eRepeatedField<PriceTier>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]