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.



2249
2250
2251
# File 'lib/stripe/resources/payment_intent.rb', line 2249

def amount
  @amount
end

#arrivalObject (readonly)

Attribute for field arrival



2251
2252
2253
# File 'lib/stripe/resources/payment_intent.rb', line 2251

def arrival
  @arrival
end

#carrier_codeObject (readonly)

Airline carrier code.



2253
2254
2255
# File 'lib/stripe/resources/payment_intent.rb', line 2253

def carrier_code
  @carrier_code
end

#carrier_nameObject (readonly)

Carrier name.



2255
2256
2257
# File 'lib/stripe/resources/payment_intent.rb', line 2255

def carrier_name
  @carrier_name
end

#currencyObject (readonly)

Segment currency.



2257
2258
2259
# File 'lib/stripe/resources/payment_intent.rb', line 2257

def currency
  @currency
end

#departureObject (readonly)

Attribute for field departure



2259
2260
2261
# File 'lib/stripe/resources/payment_intent.rb', line 2259

def departure
  @departure
end

#exchange_ticket_numberObject (readonly)

Exchange ticket number.



2261
2262
2263
# File 'lib/stripe/resources/payment_intent.rb', line 2261

def exchange_ticket_number
  @exchange_ticket_number
end

#fare_basis_codeObject (readonly)

Fare basis code.



2263
2264
2265
# File 'lib/stripe/resources/payment_intent.rb', line 2263

def fare_basis_code
  @fare_basis_code
end

#feesObject (readonly)

Additional fees.



2265
2266
2267
# File 'lib/stripe/resources/payment_intent.rb', line 2265

def fees
  @fees
end

#flight_numberObject (readonly)

Flight number.



2267
2268
2269
# File 'lib/stripe/resources/payment_intent.rb', line 2267

def flight_number
  @flight_number
end

#is_stop_over_indicatorObject (readonly)

Stopover indicator.



2269
2270
2271
# File 'lib/stripe/resources/payment_intent.rb', line 2269

def is_stop_over_indicator
  @is_stop_over_indicator
end

#refundableObject (readonly)

Refundable ticket indicator.



2271
2272
2273
# File 'lib/stripe/resources/payment_intent.rb', line 2271

def refundable
  @refundable
end

#service_classObject (readonly)

Class of service.



2273
2274
2275
# File 'lib/stripe/resources/payment_intent.rb', line 2273

def service_class
  @service_class
end

#tax_amountObject (readonly)

Tax amount for segment.



2275
2276
2277
# File 'lib/stripe/resources/payment_intent.rb', line 2275

def tax_amount
  @tax_amount
end

#ticket_numberObject (readonly)

Ticket number.



2277
2278
2279
# File 'lib/stripe/resources/payment_intent.rb', line 2277

def ticket_number
  @ticket_number
end

Class Method Details

.field_remappingsObject



2283
2284
2285
# File 'lib/stripe/resources/payment_intent.rb', line 2283

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2279
2280
2281
# File 'lib/stripe/resources/payment_intent.rb', line 2279

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