class Google::Apis::ContentV2_1::CustomerReturnReason

Attributes

description[RW]

Description of the reason. Corresponds to the JSON property `description` @return [String]

reason_code[RW]

Code of the return reason. Acceptable values are: - “`betterPriceFound`” - “` changedMind`” - “`damagedOrDefectiveItem`” - “`didNotMatchDescription`” - “` doesNotFit`” - “`expiredItem`” - “`incorrectItemReceived`” - “`noLongerNeeded`”

  • “`notSpecified`” - “`orderedWrongItem`” - “`other`” - “`qualityNotExpected`”

  • “`receivedTooLate`” - “`undeliverable`”

Corresponds to the JSON property `reasonCode` @return [String]

Public Class Methods

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