class Google::Apis::ContentV2::MerchantOrderReturn
Order
return. Production access (all methods) requires the order manager role. Sandbox access does not.
Attributes
creation_date[RW]
The date of creation of the return, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
merchant_order_id[RW]
Merchant defined order ID. Corresponds to the JSON property `merchantOrderId` @return [String]
order_id[RW]
Google
order ID. Corresponds to the JSON property `orderId` @return [String]
order_return_id[RW]
return_items[RW]
Items of the return. Corresponds to the JSON property `returnItems` @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
return_shipments[RW]
Shipments of the return. Corresponds to the JSON property `returnShipments` @return [Array<Google::Apis::ContentV2::ReturnShipment>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 4043 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 4048 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_shipments = args[:return_shipments] if args.key?(:return_shipments) end