/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.commerceruntime.discounts;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
/**
* Properties of an invalid coupon code a shopper attempts to enter for a cart or order.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class InvalidCoupon implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
protected String couponCode;
public String getCouponCode() {
return this.couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
/**
* Date and time when the entity was created, represented in UTC Date/Time.
*/
protected DateTime createDate;
public DateTime getCreateDate() {
return this.createDate;
}
public void setCreateDate(DateTime createDate) {
this.createDate = createDate;
}
/**
* Unique identifier for the discount in the storefront.
*/
protected Integer discountId;
public Integer getDiscountId() {
return this.discountId;
}
public void setDiscountId(Integer discountId) {
this.discountId = discountId;
}
/**
* The reason description for an action, including item return, coupon not valid, and item is taxed.
*/
protected String reason;
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
/**
* A code indicating the reason why a facet is invalid.
*/
protected Integer reasonCode;
public Integer getReasonCode() {
return this.reasonCode;
}
public void setReasonCode(Integer reasonCode) {
this.reasonCode = reasonCode;
}
}