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.



1970
1971
1972
# File 'lib/stripe/resources/payment_intent.rb', line 1970

def amount
  @amount
end

#arrivalObject (readonly)

Attribute for field arrival



1972
1973
1974
# File 'lib/stripe/resources/payment_intent.rb', line 1972

def arrival
  @arrival
end

#carrier_codeObject (readonly)

Airline carrier code.



1974
1975
1976
# File 'lib/stripe/resources/payment_intent.rb', line 1974

def carrier_code
  @carrier_code
end

#carrier_nameObject (readonly)

Carrier name.



1976
1977
1978
# File 'lib/stripe/resources/payment_intent.rb', line 1976

def carrier_name
  @carrier_name
end

#currencyObject (readonly)

Segment currency.



1978
1979
1980
# File 'lib/stripe/resources/payment_intent.rb', line 1978

def currency
  @currency
end

#departureObject (readonly)

Attribute for field departure



1980
1981
1982
# File 'lib/stripe/resources/payment_intent.rb', line 1980

def departure
  @departure
end

#exchange_ticket_numberObject (readonly)

Exchange ticket number.



1982
1983
1984
# File 'lib/stripe/resources/payment_intent.rb', line 1982

def exchange_ticket_number
  @exchange_ticket_number
end

#fare_basis_codeObject (readonly)

Fare basis code.



1984
1985
1986
# File 'lib/stripe/resources/payment_intent.rb', line 1984

def fare_basis_code
  @fare_basis_code
end

#feesObject (readonly)

Additional fees.



1986
1987
1988
# File 'lib/stripe/resources/payment_intent.rb', line 1986

def fees
  @fees
end

#flight_numberObject (readonly)

Flight number.



1988
1989
1990
# File 'lib/stripe/resources/payment_intent.rb', line 1988

def flight_number
  @flight_number
end

#is_stop_over_indicatorObject (readonly)

Stopover indicator.



1990
1991
1992
# File 'lib/stripe/resources/payment_intent.rb', line 1990

def is_stop_over_indicator
  @is_stop_over_indicator
end

#refundableObject (readonly)

Refundable ticket indicator.



1992
1993
1994
# File 'lib/stripe/resources/payment_intent.rb', line 1992

def refundable
  @refundable
end

#service_classObject (readonly)

Class of service.



1994
1995
1996
# File 'lib/stripe/resources/payment_intent.rb', line 1994

def service_class
  @service_class
end

#tax_amountObject (readonly)

Tax amount for segment.



1996
1997
1998
# File 'lib/stripe/resources/payment_intent.rb', line 1996

def tax_amount
  @tax_amount
end

#ticket_numberObject (readonly)

Ticket number.



1998
1999
2000
# File 'lib/stripe/resources/payment_intent.rb', line 1998

def ticket_number
  @ticket_number
end

Class Method Details

.field_remappingsObject



2004
2005
2006
# File 'lib/stripe/resources/payment_intent.rb', line 2004

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2000
2001
2002
# File 'lib/stripe/resources/payment_intent.rb', line 2000

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