Class: Stripe::PaymentIntent::PaymentDetails::FlightDatum::Segment

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Defined Under Namespace

Classes: Arrival, Departure

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#amountObject (readonly)

Segment fare amount.



2041
2042
2043
# File 'lib/stripe/resources/payment_intent.rb', line 2041

def amount
  @amount
end

#arrivalObject (readonly)

Attribute for field arrival



2043
2044
2045
# File 'lib/stripe/resources/payment_intent.rb', line 2043

def arrival
  @arrival
end

#carrier_codeObject (readonly)

Airline carrier code.



2045
2046
2047
# File 'lib/stripe/resources/payment_intent.rb', line 2045

def carrier_code
  @carrier_code
end

#carrier_nameObject (readonly)

Carrier name.



2047
2048
2049
# File 'lib/stripe/resources/payment_intent.rb', line 2047

def carrier_name
  @carrier_name
end

#currencyObject (readonly)

Segment currency.



2049
2050
2051
# File 'lib/stripe/resources/payment_intent.rb', line 2049

def currency
  @currency
end

#departureObject (readonly)

Attribute for field departure



2051
2052
2053
# File 'lib/stripe/resources/payment_intent.rb', line 2051

def departure
  @departure
end

#exchange_ticket_numberObject (readonly)

Exchange ticket number.



2053
2054
2055
# File 'lib/stripe/resources/payment_intent.rb', line 2053

def exchange_ticket_number
  @exchange_ticket_number
end

#fare_basis_codeObject (readonly)

Fare basis code.



2055
2056
2057
# File 'lib/stripe/resources/payment_intent.rb', line 2055

def fare_basis_code
  @fare_basis_code
end

#feesObject (readonly)

Additional fees.



2057
2058
2059
# File 'lib/stripe/resources/payment_intent.rb', line 2057

def fees
  @fees
end

#flight_numberObject (readonly)

Flight number.



2059
2060
2061
# File 'lib/stripe/resources/payment_intent.rb', line 2059

def flight_number
  @flight_number
end

#is_stop_over_indicatorObject (readonly)

Stopover indicator.



2061
2062
2063
# File 'lib/stripe/resources/payment_intent.rb', line 2061

def is_stop_over_indicator
  @is_stop_over_indicator
end

#refundableObject (readonly)

Refundable ticket indicator.



2063
2064
2065
# File 'lib/stripe/resources/payment_intent.rb', line 2063

def refundable
  @refundable
end

#service_classObject (readonly)

Class of service.



2065
2066
2067
# File 'lib/stripe/resources/payment_intent.rb', line 2065

def service_class
  @service_class
end

#tax_amountObject (readonly)

Tax amount for segment.



2067
2068
2069
# File 'lib/stripe/resources/payment_intent.rb', line 2067

def tax_amount
  @tax_amount
end

#ticket_numberObject (readonly)

Ticket number.



2069
2070
2071
# File 'lib/stripe/resources/payment_intent.rb', line 2069

def ticket_number
  @ticket_number
end

Class Method Details

.field_remappingsObject



2075
2076
2077
# File 'lib/stripe/resources/payment_intent.rb', line 2075

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2071
2072
2073
# File 'lib/stripe/resources/payment_intent.rb', line 2071

def self.inner_class_types
  @inner_class_types = { arrival: Arrival, departure: Departure }
end