Class: Stripe::PaymentIntent::PaymentDetails::FlightDatum::Total
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentIntent::PaymentDetails::FlightDatum::Total
- Defined in:
- lib/stripe/resources/payment_intent.rb
Defined Under Namespace
Classes: Discounts, ExtraCharge, Tax
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Total amount.
-
#credit_reason ⇒ Object
readonly
Reason for credit.
-
#currency ⇒ Object
readonly
Currency for the total amount.
-
#discounts ⇒ Object
readonly
Attribute for field discounts.
-
#extra_charges ⇒ Object
readonly
Additional charges for the flight.
-
#tax ⇒ Object
readonly
Attribute for field tax.
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?, field_encodings, #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 ⇒ Object (readonly)
Total amount.
2138 2139 2140 |
# File 'lib/stripe/resources/payment_intent.rb', line 2138 def amount @amount end |
#credit_reason ⇒ Object (readonly)
Reason for credit.
2140 2141 2142 |
# File 'lib/stripe/resources/payment_intent.rb', line 2140 def credit_reason @credit_reason end |
#currency ⇒ Object (readonly)
Currency for the total amount.
2142 2143 2144 |
# File 'lib/stripe/resources/payment_intent.rb', line 2142 def currency @currency end |
#discounts ⇒ Object (readonly)
Attribute for field discounts
2144 2145 2146 |
# File 'lib/stripe/resources/payment_intent.rb', line 2144 def discounts @discounts end |
#extra_charges ⇒ Object (readonly)
Additional charges for the flight.
2146 2147 2148 |
# File 'lib/stripe/resources/payment_intent.rb', line 2146 def extra_charges @extra_charges end |
#tax ⇒ Object (readonly)
Attribute for field tax
2148 2149 2150 |
# File 'lib/stripe/resources/payment_intent.rb', line 2148 def tax @tax end |
Class Method Details
.field_remappings ⇒ Object
2154 2155 2156 |
# File 'lib/stripe/resources/payment_intent.rb', line 2154 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2150 2151 2152 |
# File 'lib/stripe/resources/payment_intent.rb', line 2150 def self.inner_class_types @inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax } end |