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.
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1599 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.
1591 1592 1593 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1591 def amount @amount end |
#currency ⇒ Object
Currency of the insurance amount.
1593 1594 1595 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1593 def currency @currency end |
#insurance_company_name ⇒ Object
Name of the insurance company.
1595 1596 1597 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1595 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance coverage.
1597 1598 1599 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1597 def insurance_type @insurance_type end |