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?, #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.



1932
1933
1934
# File 'lib/stripe/resources/payment_intent.rb', line 1932

def amount
  @amount
end

#arrivalObject (readonly)

Attribute for field arrival



1934
1935
1936
# File 'lib/stripe/resources/payment_intent.rb', line 1934

def arrival
  @arrival
end

#carrier_codeObject (readonly)

Airline carrier code.



1936
1937
1938
# File 'lib/stripe/resources/payment_intent.rb', line 1936

def carrier_code
  @carrier_code
end

#carrier_nameObject (readonly)

Carrier name.



1938
1939
1940
# File 'lib/stripe/resources/payment_intent.rb', line 1938

def carrier_name
  @carrier_name
end

#currencyObject (readonly)

Segment currency.



1940
1941
1942
# File 'lib/stripe/resources/payment_intent.rb', line 1940

def currency
  @currency
end

#departureObject (readonly)

Attribute for field departure



1942
1943
1944
# File 'lib/stripe/resources/payment_intent.rb', line 1942

def departure
  @departure
end

#exchange_ticket_numberObject (readonly)

Exchange ticket number.



1944
1945
1946
# File 'lib/stripe/resources/payment_intent.rb', line 1944

def exchange_ticket_number
  @exchange_ticket_number
end

#fare_basis_codeObject (readonly)

Fare basis code.



1946
1947
1948
# File 'lib/stripe/resources/payment_intent.rb', line 1946

def fare_basis_code
  @fare_basis_code
end

#feesObject (readonly)

Additional fees.



1948
1949
1950
# File 'lib/stripe/resources/payment_intent.rb', line 1948

def fees
  @fees
end

#flight_numberObject (readonly)

Flight number.



1950
1951
1952
# File 'lib/stripe/resources/payment_intent.rb', line 1950

def flight_number
  @flight_number
end

#is_stop_over_indicatorObject (readonly)

Stopover indicator.



1952
1953
1954
# File 'lib/stripe/resources/payment_intent.rb', line 1952

def is_stop_over_indicator
  @is_stop_over_indicator
end

#refundableObject (readonly)

Refundable ticket indicator.



1954
1955
1956
# File 'lib/stripe/resources/payment_intent.rb', line 1954

def refundable
  @refundable
end

#service_classObject (readonly)

Class of service.



1956
1957
1958
# File 'lib/stripe/resources/payment_intent.rb', line 1956

def service_class
  @service_class
end

#tax_amountObject (readonly)

Tax amount for segment.



1958
1959
1960
# File 'lib/stripe/resources/payment_intent.rb', line 1958

def tax_amount
  @tax_amount
end

#ticket_numberObject (readonly)

Ticket number.



1960
1961
1962
# File 'lib/stripe/resources/payment_intent.rb', line 1960

def ticket_number
  @ticket_number
end

Class Method Details

.field_remappingsObject



1966
1967
1968
# File 'lib/stripe/resources/payment_intent.rb', line 1966

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1962
1963
1964
# File 'lib/stripe/resources/payment_intent.rb', line 1962

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