package eu.eudat.models.rda; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The Cost Items Schema *
* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "currency_code", "description", "title", "value" }) @JsonIgnoreProperties(ignoreUnknown = true) public class Cost implements Serializable { /** * The Cost Currency Code Schema *
* Allowed values defined by ISO 4217 * */ @JsonProperty("currency_code") @JsonPropertyDescription("Allowed values defined by ISO 4217") private Cost.CurrencyCode currencyCode; /** * The Cost Description Schema *
* Cost(s) Description * */ @JsonProperty("description") @JsonPropertyDescription("Cost(s) Description") private String description; /** * The Cost Title Schema *
* Title * (Required) * */ @JsonProperty("title") @JsonPropertyDescription("Title") private String title; /** * The Cost Value Schema *
* Value
*
*/
@JsonProperty("value")
@JsonPropertyDescription("Value")
private Double value;
@JsonIgnore
private Map
* Allowed values defined by ISO 4217
*
*/
@JsonProperty("currency_code")
public Cost.CurrencyCode getCurrencyCode() {
return currencyCode;
}
/**
* The Cost Currency Code Schema
*
* Allowed values defined by ISO 4217
*
*/
@JsonProperty("currency_code")
public void setCurrencyCode(Cost.CurrencyCode currencyCode) {
this.currencyCode = currencyCode;
}
/**
* The Cost Description Schema
*
* Cost(s) Description
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* The Cost Description Schema
*
* Cost(s) Description
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
* The Cost Title Schema
*
* Title
* (Required)
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* The Cost Title Schema
*
* Title
* (Required)
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
/**
* The Cost Value Schema
*
* Value
*
*/
@JsonProperty("value")
public Double getValue() {
return value;
}
/**
* The Cost Value Schema
*
* Value
*
*/
@JsonProperty("value")
public void setValue(Double value) {
this.value = value;
}
@JsonProperty("additional_properties")
public Map