Class PaymentIntent.PaymentDetails.CarRentalDatum.Insurance

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.CarRentalDatum.Insurance
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.PaymentDetails.CarRentalDatum

public static class PaymentIntent.PaymentDetails.CarRentalDatum.Insurance extends StripeObject
For more details about Insurance, please refer to the API Reference.
  • Constructor Details

    • Insurance

      public Insurance()
  • Method Details

    • getAmount

      public Long getAmount()
      Amount of the insurance.
    • getCurrency

      public String getCurrency()
      Currency for the insurance price.
    • getInsuranceCompanyName

      public String getInsuranceCompanyName()
      Name of the insurance company.
    • getInsuranceType

      public String getInsuranceType()
      Type of insurance.

      One of liability_supplement, loss_damage_waiver, other, partial_damage_waiver, personal_accident, or personal_effects.

    • setAmount

      public void setAmount(Long amount)
      Amount of the insurance.
    • setCurrency

      public void setCurrency(String currency)
      Currency for the insurance price.
    • setInsuranceCompanyName

      public void setInsuranceCompanyName(String insuranceCompanyName)
      Name of the insurance company.
    • setInsuranceType

      public void setInsuranceType(String insuranceType)
      Type of insurance.

      One of liability_supplement, loss_damage_waiver, other, partial_damage_waiver, personal_accident, or personal_effects.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object