Class RequestedSessionUpdateParams.Builder

java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.Builder
Enclosing class:
RequestedSessionUpdateParams

public static class RequestedSessionUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • addExpand

      public RequestedSessionUpdateParams.Builder addExpand(String element)
      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. See RequestedSessionUpdateParams.expand for the field documentation.
    • addAllExpand

      public RequestedSessionUpdateParams.Builder addAllExpand(List<String> elements)
      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. See RequestedSessionUpdateParams.expand for the field documentation.
    • putExtraParam

      public RequestedSessionUpdateParams.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. See RequestedSessionUpdateParams.extraParams for the field documentation.
    • putAllExtraParam

      public RequestedSessionUpdateParams.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. See RequestedSessionUpdateParams.extraParams for the field documentation.
    • setFulfillmentDetails

      The details of the fulfillment.
    • addLineItemDetail

      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. See RequestedSessionUpdateParams.lineItemDetails for the field documentation.
    • addAllLineItemDetail

      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. See RequestedSessionUpdateParams.lineItemDetails for the field documentation.
    • putMetadata

      public RequestedSessionUpdateParams.Builder putMetadata(String key, String value)
      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. See RequestedSessionUpdateParams.metadata for the field documentation.
    • putAllMetadata

      public RequestedSessionUpdateParams.Builder putAllMetadata(Map<String,String> map)
      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. See RequestedSessionUpdateParams.metadata for the field documentation.
    • setPaymentMethod

      public RequestedSessionUpdateParams.Builder setPaymentMethod(String paymentMethod)
      The payment method for this requested session.
    • setPaymentMethod

      public RequestedSessionUpdateParams.Builder setPaymentMethod(EmptyParam paymentMethod)
      The payment method for this requested session.
    • setPaymentMethodData

      The payment method data for this requested session.
    • putSharedMetadata

      public RequestedSessionUpdateParams.Builder putSharedMetadata(String key, String value)
      Add a key/value pair to `sharedMetadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See RequestedSessionUpdateParams.sharedMetadata for the field documentation.
    • putAllSharedMetadata

      public RequestedSessionUpdateParams.Builder putAllSharedMetadata(Map<String,String> map)
      Add all map key/value pairs to `sharedMetadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See RequestedSessionUpdateParams.sharedMetadata for the field documentation.