com.dft.api.shopify.model.ShopifyAddress 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.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ShopifyAddress {
private String id;
private String customerId;
private String firstName;
private String lastName;
private String name;
private String company;
private String address1;
private String address2;
private String city;
private String zip;
private String phone;
private String province;
private String country;
private String provinceCode;
private String countryCode;
public String countryName;
public Double longitude;
public Double lattitude;
@JsonProperty("default")
public boolean defaultAddress;
}