Class: Stripe::Price::Recurring

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/price.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#aggregate_usageObject (readonly)

Returns the value of attribute aggregate_usage.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def aggregate_usage
  @aggregate_usage
end

#intervalObject (readonly)

Returns the value of attribute interval.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def interval
  @interval
end

#interval_countObject (readonly)

Returns the value of attribute interval_count.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def interval_count
  @interval_count
end

#meterObject (readonly)

Returns the value of attribute meter.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def meter
  @meter
end

#trial_period_daysObject (readonly)

Returns the value of attribute trial_period_days.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def trial_period_days
  @trial_period_days
end

#usage_typeObject (readonly)

Returns the value of attribute usage_type.



42
43
44
# File 'lib/stripe/resources/price.rb', line 42

def usage_type
  @usage_type
end