Package com.stripe.model
Class PaymentIntent.PaymentDetails.FlightDatum.Insurance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.FlightDatum.Insurance
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentDetails.FlightDatum
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 booleanbooleanAmount of the insurance.Currency for the insurance price.Name of the insurance company.Type of insurance.inthashCode()voidAmount of the insurance.voidsetCurrency(String currency) Currency for the insurance price.voidsetInsuranceCompanyName(String insuranceCompanyName) Name of the insurance company.voidsetInsuranceType(String insuranceType) Type of insurance.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
Amount of the insurance. -
getCurrency
Currency for the insurance price. -
getInsuranceCompanyName
Name of the insurance company. -
getInsuranceType
Type of insurance.One of
baggage,bankruptcy,cancelation,emergency, ormedical. -
setAmount
Amount of the insurance. -
setCurrency
Currency for the insurance price. -
setInsuranceCompanyName
Name of the insurance company. -
setInsuranceType
Type of insurance.One of
baggage,bankruptcy,cancelation,emergency, ormedical. -
equals
-
canEqual
-
hashCode
public int hashCode()
-