Package com.stripe.param.issuing
Class AuthorizationFinalizeAmountParams.Fuel.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationFinalizeAmountParams.Fuel.Builder
- Enclosing class:
- AuthorizationFinalizeAmountParams.Fuel
-
Constructor Summary
Constructors -
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 ofunits 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. SeeAuthorizationFinalizeAmountParams.Fuel.extraParamsfor 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. SeeAuthorizationFinalizeAmountParams.Fuel.extraParamsfor the field documentation. -
setIndustryProductCode
public AuthorizationFinalizeAmountParams.Fuel.Builder setIndustryProductCode(String industryProductCode) Conexxus Payment System Product Code identifying the primary fuel product purchased. -
setQuantityDecimal
public AuthorizationFinalizeAmountParams.Fuel.Builder setQuantityDecimal(BigDecimal quantityDecimal) The quantity ofunits of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. -
setType
public AuthorizationFinalizeAmountParams.Fuel.Builder setType(AuthorizationFinalizeAmountParams.Fuel.Type type) The type of fuel that was purchased. One ofdiesel,unleaded_plus,unleaded_regular,unleaded_super, orother. -
setUnit
public AuthorizationFinalizeAmountParams.Fuel.Builder setUnit(AuthorizationFinalizeAmountParams.Fuel.Unit unit) The units forquantity_decimal. One ofcharging_minute,imperial_gallon,kilogram,kilowatt_hour,liter,pound,us_gallon, orother. -
setUnitCostDecimal
public AuthorizationFinalizeAmountParams.Fuel.Builder setUnitCostDecimal(BigDecimal unitCostDecimal) The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
-