Class: AddressVerifyResponseType

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



888
889
890
891
892
893
894
895
896
897
898
899
900
901
# File 'lib/paypal-business/default.rb', line 888

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.



877
878
879
# File 'lib/paypal-business/default.rb', line 877

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



872
873
874
# File 'lib/paypal-business/default.rb', line 872

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



876
877
878
# File 'lib/paypal-business/default.rb', line 876

def build
  @build
end

#confirmationCodeObject

Returns the value of attribute confirmationCode.



878
879
880
# File 'lib/paypal-business/default.rb', line 878

def confirmationCode
  @confirmationCode
end

#correlationIDObject

Returns the value of attribute correlationID.



873
874
875
# File 'lib/paypal-business/default.rb', line 873

def correlationID
  @correlationID
end

#countryCodeObject

Returns the value of attribute countryCode.



881
882
883
# File 'lib/paypal-business/default.rb', line 881

def countryCode
  @countryCode
end

#errorsObject

Returns the value of attribute errors.



874
875
876
# File 'lib/paypal-business/default.rb', line 874

def errors
  @errors
end

#payPalTokenObject

Returns the value of attribute payPalToken.



882
883
884
# File 'lib/paypal-business/default.rb', line 882

def payPalToken
  @payPalToken
end

#streetMatchObject

Returns the value of attribute streetMatch.



879
880
881
# File 'lib/paypal-business/default.rb', line 879

def streetMatch
  @streetMatch
end

#timestampObject

Returns the value of attribute timestamp.



871
872
873
# File 'lib/paypal-business/default.rb', line 871

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



875
876
877
# File 'lib/paypal-business/default.rb', line 875

def version
  @version
end

#zipMatchObject

Returns the value of attribute zipMatch.



880
881
882
# File 'lib/paypal-business/default.rb', line 880

def zipMatch
  @zipMatch
end

Instance Method Details

#set_any(elements) ⇒ Object



884
885
886
# File 'lib/paypal-business/default.rb', line 884

def set_any(elements)
  @__xmlele_any = elements
end