Class: Recurly::Resources::SubscriptionAddOnPercentageTier
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::SubscriptionAddOnPercentageTier
- Defined in:
- lib/recurly/resources/subscription_add_on_percentage_tier.rb
Instance Attribute Summary collapse
-
#ending_amount ⇒ Float
Ending amount for the tier.
-
#usage_percentage ⇒ String
The percentage taken of the monetary amount of usage tracked.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#ending_amount ⇒ Float
Returns Ending amount for the tier. Allows up to 2 decimal places. Must be left empty if it is the final tier.
11 |
# File 'lib/recurly/resources/subscription_add_on_percentage_tier.rb', line 11 define_attribute :ending_amount, Float |
#usage_percentage ⇒ String
Returns The percentage taken of the monetary amount of usage tracked. This can be up to 4 decimal places represented as a string.
15 |
# File 'lib/recurly/resources/subscription_add_on_percentage_tier.rb', line 15 define_attribute :usage_percentage, String |