Package com.increase.api.core
Class UnwrapWebhookParams.Builder
-
- All Implemented Interfaces:
public final class UnwrapWebhookParams.BuilderA builder for UnwrapWebhookParams.
-
-
Method Summary
Modifier and Type Method Description final UnwrapWebhookParams.Builderbody(String body)The raw JSON body of the webhook request. final UnwrapWebhookParams.Builderheaders(Headers headers)The headers from the webhook request. final UnwrapWebhookParams.Builderheaders(Optional<Headers> headers)Alias for calling Builder.headers with headers.orElse(null).final UnwrapWebhookParams.Buildersecret(String secret)The secret used to verify the webhook signature. final UnwrapWebhookParams.Buildersecret(Optional<String> secret)Alias for calling Builder.secret with secret.orElse(null).final UnwrapWebhookParamsbuild()Returns an immutable instance of UnwrapWebhookParams. -
-
Method Detail
-
body
final UnwrapWebhookParams.Builder body(String body)
The raw JSON body of the webhook request.
-
headers
final UnwrapWebhookParams.Builder headers(Headers headers)
The headers from the webhook request.
-
headers
final UnwrapWebhookParams.Builder headers(Optional<Headers> headers)
Alias for calling Builder.headers with
headers.orElse(null).
-
secret
final UnwrapWebhookParams.Builder secret(String secret)
The secret used to verify the webhook signature.
-
secret
final UnwrapWebhookParams.Builder secret(Optional<String> secret)
Alias for calling Builder.secret with
secret.orElse(null).
-
build
final UnwrapWebhookParams build()
Returns an immutable instance of UnwrapWebhookParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.body()
-
-
-
-