View Source GoogleApi.AndroidPublisher.V3.Model.RevocationContext (google_api_android_publisher v0.39.0)

Revocation context of the purchases.subscriptionsv2.revoke API.

Attributes

  • fullRefund (type: GoogleApi.AndroidPublisher.V3.Model.RevocationContextFullRefund.t, default: nil) - Optional. Used when users should be refunded the full amount of the latest order of the subscription.
  • proratedRefund (type: GoogleApi.AndroidPublisher.V3.Model.RevocationContextProratedRefund.t, default: nil) - Optional. Used when users should be refunded a prorated amount they paid for their subscription based on the amount of time remaining in a subscription.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.RevocationContext{
  fullRefund:
    GoogleApi.AndroidPublisher.V3.Model.RevocationContextFullRefund.t() | nil,
  proratedRefund:
    GoogleApi.AndroidPublisher.V3.Model.RevocationContextProratedRefund.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.