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

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

The 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.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class ShopifyOrder {

    private String id;

    private String email;

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

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

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

    private String note;

    private String token;

    private Double totalPrice;

    private String appId;

    private Double subtotalPrice;

    private Long totalWeight;

    private Double totalTax;

    private String currency;

    private String financialStatus;

    private Double totalDiscounts;

    private Double totaLineItemsPrice;

    private String cartToken;

    private Boolean buyerAcceptsMarketing;

    private String name;

    private String referringSite;

    private String landingSite;

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

    private String cancelReason;

    private String userId;

    private String locationId;

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

    private String browserIp;

    private String orderNumber;

    private String processingMethod;

    private String sourceName;

    private String fulfillmentStatus;

    private String tags;

    private String orderStatusUrl;

    private String adminGraphqlApiId;

    private String checkoutId;

    private String checkoutToken;

    private Boolean confirmed;

    private String contactEmail;

    private Double currentSubtotalPrice;

    private Double currentTotalDiscounts;

    private Double currentTotalPrice;

    private Double currentTotalTax;

    private String customerLocale;

    private String deviceId;

    private String gateway;

    private String landingSiteRef;

    private String phone;

    private String presentmentCurrency;

    private String reference;

    private String sourceIdentifier;

    private String sourceUrl;

    private Boolean test;

    private Double totalOutstanding;

    private Double totalPriceUsd;

    private Double totalTipReceived;

    private List paymentGatewayNames = new ArrayList();

    private Boolean taxesIncluded;

    private String inventoryBehaviour;

    private String numberOfBoxes;

    private List lineItems = new LinkedList<>();

    private List fulfillments = new LinkedList<>();

    private ShopifyAddress billingAddress = new ShopifyAddress();

    private ShopifyAddress shippingAddress = new ShopifyAddress();

    private ShopifyOrderDefaultAddress defaultAddress = new ShopifyOrderDefaultAddress();

    private ShopifyCustomer customer = new ShopifyCustomer();

    private List shippingLines = new LinkedList<>();

    private List taxLines = new LinkedList<>();

    private List noteAttributes = new LinkedList<>();

    private List refunds = new LinkedList<>();

    private List metafields = new LinkedList<>();

    private List discountCodes = new LinkedList<>();

    private ShopifyAmountSet currentSubtotalPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet currentTotalDiscountsSet = new ShopifyAmountSet();

    private ShopifyAmountSet currentTotalDutiesSet = new ShopifyAmountSet();

    private ShopifyAmountSet currentTotalPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet currentTotalTaxSet = new ShopifyAmountSet();

    private ShopifyAmountSet originalTotalDutiesSet = new ShopifyAmountSet();

    private ShopifyAmountSet subtotalPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet totalDiscountsSet = new ShopifyAmountSet();

    private ShopifyAmountSet totalLineItemsPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet totalPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet totalShippingPriceSet = new ShopifyAmountSet();

    private ShopifyAmountSet totalTaxSet = new ShopifyAmountSet();

    private List transactions;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy