|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.sdk.ApiCall
com.ebay.sdk.call.SetShippingDiscountProfilesCall
public class SetShippingDiscountProfilesCall
Wrapper class of the SetShippingDiscountProfiles call of eBay SOAP API.
Title: SOAP API wrapper library.
Description: Contains wrapper classes for eBay SOAP APIs.
Copyright: Copyright (c) 2009
Company: eBay Inc.
CurrencyID
- The three-digit code of the currency to be used for shipping discounts on Combined Invoice orders. A discount profile can only be associated with a listing if the CurrencyID value of the profile matches the Item.Currency value specified in a listing. This field is required if the user is adding or updating one or more shipping discount profiles.
CombinedDuration
- This field is used to specify the number of days after the purchase of an
item that the buyer or seller can combine multiple and mutual order
line items into one Combined Invoice order. In a Combined Invoice order,
the buyer makes one payment for all order line items, hence only unpaid
order line items can be combined into a Combined Invoice order.
ModifyActionCode
- This field is used to set which action is being taken (Add
, Update
, or Delete
) in the call. If you are adding a shipping discount rule, you will have to supply a name for that shipping discount profile. If you want to update or delete a shipping discount profile, you'll have to provide the unique identifier of this rule through the corresponding containers. The unique identifiers of these rules can be retrieved with the GetShippingDiscountRules call, or the seller can view these identifiers in My eBay Shipping Preferences.
FlatShippingDiscount
- This container allows you to create, update, or delete a flat-rate shipping discount profile.
CalculatedShippingDiscount
- This container allows you to create, update, or delete a calculated shipping discount profile.
CalculatedHandlingDiscount
- This container allows you to create, update, or delete a calculated handling discount profile.
PromotionalShippingDiscountDetails
- This container allows you to create, update, or delete a promotional shipping discount profile.
ShippingInsurance
- This field is no longer applicable as it is not longer possible for a seller to offer a buyer shipping insurance.
InternationalShippingInsurance
- This field is no longer applicable as it is not longer possible for a seller to offer a buyer shipping insurance.
Field Summary |
---|
Fields inherited from class com.ebay.sdk.ApiCall |
---|
apiException, sendReqListeners |
Constructor Summary | |
---|---|
SetShippingDiscountProfilesCall()
Constructor. |
|
SetShippingDiscountProfilesCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
CalculatedHandlingDiscountType |
getCalculatedHandlingDiscount()
Gets the SetShippingDiscountProfilesRequestType.calculatedHandlingDiscount. |
CalculatedShippingDiscountType |
getCalculatedShippingDiscount()
Gets the SetShippingDiscountProfilesRequestType.calculatedShippingDiscount. |
CombinedPaymentPeriodCodeType |
getCombinedDuration()
Gets the SetShippingDiscountProfilesRequestType.combinedDuration. |
CurrencyCodeType |
getCurrencyID()
Gets the SetShippingDiscountProfilesRequestType.currencyID. |
FlatShippingDiscountType |
getFlatShippingDiscount()
Gets the SetShippingDiscountProfilesRequestType.flatShippingDiscount. |
ShippingInsuranceType |
getInternationalShippingInsurance()
Gets the SetShippingDiscountProfilesRequestType.internationalShippingInsurance. |
ModifyActionCodeType |
getModifyActionCode()
Gets the SetShippingDiscountProfilesRequestType.modifyActionCode. |
PromotionalShippingDiscountDetailsType |
getPromotionalShippingDiscountDetails()
Gets the SetShippingDiscountProfilesRequestType.promotionalShippingDiscountDetails. |
ShippingInsuranceType |
getShippingInsurance()
Gets the SetShippingDiscountProfilesRequestType.shippingInsurance. |
void |
setCalculatedHandlingDiscount(CalculatedHandlingDiscountType calculatedHandlingDiscount)
Sets the SetShippingDiscountProfilesRequestType.calculatedHandlingDiscount. |
void |
setCalculatedShippingDiscount(CalculatedShippingDiscountType calculatedShippingDiscount)
Sets the SetShippingDiscountProfilesRequestType.calculatedShippingDiscount. |
void |
setCombinedDuration(CombinedPaymentPeriodCodeType combinedDuration)
Sets the SetShippingDiscountProfilesRequestType.combinedDuration. |
void |
setCurrencyID(CurrencyCodeType currencyID)
Sets the SetShippingDiscountProfilesRequestType.currencyID. |
void |
setFlatShippingDiscount(FlatShippingDiscountType flatShippingDiscount)
Sets the SetShippingDiscountProfilesRequestType.flatShippingDiscount. |
void |
setInternationalShippingInsurance(ShippingInsuranceType internationalShippingInsurance)
Sets the SetShippingDiscountProfilesRequestType.internationalShippingInsurance. |
void |
setModifyActionCode(ModifyActionCodeType modifyActionCode)
Sets the SetShippingDiscountProfilesRequestType.modifyActionCode. |
void |
setPromotionalShippingDiscountDetails(PromotionalShippingDiscountDetailsType promotionalShippingDiscountDetails)
Sets the SetShippingDiscountProfilesRequestType.promotionalShippingDiscountDetails. |
void |
setShippingDiscountProfiles()
This call enables a seller to create and manage shipping discounts rules. |
void |
setShippingInsurance(ShippingInsuranceType shippingInsurance)
Sets the SetShippingDiscountProfilesRequestType.shippingInsurance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetShippingDiscountProfilesCall()
public SetShippingDiscountProfilesCall(ApiContext apiContext)
apiContext
- The ApiContext object to be used to make the call.Method Detail |
---|
public void setShippingDiscountProfiles() throws ApiException, SdkException, java.lang.Exception
Add
, Update
, or Delete
) is set and controlled with the ModifyActionCode field.
ApiException
SdkException
java.lang.Exception
public CalculatedHandlingDiscountType getCalculatedHandlingDiscount()
public void setCalculatedHandlingDiscount(CalculatedHandlingDiscountType calculatedHandlingDiscount)
calculatedHandlingDiscount
- CalculatedHandlingDiscountTypepublic CalculatedShippingDiscountType getCalculatedShippingDiscount()
public void setCalculatedShippingDiscount(CalculatedShippingDiscountType calculatedShippingDiscount)
calculatedShippingDiscount
- CalculatedShippingDiscountTypepublic CombinedPaymentPeriodCodeType getCombinedDuration()
public void setCombinedDuration(CombinedPaymentPeriodCodeType combinedDuration)
combinedDuration
- CombinedPaymentPeriodCodeTypepublic CurrencyCodeType getCurrencyID()
public void setCurrencyID(CurrencyCodeType currencyID)
currencyID
- CurrencyCodeTypepublic FlatShippingDiscountType getFlatShippingDiscount()
public void setFlatShippingDiscount(FlatShippingDiscountType flatShippingDiscount)
flatShippingDiscount
- FlatShippingDiscountTypepublic ShippingInsuranceType getInternationalShippingInsurance()
public void setInternationalShippingInsurance(ShippingInsuranceType internationalShippingInsurance)
internationalShippingInsurance
- ShippingInsuranceTypepublic ModifyActionCodeType getModifyActionCode()
public void setModifyActionCode(ModifyActionCodeType modifyActionCode)
modifyActionCode
- ModifyActionCodeTypepublic PromotionalShippingDiscountDetailsType getPromotionalShippingDiscountDetails()
public void setPromotionalShippingDiscountDetails(PromotionalShippingDiscountDetailsType promotionalShippingDiscountDetails)
promotionalShippingDiscountDetails
- PromotionalShippingDiscountDetailsTypepublic ShippingInsuranceType getShippingInsurance()
public void setShippingInsurance(ShippingInsuranceType shippingInsurance)
shippingInsurance
- ShippingInsuranceType
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.