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

Represents a transaction that is part of a recurring series of payments. This can be a subscription or a one-time product with multiple payments (such as preorder).

Attributes

  • externalSubscription (type: GoogleApi.AndroidPublisher.V3.Model.ExternalSubscription.t, default: nil) - Details of an external subscription.
  • externalTransactionToken (type: String.t, default: nil) - Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched. Required only for the initial purchase.
  • initialExternalTransactionId (type: String.t, default: nil) - The external transaction id of the first transaction of this recurring series of transactions. For example, for a subscription this would be the transaction id of the first payment. Required when creating recurring external transactions.
  • migratedTransactionProgram (type: String.t, default: nil) - Input only. Provided during the call to Create. Must only be used when migrating a subscription from manual monthly reporting to automated reporting.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.RecurringExternalTransaction{
  externalSubscription:
    GoogleApi.AndroidPublisher.V3.Model.ExternalSubscription.t() | nil,
  externalTransactionToken: String.t() | nil,
  initialExternalTransactionId: String.t() | nil,
  migratedTransactionProgram: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.