View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec (google_api_payments_reseller_subscription v0.5.0)

The duration of an introductory pricing promotion.

Attributes

  • discountAmount (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount.t, default: nil) - Output only. The discount amount. The value is positive.
  • discountRatioMicros (type: String.t, default: nil) - Output only. The discount percentage in micros. For example, 50,000 represents 5%.
  • recurrenceCount (type: integer(), default: nil) - Output only. Output Only. The duration of an introductory offer in billing cycles.
  • regionCode (type: String.t, default: nil) - Output only. 2-letter ISO region code where the product is available in. Ex. "US".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec{
    discountAmount:
      GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount.t()
      | nil,
    discountRatioMicros: String.t() | nil,
    recurrenceCount: integer() | nil,
    regionCode: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.