class Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo

Contains the introductory price information for a subscription.

Attributes

introductory_price_amount_micros[RW]

Introductory price of the subscription, not including tax. The currency is the same as price_currency_code. Price is expressed in micro-units, where 1,000, 000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000. Corresponds to the JSON property `introductoryPriceAmountMicros` @return [Fixnum]

introductory_price_currency_code[RW]

ISO 4217 currency code for the introductory subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is “ GBP”. Corresponds to the JSON property `introductoryPriceCurrencyCode` @return [String]

introductory_price_cycles[RW]

The number of billing period to offer introductory pricing. Corresponds to the JSON property `introductoryPriceCycles` @return [Fixnum]

introductory_price_period[RW]

Introductory price period, specified in ISO 8601 format. Common values are ( but not limited to) “P1W” (one week), “P1M” (one month), “P3M” (three months), “P6M” (six months), and “P1Y” (one year). Corresponds to the JSON property `introductoryPricePeriod` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 974
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidpublisher_v3/classes.rb, line 979
def update!(**args)
  @introductory_price_amount_micros = args[:introductory_price_amount_micros] if args.key?(:introductory_price_amount_micros)
  @introductory_price_currency_code = args[:introductory_price_currency_code] if args.key?(:introductory_price_currency_code)
  @introductory_price_cycles = args[:introductory_price_cycles] if args.key?(:introductory_price_cycles)
  @introductory_price_period = args[:introductory_price_period] if args.key?(:introductory_price_period)
end