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

io.github.dft.amazon.model.settelmentreport.OtherTransaction Maven / Gradle / Ivy

There is a newer version: 2.1.9
Show newest version
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;
import java.util.List;

@Data
public class OtherTransaction {

    @JacksonXmlProperty(localName = "TransactionType")
    private String transactionType;

    @JacksonXmlProperty(localName = "AmazonOrderID")
    private String amazonOrderId;

    @JacksonXmlProperty(localName = "MerchantFulfillmentID")
    private String merchantFulfillmentId;

    @JacksonXmlProperty(localName = "MarketplaceName")
    private String marketplaceName;

    @JacksonXmlProperty(localName = "TransactionID")
    private String transactionId;

    @JacksonXmlProperty(localName = "PostedDate")
    @JsonDeserialize(using = DateDeserializer.class)
    private LocalDateTime postedDate;

    @JacksonXmlProperty(localName = "Amount")
    private Amount amount;

    @JacksonXmlProperty(localName = "Fees")
    private List feeList;

    @JacksonXmlProperty(localName = "ShipmentID")
    private Long shipmentId;

    @JacksonXmlProperty(localName = "OtherTransactionItem")
    private OtherTransactionItem otherTransactionItem;

    @JacksonXmlProperty(localName = "Charge")
    private Charge charge;

    @JacksonXmlProperty(localName = "AdjustmentID")
    private String adjustmentID;

    @JacksonXmlProperty(localName = "Item")
    private Item item;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy