Class: Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Optional description of the refund reason.
-
#reason ⇒ String
[required] Reason for the refund.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
constructor
A new instance of OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
Returns a new instance of OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.
5740 5741 5742 |
# File 'generated/google/apis/content_v2/classes.rb', line 5740 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional description of the refund reason.
Corresponds to the JSON property description
5717 5718 5719 |
# File 'generated/google/apis/content_v2/classes.rb', line 5717 def description @description end |
#reason ⇒ String
[required] Reason for the refund. 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 propertyreason
5738 5739 5740 |
# File 'generated/google/apis/content_v2/classes.rb', line 5738 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5745 5746 5747 5748 |
# File 'generated/google/apis/content_v2/classes.rb', line 5745 def update!(**args) @description = args[:description] if args.key?(:description) @reason = args[:reason] if args.key?(:reason) end |