Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class SetShippingDiscountProfilesRequestType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.AbstractRequestType
      extended by com.ebay.soap.eBLBaseComponents.SetShippingDiscountProfilesRequestType
All Implemented Interfaces:
java.io.Serializable

public class SetShippingDiscountProfilesRequestType
extends AbstractRequestType
implements java.io.Serializable

This call enables a seller to create and manage shipping discounts rules. These are the same shipping discount rules that can be created or managed in My eBay Shipping Preferences.

The types of shipping discount rules that can be created and managed with this call include flat-rate shipping rules, calculated shipping rules, and promotional shipping rules. This call can also be used by sellers to set whether or not they allow buyers to combine separate line items into one Combined Invoice order, and how many days they allow buyers to perform that action.

A seller can only create, update, or delete one discount rule type with each call. The action to take (either Add, Update, or Delete) is set and controlled with the ModifyActionCode field.

Java class for SetShippingDiscountProfilesRequestType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SetShippingDiscountProfilesRequestType">
   <complexContent>
     <extension base="{urn:ebay:apis:eBLBaseComponents}AbstractRequestType">
       <sequence>
         <element name="CurrencyID" type="{urn:ebay:apis:eBLBaseComponents}CurrencyCodeType" minOccurs="0"/>
         <element name="CombinedDuration" type="{urn:ebay:apis:eBLBaseComponents}CombinedPaymentPeriodCodeType" minOccurs="0"/>
         <element name="ModifyActionCode" type="{urn:ebay:apis:eBLBaseComponents}ModifyActionCodeType" minOccurs="0"/>
         <element name="FlatShippingDiscount" type="{urn:ebay:apis:eBLBaseComponents}FlatShippingDiscountType" minOccurs="0"/>
         <element name="CalculatedShippingDiscount" type="{urn:ebay:apis:eBLBaseComponents}CalculatedShippingDiscountType" minOccurs="0"/>
         <element name="CalculatedHandlingDiscount" type="{urn:ebay:apis:eBLBaseComponents}CalculatedHandlingDiscountType" minOccurs="0"/>
         <element name="PromotionalShippingDiscountDetails" type="{urn:ebay:apis:eBLBaseComponents}PromotionalShippingDiscountDetailsType" minOccurs="0"/>
         <element name="ShippingInsurance" type="{urn:ebay:apis:eBLBaseComponents}ShippingInsuranceType" minOccurs="0"/>
         <element name="InternationalShippingInsurance" type="{urn:ebay:apis:eBLBaseComponents}ShippingInsuranceType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  CalculatedHandlingDiscountType calculatedHandlingDiscount
           
protected  CalculatedShippingDiscountType calculatedShippingDiscount
           
protected  CombinedPaymentPeriodCodeType combinedDuration
           
protected  CurrencyCodeType currencyID
           
protected  FlatShippingDiscountType flatShippingDiscount
           
protected  ShippingInsuranceType internationalShippingInsurance
           
protected  ModifyActionCodeType modifyActionCode
           
protected  PromotionalShippingDiscountDetailsType promotionalShippingDiscountDetails
           
protected  ShippingInsuranceType shippingInsurance
           
 
Fields inherited from class com.ebay.soap.eBLBaseComponents.AbstractRequestType
any, botBlock, detailLevel, endUserIP, errorHandling, errorLanguage, invocationID, messageID, outputSelector, version, warningLevel
 
Constructor Summary
SetShippingDiscountProfilesRequestType()
           
 
Method Summary
 CalculatedHandlingDiscountType getCalculatedHandlingDiscount()
          Gets the value of the calculatedHandlingDiscount property.
 CalculatedShippingDiscountType getCalculatedShippingDiscount()
          Gets the value of the calculatedShippingDiscount property.
 CombinedPaymentPeriodCodeType getCombinedDuration()
          Gets the value of the combinedDuration property.
 CurrencyCodeType getCurrencyID()
          Gets the value of the currencyID property.
 FlatShippingDiscountType getFlatShippingDiscount()
          Gets the value of the flatShippingDiscount property.
 ShippingInsuranceType getInternationalShippingInsurance()
          Gets the value of the internationalShippingInsurance property.
 ModifyActionCodeType getModifyActionCode()
          Gets the value of the modifyActionCode property.
 PromotionalShippingDiscountDetailsType getPromotionalShippingDiscountDetails()
          Gets the value of the promotionalShippingDiscountDetails property.
 ShippingInsuranceType getShippingInsurance()
          Gets the value of the shippingInsurance property.
 void setCalculatedHandlingDiscount(CalculatedHandlingDiscountType value)
          Sets the value of the calculatedHandlingDiscount property.
 void setCalculatedShippingDiscount(CalculatedShippingDiscountType value)
          Sets the value of the calculatedShippingDiscount property.
 void setCombinedDuration(CombinedPaymentPeriodCodeType value)
          Sets the value of the combinedDuration property.
 void setCurrencyID(CurrencyCodeType value)
          Sets the value of the currencyID property.
 void setFlatShippingDiscount(FlatShippingDiscountType value)
          Sets the value of the flatShippingDiscount property.
 void setInternationalShippingInsurance(ShippingInsuranceType value)
          Sets the value of the internationalShippingInsurance property.
 void setModifyActionCode(ModifyActionCodeType value)
          Sets the value of the modifyActionCode property.
 void setPromotionalShippingDiscountDetails(PromotionalShippingDiscountDetailsType value)
          Sets the value of the promotionalShippingDiscountDetails property.
 void setShippingInsurance(ShippingInsuranceType value)
          Sets the value of the shippingInsurance property.
 
Methods inherited from class com.ebay.soap.eBLBaseComponents.AbstractRequestType
_getAny, _getDetailLevel, _getOutputSelector, getAny, getAny, getAnyLength, getBotBlock, getDetailLevel, getDetailLevel, getDetailLevelLength, getEndUserIP, getErrorHandling, getErrorLanguage, getInvocationID, getMessageID, getOutputSelector, getOutputSelector, getOutputSelectorLength, getVersion, getWarningLevel, setAny, setAny, setBotBlock, setDetailLevel, setDetailLevel, setEndUserIP, setErrorHandling, setErrorLanguage, setInvocationID, setMessageID, setOutputSelector, setOutputSelector, setVersion, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currencyID

protected CurrencyCodeType currencyID

combinedDuration

protected CombinedPaymentPeriodCodeType combinedDuration

modifyActionCode

protected ModifyActionCodeType modifyActionCode

flatShippingDiscount

protected FlatShippingDiscountType flatShippingDiscount

calculatedShippingDiscount

protected CalculatedShippingDiscountType calculatedShippingDiscount

calculatedHandlingDiscount

protected CalculatedHandlingDiscountType calculatedHandlingDiscount

promotionalShippingDiscountDetails

protected PromotionalShippingDiscountDetailsType promotionalShippingDiscountDetails

shippingInsurance

protected ShippingInsuranceType shippingInsurance

internationalShippingInsurance

protected ShippingInsuranceType internationalShippingInsurance
Constructor Detail

SetShippingDiscountProfilesRequestType

public SetShippingDiscountProfilesRequestType()
Method Detail

getCurrencyID

public CurrencyCodeType getCurrencyID()
Gets the value of the currencyID property.

Returns:
possible object is CurrencyCodeType

setCurrencyID

public void setCurrencyID(CurrencyCodeType value)
Sets the value of the currencyID property.

Parameters:
value - allowed object is CurrencyCodeType

getCombinedDuration

public CombinedPaymentPeriodCodeType getCombinedDuration()
Gets the value of the combinedDuration property.

Returns:
possible object is CombinedPaymentPeriodCodeType

setCombinedDuration

public void setCombinedDuration(CombinedPaymentPeriodCodeType value)
Sets the value of the combinedDuration property.

Parameters:
value - allowed object is CombinedPaymentPeriodCodeType

getModifyActionCode

public ModifyActionCodeType getModifyActionCode()
Gets the value of the modifyActionCode property.

Returns:
possible object is ModifyActionCodeType

setModifyActionCode

public void setModifyActionCode(ModifyActionCodeType value)
Sets the value of the modifyActionCode property.

Parameters:
value - allowed object is ModifyActionCodeType

getFlatShippingDiscount

public FlatShippingDiscountType getFlatShippingDiscount()
Gets the value of the flatShippingDiscount property.

Returns:
possible object is FlatShippingDiscountType

setFlatShippingDiscount

public void setFlatShippingDiscount(FlatShippingDiscountType value)
Sets the value of the flatShippingDiscount property.

Parameters:
value - allowed object is FlatShippingDiscountType

getCalculatedShippingDiscount

public CalculatedShippingDiscountType getCalculatedShippingDiscount()
Gets the value of the calculatedShippingDiscount property.

Returns:
possible object is CalculatedShippingDiscountType

setCalculatedShippingDiscount

public void setCalculatedShippingDiscount(CalculatedShippingDiscountType value)
Sets the value of the calculatedShippingDiscount property.

Parameters:
value - allowed object is CalculatedShippingDiscountType

getCalculatedHandlingDiscount

public CalculatedHandlingDiscountType getCalculatedHandlingDiscount()
Gets the value of the calculatedHandlingDiscount property.

Returns:
possible object is CalculatedHandlingDiscountType

setCalculatedHandlingDiscount

public void setCalculatedHandlingDiscount(CalculatedHandlingDiscountType value)
Sets the value of the calculatedHandlingDiscount property.

Parameters:
value - allowed object is CalculatedHandlingDiscountType

getPromotionalShippingDiscountDetails

public PromotionalShippingDiscountDetailsType getPromotionalShippingDiscountDetails()
Gets the value of the promotionalShippingDiscountDetails property.

Returns:
possible object is PromotionalShippingDiscountDetailsType

setPromotionalShippingDiscountDetails

public void setPromotionalShippingDiscountDetails(PromotionalShippingDiscountDetailsType value)
Sets the value of the promotionalShippingDiscountDetails property.

Parameters:
value - allowed object is PromotionalShippingDiscountDetailsType

getShippingInsurance

public ShippingInsuranceType getShippingInsurance()
Gets the value of the shippingInsurance property.

Returns:
possible object is ShippingInsuranceType

setShippingInsurance

public void setShippingInsurance(ShippingInsuranceType value)
Sets the value of the shippingInsurance property.

Parameters:
value - allowed object is ShippingInsuranceType

getInternationalShippingInsurance

public ShippingInsuranceType getInternationalShippingInsurance()
Gets the value of the internationalShippingInsurance property.

Returns:
possible object is ShippingInsuranceType

setInternationalShippingInsurance

public void setInternationalShippingInsurance(ShippingInsuranceType value)
Sets the value of the internationalShippingInsurance property.

Parameters:
value - allowed object is ShippingInsuranceType

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.