public class CrossPromotionsType
extends java.lang.Object
Java class for CrossPromotionsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CrossPromotionsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType"/>
<element name="PrimaryScheme" type="{urn:ebay:apis:eBLBaseComponents}PromotionSchemeCodeType"/>
<element name="PromotionMethod" type="{urn:ebay:apis:eBLBaseComponents}PromotionMethodCodeType"/>
<element name="SellerID" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ShippingDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="SellerKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="StoreName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PromotedItem" type="{urn:ebay:apis:eBLBaseComponents}PromotedItemType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
itemID |
protected PromotionSchemeCodeType |
primaryScheme |
protected java.util.List<PromotedItemType> |
promotedItem |
protected PromotionMethodCodeType |
promotionMethod |
protected java.lang.String |
sellerID |
protected java.lang.String |
sellerKey |
protected boolean |
shippingDiscount |
protected java.lang.String |
storeName |
| Constructor and Description |
|---|
CrossPromotionsType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getItemID()
Gets the value of the itemID property.
|
PromotionSchemeCodeType |
getPrimaryScheme()
Gets the value of the primaryScheme property.
|
java.util.List<PromotedItemType> |
getPromotedItem()
Gets the value of the promotedItem property.
|
PromotionMethodCodeType |
getPromotionMethod()
Gets the value of the promotionMethod property.
|
java.lang.String |
getSellerID()
Gets the value of the sellerID property.
|
java.lang.String |
getSellerKey()
Gets the value of the sellerKey property.
|
java.lang.String |
getStoreName()
Gets the value of the storeName property.
|
boolean |
isShippingDiscount()
Gets the value of the shippingDiscount property.
|
void |
setItemID(java.lang.String value)
Sets the value of the itemID property.
|
void |
setPrimaryScheme(PromotionSchemeCodeType value)
Sets the value of the primaryScheme property.
|
void |
setPromotionMethod(PromotionMethodCodeType value)
Sets the value of the promotionMethod property.
|
void |
setSellerID(java.lang.String value)
Sets the value of the sellerID property.
|
void |
setSellerKey(java.lang.String value)
Sets the value of the sellerKey property.
|
void |
setShippingDiscount(boolean value)
Sets the value of the shippingDiscount property.
|
void |
setStoreName(java.lang.String value)
Sets the value of the storeName property.
|
protected java.lang.String itemID
protected PromotionSchemeCodeType primaryScheme
protected PromotionMethodCodeType promotionMethod
protected java.lang.String sellerID
protected boolean shippingDiscount
protected java.lang.String sellerKey
protected java.lang.String storeName
protected java.util.List<PromotedItemType> promotedItem
public java.lang.String getItemID()
Stringpublic void setItemID(java.lang.String value)
value - the value
allowed object is
Stringpublic PromotionSchemeCodeType getPrimaryScheme()
PromotionSchemeCodeTypepublic void setPrimaryScheme(PromotionSchemeCodeType value)
value - the value
allowed object is
PromotionSchemeCodeTypepublic PromotionMethodCodeType getPromotionMethod()
PromotionMethodCodeTypepublic void setPromotionMethod(PromotionMethodCodeType value)
value - the value
allowed object is
PromotionMethodCodeTypepublic java.lang.String getSellerID()
Stringpublic void setSellerID(java.lang.String value)
value - the value
allowed object is
Stringpublic boolean isShippingDiscount()
public void setShippingDiscount(boolean value)
public java.lang.String getSellerKey()
Stringpublic void setSellerKey(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getStoreName()
Stringpublic void setStoreName(java.lang.String value)
value - the value
allowed object is
Stringpublic java.util.List<PromotedItemType> getPromotedItem()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the promotedItem property.
For example, to add a new item, do as follows:
getPromotedItem().add(newItem);
Objects of the following type(s) are allowed in the list
PromotedItemType
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.