Package com.stripe.model.issuing
Class Authorization.Fuel
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Authorization.Fuel
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Authorization
Amount of national Sales Tax or VAT included in the transaction amount.
null
if
not reported by merchant or not subject to tax.-
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 of
diesel
,other
,unleaded_plus
,unleaded_regular
, orunleaded_super
. -
getUnit
The units forquantity_decimal
.One of
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,liter
,other
,pound
, orus_gallon
. -
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 of
diesel
,other
,unleaded_plus
,unleaded_regular
, orunleaded_super
. -
setUnit
The units forquantity_decimal
.One of
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,liter
,other
,pound
, orus_gallon
. -
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()
-