Package com.stripe.param.issuing
Class TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder
- Enclosing class:
- TransactionCreateUnlinkedRefundParams.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 TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.extraParams
for the field documentation. -
setFleet
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder setFleet(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet fleet) Fleet-specific information for transactions using Fleet cards. -
setFlight
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder setFlight(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Flight flight) Information about the flight that was purchased with this transaction. -
setFuel
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder setFuel(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fuel fuel) Information about fuel that was purchased with this transaction. -
setLodging
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder setLodging(TransactionCreateUnlinkedRefundParams.PurchaseDetails.Lodging lodging) Information about lodging that was purchased with this transaction. -
addReceipt
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder addReceipt(TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.receipt
for the field documentation. -
addAllReceipt
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Builder addAllReceipt(List<TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.receipt
for the field documentation. -
setReference
A merchant-specific order number.
-