Package com.checkout.forward.responses
Class DestinationRequest.DestinationRequestBuilder
- java.lang.Object
-
- com.checkout.forward.responses.DestinationRequest.DestinationRequestBuilder
-
- Enclosing class:
- DestinationRequest
public static class DestinationRequest.DestinationRequestBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationRequest.DestinationRequestBuilderbody(java.lang.String body)The HTTP message body of the forward request.DestinationRequestbuild()DestinationRequest.DestinationRequestBuilderheaders(java.util.Map<java.lang.String,java.lang.String> headers)The HTTP headers of the forward request.DestinationRequest.DestinationRequestBuildermethod(java.lang.String method)The HTTP method of the forward request.java.lang.StringtoString()DestinationRequest.DestinationRequestBuilderurl(java.lang.String url)The URL of the forward request.
-
-
-
Method Detail
-
url
public DestinationRequest.DestinationRequestBuilder url(java.lang.String url)
The URL of the forward request. (Required)- Returns:
this.
-
method
public DestinationRequest.DestinationRequestBuilder method(java.lang.String method)
The HTTP method of the forward request. (Required)- Returns:
this.
-
headers
public DestinationRequest.DestinationRequestBuilder headers(java.util.Map<java.lang.String,java.lang.String> headers)
The HTTP headers of the forward request. Encrypted and sensitive header values are redacted. (Required)- Returns:
this.
-
body
public DestinationRequest.DestinationRequestBuilder body(java.lang.String body)
The HTTP message body of the forward request. This is the original value used to initiate the request, with placeholder value text included. For example, {{card_number}} is not replaced with an actual card number. (Required)- Returns:
this.
-
build
public DestinationRequest build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-