Class: AbstractResponseType

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

Overview

urn:ebay:apis:eBLBaseComponentsAbstractResponseType

Constant Summary collapse

@@schema_type =
"AbstractResponseType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AbstractResponseType.



3146
3147
3148
3149
3150
3151
3152
3153
3154
# File 'lib/paypal-business/default.rb', line 3146

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



3140
3141
3142
# File 'lib/paypal-business/default.rb', line 3140

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



3135
3136
3137
# File 'lib/paypal-business/default.rb', line 3135

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



3139
3140
3141
# File 'lib/paypal-business/default.rb', line 3139

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



3136
3137
3138
# File 'lib/paypal-business/default.rb', line 3136

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



3137
3138
3139
# File 'lib/paypal-business/default.rb', line 3137

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



3134
3135
3136
# File 'lib/paypal-business/default.rb', line 3134

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



3138
3139
3140
# File 'lib/paypal-business/default.rb', line 3138

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



3142
3143
3144
# File 'lib/paypal-business/default.rb', line 3142

def set_any(elements)
  @__xmlele_any = elements
end