Class: DoVoidRequestType

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

Overview

urn:ebay:api:PayPalAPIDoVoidRequestType

Constant Summary collapse

@@schema_type =
"DoVoidRequestType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuthorizationID")]],
  ["note", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Note")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, note = nil) ⇒ DoVoidRequestType

Returns a new instance of DoVoidRequestType.



1546
1547
1548
1549
1550
1551
1552
1553
1554
# File 'lib/paypal-business/default.rb', line 1546

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, note = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @authorizationID = authorizationID
  @note = note
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1538
1539
1540
# File 'lib/paypal-business/default.rb', line 1538

def __xmlele_any
  @__xmlele_any
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1539
1540
1541
# File 'lib/paypal-business/default.rb', line 1539

def authorizationID
  @authorizationID
end

#detailLevelObject

Returns the value of attribute detailLevel.



1534
1535
1536
# File 'lib/paypal-business/default.rb', line 1534

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1535
1536
1537
# File 'lib/paypal-business/default.rb', line 1535

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1536
1537
1538
# File 'lib/paypal-business/default.rb', line 1536

def messageID
  @messageID
end

#noteObject

Returns the value of attribute note.



1540
1541
1542
# File 'lib/paypal-business/default.rb', line 1540

def note
  @note
end

#versionObject

Returns the value of attribute version.



1537
1538
1539
# File 'lib/paypal-business/default.rb', line 1537

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1542
1543
1544
# File 'lib/paypal-business/default.rb', line 1542

def set_any(elements)
  @__xmlele_any = elements
end