class Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
Attributes
description[RW]
Optional description of the return reason. Corresponds to the JSON property `description` @return [String]
reason[RW]
- required
-
Reason for the return. Acceptable values are: - “`
customerDiscretionaryReturn`“ - ”`customerInitiatedMerchantCancel`“ - ”` deliveredTooLate`“ - ”`expiredItem`“ - ”`invalidCoupon`“ - ”` malformedShippingAddress`“ - ”`other`“ - ”`productArrivedDamaged`“ - ”` productNotAsDescribed`“ - ”`qualityNotAsExpected`“ - ”` undeliverableShippingAddress`“ - ”`unsupportedPoBoxAddress`“ - ”` wrongProductShipped`“ Corresponds to the JSON property `reason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 7239 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 7244 def update!(**args) @description = args[:description] if args.key?(:description) @reason = args[:reason] if args.key?(:reason) end