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

io.fruitful.ecomerce.dto.MagentoCountryDetail Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package io.fruitful.ecomerce.dto;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonSetter;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class MagentoCountryDetail extends MagentoCountry {

	List availableRegions = new ArrayList<>();

	@JsonGetter("availableRegions")
	public List getAvaiableRegions() {
		return availableRegions;
	}

	@JsonSetter("available_regions")
	public void setAvaiableRegions(List avaiableRegions) {
		this.availableRegions = avaiableRegions;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy