Class: Stripe::Invoice::ThresholdReason
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Invoice::ThresholdReason
- Defined in:
- lib/stripe/resources/invoice.rb
Defined Under Namespace
Classes: ItemReason
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount_gte ⇒ Object
readonly
The total invoice amount threshold boundary if it triggered the threshold invoice.
-
#item_reasons ⇒ Object
readonly
Indicates which line items triggered a threshold invoice.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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_gte ⇒ Object (readonly)
The total invoice amount threshold boundary if it triggered the threshold invoice.
756 757 758 |
# File 'lib/stripe/resources/invoice.rb', line 756 def amount_gte @amount_gte end |
#item_reasons ⇒ Object (readonly)
Indicates which line items triggered a threshold invoice.
758 759 760 |
# File 'lib/stripe/resources/invoice.rb', line 758 def item_reasons @item_reasons end |
Class Method Details
.field_remappings ⇒ Object
764 765 766 |
# File 'lib/stripe/resources/invoice.rb', line 764 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
760 761 762 |
# File 'lib/stripe/resources/invoice.rb', line 760 def self.inner_class_types @inner_class_types = { item_reasons: ItemReason } end |