Class: EnterBoardingResponseType

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

Overview

urn:ebay:api:PayPalAPIEnterBoardingResponseType

Constant Summary collapse

@@schema_type =
"EnterBoardingResponseType"
@@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")]],
  ["token", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Token")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, token = nil) ⇒ EnterBoardingResponseType

Returns a new instance of EnterBoardingResponseType.



966
967
968
969
970
971
972
973
974
975
# File 'lib/paypal-business/default.rb', line 966

def initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, token = nil)
  @timestamp = timestamp
  @ack = ack
  @correlationID = correlationID
  @errors = errors
  @version = version
  @build = build
  @__xmlele_any = nil
  @token = token
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



959
960
961
# File 'lib/paypal-business/default.rb', line 959

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



954
955
956
# File 'lib/paypal-business/default.rb', line 954

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



958
959
960
# File 'lib/paypal-business/default.rb', line 958

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



955
956
957
# File 'lib/paypal-business/default.rb', line 955

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



956
957
958
# File 'lib/paypal-business/default.rb', line 956

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



953
954
955
# File 'lib/paypal-business/default.rb', line 953

def timestamp
  @timestamp
end

#tokenObject

Returns the value of attribute token.



960
961
962
# File 'lib/paypal-business/default.rb', line 960

def token
  @token
end

#versionObject

Returns the value of attribute version.



957
958
959
# File 'lib/paypal-business/default.rb', line 957

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



962
963
964
# File 'lib/paypal-business/default.rb', line 962

def set_any(elements)
  @__xmlele_any = elements
end