IAPSubscriptionPricingTier (tunes/iap_subscription_pricing_tier.rb)

fastlane · spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb · ruby · MIT
payments, tag:knn-classified

Represents an iTunes App Store subscription pricing tier with associated country prices.

# Source: https://github.com/fastlane/fastlane | License: MIT | Copyright 2015-2022 The Fastlane Authors
# Provided via justclaw.it.com; keep this notice with the code.
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 pricin

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key