Package com.stripe.model.issuing
Class Transaction.PurchaseDetails.Fuel
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Transaction.PurchaseDetails.Fuel
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Transaction.PurchaseDetails
Whether a stopover is allowed on this flight.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetType()The type of fuel that was purchased.getUnit()The units forvolume_decimal.The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.inthashCode()voidThe type of fuel that was purchased.voidThe units forvolume_decimal.voidsetUnitCostDecimal(BigDecimal unitCostDecimal) The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.voidsetVolumeDecimal(BigDecimal volumeDecimal) The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Fuel
public Fuel()
-
-
Method Details
-
getType
The type of fuel that was purchased. One ofdiesel,unleaded_plus,unleaded_regular,unleaded_super, orother. -
getUnit
The units forvolume_decimal. One ofus_gallonorliter. -
getUnitCostDecimal
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. -
getVolumeDecimal
The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places. -
setType
The type of fuel that was purchased. One ofdiesel,unleaded_plus,unleaded_regular,unleaded_super, orother. -
setUnit
The units forvolume_decimal. One ofus_gallonorliter. -
setUnitCostDecimal
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. -
setVolumeDecimal
The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places. -
equals
-
canEqual
-
hashCode
public int hashCode()
-