io.github.dft.amazon.model.settelmentreport.SettlementData 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.settelmentreport;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import io.github.dft.amazon.common.DateDeserializer;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class SettlementData {
@JacksonXmlProperty(localName = "AmazonSettlementID")
private Long AmazonSettlementId;
@JacksonXmlProperty(localName = "TotalAmount")
private Amount totalAmount;
@JacksonXmlProperty(localName = "StartDate")
@JsonDeserialize(using = DateDeserializer.class)
private LocalDateTime StartDate;
@JacksonXmlProperty(localName = "EndDate")
@JsonDeserialize(using = DateDeserializer.class)
private LocalDateTime EndDate;
@JacksonXmlProperty(localName = "DepositDate")
@JsonDeserialize(using = DateDeserializer.class)
private LocalDateTime DepositDate;
}