GoogleApi.AndroidPublisher.V3.Model.SignupPromotion (google_api_android_publisher v0.43.0)

View Source

The promotion applied on this item when purchased.

Attributes

  • oneTimeCode (type: GoogleApi.AndroidPublisher.V3.Model.OneTimeCode.t, default: nil) - A one-time code was applied.
  • vanityCode (type: GoogleApi.AndroidPublisher.V3.Model.VanityCode.t, default: nil) - A vanity code was applied.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.SignupPromotion{
  oneTimeCode: GoogleApi.AndroidPublisher.V3.Model.OneTimeCode.t() | nil,
  vanityCode: GoogleApi.AndroidPublisher.V3.Model.VanityCode.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.