Class Modification (0.1.8)

Modification(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Modifications to make on the order.

Attributes

Name Description
line_item_id str
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].
change_type google.cloud.commerce_consumer_procurement_v1.types.LineItemChangeType
Required. Type of change to make.
new_line_item_info google.cloud.commerce_consumer_procurement_v1.types.LineItemInfo
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].
auto_renewal_behavior google.cloud.commerce_consumer_procurement_v1.types.AutoRenewalBehavior
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.