Class: Stripe::ChargeCaptureParams::PaymentDetails::LodgingDatum::Insurance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeCaptureParams::PaymentDetails::LodgingDatum::Insurance
- Defined in:
- lib/stripe/params/charge_capture_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Price of the insurance coverage in cents.
-
#currency ⇒ Object
Currency of the insurance amount.
-
#insurance_company_name ⇒ Object
Name of the insurance company.
-
#insurance_type ⇒ Object
Type of insurance coverage.
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
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.
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 |
# File 'lib/stripe/params/charge_capture_params.rb', line 1483 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
Price of the insurance coverage in cents.
1475 1476 1477 |
# File 'lib/stripe/params/charge_capture_params.rb', line 1475 def amount @amount end |
#currency ⇒ Object
Currency of the insurance amount.
1477 1478 1479 |
# File 'lib/stripe/params/charge_capture_params.rb', line 1477 def currency @currency end |
#insurance_company_name ⇒ Object
Name of the insurance company.
1479 1480 1481 |
# File 'lib/stripe/params/charge_capture_params.rb', line 1479 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance coverage.
1481 1482 1483 |
# File 'lib/stripe/params/charge_capture_params.rb', line 1481 def insurance_type @insurance_type end |