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.



2495
2496
2497
# File 'lib/stripe/resources/payment_intent.rb', line 2495

def amount
  @amount
end

#arrivalObject (readonly)

Attribute for field arrival



2497
2498
2499
# File 'lib/stripe/resources/payment_intent.rb', line 2497

def arrival
  @arrival
end

#carrier_codeObject (readonly)

Airline carrier code.



2499
2500
2501
# File 'lib/stripe/resources/payment_intent.rb', line 2499

def carrier_code
  @carrier_code
end

#carrier_nameObject (readonly)

Carrier name.



2501
2502
2503
# File 'lib/stripe/resources/payment_intent.rb', line 2501

def carrier_name
  @carrier_name
end

#currencyObject (readonly)

Segment currency.



2503
2504
2505
# File 'lib/stripe/resources/payment_intent.rb', line 2503

def currency
  @currency
end

#departureObject (readonly)

Attribute for field departure



2505
2506
2507
# File 'lib/stripe/resources/payment_intent.rb', line 2505

def departure
  @departure
end

#exchange_ticket_numberObject (readonly)

Exchange ticket number.



2507
2508
2509
# File 'lib/stripe/resources/payment_intent.rb', line 2507

def exchange_ticket_number
  @exchange_ticket_number
end

#fare_basis_codeObject (readonly)

Fare basis code.



2509
2510
2511
# File 'lib/stripe/resources/payment_intent.rb', line 2509

def fare_basis_code
  @fare_basis_code
end

#feesObject (readonly)

Additional fees.



2511
2512
2513
# File 'lib/stripe/resources/payment_intent.rb', line 2511

def fees
  @fees
end

#flight_numberObject (readonly)

Flight number.



2513
2514
2515
# File 'lib/stripe/resources/payment_intent.rb', line 2513

def flight_number
  @flight_number
end

#is_stop_over_indicatorObject (readonly)

Stopover indicator.



2515
2516
2517
# File 'lib/stripe/resources/payment_intent.rb', line 2515

def is_stop_over_indicator
  @is_stop_over_indicator
end

#refundableObject (readonly)

Refundable ticket indicator.



2517
2518
2519
# File 'lib/stripe/resources/payment_intent.rb', line 2517

def refundable
  @refundable
end

#service_classObject (readonly)

Class of service.



2519
2520
2521
# File 'lib/stripe/resources/payment_intent.rb', line 2519

def service_class
  @service_class
end

#tax_amountObject (readonly)

Tax amount for segment.



2521
2522
2523
# File 'lib/stripe/resources/payment_intent.rb', line 2521

def tax_amount
  @tax_amount
end

#ticket_numberObject (readonly)

Ticket number.



2523
2524
2525
# File 'lib/stripe/resources/payment_intent.rb', line 2523

def ticket_number
  @ticket_number
end

Class Method Details

.field_remappingsObject



2529
2530
2531
# File 'lib/stripe/resources/payment_intent.rb', line 2529

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2525
2526
2527
# File 'lib/stripe/resources/payment_intent.rb', line 2525

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