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