Class: Stripe::Quote::Computed::Recurring

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

Defined Under Namespace

Classes: TotalDetails

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

#amount_subtotalObject (readonly)

Total before any discounts or taxes are applied.



73
74
75
# File 'lib/stripe/resources/quote.rb', line 73

def amount_subtotal
  @amount_subtotal
end

#amount_totalObject (readonly)

Total after discounts and taxes are applied.



75
76
77
# File 'lib/stripe/resources/quote.rb', line 75

def amount_total
  @amount_total
end

#intervalObject (readonly)

The frequency at which a subscription is billed. One of ‘day`, `week`, `month` or `year`.



77
78
79
# File 'lib/stripe/resources/quote.rb', line 77

def interval
  @interval
end

#interval_countObject (readonly)

The number of intervals (specified in the ‘interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.



79
80
81
# File 'lib/stripe/resources/quote.rb', line 79

def interval_count
  @interval_count
end

#total_detailsObject (readonly)

Attribute for field total_details



81
82
83
# File 'lib/stripe/resources/quote.rb', line 81

def total_details
  @total_details
end