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

com.dft.api.shopify.model.ShopifyRefund Maven / Gradle / Ivy

There is a newer version: 2024.10.01
Show newest version
package com.dft.api.shopify.model;

import com.dft.api.shopify.mappers.DateDeserializer;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Currency;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class ShopifyRefund {

    private String id;

    private String orderId;

    @JsonDeserialize(using = DateDeserializer.class)
    private LocalDateTime createdAt;

    private String note;

    private String userId;

    @JsonDeserialize(using = DateDeserializer.class)
    private LocalDateTime processedAt;

    private Boolean restock;

    private Currency currency;

    private List refundLineItems;

    private List transactions;

    public List orderAdjustments;

    public List duties;

    public List refundDuties;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy