com.mocean.modules.account.mapper.PricingResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moceanapisdk Show documentation
Show all versions of moceanapisdk Show documentation
This is an Mocean SDK written in java. To use it you will need a mocean account. Signup for free at https://moceanapi.com
package com.mocean.modules.account.mapper;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mocean.modules.AbstractResponse;
import com.mocean.modules.account.mapper.model.Destination;
import javax.xml.bind.annotation.*;
@XmlRootElement(name = "result")
@XmlAccessorType(XmlAccessType.FIELD)
@JsonIgnoreProperties(ignoreUnknown = true)
public class PricingResponse extends AbstractResponse {
@XmlElementWrapper(name = "destinations")
@XmlElement(name = "destination")
@JsonProperty("destinations")
private Destination[] destinations;
public Destination[] getDestinations() {
return destinations;
}
@Override
public PricingResponse setRawResponse(String rawResponse) {
super.rawResponse = rawResponse;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy