/**
* 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.productadmin;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.core.AuditInfo;
/**
* Mozu.ProductAdmin.Contracts.Coupon ApiType DOCUMENT_HERE
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Coupon implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Specifies whether the coupon can be deleted and removed from a coupon set.
*/
protected Boolean canBeDeleted;
public Boolean getCanBeDeleted() {
return this.canBeDeleted;
}
public void setCanBeDeleted(Boolean canBeDeleted) {
this.canBeDeleted = canBeDeleted;
}
/**
* The coupon code that a shopper uses to redeem an associated discount on a purchase. This is also the unique identifier of the coupon itself.
*/
protected String couponCode;
public String getCouponCode() {
return this.couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
/**
* The unique identifier of the coupon set that the coupon belongs to.
*/
protected String couponSetCode;
public String getCouponSetCode() {
return this.couponSetCode;
}
public void setCouponSetCode(String couponSetCode) {
this.couponSetCode = couponSetCode;
}
/**
* The unique, system generated id of the coupon set that contains the coupon.This value is read only.
*/
protected Integer couponSetId;
public Integer getCouponSetId() {
return this.couponSetId;
}
public void setCouponSetId(Integer couponSetId) {
this.couponSetId = couponSetId;
}
/**
* The total number of times the coupon has been redeemed. When you perform a GetCoupon or GetCoupons operation, set the includeCounts operation parameter to true to view this field.This field is read only.
*/
protected Integer redemptionCount;
public Integer getRedemptionCount() {
return this.redemptionCount;
}
public void setRedemptionCount(Integer redemptionCount) {
this.redemptionCount = redemptionCount;
}
/**
* Basic audit info about the object, including date, time, and user account. This data may be captured when creating, updating, and removing data.
*/
protected AuditInfo auditInfo;
public AuditInfo getAuditInfo() {
return this.auditInfo;
}
public void setAuditInfo(AuditInfo auditInfo) {
this.auditInfo = auditInfo;
}
}