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 specifies pricing details, such as discounts, over a certain duration of months, and is currently at version 2.14.0, with documentation available for versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePricePhase\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePricePhase\u003c/code\u003e class has constructors for creating a new instance and copying another instance, and includes properties like \u003ccode\u003eFirstPeriod\u003c/code\u003e, \u003ccode\u003eLastPeriod\u003c/code\u003e, \u003ccode\u003ePeriodType\u003c/code\u003e, \u003ccode\u003ePrice\u003c/code\u003e, and \u003ccode\u003ePriceTiers\u003c/code\u003e to define pricing phases and their characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePeriodType\u003c/code\u003e property in \u003ccode\u003ePricePhase\u003c/code\u003e defines the phase period type, while \u003ccode\u003ePrice\u003c/code\u003e represents the price of the phase, and \u003ccode\u003ePriceTiers\u003c/code\u003e represent price tiers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePricePhase\u003c/code\u003e class is part of the Google.Cloud.Channel.V1 namespace and is within the Google.Cloud.Channel.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class PricePhase (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.PricePhase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.PricePhase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.PricePhase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.PricePhase) \n\n public sealed class PricePhase : IMessage\u003cPricePhase\u003e, IEquatable\u003cPricePhase\u003e, IDeepCloneable\u003cPricePhase\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class PricePhase.\n\nSpecifies the price by the duration of months.\nFor example, a 20% discount for the first six months, then a 10% discount\nstarting on the seventh month. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PricePhase \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PricePhase](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.PricePhase), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PricePhase](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.PricePhase), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PricePhase](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.PricePhase), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Channel.V1](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Channel.V1.dll\n\nConstructors\n------------\n\n### PricePhase()\n\n public PricePhase()\n\n### PricePhase(PricePhase)\n\n public PricePhase(PricePhase other)\n\nProperties\n----------\n\n### FirstPeriod\n\n public int FirstPeriod { get; set; }\n\nDefines first period for the phase.\n\n### LastPeriod\n\n public int LastPeriod { get; set; }\n\nDefines first period for the phase.\n\n### PeriodType\n\n public PeriodType PeriodType { get; set; }\n\nDefines the phase period type.\n\n### Price\n\n public Price Price { get; set; }\n\nPrice of the phase. Present if there are no price tiers.\n\n### PriceTiers\n\n public RepeatedField\u003cPriceTier\u003e PriceTiers { get; }\n\nPrice by the resource tiers."]]