class Google::Apis::ContentV2_1::OrderreturnsReturnItem

Attributes

refund[RW]

Refunds the item. Corresponds to the JSON property `refund` @return [Google::Apis::ContentV2_1::OrderreturnsRefundOperation]

reject[RW]

Rejects the item. Corresponds to the JSON property `reject` @return [Google::Apis::ContentV2_1::OrderreturnsRejectOperation]

return_item_id[RW]

Unit level ID for the return item. Different units of the same product will have different IDs. Corresponds to the JSON property `returnItemId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 7683
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_1/classes.rb, line 7688
def update!(**args)
  @refund = args[:refund] if args.key?(:refund)
  @reject = args[:reject] if args.key?(:reject)
  @return_item_id = args[:return_item_id] if args.key?(:return_item_id)
end