com.tinypass.client.publisher.model.PriceDTO Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
public class PriceDTO {
/* The currency code under ISO 4217 */
private String currencyCode = null;
/* The user payment amount */
private BigDecimal amount = null;
/* The currency symbol */
private String currencySymbol = null;
/* The displayed text for the user payment amount */
private String display = null;
public String getCurrencyCode() {
return currencyCode;
}
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public String getCurrencySymbol() {
return currencySymbol;
}
public void setCurrencySymbol(String currencySymbol) {
this.currencySymbol = currencySymbol;
}
public String getDisplay() {
return display;
}
public void setDisplay(String display) {
this.display = display;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PriceDTO {\n");
sb.append(" currencyCode: ").append(currencyCode).append("\n");
sb.append(" amount: ").append(amount).append("\n");
sb.append(" currencySymbol: ").append(currencySymbol).append("\n");
sb.append(" display: ").append(display).append("\n");
sb.append("}\n");
return sb.toString();
}
}