Class: Spaceship::Tunes::IAPSubscriptionPricingInfo
- Defined in:
- spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb
Instance Attribute Summary collapse
-
#country_code ⇒ String
Country code, e.g.
-
#currency_code ⇒ String
Currency code, e.g.
-
#currency_symbol ⇒ String
Currency symbol, e.g.
-
#f_retail_price ⇒ String
Formatted customer price, e.g.
-
#f_wholesale_price ⇒ String
Formatted net proceedings in the first year, e.g.
-
#f_wholesale_price2 ⇒ String
Formatted net proceedings after the first year, e.g.
-
#retail_price ⇒ Number
Customer price.
-
#wholesale_price ⇒ Number
Net proceedings for the developer in the first year.
-
#wholesale_price2 ⇒ Number
Net proceedings for the developer after the first year.
Attributes inherited from Base
Method Summary
Methods inherited from TunesBase
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
#country_code ⇒ String
Returns country code, e.g. “US”.
7 8 9 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 7 def country_code @country_code end |
#currency_code ⇒ String
Returns currency code, e.g. “USD”.
13 14 15 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 13 def currency_code @currency_code end |
#currency_symbol ⇒ String
Returns currency symbol, e.g. “$”.
10 11 12 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 10 def currency_symbol @currency_symbol end |
#f_retail_price ⇒ String
Returns formatted customer price, e.g. “$0.00”.
25 26 27 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 25 def f_retail_price @f_retail_price end |
#f_wholesale_price ⇒ String
Returns formatted net proceedings in the first year, e.g. “$0.00”.
28 29 30 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 28 def f_wholesale_price @f_wholesale_price end |
#f_wholesale_price2 ⇒ String
Returns formatted net proceedings after the first year, e.g. “$0.00”.
31 32 33 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 31 def f_wholesale_price2 @f_wholesale_price2 end |
#retail_price ⇒ Number
Returns customer price.
22 23 24 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 22 def retail_price @retail_price end |
#wholesale_price ⇒ Number
Returns net proceedings for the developer in the first year.
16 17 18 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 16 def wholesale_price @wholesale_price end |
#wholesale_price2 ⇒ Number
Returns net proceedings for the developer after the first year.
19 20 21 |
# File 'spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb', line 19 def wholesale_price2 @wholesale_price2 end |