Package com.stripe.param.issuing
Class TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder
- Enclosing class:
- TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet
public static class TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder
extends Object
-
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.setCardholderPromptData
(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData cardholderPromptData) Answers to prompts presented to the cardholder at the point of sale.setPurchaseType
(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.PurchaseType purchaseType) The type of purchase.setReportedBreakdown
(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.ReportedBreakdown reportedBreakdown) More information about the total amount.The type of fuel service.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCardholderPromptData
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder setCardholderPromptData(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData cardholderPromptData) Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry. -
putExtraParam
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.extraParams
for the field documentation. -
setPurchaseType
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder setPurchaseType(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.PurchaseType purchaseType) The type of purchase. One offuel_purchase
,non_fuel_purchase
, orfuel_and_non_fuel_purchase
. -
setReportedBreakdown
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder setReportedBreakdown(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.ReportedBreakdown reportedBreakdown) More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. -
setServiceType
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.Builder setServiceType(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.ServiceType serviceType) The type of fuel service. One ofnon_fuel_transaction
,full_service
, orself_service
.
-