Class: Recurly::Requests::SubscriptionAddOnPercentageTier

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/subscription_add_on_percentage_tier.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#ending_amountFloat

Returns Ending amount for the tier. Allows up to 2 decimal places. Must be left empty if it is the final tier.

Returns:

  • (Float)

    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/requests/subscription_add_on_percentage_tier.rb', line 11

define_attribute :ending_amount, Float

#usage_percentageString

Returns The percentage taken of the monetary amount of usage tracked. This can be up to 4 decimal places represented as a string.

Returns:

  • (String)

    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/requests/subscription_add_on_percentage_tier.rb', line 15

define_attribute :usage_percentage, String