Sha256: ad330437e87f3a1e5bb543b87886fc8114faa550e139b28702b05f7e9d595929

Contents?: true

Size: 768 Bytes

Versions: 661

Compression:

Stored size: 768 Bytes

Contents

require_relative 'iap_subscription_pricing_info'

module Spaceship
  module Tunes
    class IAPSubscriptionPricingTier < TunesBase
      # @return (String) Number of the subscription price tier (e.g. "1" for Tier 1 )
      attr_accessor :tier_stem

      # @return (String) Name of the tier (e.g. "ITC.addons.pricing.tier.1" for Tier 1)
      attr_accessor :tier_name

      # @return ([Spaceship::Tunes::IAPSubscriptionPricingInfo]) A list of all prices for the respective countries
      attr_accessor :pricing_info

      attr_mapping(
        "tierStem" => :tier_stem,
        "tierName" => :tier_name
      )

      def pricing_info
        @pricing_info ||= raw_data['pricingInfo'].map { |info| IAPSubscriptionPricingInfo.new(info) }
      end
    end
  end
end

Version data entries

661 entries across 661 versions & 5 rubygems

Version Path
fastlane-2.129.0.beta.20190723200012 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190722200021 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190721200024 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190720200049 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane_iac_publish-0.1.5 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.127.2 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190719200019 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190718200101 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190717200026 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190716200022 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190715200056 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190714200028 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190713200107 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190712200059 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190711200117 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.127.1 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.128.0.beta.20190710200106 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.127.0 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb
fastlane-2.127.0.beta.20190709200015 spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb