com.tinypass.client.publisher.model.LinkedTermPaymentParams 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 LinkedTermPaymentParams {
/* The payment amount. */
private BigDecimal amount = null;
/* The payment currency. Currency code defined by ISO 4217. */
private String currency = null;
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkedTermPaymentParams {\n");
sb.append(" amount: ").append(amount).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append("}\n");
return sb.toString();
}
}