Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class SellerPaymentPreferencesType

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

public class SellerPaymentPreferencesType
extends java.lang.Object
implements java.io.Serializable

Type defining the SellerPaymentPreferences container, which consists of the seller's payment preferences. Payment preferences specified in a SetUserPreferences call override the settings in My eBay payment preferences.

Note: Sellers opted in to the new eBay Managed Payments program cannot control some of the settings under the SellerPaymentPreferences container, and although some of these fields can still be set in SetUserPreferences and returned in GetUserPreferences, the settings will not have any affect on any current or future listings for the seller. eBay Managed Payments is currently only available to a limited number of sellers on the US site. The rollout to more sellers in more countries will be a multi-year journey, but eBay expects to transition a majority of sellers Worldwide to Managed Payments by 2021.

Java class for SellerPaymentPreferencesType complex type.

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

 <complexType name="SellerPaymentPreferencesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AlwaysUseThisPaymentAddress" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="DisplayPayNowButton" type="{urn:ebay:apis:eBLBaseComponents}DisplayPayNowButtonCodeType" minOccurs="0"/>
         <element name="PayPalPreferred" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="DefaultPayPalEmailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PayPalAlwaysOn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="SellerPaymentAddress" type="{urn:ebay:apis:eBLBaseComponents}AddressType" minOccurs="0"/>
         <element name="UPSRateOption" type="{urn:ebay:apis:eBLBaseComponents}UPSRateOptionCodeType" minOccurs="0"/>
         <element name="FedExRateOption" type="{urn:ebay:apis:eBLBaseComponents}FedExRateOptionCodeType" minOccurs="0"/>
         <element name="USPSRateOption" type="{urn:ebay:apis:eBLBaseComponents}USPSRateOptionCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.Boolean alwaysUseThisPaymentAddress
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String defaultPayPalEmailAddress
           
protected  DisplayPayNowButtonCodeType displayPayNowButton
           
protected  FedExRateOptionCodeType fedExRateOption
           
protected  java.lang.Boolean payPalAlwaysOn
           
protected  java.lang.Boolean payPalPreferred
           
protected  AddressType sellerPaymentAddress
           
protected  UPSRateOptionCodeType upsRateOption
           
protected  USPSRateOptionCodeType uspsRateOption
           
 
Constructor Summary
SellerPaymentPreferencesType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getDefaultPayPalEmailAddress()
          Gets the value of the defaultPayPalEmailAddress property.
 DisplayPayNowButtonCodeType getDisplayPayNowButton()
          Gets the value of the displayPayNowButton property.
 FedExRateOptionCodeType getFedExRateOption()
          Gets the value of the fedExRateOption property.
 AddressType getSellerPaymentAddress()
          Gets the value of the sellerPaymentAddress property.
 UPSRateOptionCodeType getUPSRateOption()
          Gets the value of the upsRateOption property.
 USPSRateOptionCodeType getUSPSRateOption()
          Gets the value of the uspsRateOption property.
 java.lang.Boolean isAlwaysUseThisPaymentAddress()
          Gets the value of the alwaysUseThisPaymentAddress property.
 java.lang.Boolean isPayPalAlwaysOn()
          Gets the value of the payPalAlwaysOn property.
 java.lang.Boolean isPayPalPreferred()
          Gets the value of the payPalPreferred property.
 void setAlwaysUseThisPaymentAddress(java.lang.Boolean value)
          Sets the value of the alwaysUseThisPaymentAddress property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDefaultPayPalEmailAddress(java.lang.String value)
          Sets the value of the defaultPayPalEmailAddress property.
 void setDisplayPayNowButton(DisplayPayNowButtonCodeType value)
          Sets the value of the displayPayNowButton property.
 void setFedExRateOption(FedExRateOptionCodeType value)
          Sets the value of the fedExRateOption property.
 void setPayPalAlwaysOn(java.lang.Boolean value)
          Sets the value of the payPalAlwaysOn property.
 void setPayPalPreferred(java.lang.Boolean value)
          Sets the value of the payPalPreferred property.
 void setSellerPaymentAddress(AddressType value)
          Sets the value of the sellerPaymentAddress property.
 void setUPSRateOption(UPSRateOptionCodeType value)
          Sets the value of the upsRateOption property.
 void setUSPSRateOption(USPSRateOptionCodeType value)
          Sets the value of the uspsRateOption property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alwaysUseThisPaymentAddress

protected java.lang.Boolean alwaysUseThisPaymentAddress

displayPayNowButton

protected DisplayPayNowButtonCodeType displayPayNowButton

payPalPreferred

protected java.lang.Boolean payPalPreferred

defaultPayPalEmailAddress

protected java.lang.String defaultPayPalEmailAddress

payPalAlwaysOn

protected java.lang.Boolean payPalAlwaysOn

sellerPaymentAddress

protected AddressType sellerPaymentAddress

upsRateOption

protected UPSRateOptionCodeType upsRateOption

fedExRateOption

protected FedExRateOptionCodeType fedExRateOption

uspsRateOption

protected USPSRateOptionCodeType uspsRateOption

any

protected java.util.List<java.lang.Object> any
Constructor Detail

SellerPaymentPreferencesType

public SellerPaymentPreferencesType()
Method Detail

isAlwaysUseThisPaymentAddress

public java.lang.Boolean isAlwaysUseThisPaymentAddress()
Gets the value of the alwaysUseThisPaymentAddress property.

Returns:
possible object is Boolean

setAlwaysUseThisPaymentAddress

public void setAlwaysUseThisPaymentAddress(java.lang.Boolean value)
Sets the value of the alwaysUseThisPaymentAddress property.

Parameters:
value - allowed object is Boolean

getDisplayPayNowButton

public DisplayPayNowButtonCodeType getDisplayPayNowButton()
Gets the value of the displayPayNowButton property.

Returns:
possible object is DisplayPayNowButtonCodeType

setDisplayPayNowButton

public void setDisplayPayNowButton(DisplayPayNowButtonCodeType value)
Sets the value of the displayPayNowButton property.

Parameters:
value - allowed object is DisplayPayNowButtonCodeType

isPayPalPreferred

public java.lang.Boolean isPayPalPreferred()
Gets the value of the payPalPreferred property.

Returns:
possible object is Boolean

setPayPalPreferred

public void setPayPalPreferred(java.lang.Boolean value)
Sets the value of the payPalPreferred property.

Parameters:
value - allowed object is Boolean

getDefaultPayPalEmailAddress

public java.lang.String getDefaultPayPalEmailAddress()
Gets the value of the defaultPayPalEmailAddress property.

Returns:
possible object is String

setDefaultPayPalEmailAddress

public void setDefaultPayPalEmailAddress(java.lang.String value)
Sets the value of the defaultPayPalEmailAddress property.

Parameters:
value - allowed object is String

isPayPalAlwaysOn

public java.lang.Boolean isPayPalAlwaysOn()
Gets the value of the payPalAlwaysOn property.

Returns:
possible object is Boolean

setPayPalAlwaysOn

public void setPayPalAlwaysOn(java.lang.Boolean value)
Sets the value of the payPalAlwaysOn property.

Parameters:
value - allowed object is Boolean

getSellerPaymentAddress

public AddressType getSellerPaymentAddress()
Gets the value of the sellerPaymentAddress property.

Returns:
possible object is AddressType

setSellerPaymentAddress

public void setSellerPaymentAddress(AddressType value)
Sets the value of the sellerPaymentAddress property.

Parameters:
value - allowed object is AddressType

getUPSRateOption

public UPSRateOptionCodeType getUPSRateOption()
Gets the value of the upsRateOption property.

Returns:
possible object is UPSRateOptionCodeType

setUPSRateOption

public void setUPSRateOption(UPSRateOptionCodeType value)
Sets the value of the upsRateOption property.

Parameters:
value - allowed object is UPSRateOptionCodeType

getFedExRateOption

public FedExRateOptionCodeType getFedExRateOption()
Gets the value of the fedExRateOption property.

Returns:
possible object is FedExRateOptionCodeType

setFedExRateOption

public void setFedExRateOption(FedExRateOptionCodeType value)
Sets the value of the fedExRateOption property.

Parameters:
value - allowed object is FedExRateOptionCodeType

getUSPSRateOption

public USPSRateOptionCodeType getUSPSRateOption()
Gets the value of the uspsRateOption property.

Returns:
possible object is USPSRateOptionCodeType

setUSPSRateOption

public void setUSPSRateOption(USPSRateOptionCodeType value)
Sets the value of the uspsRateOption property.

Parameters:
value - allowed object is USPSRateOptionCodeType

getAny

public java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Object Element

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Object Element

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Object Element

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.