com.checkout.workflows.actions.request.WebhookWorkflowActionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.workflows.actions.request;
import com.checkout.workflows.actions.WebhookSignature;
import com.checkout.workflows.actions.WorkflowActionType;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.Map;
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class WebhookWorkflowActionRequest extends WorkflowActionRequest {
private String url;
private Map headers;
private WebhookSignature signature;
public WebhookWorkflowActionRequest() {
super(WorkflowActionType.WEBHOOK);
}
@Builder
private WebhookWorkflowActionRequest(final String url,
final Map headers,
final WebhookSignature signature) {
super(WorkflowActionType.WEBHOOK);
this.url = url;
this.headers = headers;
this.signature = signature;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy