Class RequestedSessionUpdateParams.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.Builder
- Enclosing class:
- RequestedSessionUpdateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand(List<String> elements) Add all elements to `expand` list.Add all elements to `lineItemDetails` list.Add an element to `expand` list.Add an element to `lineItemDetails` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` map.putAllSharedMetadata(Map<String, String> map) Add all map key/value pairs to `sharedMetadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.putSharedMetadata(String key, String value) Add a key/value pair to `sharedMetadata` map.setFulfillmentDetails(RequestedSessionUpdateParams.FulfillmentDetails fulfillmentDetails) The details of the fulfillment.setMetadata(EmptyParam metadata) The metadata for this requested session.setMetadata(Map<String, String> metadata) The metadata for this requested session.setPaymentMethod(EmptyParam paymentMethod) The payment method for this requested session.setPaymentMethod(String paymentMethod) The payment method for this requested session.setPaymentMethodData(EmptyParam paymentMethodData) The payment method data for this requested session.setPaymentMethodData(RequestedSessionUpdateParams.PaymentMethodData paymentMethodData) The payment method data for this requested session.setSharedMetadata(EmptyParam sharedMetadata) The shared metadata for this requested session.setSharedMetadata(Map<String, String> sharedMetadata) The shared metadata for this requested session.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRequestedSessionUpdateParams.expandfor the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRequestedSessionUpdateParams.expandfor the field documentation. -
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. SeeRequestedSessionUpdateParams.extraParamsfor 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. SeeRequestedSessionUpdateParams.extraParamsfor the field documentation. -
setFulfillmentDetails
public RequestedSessionUpdateParams.Builder setFulfillmentDetails(RequestedSessionUpdateParams.FulfillmentDetails fulfillmentDetails) The details of the fulfillment. -
addLineItemDetail
public RequestedSessionUpdateParams.Builder addLineItemDetail(RequestedSessionUpdateParams.LineItemDetail element) Add an element to `lineItemDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRequestedSessionUpdateParams.lineItemDetailsfor the field documentation. -
addAllLineItemDetail
public RequestedSessionUpdateParams.Builder addAllLineItemDetail(List<RequestedSessionUpdateParams.LineItemDetail> elements) Add all elements to `lineItemDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRequestedSessionUpdateParams.lineItemDetailsfor the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRequestedSessionUpdateParams.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeRequestedSessionUpdateParams.metadatafor the field documentation. -
setMetadata
The metadata for this requested session. -
setMetadata
The metadata for this requested session. -
setPaymentMethod
The payment method for this requested session. -
setPaymentMethod
The payment method for this requested session. -
setPaymentMethodData
public RequestedSessionUpdateParams.Builder setPaymentMethodData(RequestedSessionUpdateParams.PaymentMethodData paymentMethodData) The payment method data for this requested session. -
setPaymentMethodData
The payment method data for this requested session.
-