Class: AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
# File 'lib/v_paypal/default.rb', line 3017

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.



3009
3010
3011
# File 'lib/v_paypal/default.rb', line 3009

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



3010
3011
3012
# File 'lib/v_paypal/default.rb', line 3010

def addressOwner
  @addressOwner
end

#addressStatusObject

Returns the value of attribute addressStatus.



3015
3016
3017
# File 'lib/v_paypal/default.rb', line 3015

def addressStatus
  @addressStatus
end

#cityNameObject

Returns the value of attribute cityName.



3003
3004
3005
# File 'lib/v_paypal/default.rb', line 3003

def cityName
  @cityName
end

#countryObject

Returns the value of attribute country.



3005
3006
3007
# File 'lib/v_paypal/default.rb', line 3005

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



3006
3007
3008
# File 'lib/v_paypal/default.rb', line 3006

def countryName
  @countryName
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



3011
3012
3013
# File 'lib/v_paypal/default.rb', line 3011

def externalAddressID
  @externalAddressID
end

#internationalNameObject

Returns the value of attribute internationalName.



3012
3013
3014
# File 'lib/v_paypal/default.rb', line 3012

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



3013
3014
3015
# File 'lib/v_paypal/default.rb', line 3013

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



3014
3015
3016
# File 'lib/v_paypal/default.rb', line 3014

def internationalStreet
  @internationalStreet
end

#nameObject

Returns the value of attribute name.



3000
3001
3002
# File 'lib/v_paypal/default.rb', line 3000

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



3007
3008
3009
# File 'lib/v_paypal/default.rb', line 3007

def phone
  @phone
end

#postalCodeObject

Returns the value of attribute postalCode.



3008
3009
3010
# File 'lib/v_paypal/default.rb', line 3008

def postalCode
  @postalCode
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



3004
3005
3006
# File 'lib/v_paypal/default.rb', line 3004

def stateOrProvince
  @stateOrProvince
end

#street1Object

Returns the value of attribute street1.



3001
3002
3003
# File 'lib/v_paypal/default.rb', line 3001

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



3002
3003
3004
# File 'lib/v_paypal/default.rb', line 3002

def street2
  @street2
end