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
For more details about Fuel, 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 booleanbooleanConexxus Payment System Product Code identifying the primary fuel product purchased.The quantity ofunits 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.inthashCode()voidsetIndustryProductCode(String industryProductCode) Conexxus Payment System Product Code identifying the primary fuel product purchased.voidsetQuantityDecimal(BigDecimal quantityDecimal) The quantity ofunits of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.voidThe type of fuel that was purchased.voidThe units forquantity_decimal.voidsetUnitCostDecimal(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, 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 ofunits 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 ofunits 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()
-