Class: Spaceship::Tunes::IAPSubscriptionPricingTier

Inherits:
TunesBase
  • Object
show all
Defined in:
spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#client, #raw_data

Method Summary

Methods inherited from TunesBase

client

Methods inherited from Base

attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s

Constructor Details

This class inherits a constructor from Spaceship::Base

Instance Attribute Details

#pricing_info[Spaceship::Tunes::IAPSubscriptionPricingInfo]

Returns A list of all prices for the respective countries.

Returns:



13
14
15
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb', line 13

def pricing_info
  @pricing_info
end

#tier_nameString

Returns Name of the tier (e.g. “ITC.addons.pricing.tier.1” for Tier 1).

Returns:

  • (String)

    Name of the tier (e.g. “ITC.addons.pricing.tier.1” for Tier 1)



10
11
12
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb', line 10

def tier_name
  @tier_name
end

#tier_stemString

Returns Number of the subscription price tier (e.g. “1” for Tier 1 ).

Returns:

  • (String)

    Number of the subscription price tier (e.g. “1” for Tier 1 )



7
8
9
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb', line 7

def tier_stem
  @tier_stem
end