class Google::Apis::ContentV2::MerchantOrderReturnItem
Attributes
The reason that the customer chooses to return an item. Corresponds to the JSON property `customerReturnReason` @return [Google::Apis::ContentV2::CustomerReturnReason]
Product
level item ID. If the returned items are of the same product, they will have the same ID. Corresponds to the JSON property `itemId` @return [String]
The reason that merchant chooses to accept a return item. Corresponds to the JSON property `merchantReturnReason` @return [Google::Apis::ContentV2::RefundReason]
Product
data from the time of the order placement. Corresponds to the JSON property `product` @return [Google::Apis::ContentV2::OrderLineItemProduct]
IDs of the return shipments that this return item belongs to. Corresponds to the JSON property `returnShipmentIds` @return [Array<String>]
State of the item. Acceptable values are: - “`canceled`” - “`new`” - “` received`” - “`refunded`” - “`rejected`” Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 4094 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 4099 def update!(**args) @customer_return_reason = args[:customer_return_reason] if args.key?(:customer_return_reason) @item_id = args[:item_id] if args.key?(:item_id) @merchant_return_reason = args[:merchant_return_reason] if args.key?(:merchant_return_reason) @product = args[:product] if args.key?(:product) @return_shipment_ids = args[:return_shipment_ids] if args.key?(:return_shipment_ids) @state = args[:state] if args.key?(:state) end