Package com.checkout.forward.responses
Class GetForwardResponse.GetForwardResponseBuilder
- java.lang.Object
-
- com.checkout.forward.responses.GetForwardResponse.GetForwardResponseBuilder
-
- Enclosing class:
- GetForwardResponse
public static class GetForwardResponse.GetForwardResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetForwardResponsebuild()GetForwardResponse.GetForwardResponseBuildercreatedOn(java.time.Instant createdOn)The date and time the forward request was created, in UTC (Required)GetForwardResponse.GetForwardResponseBuilderdestinationRequest(DestinationRequest destinationRequest)The parameters of the HTTP request forwarded to the destination (Required)GetForwardResponse.GetForwardResponseBuilderdestinationResponse(DestinationResponse destinationResponse)The HTTP response received from the destination.GetForwardResponse.GetForwardResponseBuilderentityId(java.lang.String entityId)The client entity linked to the forward request (Required)GetForwardResponse.GetForwardResponseBuilderreference(java.lang.String reference)The unique reference for the forward request (Optional)GetForwardResponse.GetForwardResponseBuilderrequestId(java.lang.String requestId)The unique identifier for the forward request (Required)java.lang.StringtoString()
-
-
-
Method Detail
-
requestId
public GetForwardResponse.GetForwardResponseBuilder requestId(java.lang.String requestId)
The unique identifier for the forward request (Required)- Returns:
this.
-
entityId
public GetForwardResponse.GetForwardResponseBuilder entityId(java.lang.String entityId)
The client entity linked to the forward request (Required)- Returns:
this.
-
destinationRequest
public GetForwardResponse.GetForwardResponseBuilder destinationRequest(DestinationRequest destinationRequest)
The parameters of the HTTP request forwarded to the destination (Required)- Returns:
this.
-
createdOn
public GetForwardResponse.GetForwardResponseBuilder createdOn(java.time.Instant createdOn)
The date and time the forward request was created, in UTC (Required)- Returns:
this.
-
reference
public GetForwardResponse.GetForwardResponseBuilder reference(java.lang.String reference)
The unique reference for the forward request (Optional)- Returns:
this.
-
destinationResponse
public GetForwardResponse.GetForwardResponseBuilder destinationResponse(DestinationResponse destinationResponse)
The HTTP response received from the destination. Sensitive PCI data is not included in the response (Optional)- Returns:
this.
-
build
public GetForwardResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-