Class RequestCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.forwarding.RequestCreateParams

public class RequestCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static RequestCreateParams.Builder builder()
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getPaymentMethod

      public String getPaymentMethod()
      Required. The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed.
    • getReplacements

      public List<RequestCreateParams.Replacement> getReplacements()
      Required. The field kinds to be replaced in the forwarded request.
    • getRequest

      public RequestCreateParams.Request getRequest()
      Required. The request body and headers to be sent to the destination endpoint.
    • getUrl

      public String getUrl()
      Required. The destination URL for the forwarded request. Must be supported by the config.