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

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 shouldn't 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.