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.
724 725 726 |
# File 'lib/stripe/resources/invoice.rb', line 724 def amount_gte @amount_gte end |
#item_reasons ⇒ Object (readonly)
Indicates which line items triggered a threshold invoice.
726 727 728 |
# File 'lib/stripe/resources/invoice.rb', line 726 def item_reasons @item_reasons end |
Class Method Details
.field_remappings ⇒ Object
732 733 734 |
# File 'lib/stripe/resources/invoice.rb', line 732 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
728 729 730 |
# File 'lib/stripe/resources/invoice.rb', line 728 def self.inner_class_types @inner_class_types = { item_reasons: ItemReason } end |