google_api_android_publisher v0.15.0 GoogleApi.AndroidPublisher.V3.Model.VoidedPurchase View Source

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

Attributes

  • kind (type: String.t, default: androidpublisher#voidedPurchase) - 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:

    • Other
    • Remorse
    • Not_received
    • Defective
    • Accidental_purchase
    • Fraud
    • Friendly_fraud
    • Chargeback
  • voidedSource (type: integer(), default: nil) - The initiator of voided purchase, possible values are:

    • User
    • Developer
    • 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.