com.mozu.api.contracts.paymentservice.OrderItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
/**
* 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.paymentservice;
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.paymentservice.CustomData;
import com.mozu.api.contracts.paymentservice.Product;
/**
* Mozu.PaymentService.Contracts.OrderItem ApiType DOCUMENT_HERE
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class OrderItem implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Unique identifier of the source property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default, auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the query string in the endpoint. For example, . Then, use the property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values:
*/
protected String id;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
/**
* 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;
}
/**
* Mozu.PaymentService.Contracts.OrderItem taxAmount ApiTypeMember DOCUMENT_HERE
*/
protected Double taxAmount;
public Double getTaxAmount() {
return this.taxAmount;
}
public void setTaxAmount(Double taxAmount) {
this.taxAmount = taxAmount;
}
/**
* Mozu.PaymentService.Contracts.OrderItem totalAmount ApiTypeMember DOCUMENT_HERE
*/
protected Double totalAmount;
public Double getTotalAmount() {
return this.totalAmount;
}
public void setTotalAmount(Double totalAmount) {
this.totalAmount = totalAmount;
}
/**
* Properties of the price per unit of a product, associated with cart and order items. This price is not used for wish lists at this time.
*/
protected Double unitPrice;
public Double getUnitPrice() {
return this.unitPrice;
}
public void setUnitPrice(Double unitPrice) {
this.unitPrice = unitPrice;
}
/**
* customData ApiType DOCUMENT_HERE
*/
protected List customData;
public List getCustomData() {
return this.customData;
}
public void setCustomData(List customData) {
this.customData = customData;
}
/**
* The properties of a product, referenced and used by carts, orders, wish lists, and returns.
*/
protected Product product;
public Product getProduct() {
return this.product;
}
public void setProduct(Product product) {
this.product = product;
}
}