Class: Recurly::Requests::SubscriptionAddOnTier

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

Returns Ending quantity.

Returns:

  • (Integer)

    Ending quantity



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

define_attribute :ending_quantity, Integer

#unit_amountFloat

Returns Allows up to 2 decimal places. Optionally, override the tiers' default unit amount.

Returns:

  • (Float)

    Allows up to 2 decimal places. Optionally, override the tiers' default unit amount.



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

define_attribute :unit_amount, Float

#unit_amount_decimalString

Returns Allows up to 9 decimal places. Optionally, override tiers' default unit amount. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.

Returns:

  • (String)

    Allows up to 9 decimal places. Optionally, override tiers' default unit amount. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.



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

define_attribute :unit_amount_decimal, String