io.github.dft.amazon.model.notifications.NotificationPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amazon-sp-api Show documentation
Show all versions of amazon-sp-api Show documentation
Amazon SP API using JDK 11
package io.github.dft.amazon.model.notifications;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.github.dft.amazon.common.LocalDateTimeDeserializer;
import io.github.dft.amazon.common.LocalDateTimeSerializer;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
@Data
@JsonNaming(PropertyNamingStrategies.UpperCamelCaseStrategy.class)
public class NotificationPayload {
private String sellerId;
private String asin;
private String marketplaceId;
private String fulfillmentChannelCode;
private String sku;
private Integer quantity;
private List status;
@JsonSerialize(using = LocalDateTimeSerializer.class)
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
private LocalDateTime createdDate;
}