Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification.
Modifications to make on the order.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_renewal_behavior
def auto_renewal_behavior() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AutoRenewalBehavior
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::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.
#auto_renewal_behavior=
def auto_renewal_behavior=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AutoRenewalBehavior
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::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.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::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.
#change_type
def change_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of change to make.
#change_type=
def change_type=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of change to make.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemChangeType) — Required. Type of change to make.
#line_item_id
def line_item_id() -> ::String
Returns
- (::String) — 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].
#line_item_id=
def line_item_id=(value) -> ::String
Parameter
- value (::String) — 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].
Returns
- (::String) — 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].
#new_line_item_info
def new_line_item_info() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::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].
#new_line_item_info=
def new_line_item_info=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::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].
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::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].