Package com.stripe.model
Class PaymentIntent.PaymentDetails.LodgingDatum.Total
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.LodgingDatum.Total
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentDetails.LodgingDatum
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 price of the lodging reservation in cents.Cash advances in cents.Currency of the total amount.Additional charges for the lodging.Prepaid amount in cents.getTax()inthashCode()voidTotal price of the lodging reservation in cents.voidsetCashAdvances(Long cashAdvances) Cash advances in cents.voidsetCurrency(String currency) Currency of the total amount.voidvoidAdditional charges for the lodging.voidsetPrepaidAmount(Long prepaidAmount) Prepaid amount in cents.voidMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Total
public Total()
-
-
Method Details
-
getAmount
Total price of the lodging reservation in cents. -
getCashAdvances
Cash advances in cents. -
getCurrency
Currency of the total amount. -
getDiscounts
-
getExtraCharges
Additional charges for the lodging. -
getPrepaidAmount
Prepaid amount in cents. -
getTax
-
setAmount
Total price of the lodging reservation in cents. -
setCashAdvances
Cash advances in cents. -
setCurrency
Currency of the total amount. -
setDiscounts
-
setExtraCharges
public void setExtraCharges(List<PaymentIntent.PaymentDetails.LodgingDatum.Total.ExtraCharge> extraCharges) Additional charges for the lodging. -
setPrepaidAmount
Prepaid amount in cents. -
setTax
-
equals
-
canEqual
-
hashCode
public int hashCode()
-