Class: AddressVerifyResponseType

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

Overview

urn:ebay:api:PayPalAPIAddressVerifyResponseType

Constant Summary collapse

@@schema_type =
"AddressVerifyResponseType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["timestamp", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Timestamp")]],
  ["ack", ["AckCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Ack")]],
  ["correlationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CorrelationID")]],
  ["errors", ["ErrorType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Errors")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["build", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Build")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["confirmationCode", ["AddressStatusCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "ConfirmationCode")]],
  ["streetMatch", ["MatchStatusCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "StreetMatch")]],
  ["zipMatch", ["MatchStatusCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "ZipMatch")]],
  ["countryCode", ["CountryCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "CountryCode")]],
  ["payPalToken", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "PayPalToken")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, confirmationCode = nil, streetMatch = nil, zipMatch = nil, countryCode = nil, payPalToken = nil) ⇒ AddressVerifyResponseType

Returns a new instance of AddressVerifyResponseType.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
# File 'lib/v_paypal/default.rb', line 856

def initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, confirmationCode = nil, streetMatch = nil, zipMatch = nil, countryCode = nil, payPalToken = nil)
  @timestamp = timestamp
  @ack = ack
  @correlationID = correlationID
  @errors = errors
  @version = version
  @build = build
  @__xmlele_any = nil
  @confirmationCode = confirmationCode
  @streetMatch = streetMatch
  @zipMatch = zipMatch
  @countryCode = countryCode
  @payPalToken = payPalToken
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



845
846
847
# File 'lib/v_paypal/default.rb', line 845

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



840
841
842
# File 'lib/v_paypal/default.rb', line 840

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



844
845
846
# File 'lib/v_paypal/default.rb', line 844

def build
  @build
end

#confirmationCodeObject

Returns the value of attribute confirmationCode.



846
847
848
# File 'lib/v_paypal/default.rb', line 846

def confirmationCode
  @confirmationCode
end

#correlationIDObject

Returns the value of attribute correlationID.



841
842
843
# File 'lib/v_paypal/default.rb', line 841

def correlationID
  @correlationID
end

#countryCodeObject

Returns the value of attribute countryCode.



849
850
851
# File 'lib/v_paypal/default.rb', line 849

def countryCode
  @countryCode
end

#errorsObject

Returns the value of attribute errors.



842
843
844
# File 'lib/v_paypal/default.rb', line 842

def errors
  @errors
end

#payPalTokenObject

Returns the value of attribute payPalToken.



850
851
852
# File 'lib/v_paypal/default.rb', line 850

def payPalToken
  @payPalToken
end

#streetMatchObject

Returns the value of attribute streetMatch.



847
848
849
# File 'lib/v_paypal/default.rb', line 847

def streetMatch
  @streetMatch
end

#timestampObject

Returns the value of attribute timestamp.



839
840
841
# File 'lib/v_paypal/default.rb', line 839

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



843
844
845
# File 'lib/v_paypal/default.rb', line 843

def version
  @version
end

#zipMatchObject

Returns the value of attribute zipMatch.



848
849
850
# File 'lib/v_paypal/default.rb', line 848

def zipMatch
  @zipMatch
end

Instance Method Details

#set_any(elements) ⇒ Object



852
853
854
# File 'lib/v_paypal/default.rb', line 852

def set_any(elements)
  @__xmlele_any = elements
end