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.
Modifications to make on the order.
Implements
IMessageModifyOrderRequestTypesModification, IEquatableModifyOrderRequestTypesModification, IDeepCloneableModifyOrderRequestTypesModification, IBufferMessage, IMessageNamespace
Google.Cloud.Commerce.Consumer.Procurement.V1Assembly
Google.Cloud.Commerce.Consumer.Procurement.V1.dll
Constructors
Modification()
public Modification()
Modification(Modification)
public Modification(ModifyOrderRequest.Types.Modification other)
Parameter | |
---|---|
Name | Description |
other |
ModifyOrderRequestTypesModification |
Properties
AutoRenewalBehavior
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.
Property Value | |
---|---|
Type | Description |
AutoRenewalBehavior |
ChangeType
public LineItemChangeType ChangeType { get; set; }
Required. Type of change to make.
Property Value | |
---|---|
Type | Description |
LineItemChangeType |
LineItemId
public string LineItemId { get; set; }
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].
Property Value | |
---|---|
Type | Description |
string |
NewLineItemInfo
public LineItemInfo NewLineItemInfo { get; set; }
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].
Property Value | |
---|---|
Type | Description |
LineItemInfo |