Class: Recurly::Requests::Tier

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/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

#currenciesArray[TierPricing]

Returns Tier pricing.

Returns:



11
# File 'lib/recurly/requests/tier.rb', line 11

define_attribute :currencies, Array, { :item_type => :TierPricing }

#ending_quantityInteger

Returns Ending quantity for the tier. This represents a unit amount for unit-priced add ons, but for percentage type usage add ons, represents the site default currency in its minimum divisible unit.

Returns:

  • (Integer)

    Ending quantity for the tier. This represents a unit amount for unit-priced add ons, but for percentage type usage add ons, represents the site default currency in its minimum divisible unit.



15
# File 'lib/recurly/requests/tier.rb', line 15

define_attribute :ending_quantity, Integer

#usage_percentageString

Returns Decimal usage percentage.

Returns:

  • (String)

    Decimal usage percentage.



19
# File 'lib/recurly/requests/tier.rb', line 19

define_attribute :usage_percentage, String