Package com.stripe.model.forwarding
Class Request.RequestContext
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.forwarding.Request.RequestContext
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Request
Metadata about the forwarded request.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The time it took in milliseconds for the destination endpoint to respond.The IP address of the destination.int
hashCode()
void
setDestinationDuration
(Long destinationDuration) The time it took in milliseconds for the destination endpoint to respond.void
setDestinationIpAddress
(String destinationIpAddress) The IP address of the destination.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RequestContext
public RequestContext()
-
-
Method Details
-
getDestinationDuration
The time it took in milliseconds for the destination endpoint to respond. -
getDestinationIpAddress
The IP address of the destination. -
setDestinationDuration
The time it took in milliseconds for the destination endpoint to respond. -
setDestinationIpAddress
The IP address of the destination. -
equals
-
canEqual
-
hashCode
public int hashCode()
-