Class: DoVoidResponseType

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

Overview

urn:ebay:api:PayPalAPIDoVoidResponseType

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DoVoidResponseType.



1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'lib/paypal-business/default.rb', line 1585

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1578
1579
1580
# File 'lib/paypal-business/default.rb', line 1578

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1573
1574
1575
# File 'lib/paypal-business/default.rb', line 1573

def ack
  @ack
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1579
1580
1581
# File 'lib/paypal-business/default.rb', line 1579

def authorizationID
  @authorizationID
end

#buildObject

Returns the value of attribute build.



1577
1578
1579
# File 'lib/paypal-business/default.rb', line 1577

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1574
1575
1576
# File 'lib/paypal-business/default.rb', line 1574

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



1575
1576
1577
# File 'lib/paypal-business/default.rb', line 1575

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1572
1573
1574
# File 'lib/paypal-business/default.rb', line 1572

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



1576
1577
1578
# File 'lib/paypal-business/default.rb', line 1576

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1581
1582
1583
# File 'lib/paypal-business/default.rb', line 1581

def set_any(elements)
  @__xmlele_any = elements
end