class Google::Apis::ContentV2_1::MerchantOrderReturn
Order
return. Production access (all methods) requires the order manager role. Sandbox access does not.
Attributes
The date of creation of the return, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
Merchant defined order ID. Corresponds to the JSON property `merchantOrderId` @return [String]
Google
order ID. Corresponds to the JSON property `orderId` @return [String]
Items of the return. Corresponds to the JSON property `returnItems` @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>]
Information about shipping costs. Corresponds to the JSON property `returnPricingInfo` @return [Google::Apis::ContentV2_1::ReturnPricingInfo]
Shipments of the return. Corresponds to the JSON property `returnShipments` @return [Array<Google::Apis::ContentV2_1::ReturnShipment>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 4836 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 4841 def update!(**args) @creation_date = args[:creation_date] if args.key?(:creation_date) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @order_id = args[:order_id] if args.key?(:order_id) @order_return_id = args[:order_return_id] if args.key?(:order_return_id) @return_items = args[:return_items] if args.key?(:return_items) @return_pricing_info = args[:return_pricing_info] if args.key?(:return_pricing_info) @return_shipments = args[:return_shipments] if args.key?(:return_shipments) end