com.dft.api.shopify.model.ShopifyRefund 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.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;
}