/** * 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.fulfillment; import java.util.List; import java.util.HashMap; 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; import com.mozu.api.contracts.commerceruntime.commerce.ChangeMessage; import com.mozu.api.contracts.commerceruntime.fulfillment.PackageItem; import com.mozu.api.contracts.commerceruntime.commerce.PackageMeasurements; /** * Properties of a physical package shipped for an order. */ @JsonIgnoreProperties(ignoreUnknown = true) public class Package implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * Available actions you can complete for an order. These actions may differ depending on the status of the order, such as actions required to enter a payment, return of a package, and fulfillment of a shipment. */ protected List<String> availableActions; public List<String> getAvailableActions() { return this.availableActions; } public void setAvailableActions(List<String> availableActions) { this.availableActions = availableActions; } /** * The code of the product to be fulfilled. */ protected String code; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } /** * Date and time when a shipment completes fulfillment by delivery to a customer's physical address, picked up by a customer at a store, or delivered digitally for downloadable products. */ protected DateTime fulfillmentDate; public DateTime getFulfillmentDate() { return this.fulfillmentDate; } public void setFulfillmentDate(DateTime fulfillmentDate) { this.fulfillmentDate = fulfillmentDate; } /** * The code that identifies the location used to fulfill the cart/cart item or order/order item. This code can include physical store locations for in-store pickup, warehouse locations providing the products for shipment, or the location for the digital file(s). */ protected String fulfillmentLocationCode; public String getFulfillmentLocationCode() { return this.fulfillmentLocationCode; } public void setFulfillmentLocationCode(String fulfillmentLocationCode) { this.fulfillmentLocationCode = fulfillmentLocationCode; } /** * If there is a shipping label present for this Package, this will be set to true */ protected Boolean hasLabel; public Boolean getHasLabel() { return this.hasLabel; } public void setHasLabel(Boolean hasLabel) { this.hasLabel = hasLabel; } /** * 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 String id; public String getId() { return this.id; } public void setId(String id) { this.id = id; } /** * The package type associated with this physical package. Possible values include Tube, Letter, Pak, Small Box (carrier_box_small), Medium Box (carrier_box_medium), Large Box (carrier_box_large), or Custom. */ protected String packagingType; public String getPackagingType() { return this.packagingType; } public void setPackagingType(String packagingType) { this.packagingType = packagingType; } /** * Unique identifier of the shipment associated with this package. */ protected String shipmentId; public String getShipmentId() { return this.shipmentId; } public void setShipmentId(String shipmentId) { this.shipmentId = shipmentId; } /** * The code associated with a carrier's shipping method service type, used during fulfillment of packages and shipments. Service type codes include a prefix that indicates the carrier. For example: FEDEX_INTERNATIONAL_STANDARD and UPS_GROUND. */ protected String shippingMethodCode; public String getShippingMethodCode() { return this.shippingMethodCode; } public void setShippingMethodCode(String shippingMethodCode) { this.shippingMethodCode = shippingMethodCode; } /** * The carrier-supplied name for the shipping service type, such as "UPS Ground" or "2nd Day Air". */ protected String shippingMethodName; public String getShippingMethodName() { return this.shippingMethodName; } public void setShippingMethodName(String shippingMethodName) { this.shippingMethodName = shippingMethodName; } /** * The current status of an object. This status is specific to the object including payment (New, Authorized, Captured, Declined, Failed, Voided, Credited, CheckRequested, or RolledBack), discount (Active, Scheduled, or Expired), returns (ReturnAuthorized), tenant, package (Fulfilled or NotFulfilled), application, master and product catalogs, orders (Pending, Submitted, Processing, Pending Review, Closed, or Canceled), and order validation results (Pass, Fail, Error, or Review). */ protected String status; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } /** * Tracking number for the package or shipment, supplied by the shipping carrier to track the shipment until fulfillment completes. The tracking number format may differ between carriers. */ protected String trackingNumber; public String getTrackingNumber() { return this.trackingNumber; } public void setTrackingNumber(String trackingNumber) { this.trackingNumber = trackingNumber; } /** * 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; } /** * Collection (list or paged) of change messages logged for each modification made by a shopper to their carts, wishlists, orders, package, payment, pickup, and returns. Change log messages are system-supplied based on shopper actions and read only. */ protected List<ChangeMessage> changeMessages; public List<ChangeMessage> getChangeMessages() { return this.changeMessages; } public void setChangeMessages(List<ChangeMessage> changeMessages) { this.changeMessages = changeMessages; } /** * An array list of objects in the returned collection. */ protected List<PackageItem> items; public List<PackageItem> getItems() { return this.items; } public void setItems(List<PackageItem> items) { this.items = items; } /** * Dimensional properties (height, length, and width) of packages, products and bundles. */ protected PackageMeasurements measurements; public PackageMeasurements getMeasurements() { return this.measurements; } public void setMeasurements(PackageMeasurements measurements) { this.measurements = measurements; } }