Shopping_AddressType Class Reference
| Inherits from | NSObject |
| Conforms to | PicoBindable |
| Declared in | Shopping_AddressType.h Shopping_AddressType.m |
Overview
Contains the data for one user 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 ShoppingInterface
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). -
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.
Also applicable to Half.com (for GetOrders). -
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. -
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.
Also applicable to Half.com (for GetOrders). -
addressIDID assigned to the address in the eBay database.
property
For GetOrders, applies only to Half.com. -
externalAddressIDID assigned to the address by the owner of the address (fitting
property
only if the address is owned by PayPal; see AddressOwner).
Also 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. -
firstNameDisplays the first name of the seller (in a business
property
card format) if the seller’s SellerBusinessCodeType
is set to ‘Commercial’. -
lastNameDisplays the last name of the seller (in a business
property
card format) if the seller’s SellerBusinessCodeType
is set to ‘Commercial’. -
any(public property)
property
Properties
addressID
ID assigned to the address in the eBay database.
For GetOrders, applies only to Half.com.
@property (nonatomic, retain) NSString *addressIDDiscussion
ID assigned to the address in the eBay database.
For GetOrders, applies only to Half.com.
type : NSString, wrapper for primitive string
Declared In
Shopping_AddressType.hany
(public property)
@property (nonatomic, retain) NSMutableArray *anyDiscussion
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
Declared In
Shopping_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
Shopping_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
Shopping_AddressType.hcountryName
The name of the user’s country.
Also applicable to Half.com (for GetOrders).
@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
Shopping_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
Shopping_AddressType.hexternalAddressID
ID assigned to the address by the owner of the address (fitting
only if the address is owned by PayPal; see AddressOwner).
Also applicable to Half.com (for GetOrders).
@property (nonatomic, retain) NSString *externalAddressIDDiscussion
ID assigned to the address by the owner of the address (fitting
only if the address is owned by PayPal; see AddressOwner).
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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.
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.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_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.
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.
Also applicable to Half.com (for GetOrders).
type : NSString, wrapper for primitive string
Declared In
Shopping_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
Shopping_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
Shopping_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
Shopping_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
Shopping_AddressType.h