com.tinypass.client.publisher.model.Money 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 com.tinypass.client.publisher.model.Currency;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
public class Money {
/* Experience stat money amount */
private BigDecimal amount = null;
/* Experience stat currency */
private Currency currency = null;
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public Currency getCurrency() {
return currency;
}
public void setCurrency(Currency currency) {
this.currency = currency;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Money {\n");
sb.append(" amount: ").append(amount).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append("}\n");
return sb.toString();
}
}