Package com.checkout.forward.responses
Class GetForwardResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.forward.responses.GetForwardResponse
-
public final class GetForwardResponse extends HttpMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetForwardResponse.GetForwardResponseBuilder
-
Constructor Summary
Constructors Constructor Description GetForwardResponse()GetForwardResponse(java.lang.String requestId, java.lang.String entityId, DestinationRequest destinationRequest, java.time.Instant createdOn, java.lang.String reference, DestinationResponse destinationResponse)Creates a newGetForwardResponseinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetForwardResponse.GetForwardResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.time.InstantgetCreatedOn()The date and time the forward request was created, in UTC (Required)DestinationRequestgetDestinationRequest()The parameters of the HTTP request forwarded to the destination (Required)DestinationResponsegetDestinationResponse()The HTTP response received from the destination.java.lang.StringgetEntityId()The client entity linked to the forward request (Required)java.lang.StringgetReference()The unique reference for the forward request (Optional)java.lang.StringgetRequestId()The unique identifier for the forward request (Required)inthashCode()java.lang.StringtoString()-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Constructor Detail
-
GetForwardResponse
public GetForwardResponse(java.lang.String requestId, java.lang.String entityId, DestinationRequest destinationRequest, java.time.Instant createdOn, java.lang.String reference, DestinationResponse destinationResponse)Creates a newGetForwardResponseinstance.- Parameters:
requestId- The unique identifier for the forward request (Required)entityId- The client entity linked to the forward request (Required)destinationRequest- The parameters of the HTTP request forwarded to the destination (Required)createdOn- The date and time the forward request was created, in UTC (Required)reference- The unique reference for the forward request (Optional)destinationResponse- The HTTP response received from the destination. Sensitive PCI data is not included in the response (Optional)
-
GetForwardResponse
public GetForwardResponse()
-
-
Method Detail
-
builder
public static GetForwardResponse.GetForwardResponseBuilder builder()
-
getRequestId
public java.lang.String getRequestId()
The unique identifier for the forward request (Required)- Overrides:
getRequestIdin classHttpMetadata
-
getEntityId
public java.lang.String getEntityId()
The client entity linked to the forward request (Required)
-
getDestinationRequest
public DestinationRequest getDestinationRequest()
The parameters of the HTTP request forwarded to the destination (Required)
-
getCreatedOn
public java.time.Instant getCreatedOn()
The date and time the forward request was created, in UTC (Required)
-
getReference
public java.lang.String getReference()
The unique reference for the forward request (Optional)
-
getDestinationResponse
public DestinationResponse getDestinationResponse()
The HTTP response received from the destination. Sensitive PCI data is not included in the response (Optional)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classHttpMetadata
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classHttpMetadata
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classHttpMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCodein classHttpMetadata
-
-