Class: AddressVerifyRequestType

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

Overview

urn:ebay:api:PayPalAPIAddressVerifyRequestType

Constant Summary collapse

@@schema_type =
"AddressVerifyRequestType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["email", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Email")]],
  ["street", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Street")]],
  ["zip", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Zip")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, email = nil, street = nil, zip = nil) ⇒ AddressVerifyRequestType

Returns a new instance of AddressVerifyRequestType.



840
841
842
843
844
845
846
847
848
849
# File 'lib/paypal-business/default.rb', line 840

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, email = nil, street = nil, zip = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @email = email
  @street = street
  @zip = zip
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



831
832
833
# File 'lib/paypal-business/default.rb', line 831

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



827
828
829
# File 'lib/paypal-business/default.rb', line 827

def detailLevel
  @detailLevel
end

#emailObject

Returns the value of attribute email.



832
833
834
# File 'lib/paypal-business/default.rb', line 832

def email
  @email
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



828
829
830
# File 'lib/paypal-business/default.rb', line 828

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



829
830
831
# File 'lib/paypal-business/default.rb', line 829

def messageID
  @messageID
end

#streetObject

Returns the value of attribute street.



833
834
835
# File 'lib/paypal-business/default.rb', line 833

def street
  @street
end

#versionObject

Returns the value of attribute version.



830
831
832
# File 'lib/paypal-business/default.rb', line 830

def version
  @version
end

#zipObject

Returns the value of attribute zip.



834
835
836
# File 'lib/paypal-business/default.rb', line 834

def zip
  @zip
end

Instance Method Details

#set_any(elements) ⇒ Object



836
837
838
# File 'lib/paypal-business/default.rb', line 836

def set_any(elements)
  @__xmlele_any = elements
end