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

com.checkout.webhooks.previous.WebhookRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.webhooks.previous;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public final class WebhookRequest {

    @NonNull
    private String url;

    @Builder.Default
    private boolean active = true;

    private Map headers;

    private String contentType;

    @Builder.Default
    private List eventTypes = new ArrayList<>();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy