Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRentalDatum::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(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance

Returns a new instance of Insurance.



616
617
618
619
620
621
622
623
624
625
626
# File 'lib/stripe/params/payment_intent_update_params.rb', line 616

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

#amountObject

Amount of the insurance coverage in cents.



608
609
610
# File 'lib/stripe/params/payment_intent_update_params.rb', line 608

def amount
  @amount
end

#currencyObject

Currency of the insurance amount.



610
611
612
# File 'lib/stripe/params/payment_intent_update_params.rb', line 610

def currency
  @currency
end

#insurance_company_nameObject

Name of the insurance company.



612
613
614
# File 'lib/stripe/params/payment_intent_update_params.rb', line 612

def insurance_company_name
  @insurance_company_name
end

#insurance_typeObject

Type of insurance coverage.



614
615
616
# File 'lib/stripe/params/payment_intent_update_params.rb', line 614

def insurance_type
  @insurance_type
end