Class: Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::Insurance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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

#currencyObject

Insurance currency.



3516
3517
3518
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3516

def currency
  @currency
end

#insurance_company_nameObject

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_typeObject

Type of insurance.



3520
3521
3522
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3520

def insurance_type
  @insurance_type
end

#priceObject

Price of insurance in cents.



3522
3523
3524
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3522

def price
  @price
end