/** * 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.productruntime; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; /** * Name of the discount added and applied to a shopping cart and order for a shopper's purchase. */ @JsonIgnoreProperties(ignoreUnknown = true) public class Discount implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The unique identifier of the discount. */ protected Integer discountId; public Integer getDiscountId() { return this.discountId; } public void setDiscountId(Integer discountId) { this.discountId = discountId; } /** * Date and time in UTC format when a discount, credit, wish list, or cart expires. An expired discount no longer can be redeemed. An expired wish list is no longer available. An expired credit can no longer be redeemed for a purchase. Acart becomes inactive and expired based on a system-calculated interval. For example, if an anonymous shopper has 14 days of inactivity, the cart is considered abandoned after that period of inactivity. System-supplied and read-only. */ protected DateTime expirationDate; public DateTime getExpirationDate() { return this.expirationDate; } public void setExpirationDate(DateTime expirationDate) { this.expirationDate = expirationDate; } /** * The localizable, shopper-facing description defined for a discount or a storefront message. */ protected String friendlyDescription; public String getFriendlyDescription() { return this.friendlyDescription; } public void setFriendlyDescription(String friendlyDescription) { this.friendlyDescription = friendlyDescription; } /** * The user supplied name that appears in . You can use this field for identification purposes. */ protected String name; public String getName() { return this.name; } public void setName(String name) { this.name = name; } }