Class: Recurly::Resources::SubscriptionRampIntervalResponse

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/subscription_ramp_interval_response.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#ending_onDateTime

Returns Date the ramp interval ends.

Returns:

  • (DateTime)

    Date the ramp interval ends



11
# File 'lib/recurly/resources/subscription_ramp_interval_response.rb', line 11

define_attribute :ending_on, DateTime

#remaining_billing_cyclesInteger

Returns Represents how many billing cycles are left in a ramp interval.

Returns:

  • (Integer)

    Represents how many billing cycles are left in a ramp interval.



15
# File 'lib/recurly/resources/subscription_ramp_interval_response.rb', line 15

define_attribute :remaining_billing_cycles, Integer

#starting_billing_cycleInteger

Returns Represents the billing cycle where a ramp interval starts.

Returns:

  • (Integer)

    Represents the billing cycle where a ramp interval starts.



19
# File 'lib/recurly/resources/subscription_ramp_interval_response.rb', line 19

define_attribute :starting_billing_cycle, Integer

#starting_onDateTime

Returns Date the ramp interval starts.

Returns:

  • (DateTime)

    Date the ramp interval starts



23
# File 'lib/recurly/resources/subscription_ramp_interval_response.rb', line 23

define_attribute :starting_on, DateTime

#unit_amountFloat

Returns Represents the price for the ramp interval.

Returns:

  • (Float)

    Represents the price for the ramp interval.



27
# File 'lib/recurly/resources/subscription_ramp_interval_response.rb', line 27

define_attribute :unit_amount, Float