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

Item-level info for a subscription purchase.

Attributes

  • autoRenewingPlan (type: GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan.t, default: nil) - The item is auto renewing.
  • deferredItemReplacement (type: GoogleApi.AndroidPublisher.V3.Model.DeferredItemReplacement.t, default: nil) - Information for deferred item replacement.
  • expiryTime (type: DateTime.t, default: nil) - Time at which the subscription expired or will expire unless the access is extended (ex. renews).
  • offerDetails (type: GoogleApi.AndroidPublisher.V3.Model.OfferDetails.t, default: nil) - The offer details for this item.
  • prepaidPlan (type: GoogleApi.AndroidPublisher.V3.Model.PrepaidPlan.t, default: nil) - The item is prepaid.
  • productId (type: String.t, default: nil) - The purchased product ID (for example, 'monthly001').

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.SubscriptionPurchaseLineItem{
  autoRenewingPlan:
    GoogleApi.AndroidPublisher.V3.Model.AutoRenewingPlan.t() | nil,
  deferredItemReplacement:
    GoogleApi.AndroidPublisher.V3.Model.DeferredItemReplacement.t() | nil,
  expiryTime: DateTime.t() | nil,
  offerDetails: GoogleApi.AndroidPublisher.V3.Model.OfferDetails.t() | nil,
  prepaidPlan: GoogleApi.AndroidPublisher.V3.Model.PrepaidPlan.t() | nil,
  productId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.