Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Insurance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Insurance
- Defined in:
- lib/stripe/params/payment_intent_capture_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Insurance cost.
-
#currency ⇒ Object
Insurance currency.
-
#insurance_company_name ⇒ Object
Insurance company name.
-
#insurance_type ⇒ Object
Type of insurance.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance
constructor
A new instance of Insurance.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance
Returns a new instance of Insurance.
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1055 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
#amount ⇒ Object
Insurance cost.
1047 1048 1049 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1047 def amount @amount end |
#currency ⇒ Object
Insurance currency.
1049 1050 1051 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1049 def currency @currency end |
#insurance_company_name ⇒ Object
Insurance company name.
1051 1052 1053 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1051 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance.
1053 1054 1055 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1053 def insurance_type @insurance_type end |