class Google::Apis::ContentV2_1::RefundReason

Attributes

description[RW]

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

reason_code[RW]

Code of the refund reason. Acceptable values are: - “`adjustment`” - “` autoPostInternal`” - “`autoPostInvalidBillingAddress`” - “`autoPostNoInventory` ” - “`autoPostPriceError`” - “`autoPostUndeliverableShippingAddress`” - “` couponAbuse`” - “`courtesyAdjustment`” - “`customerCanceled`” - “` customerDiscretionaryReturn`” - “`customerInitiatedMerchantCancel`” - “` customerSupportRequested`” - “`deliveredLateByCarrier`” - “`deliveredTooLate`”

  • “`expiredItem`” - “`failToPushOrderGoogleError`” - “`

failToPushOrderMerchantError`“ - ”`failToPushOrderMerchantFulfillmentError`“ - ”`failToPushOrderToMerchant`“ - ”`failToPushOrderToMerchantOutOfStock`“ - ”` feeAdjustment`“ - ”`invalidCoupon`“ - ”`lateShipmentCredit`“ - ”` malformedShippingAddress`“ - ”`merchantDidNotShipOnTime`“ - ”`noInventory`“ - ” `orderTimeout`“ - ”`other`“ - ”`paymentAbuse`“ - ”`paymentDeclined`“ - ”` priceAdjustment`“ - ”`priceError`“ - ”`productArrivedDamaged`“ - ”` productNotAsDescribed`“ - ”`promoReallocation`“ - ”`qualityNotAsExpected`“ - ”` returnRefundAbuse`“ - ”`shippingCostAdjustment`“ - ”`shippingPriceError`“ - ”` taxAdjustment`“ - ”`taxError`“ - ”`undeliverableShippingAddress`“ - ”` unsupportedPoBoxAddress`“ - ”`wrongProductShipped`“ 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 11843
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 11848
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @reason_code = args[:reason_code] if args.key?(:reason_code)
end