diff --git a/src/main/java/com/amazon/SellingPartnerAPI/model/feeds/Relationship.java b/src/main/java/com/amazon/SellingPartnerAPI/model/feeds/Relationship.java index 20a6257..ce84f57 100644 --- a/src/main/java/com/amazon/SellingPartnerAPI/model/feeds/Relationship.java +++ b/src/main/java/com/amazon/SellingPartnerAPI/model/feeds/Relationship.java @@ -2,12 +2,13 @@ // 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的 // 请访问 http://java.sun.com/xml/jaxb // 在重新编译源模式时, 对此文件的所有修改都将丢失。 -// 生成时间: 2021.01.19 时间 06:09:39 PM CST +// 生成时间: 2021.01.28 时间 06:41:59 PM CST // package com.amazon.SellingPartnerAPI.model.feeds; +import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; @@ -37,6 +38,17 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{}SKU"/> + * <element name="SortHeuristic" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="ComponentNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="ChildDetailPageDisplay" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="independently_displayable"/> + * <enumeration value="display_only_on_parent"/> + * </restriction> + * </simpleType> + * </element> * <element name="Type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> @@ -53,6 +65,8 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; * <enumeration value="Similar"/> * <enumeration value="Episode"/> * <enumeration value="Season"/> + * <enumeration value="MerchantTitleAuthority"/> + * <enumeration value="Component"/> * </restriction> * </simpleType> * </element> @@ -149,6 +163,17 @@ public class Relationship { * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{}SKU"/> + * <element name="SortHeuristic" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="ComponentNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> + * <element name="ChildDetailPageDisplay" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="independently_displayable"/> + * <enumeration value="display_only_on_parent"/> + * </restriction> + * </simpleType> + * </element> * <element name="Type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> @@ -165,6 +190,8 @@ public class Relationship { * <enumeration value="Similar"/> * <enumeration value="Episode"/> * <enumeration value="Season"/> + * <enumeration value="MerchantTitleAuthority"/> + * <enumeration value="Component"/> * </restriction> * </simpleType> * </element> @@ -179,6 +206,10 @@ public class Relationship { @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sku", + "sortHeuristic", + "quantity", + "componentNumber", + "childDetailPageDisplay", "type" }) public static class Relation { @@ -187,6 +218,17 @@ public class Relationship { @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String sku; + @XmlElement(name = "SortHeuristic") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger sortHeuristic; + @XmlElement(name = "Quantity") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger quantity; + @XmlElement(name = "ComponentNumber") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger componentNumber; + @XmlElement(name = "ChildDetailPageDisplay") + protected String childDetailPageDisplay; @XmlElement(name = "Type", required = true) protected String type; @@ -214,6 +256,102 @@ public class Relationship { this.sku = value; } + /** + * 获取sortHeuristic属性的值。 + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getSortHeuristic() { + return sortHeuristic; + } + + /** + * 设置sortHeuristic属性的值。 + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setSortHeuristic(BigInteger value) { + this.sortHeuristic = value; + } + + /** + * 获取quantity属性的值。 + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getQuantity() { + return quantity; + } + + /** + * 设置quantity属性的值。 + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setQuantity(BigInteger value) { + this.quantity = value; + } + + /** + * 获取componentNumber属性的值。 + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getComponentNumber() { + return componentNumber; + } + + /** + * 设置componentNumber属性的值。 + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setComponentNumber(BigInteger value) { + this.componentNumber = value; + } + + /** + * 获取childDetailPageDisplay属性的值。 + * + * @return + * possible object is + * {@link String } + * + */ + public String getChildDetailPageDisplay() { + return childDetailPageDisplay; + } + + /** + * 设置childDetailPageDisplay属性的值。 + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChildDetailPageDisplay(String value) { + this.childDetailPageDisplay = value; + } + /** * 获取type属性的值。 *