Package com.stripe.model
Class PaymentIntent.PaymentDetails.CarRentalDatum.Total
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.CarRentalDatum.Total
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentDetails.CarRentalDatum
For more details about Total, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Discounts, please refer to the API Reference.static classFor more details about ExtraCharge, please refer to the API Reference.static classFor more details about Tax, 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 booleanbooleanTotal amount.Currency for the total amount.Additional charges for the rental.Rate per unit.Unit for the rate.getTax()inthashCode()voidTotal amount.voidsetCurrency(String currency) Currency for the total amount.voidvoidAdditional charges for the rental.voidsetRatePerUnit(Long ratePerUnit) Rate per unit.voidsetRateUnit(String rateUnit) Unit for the rate.voidMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Total
public Total()
-
-
Method Details
-
getAmount
Total amount. -
getCurrency
Currency for the total amount. -
getDiscounts
-
getExtraCharges
Additional charges for the rental. -
getRatePerUnit
Rate per unit. -
getRateUnit
Unit for the rate.One of
kilometers, ormiles. -
getTax
-
setAmount
Total amount. -
setCurrency
Currency for the total amount. -
setDiscounts
-
setExtraCharges
public void setExtraCharges(List<PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge> extraCharges) Additional charges for the rental. -
setRatePerUnit
Rate per unit. -
setRateUnit
Unit for the rate.One of
kilometers, ormiles. -
setTax
-
equals
-
canEqual
-
hashCode
public int hashCode()
-