All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.workflows.actions.request.WebhookWorkflowActionRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
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