com.dft.api.shopify.model.ShopifyWebhook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shopify-admin-rest Show documentation
Show all versions of shopify-admin-rest Show documentation
Shopify Admin REST API using JDK 11 and Reactive Programming
package com.dft.api.shopify.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Data
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ShopifyWebhook {
private String id;
private String address;
private String topic;
private String format;
private Date createdAt;
private Date updatedAt;
private List metafieldNamespaces = new ArrayList();
private List fields = new ArrayList();
private String apiVersion;
private List privateMetafieldNamespaces = new ArrayList();
public ShopifyWebhook(String address, String topic, String format) {
this.address = address;
this.topic = topic;
this.format = format;
}
}