GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryRefundItemShipping (google_api_content v0.58.1) View Source

Attributes

  • amount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The amount that is refunded. If this is not the first refund for the shipment, this should be the newly refunded amount.
  • fullRefund (type: boolean(), default: nil) - If set to true, all shipping costs for the order will be refunded. If this is true, amount should not be provided and will be ignored. If set to false, submit the amount of the partial shipping refund, excluding the shipping tax. The shipping tax is calculated and handled on Google's side.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryRefundItemShipping{
    amount: GoogleApi.Content.V21.Model.Price.t() | nil,
    fullRefund: boolean() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.