Trading_AddressType Class Reference
| Inherits from | NSObject |
| Conforms to | PicoBindable |
| Declared in | Trading_AddressType.h Trading_AddressType.m |
Overview
Contains the data for an eBay user’s address. This is the base type for a
number of user addresses, including seller payment address, buyer
shipping address and buyer and seller registration address.
@ingroup EBayAPIInterface
Tasks
-
nameUser’s name for the address.
property
Also applicable to Half.com (for GetOrders). -
streetA concatenation of Street1 and Street2, primarily for RegistrationAddress.
property
Not applicable to Half.com. -
street1Line 1 of the user’s street address.
property
Also applicable to Half.com (for GetOrders). -
street2Line 2 of the user’s address (such as an apartment number).
property
Returned if the user specified a second street value for their address.
Also applicable to Half.com (for GetOrders).
In case of Item.SellerContactDetails, Street2 can be used to provide City, Address, State, and Zip code (if applicable). -
cityNameThe name of the user’s city.
property
Also applicable to Half.com (for GetOrders). -
countyCounty information for the user.
property
This field applies to Classified Ad format listings and to the UK only.
Not applicable to Half.com. -
stateOrProvinceThe region of the user’s address.
property
Also applicable to Half.com (for GetOrders). -
countryThe two-digit code representing the country of the user.
property
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList returns the country code of the buyer, not the international shipping provider.
Also applicable to Half.com (for GetOrders). -
countryNameThe name of the user’s country.
property
Also applicable to Half.com (for GetOrders). -
phoneUser’s primary phone number. This may return a value of
property
“Invalid Request” if you are not authorized to see the
user’s phone number.
In the US, the area code (3 digits), the prefix (3 digits), the line number (4
digits), and phone extension (if specified by the user) are returned in this field.
The extension can be one or more digits. Non-breaking spaces are used as delimiters
between these phone number components.
Also applicable to Half.com (for GetOrders). -
phoneCountryCodeStandard ISO code for the country of the user’s primay telephone phone number.
property
For Classifed Ad format listings, this code is used to look up the country's
international calling prefix. Both the ISO code and country phone prefix are
stored with listings of this type.
This field applies to Classified Ad format listings only. -
phoneCountryPrefixCountry Prefix of the secondary phone number. This value is derived from
property
inputs supplied for PhoneCountryCode.
This field applies to Classified Ad format listings only. -
phoneAreaOrCityCodeArea or City Code of a user’s primary phone number.
property
This field applies to Classified Ad format listings only. -
phoneLocalNumberThe local number portion of the user’s primary phone number.
property
This field applies to Classified Ad format listings only.
Note: The full primary phone number is constructed by
combining PhoneLocalNumber with PhoneAreaOrCityCode and PhoneCountryPrefix.
Starting with API release 497, the full phone number can be entered in
PhoneLocalNumber. Refer to the release notes for additional information. -
phone2CountryCodeStandard ISO code for the country of a user’s secondary telephone phone
property
number. For Classifed Ad format listings, this code is used to look up the
country’s international calling prefix. Both the ISO code and country phone
prefix are stored with listings of this type.
This field applies to Classified Ad format listings only. -
phone2CountryPrefixCountry prefix of a user’s secondary phone number. This value is derived from
property
inputs supplied for Phone2CountryCode.
This field applies to Classified Ad format listings only. -
phone2AreaOrCityCodeArea or City Code of a user’s secondary phone number.
property
This field applies to Classified Ad format listings only. -
phone2LocalNumberThe local number portion of the user’s secondary phone number.
property
This field applies to Classified Ad format listings only.
Note: The full secondary phone number is constructed by
combining Phone2LocalNumber with Phone2AreaOrCityCode and Phone2CountryPrefix.
Starting with API release 497, the full phone number can be entered in
Phone2LocalNumber. Refer to the release notes for additional information. -
postalCodeUser’s postal code.
property
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList and GetMyeBaySelling return the postal code of the buyer, not that of the international shipping provider.
Also applicable to Half.com (for GetOrders). -
addressIDUnique ID for a user’s address in the eBay database.
property
This value can help prevent the need to
store an address multiple times across multiple orders.
The ID changes if a user changes their address. -
addressOwnerThe realm to which the address belongs (e.g. eBay vs PayPal).
property
For GetOrders, applies only to Half.com. -
addressStatusPayPal address status.
property
Not applicable to Half.com. -
externalAddressIDID assigned to the address by the address owner, e.g. by the PayPal system.
property
Currently, the ExternalAddressID only applies for a customer address in the PayPal system.
The ID changes if a user changes their address.
Also see the AddressOwner field.
The ExternalAddressID value also is applicable to Half.com (for GetOrders). -
internationalNameSeller’s international name that is associated with the payment address.
property
Only applicable to SellerPaymentAddress.
Not applicable to Half.com. -
internationalStateAndCityInternational state and city for the seller’s payment address.
property
Only applicable to SellerPaymentAddress.
Not applicable to Half.com. -
internationalStreetSeller’s international street address that is associated with the payment address.
property
Only applicable to SellerPaymentAddress.
Not applicable to Half.com. -
companyNameUser’s company name. Only returned if available.
property
Not applicable to Half.com. -
addressRecordTypeIndicates the nature of the address (e.g., residential or business).
property
Not applicable to Half.com. -
firstNameDisplays the first name of the seller (in a business card
property
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’. -
lastNameDisplays the last name of the seller (in a business card
property
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’. -
phone2Secondary Phone number of the lead. Not returned if information is unavailable.
property -
addressUsageThis tag tells whether current address is a default shipping address or one of the shipping addresses in address book.
property -
referenceIDUniquely identifies an order shipped using the Global Shipping Program. This value is generated by eBay when the order is completed. The international shipping provider uses the ReferenceID as the primary reference when processing the shipment. Sellers must include this value on the package immediately above the street address of the international shipping provider.
property
Example: “Reference #1234567890123456” -
any(public property)
property
Properties
addressID
Unique ID for a user’s address in the eBay database.
This value can help prevent the need to
store an address multiple times across multiple orders.
The ID changes if a user changes their address.
@property (nonatomic, retain) NSString *addressIDDiscussion
Unique ID for a user’s address in the eBay database.
This value can help prevent the need to
store an address multiple times across multiple orders.
The ID changes if a user changes their address.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.haddressOwner
The realm to which the address belongs (e.g. eBay vs PayPal).
For GetOrders, applies only to Half.com.
@property (nonatomic, retain) NSString *addressOwnerDiscussion
The realm to which the address belongs (e.g. eBay vs PayPal).
For GetOrders, applies only to Half.com.
type: string constant in Trading_AddressOwnerCodeType.h
Declared In
Trading_AddressType.haddressRecordType
Indicates the nature of the address (e.g., residential or business).
Not applicable to Half.com.
@property (nonatomic, retain) NSString *addressRecordTypeDiscussion
Indicates the nature of the address (e.g., residential or business).
Not applicable to Half.com.
type: string constant in Trading_AddressRecordTypeCodeType.h
Declared In
Trading_AddressType.haddressStatus
PayPal address status.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *addressStatusDiscussion
PayPal address status.
Not applicable to Half.com.
type: string constant in Trading_AddressStatusCodeType.h
Declared In
Trading_AddressType.haddressUsage
This tag tells whether current address is a default shipping address or one of the shipping addresses in address book.
@property (nonatomic, retain) NSString *addressUsageDiscussion
This tag tells whether current address is a default shipping address or one of the shipping addresses in address book.
type: string constant in Trading_AddressUsageCodeType.h
Declared In
Trading_AddressType.hany
(public property)
@property (nonatomic, retain) NSMutableArray *anyDiscussion
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
Declared In
Trading_AddressType.hcityName
The name of the user’s city.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *cityNameDiscussion
The name of the user’s city.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hcompanyName
@property (nonatomic, retain) NSString *companyNameDiscussion
User’s company name. Only returned if available.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hcountry
The two-digit code representing the country of the user.
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList returns the country code of the buyer, not the international shipping provider.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *countryDiscussion
The two-digit code representing the country of the user.
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList returns the country code of the buyer, not the international shipping provider.
Also applicable to Half.com (for GetOrders).
type: string constant in Trading_CountryCodeType.h
Declared In
Trading_AddressType.hcountryName
@property (nonatomic, retain) NSString *countryNameDiscussion
The name of the user’s country.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hcounty
County information for the user.
This field applies to Classified Ad format listings and to the UK only.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *countyDiscussion
County information for the user.
This field applies to Classified Ad format listings and to the UK only.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hexternalAddressID
ID assigned to the address by the address owner, e.g. by the PayPal system.
Currently, the ExternalAddressID only applies for a customer address in the PayPal system.
The ID changes if a user changes their address.
Also see the AddressOwner field.
The ExternalAddressID value also is applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *externalAddressIDDiscussion
ID assigned to the address by the address owner, e.g. by the PayPal system.
Currently, the ExternalAddressID only applies for a customer address in the PayPal system.
The ID changes if a user changes their address.
Also see the AddressOwner field.
The ExternalAddressID value also is applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hfirstName
Displays the first name of the seller (in a business card
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’.
@property (nonatomic, retain) NSString *firstNameDiscussion
Displays the first name of the seller (in a business card
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hinternationalName
Seller’s international name that is associated with the payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *internationalNameDiscussion
Seller’s international name that is associated with the payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hinternationalStateAndCity
International state and city for the seller’s payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *internationalStateAndCityDiscussion
International state and city for the seller’s payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hinternationalStreet
Seller’s international street address that is associated with the payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *internationalStreetDiscussion
Seller’s international street address that is associated with the payment address.
Only applicable to SellerPaymentAddress.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hlastName
Displays the last name of the seller (in a business card
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’.
@property (nonatomic, retain) NSString *lastNameDiscussion
Displays the last name of the seller (in a business card
format) if the seller’s SellerBusinessCodeType is set to
‘Commercial’.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hname
User’s name for the address.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *nameDiscussion
User’s name for the address.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphone
User’s primary phone number. This may return a value of
“Invalid Request” if you are not authorized to see the
user’s phone number.
In the US, the area code (3 digits), the prefix (3 digits), the line number (4
digits), and phone extension (if specified by the user) are returned in this field.
The extension can be one or more digits. Non-breaking spaces are used as delimiters
between these phone number components.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *phoneDiscussion
User’s primary phone number. This may return a value of
“Invalid Request” if you are not authorized to see the
user’s phone number.
In the US, the area code (3 digits), the prefix (3 digits), the line number (4
digits), and phone extension (if specified by the user) are returned in this field.
The extension can be one or more digits. Non-breaking spaces are used as delimiters
between these phone number components.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphone2
Secondary Phone number of the lead. Not returned if information is unavailable.
@property (nonatomic, retain) NSString *phone2Discussion
Secondary Phone number of the lead. Not returned if information is unavailable.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphone2AreaOrCityCode
Area or City Code of a user’s secondary phone number.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phone2AreaOrCityCodeDiscussion
Area or City Code of a user’s secondary phone number.
This field applies to Classified Ad format listings only.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphone2CountryCode
Standard ISO code for the country of a user’s secondary telephone phone
number. For Classifed Ad format listings, this code is used to look up the
country’s international calling prefix. Both the ISO code and country phone
prefix are stored with listings of this type.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phone2CountryCodeDiscussion
Standard ISO code for the country of a user’s secondary telephone phone
number. For Classifed Ad format listings, this code is used to look up the
country’s international calling prefix. Both the ISO code and country phone
prefix are stored with listings of this type.
This field applies to Classified Ad format listings only.
type: string constant in Trading_CountryCodeType.h
Declared In
Trading_AddressType.hphone2CountryPrefix
Country prefix of a user’s secondary phone number. This value is derived from
inputs supplied for Phone2CountryCode.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phone2CountryPrefixDiscussion
Country prefix of a user’s secondary phone number. This value is derived from
inputs supplied for Phone2CountryCode.
This field applies to Classified Ad format listings only.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphone2LocalNumber
The local number portion of the user’s secondary phone number.
This field applies to Classified Ad format listings only.
Note: The full secondary phone number is constructed by
combining Phone2LocalNumber with Phone2AreaOrCityCode and Phone2CountryPrefix.
Starting with API release 497, the full phone number can be entered in
Phone2LocalNumber. Refer to the release notes for additional information.
@property (nonatomic, retain) NSString *phone2LocalNumberDiscussion
The local number portion of the user’s secondary phone number.
This field applies to Classified Ad format listings only.
Note: The full secondary phone number is constructed by
combining Phone2LocalNumber with Phone2AreaOrCityCode and Phone2CountryPrefix.
Starting with API release 497, the full phone number can be entered in
Phone2LocalNumber. Refer to the release notes for additional information.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphoneAreaOrCityCode
Area or City Code of a user’s primary phone number.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phoneAreaOrCityCodeDiscussion
Area or City Code of a user’s primary phone number.
This field applies to Classified Ad format listings only.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphoneCountryCode
Standard ISO code for the country of the user’s primay telephone phone number.
For Classifed Ad format listings, this code is used to look up the country's
international calling prefix. Both the ISO code and country phone prefix are
stored with listings of this type.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phoneCountryCodeDiscussion
Standard ISO code for the country of the user’s primay telephone phone number.
For Classifed Ad format listings, this code is used to look up the country's
international calling prefix. Both the ISO code and country phone prefix are
stored with listings of this type.
This field applies to Classified Ad format listings only.
type: string constant in Trading_CountryCodeType.h
Declared In
Trading_AddressType.hphoneCountryPrefix
Country Prefix of the secondary phone number. This value is derived from
inputs supplied for PhoneCountryCode.
This field applies to Classified Ad format listings only.
@property (nonatomic, retain) NSString *phoneCountryPrefixDiscussion
Country Prefix of the secondary phone number. This value is derived from
inputs supplied for PhoneCountryCode.
This field applies to Classified Ad format listings only.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hphoneLocalNumber
The local number portion of the user’s primary phone number.
This field applies to Classified Ad format listings only.
Note: The full primary phone number is constructed by
combining PhoneLocalNumber with PhoneAreaOrCityCode and PhoneCountryPrefix.
Starting with API release 497, the full phone number can be entered in
PhoneLocalNumber. Refer to the release notes for additional information.
@property (nonatomic, retain) NSString *phoneLocalNumberDiscussion
The local number portion of the user’s primary phone number.
This field applies to Classified Ad format listings only.
Note: The full primary phone number is constructed by
combining PhoneLocalNumber with PhoneAreaOrCityCode and PhoneCountryPrefix.
Starting with API release 497, the full phone number can be entered in
PhoneLocalNumber. Refer to the release notes for additional information.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hpostalCode
User’s postal code.
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList and GetMyeBaySelling return the postal code of the buyer, not that of the international shipping provider.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *postalCodeDiscussion
User’s postal code.
If not provided as input for GetCart or SetCart, eBay uses the country associated
with the SiteID in effect when the call is made.
For a Global Shipping Program order, GetSellerList and GetMyeBaySelling return the postal code of the buyer, not that of the international shipping provider.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hreferenceID
Uniquely identifies an order shipped using the Global Shipping Program. This value is generated by eBay when the order is completed. The international shipping provider uses the ReferenceID as the primary reference when processing the shipment. Sellers must include this value on the package immediately above the street address of the international shipping provider.
Example: “Reference #1234567890123456”
@property (nonatomic, retain) NSString *referenceIDDiscussion
Uniquely identifies an order shipped using the Global Shipping Program. This value is generated by eBay when the order is completed. The international shipping provider uses the ReferenceID as the primary reference when processing the shipment. Sellers must include this value on the package immediately above the street address of the international shipping provider.
Example: “Reference #1234567890123456”
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hstateOrProvince
The region of the user’s address.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *stateOrProvinceDiscussion
The region of the user’s address.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hstreet
A concatenation of Street1 and Street2, primarily for RegistrationAddress.
Not applicable to Half.com.
@property (nonatomic, retain) NSString *streetDiscussion
A concatenation of Street1 and Street2, primarily for RegistrationAddress.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hstreet1
Line 1 of the user’s street address.
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *street1Discussion
Line 1 of the user’s street address.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.hstreet2
Line 2 of the user’s address (such as an apartment number).
Returned if the user specified a second street value for their address.
Also applicable to Half.com (for GetOrders).
In case of Item.SellerContactDetails, Street2 can be used to provide City, Address, State, and Zip code (if applicable).
@property (nonatomic, retain) NSString *street2Discussion
Line 2 of the user’s address (such as an apartment number).
Returned if the user specified a second street value for their address.
Also applicable to Half.com (for GetOrders).
In case of Item.SellerContactDetails, Street2 can be used to provide City, Address, State, and Zip code (if applicable).
type : NSString, wrapper for primitive string
Declared In
Trading_AddressType.h