Class: AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsAddressType

Constant Summary collapse

@@schema_type =
"AddressType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["street1", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Street1")]],
  ["street2", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Street2")]],
  ["cityName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CityName")]],
  ["stateOrProvince", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StateOrProvince")]],
  ["country", ["CountryCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Country")]],
  ["countryName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CountryName")]],
  ["phone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone")]],
  ["postalCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PostalCode")]],
  ["addressID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressID")]],
  ["addressOwner", ["AddressOwnerCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressOwner")]],
  ["externalAddressID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalAddressID")]],
  ["internationalName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalName")]],
  ["internationalStateAndCity", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalStateAndCity")]],
  ["internationalStreet", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalStreet")]],
  ["addressStatus", ["AddressStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressStatus")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, street1 = nil, street2 = nil, cityName = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, postalCode = nil, addressID = nil, addressOwner = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, addressStatus = nil) ⇒ AddressType

Returns a new instance of AddressType.



3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'lib/paypal-business/default.rb', line 3197

def initialize(name = nil, street1 = nil, street2 = nil, cityName = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, postalCode = nil, addressID = nil, addressOwner = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, addressStatus = nil)
  @name = name
  @street1 = street1
  @street2 = street2
  @cityName = cityName
  @stateOrProvince = stateOrProvince
  @country = country
  @countryName = countryName
  @phone = phone
  @postalCode = postalCode
  @addressID = addressID
  @addressOwner = addressOwner
  @externalAddressID = externalAddressID
  @internationalName = internationalName
  @internationalStateAndCity = internationalStateAndCity
  @internationalStreet = internationalStreet
  @addressStatus = addressStatus
end

Instance Attribute Details

#addressIDObject

Returns the value of attribute addressID.



3189
3190
3191
# File 'lib/paypal-business/default.rb', line 3189

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



3190
3191
3192
# File 'lib/paypal-business/default.rb', line 3190

def addressOwner
  @addressOwner
end

#addressStatusObject

Returns the value of attribute addressStatus.



3195
3196
3197
# File 'lib/paypal-business/default.rb', line 3195

def addressStatus
  @addressStatus
end

#cityNameObject

Returns the value of attribute cityName.



3183
3184
3185
# File 'lib/paypal-business/default.rb', line 3183

def cityName
  @cityName
end

#countryObject

Returns the value of attribute country.



3185
3186
3187
# File 'lib/paypal-business/default.rb', line 3185

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



3186
3187
3188
# File 'lib/paypal-business/default.rb', line 3186

def countryName
  @countryName
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



3191
3192
3193
# File 'lib/paypal-business/default.rb', line 3191

def externalAddressID
  @externalAddressID
end

#internationalNameObject

Returns the value of attribute internationalName.



3192
3193
3194
# File 'lib/paypal-business/default.rb', line 3192

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



3193
3194
3195
# File 'lib/paypal-business/default.rb', line 3193

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



3194
3195
3196
# File 'lib/paypal-business/default.rb', line 3194

def internationalStreet
  @internationalStreet
end

#nameObject

Returns the value of attribute name.



3180
3181
3182
# File 'lib/paypal-business/default.rb', line 3180

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



3187
3188
3189
# File 'lib/paypal-business/default.rb', line 3187

def phone
  @phone
end

#postalCodeObject

Returns the value of attribute postalCode.



3188
3189
3190
# File 'lib/paypal-business/default.rb', line 3188

def postalCode
  @postalCode
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



3184
3185
3186
# File 'lib/paypal-business/default.rb', line 3184

def stateOrProvince
  @stateOrProvince
end

#street1Object

Returns the value of attribute street1.



3181
3182
3183
# File 'lib/paypal-business/default.rb', line 3181

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



3182
3183
3184
# File 'lib/paypal-business/default.rb', line 3182

def street2
  @street2
end