Package com.stripe.param.issuing
Class AuthorizationCreateParams.Fuel.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationCreateParams.Fuel.Builder
- Enclosing class:
- AuthorizationCreateParams.Fuel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setIndustryProductCode
(String industryProductCode) Conexxus Payment System Product Code identifying the primary fuel product purchased.setQuantityDecimal
(BigDecimal quantityDecimal) The quantity ofunit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.The type of fuel that was purchased.The units forquantity_decimal
.setUnitCostDecimal
(BigDecimal unitCostDecimal) The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.Fuel.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.Fuel.extraParams
for the field documentation. -
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.
-