View Source GoogleApi.AndroidPublisher.V3.Model.PartialRefund (google_api_android_publisher v0.34.1)

A partial refund of a transaction.

Attributes

  • refundId (type: String.t, default: nil) - Required. A unique id distinguishing this partial refund. If the refund is successful, subsequent refunds with the same id will fail. Must be unique across refunds for one individual transaction.
  • refundPreTaxAmount (type: GoogleApi.AndroidPublisher.V3.Model.Price.t, default: nil) - Required. The pre-tax amount of the partial refund. Should be less than the remaining pre-tax amount of the transaction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.PartialRefund{
  refundId: String.t() | nil,
  refundPreTaxAmount: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.