GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase (google_api_android_publisher v0.27.3) View Source

A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.

Attributes

  • kind (type: String.t, default: nil) - This kind represents a voided purchase object in the androidpublisher service.
  • orderId (type: String.t, default: nil) - The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.
  • purchaseTimeMillis (type: String.t, default: nil) - The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
  • purchaseToken (type: String.t, default: nil) - The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).
  • voidedReason (type: integer(), default: nil) - The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback
  • voidedSource (type: integer(), default: nil) - The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google
  • voidedTimeMillis (type: String.t, default: nil) - The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase{
  kind: String.t() | nil,
  orderId: String.t() | nil,
  purchaseTimeMillis: String.t() | nil,
  purchaseToken: String.t() | nil,
  voidedReason: integer() | nil,
  voidedSource: integer() | nil,
  voidedTimeMillis: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.