Package com.stripe.model.forwarding
Class Request.RequestDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.forwarding.Request.RequestDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Request
Details about the request forwarded to the destination endpoint.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getBody()
The body payload to send to the destination endpoint.The headers to include in the forwarded request.The HTTP method used to call the destination endpoint.int
hashCode()
void
The body payload to send to the destination endpoint.void
setHeaders
(List<Request.RequestDetails.Header> headers) The headers to include in the forwarded request.void
setHttpMethod
(String httpMethod) The HTTP method used to call the destination endpoint.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RequestDetails
public RequestDetails()
-
-
Method Details
-
getBody
The body payload to send to the destination endpoint. -
getHeaders
The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included. -
getHttpMethod
The HTTP method used to call the destination endpoint.Equal to
POST
. -
setBody
The body payload to send to the destination endpoint. -
setHeaders
The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included. -
setHttpMethod
The HTTP method used to call the destination endpoint.Equal to
POST
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-