Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Insurance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Insurance
- Defined in:
- lib/stripe/params/payment_intent_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
Constructor Details
#initialize(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance
Returns a new instance of Insurance.
1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1586 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.
1578 1579 1580 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1578 def amount @amount end |
#currency ⇒ Object
Currency of the insurance amount.
1580 1581 1582 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1580 def currency @currency end |
#insurance_company_name ⇒ Object
Name of the insurance company.
1582 1583 1584 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1582 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance coverage.
1584 1585 1586 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1584 def insurance_type @insurance_type end |