Package com.stripe.param.issuing
Class TransactionCreateForceCaptureParams.PurchaseDetails.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateForceCaptureParams.PurchaseDetails.Builder
- Enclosing class:
- TransactionCreateForceCaptureParams.PurchaseDetails
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `receipt` list.Add an element to `receipt` list.build()
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.Fleet-specific information for transactions using Fleet cards.Information about the flight that was purchased with this transaction.Information about fuel that was purchased with this transaction.Information about lodging that was purchased with this transaction.setReference
(String reference) A merchant-specific order number.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.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. SeeTransactionCreateForceCaptureParams.PurchaseDetails.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.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. SeeTransactionCreateForceCaptureParams.PurchaseDetails.extraParams
for the field documentation. -
setFleet
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder setFleet(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet fleet) Fleet-specific information for transactions using Fleet cards. -
setFlight
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder setFlight(TransactionCreateForceCaptureParams.PurchaseDetails.Flight flight) Information about the flight that was purchased with this transaction. -
setFuel
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder setFuel(TransactionCreateForceCaptureParams.PurchaseDetails.Fuel fuel) Information about fuel that was purchased with this transaction. -
setLodging
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder setLodging(TransactionCreateForceCaptureParams.PurchaseDetails.Lodging lodging) Information about lodging that was purchased with this transaction. -
addReceipt
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder addReceipt(TransactionCreateForceCaptureParams.PurchaseDetails.Receipt element) Add an element to `receipt` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeTransactionCreateForceCaptureParams.PurchaseDetails.receipt
for the field documentation. -
addAllReceipt
public TransactionCreateForceCaptureParams.PurchaseDetails.Builder addAllReceipt(List<TransactionCreateForceCaptureParams.PurchaseDetails.Receipt> elements) Add all elements to `receipt` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeTransactionCreateForceCaptureParams.PurchaseDetails.receipt
for the field documentation. -
setReference
A merchant-specific order number.
-