GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryInStoreRefundLineItem (google_api_content v0.58.1) View Source

Attributes

  • amountPretax (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - The amount that is refunded. Required.
  • amountTax (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - Tax amount that correspond to refund amount in amountPretax. Required.
  • lineItemId (type: String.t, default: nil) - The ID of the line item to return. Either lineItemId or productId is required.
  • productId (type: String.t, default: nil) - The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.
  • quantity (type: integer(), default: nil) - The quantity to return and refund.
  • reason (type: String.t, default: nil) - The reason for the return. Acceptable values are: - "customerDiscretionaryReturn" - "customerInitiatedMerchantCancel" - "deliveredTooLate" - "expiredItem" - "invalidCoupon" - "malformedShippingAddress" - "other" - "productArrivedDamaged" - "productNotAsDescribed" - "qualityNotAsExpected" - "undeliverableShippingAddress" - "unsupportedPoBoxAddress" - "wrongProductShipped"
  • reasonText (type: String.t, default: nil) - The explanation of the reason.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryInStoreRefundLineItem{
    amountPretax: GoogleApi.Content.V2.Model.Price.t() | nil,
    amountTax: GoogleApi.Content.V2.Model.Price.t() | nil,
    lineItemId: String.t() | nil,
    productId: String.t() | nil,
    quantity: integer() | nil,
    reason: String.t() | nil,
    reasonText: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.