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

com.dft.api.shopify.model.checkout.ShopifyCheckouts Maven / Gradle / Ivy

The newest version!
package com.dft.api.shopify.model.checkout;

import com.dft.api.shopify.mappers.DateDeserializer;
import com.dft.api.shopify.mappers.PropertiesDeserializer;
import com.dft.api.shopify.model.ShopifyAddress;
import com.dft.api.shopify.model.ShopifyAppliedDiscount;
import com.dft.api.shopify.model.ShopifyCustomer;
import com.dft.api.shopify.model.ShopifyShippingLine;
import com.dft.api.shopify.model.ShopifyTaxLine;
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.HashMap;
import java.util.LinkedList;
import java.util.List;

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

    private String id;

    private String token;

    private String cartToken;

    private String email;

    private String gateway;
    private String customerId;
    private ShippingRate shippingRate;

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

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

    private String landingSite;

    private String note;

    private String referringSite;

    private Boolean taxesIncluded;

    private String currency;

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

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

    private Integer userId;

    private Integer locationId;

    private String sourceIdentifier;

    private String sourceUrl;

    private Integer deviceId;

    private String phone;

    private String customerLocale;

    private String name;

    private String source;

    private String abandonedCheckoutUrl;

    private String sourceName;

    private String presentmentCurrency;

    private Double totalDiscounts;

    private Double totalLineItemsPrice;

    private Double totalPrice;

    private Double totalTax;

    private Double subtotalPrice;

    private Double totalDuties;

    private ShopifyAddress billingAddress;

    private ShopifyAddress shippingAddress;

    private ShopifyCustomer customer;

    @JsonDeserialize(using = PropertiesDeserializer.class)
    private HashMap noteAttributes;

    private ShopifyShippingLine shippingLine;

    private List giftCards;

    private List lineItems;

    private ShopifyAppliedDiscount appliedDiscount;

    private List appliedDiscounts = new LinkedList<>();

    private List taxLines = new LinkedList<>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy