com.tinypass.client.publisher.model.PromotionFixedDiscount 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 PromotionFixedDiscount {
/* The fixed discount ID */
private String fixedDiscountId = null;
/* The currency of the fixed discount */
private String currency = null;
/* The fixed discount amount */
private String amount = null;
/* The fixed discount amount value */
private BigDecimal amountValue = null;
public String getFixedDiscountId() {
return fixedDiscountId;
}
public void setFixedDiscountId(String fixedDiscountId) {
this.fixedDiscountId = fixedDiscountId;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public BigDecimal getAmountValue() {
return amountValue;
}
public void setAmountValue(BigDecimal amountValue) {
this.amountValue = amountValue;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PromotionFixedDiscount {\n");
sb.append(" fixedDiscountId: ").append(fixedDiscountId).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append(" amount: ").append(amount).append("\n");
sb.append(" amountValue: ").append(amountValue).append("\n");
sb.append("}\n");
return sb.toString();
}
}