Class: Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::Insurance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::Insurance
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
Insurance currency.
-
#insurance_company_name ⇒ Object
Name of the company providing the insurance.
-
#insurance_type ⇒ Object
Type of insurance.
-
#price ⇒ Object
Price of insurance in cents.
Instance Method Summary collapse
-
#initialize(currency: nil, insurance_company_name: nil, insurance_type: nil, price: nil) ⇒ Insurance
constructor
A new instance of Insurance.
Methods inherited from RequestParams
Constructor Details
#initialize(currency: nil, insurance_company_name: nil, insurance_type: nil, price: nil) ⇒ Insurance
Returns a new instance of Insurance.
3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3524 def initialize( currency: nil, insurance_company_name: nil, insurance_type: nil, price: nil ) @currency = currency @insurance_company_name = insurance_company_name @insurance_type = insurance_type @price = price end |
Instance Attribute Details
#currency ⇒ Object
Insurance currency.
3516 3517 3518 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3516 def currency @currency end |
#insurance_company_name ⇒ Object
Name of the company providing the insurance.
3518 3519 3520 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3518 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance.
3520 3521 3522 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3520 def insurance_type @insurance_type end |
#price ⇒ Object
Price of insurance in cents.
3522 3523 3524 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3522 def price @price end |