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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Conexxus Payment System Product Code identifying the primary fuel product purchased.The quantity ofunit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.getType()
The type of fuel that was purchased.getUnit()
The units forquantity_decimal
.The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.int
hashCode()
void
setIndustryProductCode
(String industryProductCode) Conexxus Payment System Product Code identifying the primary fuel product purchased.void
setQuantityDecimal
(BigDecimal quantityDecimal) The quantity ofunit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.void
The type of fuel that was purchased.void
The units forquantity_decimal
.void
setUnitCostDecimal
(BigDecimal unitCostDecimal) The cost in cents per each unit of fuel, 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
-
getIndustryProductCode
Conexxus Payment System Product Code identifying the primary fuel product purchased. -
getQuantityDecimal
The quantity ofunit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. -
getType
The type of fuel that was purchased. One ofdiesel
,unleaded_plus
,unleaded_regular
,unleaded_super
, orother
. -
getUnit
The units forquantity_decimal
. One ofcharging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,liter
,pound
,us_gallon
, orother
. -
getUnitCostDecimal
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. -
setIndustryProductCode
Conexxus Payment System Product Code identifying the primary fuel product purchased. -
setQuantityDecimal
The quantity ofunit
s of fuel that was dispensed, 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 forquantity_decimal
. One ofcharging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,liter
,pound
,us_gallon
, orother
. -
setUnitCostDecimal
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. -
equals
-
canEqual
-
hashCode
public int hashCode()
-