Class: Stripe::ChargeCaptureParams::PaymentDetails::FlightDatum::Insurance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeCaptureParams::PaymentDetails::FlightDatum::Insurance
- Defined in:
- lib/stripe/params/charge_capture_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Insurance cost.
-
#currency ⇒ Object
Insurance currency.
-
#insurance_company_name ⇒ Object
Insurance company name.
-
#insurance_type ⇒ Object
Type of insurance.
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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, currency: nil, insurance_company_name: nil, insurance_type: nil) ⇒ Insurance
Returns a new instance of Insurance.
846 847 848 849 850 851 852 853 854 855 856 |
# File 'lib/stripe/params/charge_capture_params.rb', line 846 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
Insurance cost.
838 839 840 |
# File 'lib/stripe/params/charge_capture_params.rb', line 838 def amount @amount end |
#currency ⇒ Object
Insurance currency.
840 841 842 |
# File 'lib/stripe/params/charge_capture_params.rb', line 840 def currency @currency end |
#insurance_company_name ⇒ Object
Insurance company name.
842 843 844 |
# File 'lib/stripe/params/charge_capture_params.rb', line 842 def insurance_company_name @insurance_company_name end |
#insurance_type ⇒ Object
Type of insurance.
844 845 846 |
# File 'lib/stripe/params/charge_capture_params.rb', line 844 def insurance_type @insurance_type end |