Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::FlightDatum::Insurance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Insurance.



1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1305

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.



1297
1298
1299
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1297

def amount
  @amount
end

#currencyObject

Insurance currency.



1299
1300
1301
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1299

def currency
  @currency
end

#insurance_company_nameObject

Insurance company name.



1301
1302
1303
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1301

def insurance_company_name
  @insurance_company_name
end

#insurance_typeObject

Type of insurance.



1303
1304
1305
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1303

def insurance_type
  @insurance_type
end