Class: Stripe::PaymentIntent::PaymentDetails::FlightDatum::Segment
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentIntent::PaymentDetails::FlightDatum::Segment
- Defined in:
- lib/stripe/resources/payment_intent.rb
Defined Under Namespace
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Segment fare amount.
-
#arrival ⇒ Object
readonly
Attribute for field arrival.
-
#carrier_code ⇒ Object
readonly
Airline carrier code.
-
#carrier_name ⇒ Object
readonly
Carrier name.
-
#currency ⇒ Object
readonly
Segment currency.
-
#departure ⇒ Object
readonly
Attribute for field departure.
-
#exchange_ticket_number ⇒ Object
readonly
Exchange ticket number.
-
#fare_basis_code ⇒ Object
readonly
Fare basis code.
-
#fees ⇒ Object
readonly
Additional fees.
-
#flight_number ⇒ Object
readonly
Flight number.
-
#is_stop_over_indicator ⇒ Object
readonly
Stopover indicator.
-
#refundable ⇒ Object
readonly
Refundable ticket indicator.
-
#service_class ⇒ Object
readonly
Class of service.
-
#tax_amount ⇒ Object
readonly
Tax amount for segment.
-
#ticket_number ⇒ Object
readonly
Ticket number.
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)
Segment fare amount.
2028 2029 2030 |
# File 'lib/stripe/resources/payment_intent.rb', line 2028 def amount @amount end |
#arrival ⇒ Object (readonly)
Attribute for field arrival
2030 2031 2032 |
# File 'lib/stripe/resources/payment_intent.rb', line 2030 def arrival @arrival end |
#carrier_code ⇒ Object (readonly)
Airline carrier code.
2032 2033 2034 |
# File 'lib/stripe/resources/payment_intent.rb', line 2032 def carrier_code @carrier_code end |
#carrier_name ⇒ Object (readonly)
Carrier name.
2034 2035 2036 |
# File 'lib/stripe/resources/payment_intent.rb', line 2034 def carrier_name @carrier_name end |
#currency ⇒ Object (readonly)
Segment currency.
2036 2037 2038 |
# File 'lib/stripe/resources/payment_intent.rb', line 2036 def currency @currency end |
#departure ⇒ Object (readonly)
Attribute for field departure
2038 2039 2040 |
# File 'lib/stripe/resources/payment_intent.rb', line 2038 def departure @departure end |
#exchange_ticket_number ⇒ Object (readonly)
Exchange ticket number.
2040 2041 2042 |
# File 'lib/stripe/resources/payment_intent.rb', line 2040 def exchange_ticket_number @exchange_ticket_number end |
#fare_basis_code ⇒ Object (readonly)
Fare basis code.
2042 2043 2044 |
# File 'lib/stripe/resources/payment_intent.rb', line 2042 def fare_basis_code @fare_basis_code end |
#fees ⇒ Object (readonly)
Additional fees.
2044 2045 2046 |
# File 'lib/stripe/resources/payment_intent.rb', line 2044 def fees @fees end |
#flight_number ⇒ Object (readonly)
Flight number.
2046 2047 2048 |
# File 'lib/stripe/resources/payment_intent.rb', line 2046 def flight_number @flight_number end |
#is_stop_over_indicator ⇒ Object (readonly)
Stopover indicator.
2048 2049 2050 |
# File 'lib/stripe/resources/payment_intent.rb', line 2048 def is_stop_over_indicator @is_stop_over_indicator end |
#refundable ⇒ Object (readonly)
Refundable ticket indicator.
2050 2051 2052 |
# File 'lib/stripe/resources/payment_intent.rb', line 2050 def refundable @refundable end |
#service_class ⇒ Object (readonly)
Class of service.
2052 2053 2054 |
# File 'lib/stripe/resources/payment_intent.rb', line 2052 def service_class @service_class end |
#tax_amount ⇒ Object (readonly)
Tax amount for segment.
2054 2055 2056 |
# File 'lib/stripe/resources/payment_intent.rb', line 2054 def tax_amount @tax_amount end |
#ticket_number ⇒ Object (readonly)
Ticket number.
2056 2057 2058 |
# File 'lib/stripe/resources/payment_intent.rb', line 2056 def ticket_number @ticket_number end |
Class Method Details
.field_remappings ⇒ Object
2062 2063 2064 |
# File 'lib/stripe/resources/payment_intent.rb', line 2062 def self.field_remappings @field_remappings = {} end |