Class: EBay::AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsAddressType

name - SOAP::SOAPString
street - SOAP::SOAPString
street1 - SOAP::SOAPString
street2 - SOAP::SOAPString
cityName - SOAP::SOAPString
county - SOAP::SOAPString
stateOrProvince - SOAP::SOAPString
country - EBay::CountryCodeType
countryName - SOAP::SOAPString
phone - SOAP::SOAPString
phoneCountryCode - EBay::CountryCodeType
phoneCountryPrefix - SOAP::SOAPString
phoneAreaOrCityCode - SOAP::SOAPString
phoneLocalNumber - SOAP::SOAPString
phone2CountryCode - EBay::CountryCodeType
phone2CountryPrefix - SOAP::SOAPString
phone2AreaOrCityCode - SOAP::SOAPString
phone2LocalNumber - SOAP::SOAPString
postalCode - SOAP::SOAPString
addressID - SOAP::SOAPString
addressOwner - EBay::AddressOwnerCodeType
addressStatus - EBay::AddressStatusCodeType
externalAddressID - SOAP::SOAPString
internationalName - SOAP::SOAPString
internationalStateAndCity - SOAP::SOAPString
internationalStreet - SOAP::SOAPString
companyName - SOAP::SOAPString
addressRecordType - EBay::AddressRecordTypeCodeType
firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
phone2 - SOAP::SOAPString
addressUsage - EBay::AddressUsageCodeType
referenceID - SOAP::SOAPString
addressAttribute - EBay::AddressAttributeType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, street = nil, street1 = nil, street2 = nil, cityName = nil, county = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, phoneCountryCode = nil, phoneCountryPrefix = nil, phoneAreaOrCityCode = nil, phoneLocalNumber = nil, phone2CountryCode = nil, phone2CountryPrefix = nil, phone2AreaOrCityCode = nil, phone2LocalNumber = nil, postalCode = nil, addressID = nil, addressOwner = nil, addressStatus = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, companyName = nil, addressRecordType = nil, firstName = nil, lastName = nil, phone2 = nil, addressUsage = nil, referenceID = nil, addressAttribute = []) ⇒ AddressType

Returns a new instance of AddressType.



20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
# File 'lib/eBay.rb', line 20502

def initialize(name = nil, street = nil, street1 = nil, street2 = nil, cityName = nil, county = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, phoneCountryCode = nil, phoneCountryPrefix = nil, phoneAreaOrCityCode = nil, phoneLocalNumber = nil, phone2CountryCode = nil, phone2CountryPrefix = nil, phone2AreaOrCityCode = nil, phone2LocalNumber = nil, postalCode = nil, addressID = nil, addressOwner = nil, addressStatus = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, companyName = nil, addressRecordType = nil, firstName = nil, lastName = nil, phone2 = nil, addressUsage = nil, referenceID = nil, addressAttribute = [])
  @name = name
  @street = street
  @street1 = street1
  @street2 = street2
  @cityName = cityName
  @county = county
  @stateOrProvince = stateOrProvince
  @country = country
  @countryName = countryName
  @phone = phone
  @phoneCountryCode = phoneCountryCode
  @phoneCountryPrefix = phoneCountryPrefix
  @phoneAreaOrCityCode = phoneAreaOrCityCode
  @phoneLocalNumber = phoneLocalNumber
  @phone2CountryCode = phone2CountryCode
  @phone2CountryPrefix = phone2CountryPrefix
  @phone2AreaOrCityCode = phone2AreaOrCityCode
  @phone2LocalNumber = phone2LocalNumber
  @postalCode = postalCode
  @addressID = addressID
  @addressOwner = addressOwner
  @addressStatus = addressStatus
  @externalAddressID = externalAddressID
  @internationalName = internationalName
  @internationalStateAndCity = internationalStateAndCity
  @internationalStreet = internationalStreet
  @companyName = companyName
  @addressRecordType = addressRecordType
  @firstName = firstName
  @lastName = lastName
  @phone2 = phone2
  @addressUsage = addressUsage
  @referenceID = referenceID
  @addressAttribute = addressAttribute
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20496
20497
20498
# File 'lib/eBay.rb', line 20496

def __xmlele_any
  @__xmlele_any
end

#addressAttributeObject

Returns the value of attribute addressAttribute.



20495
20496
20497
# File 'lib/eBay.rb', line 20495

def addressAttribute
  @addressAttribute
end

#addressIDObject

Returns the value of attribute addressID.



20481
20482
20483
# File 'lib/eBay.rb', line 20481

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



20482
20483
20484
# File 'lib/eBay.rb', line 20482

def addressOwner
  @addressOwner
end

#addressRecordTypeObject

Returns the value of attribute addressRecordType.



20489
20490
20491
# File 'lib/eBay.rb', line 20489

def addressRecordType
  @addressRecordType
end

#addressStatusObject

Returns the value of attribute addressStatus.



20483
20484
20485
# File 'lib/eBay.rb', line 20483

def addressStatus
  @addressStatus
end

#addressUsageObject

Returns the value of attribute addressUsage.



20493
20494
20495
# File 'lib/eBay.rb', line 20493

def addressUsage
  @addressUsage
end

#cityNameObject

Returns the value of attribute cityName.



20466
20467
20468
# File 'lib/eBay.rb', line 20466

def cityName
  @cityName
end

#companyNameObject

Returns the value of attribute companyName.



20488
20489
20490
# File 'lib/eBay.rb', line 20488

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



20469
20470
20471
# File 'lib/eBay.rb', line 20469

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



20470
20471
20472
# File 'lib/eBay.rb', line 20470

def countryName
  @countryName
end

#countyObject

Returns the value of attribute county.



20467
20468
20469
# File 'lib/eBay.rb', line 20467

def county
  @county
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



20484
20485
20486
# File 'lib/eBay.rb', line 20484

def externalAddressID
  @externalAddressID
end

#firstNameObject

Returns the value of attribute firstName.



20490
20491
20492
# File 'lib/eBay.rb', line 20490

def firstName
  @firstName
end

#internationalNameObject

Returns the value of attribute internationalName.



20485
20486
20487
# File 'lib/eBay.rb', line 20485

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



20486
20487
20488
# File 'lib/eBay.rb', line 20486

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



20487
20488
20489
# File 'lib/eBay.rb', line 20487

def internationalStreet
  @internationalStreet
end

#lastNameObject

Returns the value of attribute lastName.



20491
20492
20493
# File 'lib/eBay.rb', line 20491

def lastName
  @lastName
end

#nameObject

Returns the value of attribute name.



20462
20463
20464
# File 'lib/eBay.rb', line 20462

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



20471
20472
20473
# File 'lib/eBay.rb', line 20471

def phone
  @phone
end

#phone2Object

Returns the value of attribute phone2.



20492
20493
20494
# File 'lib/eBay.rb', line 20492

def phone2
  @phone2
end

#phone2AreaOrCityCodeObject

Returns the value of attribute phone2AreaOrCityCode.



20478
20479
20480
# File 'lib/eBay.rb', line 20478

def phone2AreaOrCityCode
  @phone2AreaOrCityCode
end

#phone2CountryCodeObject

Returns the value of attribute phone2CountryCode.



20476
20477
20478
# File 'lib/eBay.rb', line 20476

def phone2CountryCode
  @phone2CountryCode
end

#phone2CountryPrefixObject

Returns the value of attribute phone2CountryPrefix.



20477
20478
20479
# File 'lib/eBay.rb', line 20477

def phone2CountryPrefix
  @phone2CountryPrefix
end

#phone2LocalNumberObject

Returns the value of attribute phone2LocalNumber.



20479
20480
20481
# File 'lib/eBay.rb', line 20479

def phone2LocalNumber
  @phone2LocalNumber
end

#phoneAreaOrCityCodeObject

Returns the value of attribute phoneAreaOrCityCode.



20474
20475
20476
# File 'lib/eBay.rb', line 20474

def phoneAreaOrCityCode
  @phoneAreaOrCityCode
end

#phoneCountryCodeObject

Returns the value of attribute phoneCountryCode.



20472
20473
20474
# File 'lib/eBay.rb', line 20472

def phoneCountryCode
  @phoneCountryCode
end

#phoneCountryPrefixObject

Returns the value of attribute phoneCountryPrefix.



20473
20474
20475
# File 'lib/eBay.rb', line 20473

def phoneCountryPrefix
  @phoneCountryPrefix
end

#phoneLocalNumberObject

Returns the value of attribute phoneLocalNumber.



20475
20476
20477
# File 'lib/eBay.rb', line 20475

def phoneLocalNumber
  @phoneLocalNumber
end

#postalCodeObject

Returns the value of attribute postalCode.



20480
20481
20482
# File 'lib/eBay.rb', line 20480

def postalCode
  @postalCode
end

#referenceIDObject

Returns the value of attribute referenceID.



20494
20495
20496
# File 'lib/eBay.rb', line 20494

def referenceID
  @referenceID
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



20468
20469
20470
# File 'lib/eBay.rb', line 20468

def stateOrProvince
  @stateOrProvince
end

#streetObject

Returns the value of attribute street.



20463
20464
20465
# File 'lib/eBay.rb', line 20463

def street
  @street
end

#street1Object

Returns the value of attribute street1.



20464
20465
20466
# File 'lib/eBay.rb', line 20464

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



20465
20466
20467
# File 'lib/eBay.rb', line 20465

def street2
  @street2
end

Instance Method Details

#set_any(elements) ⇒ Object



20498
20499
20500
# File 'lib/eBay.rb', line 20498

def set_any(elements)
  @__xmlele_any = elements
end