Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/co/lettermint/api/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.net.URLEncoder;
import java.util.Map;

public class ApiClient {

Check warning on line 10 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 10 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 10 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;
private final DomainsEndpoint domains;
private final MessagesEndpoint messages;
Expand All @@ -18,7 +18,7 @@
private final TeamEndpoint team;
private final WebhooksEndpoint webhooks;

public ApiClient(String apiToken, String baseUrl) {

Check warning on line 21 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 21 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 21 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
this.client = new LettermintClient(apiToken, baseUrl, LettermintClient.AuthMode.BEARER);
this.domains = new DomainsEndpoint(client);
this.messages = new MessagesEndpoint(client);
Expand Down Expand Up @@ -78,7 +78,7 @@
}
}

public static class DomainsEndpoint {

Check warning on line 81 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 81 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 81 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

DomainsEndpoint(LettermintClient client) {
Expand Down Expand Up @@ -118,7 +118,7 @@
}
}

public static class MessagesEndpoint {

Check warning on line 121 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 121 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 121 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

MessagesEndpoint(LettermintClient client) {
Expand All @@ -141,8 +141,8 @@
return client.patch("/messages/" + segment(messageId), payload, RescheduleMessageResponse.class);
}

public RescheduleMessageResponse cancel(String messageId) {
return client.post("/messages/" + segment(messageId) + "/cancel", null, RescheduleMessageResponse.class);
public CancelScheduledMessageResponse cancel(String messageId) {
return client.post("/messages/" + segment(messageId) + "/cancel", null, CancelScheduledMessageResponse.class);
}

public ProcessInboundMessageResponse process(String messageId) {
Expand Down Expand Up @@ -170,7 +170,7 @@
}
}

public static class ProjectsEndpoint {

Check warning on line 173 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 173 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 173 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

ProjectsEndpoint(LettermintClient client) {
Expand Down Expand Up @@ -218,7 +218,7 @@
}
}

public static class RoutesEndpoint {

Check warning on line 221 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 221 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 221 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

RoutesEndpoint(LettermintClient client) {
Expand All @@ -242,7 +242,7 @@
}
}

public static class StatsEndpoint {

Check warning on line 245 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 245 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 245 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

StatsEndpoint(LettermintClient client) {
Expand All @@ -258,7 +258,7 @@
}
}

public static class SuppressionsEndpoint {

Check warning on line 261 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 261 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 261 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

SuppressionsEndpoint(LettermintClient client) {
Expand All @@ -282,7 +282,7 @@
}
}

public static class TeamEndpoint {

Check warning on line 285 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 285 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 285 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

TeamEndpoint(LettermintClient client) {
Expand Down Expand Up @@ -326,7 +326,7 @@
}
}

public static class WebhooksEndpoint {

Check warning on line 329 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 21 - ubuntu-latest)

no comment

Check warning on line 329 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Test (Java 17 - ubuntu-latest)

no comment

Check warning on line 329 in src/main/java/co/lettermint/api/ApiClient.java

View workflow job for this annotation

GitHub Actions / Build

no comment
private final LettermintClient client;

WebhooksEndpoint(LettermintClient client) {
Expand Down
14 changes: 14 additions & 0 deletions src/main/java/co/lettermint/endpoints/EmailEndpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
private String tag;
private List<MessageTag> tags;
private Map<String, Object> settings;
private String sandboxResult;
private String idempotencyKey;

public EmailEndpoint(LettermintClient client) {
Expand Down Expand Up @@ -58,6 +59,7 @@
this.tag = null;
this.tags = new ArrayList<>();
this.settings = null;
this.sandboxResult = null;
this.idempotencyKey = null;
}

Expand All @@ -65,7 +67,7 @@
* Set the sender email address.
* Format: {@code "Name <email>"} or just {@code "email"}
*/
public EmailEndpoint from(String from) {

Check warning on line 70 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

Check warning on line 70 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

no @PARAM for from

Check warning on line 70 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

Check warning on line 70 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

no @PARAM for from
this.from = from;
return this;
}
Expand All @@ -73,7 +75,7 @@
/**
* Set recipient email addresses. Replaces any existing recipients.
*/
public EmailEndpoint to(String... emails) {

Check warning on line 78 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

Check warning on line 78 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

no @PARAM for emails

Check warning on line 78 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

Check warning on line 78 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

no @PARAM for emails
this.to = new ArrayList<>(Arrays.asList(emails));
return this;
}
Expand All @@ -81,7 +83,7 @@
/**
* Set CC email addresses. Replaces any existing CC recipients.
*/
public EmailEndpoint cc(String... emails) {

Check warning on line 86 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

Check warning on line 86 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

no @PARAM for emails

Check warning on line 86 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

Check warning on line 86 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

no @PARAM for emails
this.cc = new ArrayList<>(Arrays.asList(emails));
return this;
}
Expand All @@ -89,7 +91,7 @@
/**
* Set BCC email addresses. Replaces any existing BCC recipients.
*/
public EmailEndpoint bcc(String... emails) {

Check warning on line 94 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

Check warning on line 94 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

no @PARAM for emails

Check warning on line 94 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

Check warning on line 94 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

no @PARAM for emails
this.bcc = new ArrayList<>(Arrays.asList(emails));
return this;
}
Expand All @@ -97,7 +99,7 @@
/**
* Set reply-to email addresses. Replaces any existing reply-to addresses.
*/
public EmailEndpoint replyTo(String... emails) {

Check warning on line 102 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

Check warning on line 102 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 11 - ubuntu-latest)

no @PARAM for emails

Check warning on line 102 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

Check warning on line 102 in src/main/java/co/lettermint/endpoints/EmailEndpoint.java

View workflow job for this annotation

GitHub Actions / Test (Java 8 - ubuntu-latest)

no @PARAM for emails
this.replyTo = new ArrayList<>(Arrays.asList(emails));
return this;
}
Expand Down Expand Up @@ -257,6 +259,14 @@
return this;
}

/**
* Select the simulated result for a Sandbox project message.
*/
public EmailEndpoint sandboxResult(String sandboxResult) {
this.sandboxResult = sandboxResult;
return this;
}

/**
* Set an idempotency key for the request.
*/
Expand Down Expand Up @@ -369,6 +379,10 @@
payload.put("settings", settings);
}

if (sandboxResult != null) {
payload.put("sandbox_result", sandboxResult);
}

return payload;
}
}
24 changes: 24 additions & 0 deletions src/main/java/co/lettermint/models/SendEmailResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ public class SendEmailResponse {
@JsonProperty("status")
private String status;

@JsonProperty("sandbox")
private Boolean sandbox;

@JsonProperty("sandbox_result")
private String sandboxResult;

public SendEmailResponse() {
}

Expand All @@ -39,11 +45,29 @@ public void setStatus(String status) {
this.status = status;
}

public Boolean getSandbox() {
return sandbox;
}

public void setSandbox(Boolean sandbox) {
this.sandbox = sandbox;
}

public String getSandboxResult() {
return sandboxResult;
}

public void setSandboxResult(String sandboxResult) {
this.sandboxResult = sandboxResult;
}

@Override
public String toString() {
return "SendEmailResponse{" +
"messageId='" + messageId + '\'' +
", status='" + status + '\'' +
", sandbox=" + sandbox +
", sandboxResult='" + sandboxResult + '\'' +
'}';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package co.lettermint.models.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class CancelScheduledMessageResponse {
@JsonProperty("message_id")
public String messageId;

@JsonProperty("status")
public String status;

@JsonProperty("scheduled_at")
public String scheduledAt;
}
8 changes: 8 additions & 0 deletions src/main/java/co/lettermint/models/api/DeliveryMode.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package co.lettermint.models.api;

public final class DeliveryMode {
public static final String LIVE = "live";
public static final String SANDBOX = "sandbox";

private DeliveryMode() {}
}
6 changes: 6 additions & 0 deletions src/main/java/co/lettermint/models/api/MessageData.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ public class MessageData {

@JsonProperty("created_at")
public String createdAt;

@JsonProperty("delivery_mode")
public String deliveryMode;

@JsonProperty("sandbox_result")
public String sandboxResult;
}
6 changes: 6 additions & 0 deletions src/main/java/co/lettermint/models/api/MessageListData.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,10 @@ public class MessageListData {

@JsonProperty("created_at")
public String createdAt;

@JsonProperty("delivery_mode")
public String deliveryMode;

@JsonProperty("sandbox_result")
public String sandboxResult;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ public class MessageRecipientData {

@JsonProperty("name")
public String name;

@JsonProperty("sandbox_result")
public String sandboxResult;
}
3 changes: 3 additions & 0 deletions src/main/java/co/lettermint/models/api/ProjectData.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ public class ProjectData {

@JsonProperty("updated_at")
public String updatedAt;

@JsonProperty("delivery_mode")
public String deliveryMode;
}
3 changes: 3 additions & 0 deletions src/main/java/co/lettermint/models/api/RouteData.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class RouteData {
@JsonProperty("inbound_address")
public String inboundAddress;

@JsonProperty("inbound_mx_hostname")
public String inboundMxHostname;

@JsonProperty("inbound_domain")
public String inboundDomain;

Expand Down
17 changes: 17 additions & 0 deletions src/main/java/co/lettermint/models/api/SandboxResult.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package co.lettermint.models.api;

public final class SandboxResult {
public static final String DELIVERED = "delivered";
public static final String HARDBOUNCED = "hard_bounced";
public static final String SOFTBOUNCED = "soft_bounced";
public static final String DEFERRED = "deferred";
public static final String FAILED = "failed";
public static final String SUPPRESSED = "suppressed";
public static final String SPAMCOMPLAINT = "spam_complaint";
public static final String AUTOREPLIED = "auto_replied";
public static final String OPENED = "opened";
public static final String CLICKED = "clicked";
public static final String UNSUBSCRIBED = "unsubscribed";

private SandboxResult() {}
}
3 changes: 3 additions & 0 deletions src/main/java/co/lettermint/models/api/SendMailRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ public class SendMailRequest {

@JsonProperty("attachments")
public List<Map<String, Object>> attachments;

@JsonProperty("sandbox_result")
public String sandboxResult;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ public class SendMailResponse {

@JsonProperty("scheduled_at")
public String scheduledAt;

@JsonProperty("sandbox")
public Boolean sandbox;

@JsonProperty("sandbox_result")
public String sandboxResult;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ public class StoreProjectData {

@JsonProperty("short_token")
public Boolean shortToken;

@JsonProperty("delivery_mode")
public String deliveryMode;
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ public class StoreSuppressionData {

@JsonProperty("project_id")
public String projectId;

@JsonProperty("applies_to")
public String appliesTo;
}
18 changes: 15 additions & 3 deletions src/main/java/co/lettermint/models/api/StoreWebhookData.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

@JsonIgnoreProperties(ignoreUnknown = true)
public class StoreWebhookData {
@JsonProperty("route_id")
public String routeId;

@JsonProperty("name")
public String name;

Expand All @@ -23,4 +20,19 @@ public class StoreWebhookData {

@JsonProperty("include_machine_events")
public Boolean includeMachineEvents;

@JsonProperty("scope")
public String scope;

@JsonProperty("project_ids")
public List<String> projectIds;

@JsonProperty("route_ids")
public List<String> routeIds;

@JsonProperty("route_id")
public String routeId;

@JsonProperty("delivery_mode_filter")
public String deliveryModeFilter;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public class SuppressedRecipientData {
@JsonProperty("scope")
public String scope;

@JsonProperty("applies_to")
public String appliesTo;

@JsonProperty("project_id")
public String projectId;

Expand All @@ -31,7 +34,4 @@ public class SuppressedRecipientData {

@JsonProperty("created_at")
public String createdAt;

@JsonProperty("updated_at")
public String updatedAt;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package co.lettermint.models.api;

public final class SuppressionAppliesTo {
public static final String ALL = "all";
public static final String BROADCAST = "broadcast";

private SuppressionAppliesTo() {}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package co.lettermint.models.api;

public final class SuppressionScope {
public static final String GLOBAL = "global";
public static final String TEAM = "team";
public static final String PROJECT = "project";
public static final String ROUTE = "route";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ public class UpdateProjectData {

@JsonProperty("default_route_id")
public String defaultRouteId;

@JsonProperty("delivery_mode")
public String deliveryMode;
}
15 changes: 15 additions & 0 deletions src/main/java/co/lettermint/models/api/UpdateWebhookData.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,19 @@ public class UpdateWebhookData {

@JsonProperty("include_machine_events")
public Boolean includeMachineEvents;

@JsonProperty("scope")
public String scope;

@JsonProperty("project_ids")
public List<String> projectIds;

@JsonProperty("route_ids")
public List<String> routeIds;

@JsonProperty("route_id")
public String routeId;

@JsonProperty("delivery_mode_filter")
public String deliveryModeFilter;
}
15 changes: 12 additions & 3 deletions src/main/java/co/lettermint/models/api/WebhookData.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ public class WebhookData {
@JsonProperty("id")
public String id;

@JsonProperty("scope")
public String scope;

@JsonProperty("project_ids")
public List<String> projectIds;

@JsonProperty("route_ids")
public List<String> routeIds;

@JsonProperty("route_id")
public String routeId;

Expand All @@ -27,9 +36,6 @@ public class WebhookData {
@JsonProperty("include_machine_events")
public Boolean includeMachineEvents;

@JsonProperty("secret")
public String secret;

@JsonProperty("last_called_at")
public String lastCalledAt;

Expand All @@ -38,4 +44,7 @@ public class WebhookData {

@JsonProperty("updated_at")
public String updatedAt;

@JsonProperty("delivery_mode_filter")
public String deliveryModeFilter;
}
12 changes: 12 additions & 0 deletions src/main/java/co/lettermint/models/api/WebhookDeliveryData.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ public class WebhookDeliveryData {
@JsonProperty("event_type")
public String eventType;

@JsonProperty("source_scope")
public String sourceScope;

@JsonProperty("source_project_id")
public String sourceProjectId;

@JsonProperty("source_route_id")
public String sourceRouteId;

@JsonProperty("status")
public String status;

Expand Down Expand Up @@ -44,4 +53,7 @@ public class WebhookDeliveryData {

@JsonProperty("timestamp")
public String timestamp;

@JsonProperty("sandbox")
public Boolean sandbox;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ public class WebhookDeliveryListData {
@JsonProperty("event_type")
public String eventType;

@JsonProperty("source_scope")
public String sourceScope;

@JsonProperty("source_project_id")
public String sourceProjectId;

@JsonProperty("source_route_id")
public String sourceRouteId;

@JsonProperty("status")
public String status;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package co.lettermint.models.api;

public final class WebhookDeliveryModeFilter {
public static final String LIVE = "live";
public static final String SANDBOX = "sandbox";
public static final String BOTH = "both";

private WebhookDeliveryModeFilter() {}
}
Loading
Loading