public sealed class ModifyOrderRequest.Types.Modification : IMessage<ModifyOrderRequest.Types.Modification>, IEquatable<ModifyOrderRequest.Types.Modification>, IDeepCloneable<ModifyOrderRequest.Types.Modification>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class ModifyOrderRequest.Types.Modification.
public AutoRenewalBehavior AutoRenewalBehavior { get; set; }
Optional. Auto renewal behavior of the subscription for the update.
Applied when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE]. Follows plan default
config when this field is not specified.
Required. ID of the existing line item to make change to.
Required when change type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL].
Optional. The line item to update to.
Required when change_type is
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE] or
[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eModifyOrderRequest.Types.Modification\u003c/code\u003e class is 1.4.0, which is part of the Cloud Commerce Consumer Procurement v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used for defining modifications to an order and implements interfaces such as \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\u003eKey properties include \u003ccode\u003eChangeType\u003c/code\u003e to specify the type of change, \u003ccode\u003eLineItemId\u003c/code\u003e for identifying the line item to modify, \u003ccode\u003eNewLineItemInfo\u003c/code\u003e for specifying new line item details, and \u003ccode\u003eAutoRenewalBehavior\u003c/code\u003e for managing subscription renewal.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors to create a new \u003ccode\u003eModification\u003c/code\u003e object, either empty or based on another existing \u003ccode\u003eModification\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModifyOrderRequest.Types.Modification\u003c/code\u003e is used to represent modifications to make on the order.\u003c/p\u003e\n"]]],[],null,["# Cloud Commerce Consumer Procurement v1 API - Class ModifyOrderRequest.Types.Modification (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification) \n\n public sealed class ModifyOrderRequest.Types.Modification : IMessage\u003cModifyOrderRequest.Types.Modification\u003e, IEquatable\u003cModifyOrderRequest.Types.Modification\u003e, IDeepCloneable\u003cModifyOrderRequest.Types.Modification\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class ModifyOrderRequest.Types.Modification.\n\nModifications to make on the order. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ModifyOrderRequest.Types.Modification \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ModifyOrderRequest](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types)[Modification](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ModifyOrderRequest](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types)[Modification](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ModifyOrderRequest](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest)[Types](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types)[Modification](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.ModifyOrderRequest.Types.Modification), [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.Commerce.Consumer.Procurement.V1](/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Commerce.Consumer.Procurement.V1.dll\n\nConstructors\n------------\n\n### Modification()\n\n public Modification()\n\n### Modification(Modification)\n\n public Modification(ModifyOrderRequest.Types.Modification other)\n\nProperties\n----------\n\n### AutoRenewalBehavior\n\n public AutoRenewalBehavior AutoRenewalBehavior { get; set; }\n\nOptional. Auto renewal behavior of the subscription for the update.\nApplied when change_type is\n\\[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE\\]. Follows plan default\nconfig when this field is not specified.\n\n### ChangeType\n\n public LineItemChangeType ChangeType { get; set; }\n\nRequired. Type of change to make.\n\n### LineItemId\n\n public string LineItemId { get; set; }\n\nRequired. ID of the existing line item to make change to.\nRequired when change type is\n\\[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE\\] or\n\\[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CANCEL\\].\n\n### NewLineItemInfo\n\n public LineItemInfo NewLineItemInfo { get; set; }\n\nOptional. The line item to update to.\nRequired when change_type is\n\\[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_CREATE\\] or\n\\[LineItemChangeType.LINE_ITEM_CHANGE_TYPE_UPDATE\\]."]]