Package com.stripe.param.issuing
Class AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder
- Enclosing class:
- AuthorizationCaptureParams.PurchaseDetails.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
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder putExtraParam(String key, Object value) 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. SeeAuthorizationCaptureParams.PurchaseDetails.Fuel.extraParams
for the field documentation. -
putAllExtraParam
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder putAllExtraParam(Map<String, Object> map) 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. SeeAuthorizationCaptureParams.PurchaseDetails.Fuel.extraParams
for the field documentation. -
setIndustryProductCode
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder setIndustryProductCode(String industryProductCode) Conexxus Payment System Product Code identifying the primary fuel product purchased. -
setQuantityDecimal
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder setQuantityDecimal(BigDecimal quantityDecimal) The quantity ofunit
s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places. -
setType
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder setType(AuthorizationCaptureParams.PurchaseDetails.Fuel.Type type) The type of fuel that was purchased. One ofdiesel
,unleaded_plus
,unleaded_regular
,unleaded_super
, orother
. -
setUnit
public AuthorizationCaptureParams.PurchaseDetails.Fuel.Builder setUnit(AuthorizationCaptureParams.PurchaseDetails.Fuel.Unit unit) The units forquantity_decimal
. One ofcharging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,liter
,pound
,us_gallon
, orother
. -
setUnitCostDecimal
public AuthorizationCaptureParams.PurchaseDetails.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.
-