Package com.stripe.model
Class PaymentIntent.PaymentDetails.LodgingDatum.Insurance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.LodgingDatum.Insurance
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentDetails.LodgingDatum
For more details about Insurance, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanPrice of the insurance coverage in cents.Currency of the insurance amount.Name of the insurance company.Type of insurance coverage.inthashCode()voidPrice of the insurance coverage in cents.voidsetCurrency(String currency) Currency of the insurance amount.voidsetInsuranceCompanyName(String insuranceCompanyName) Name of the insurance company.voidsetInsuranceType(String insuranceType) Type of insurance coverage.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Insurance
public Insurance()
-
-
Method Details
-
getAmount
Price of the insurance coverage in cents. -
getCurrency
Currency of the insurance amount. -
getInsuranceCompanyName
Name of the insurance company. -
getInsuranceType
Type of insurance coverage.One of
bankruptcy,cancelation,emergency, ormedical. -
setAmount
Price of the insurance coverage in cents. -
setCurrency
Currency of the insurance amount. -
setInsuranceCompanyName
Name of the insurance company. -
setInsuranceType
Type of insurance coverage.One of
bankruptcy,cancelation,emergency, ormedical. -
equals
-
canEqual
-
hashCode
public int hashCode()
-