/**
* 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.SoftAllocation ApiType DOCUMENT_HERE
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class SoftAllocation implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* The UTC DateTime this allocation will expire
*/
protected DateTime expiresAt;
public DateTime getExpiresAt() {
return this.expiresAt;
}
public void setExpiresAt(DateTime expiresAt) {
this.expiresAt = expiresAt;
}
/**
* Unique identifier of the source product property. For a product field it will be the name of the field. For a product attribute it will be the Attribute FQN.
*/
protected Integer id;
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
/**
* The unique, user-defined code that identifies a location. This location can be the location where the order was entered, location for newly in-stock products, and where products are returned.
*/
protected String locationCode;
public String getLocationCode() {
return this.locationCode;
}
public void setLocationCode(String locationCode) {
this.locationCode = locationCode;
}
/**
* The unique, user-defined product code of a product, used throughout Mozu to reference and associate to a product.
*/
protected String productCode;
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
}
/**
* The specified quantity of objects and items. This property is used for numerous object types including products, options, components within a product bundle, cart and order items, returned items, shipping line items, items in a digital product. and items associated with types and reservations.
*/
protected Integer quantity;
public Integer getQuantity() {
return this.quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
/**
* Entity RefrenceID this allocation is linked to.
*/
protected String referenceId;
public String getReferenceId() {
return this.referenceId;
}
public void setReferenceId(String referenceId) {
this.referenceId = referenceId;
}
/**
* item Id of the RefrenceID.
*/
protected String referenceItemId;
public String getReferenceItemId() {
return this.referenceItemId;
}
public void setReferenceItemId(String referenceItemId) {
this.referenceItemId = referenceItemId;
}
/**
* Basic audit info about the object, including date, time, and user account. Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only.
*/
protected AuditInfo auditInfo;
public AuditInfo getAuditInfo() {
return this.auditInfo;
}
public void setAuditInfo(AuditInfo auditInfo) {
this.auditInfo = auditInfo;
}
}