Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Insurance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance

Returns a new instance of Insurance.



1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1042

def initialize(
  amount: nil,
  currency: nil,
  insurance_company_name: nil,
  insurance_type: nil
)
  @amount = amount
  @currency = currency
  @insurance_company_name = insurance_company_name
  @insurance_type = insurance_type
end

Instance Attribute Details

#amountObject

Insurance cost.



1034
1035
1036
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1034

def amount
  @amount
end

#currencyObject

Insurance currency.



1036
1037
1038
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1036

def currency
  @currency
end

#insurance_company_nameObject

Insurance company name.



1038
1039
1040
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1038

def insurance_company_name
  @insurance_company_name
end

#insurance_typeObject

Type of insurance.



1040
1041
1042
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1040

def insurance_type
  @insurance_type
end