Class: GetTransactionDetailsRequestType

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

Overview

urn:ebay:api:PayPalAPIGetTransactionDetailsRequestType

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, transactionID = nil) ⇒ GetTransactionDetailsRequestType

Returns a new instance of GetTransactionDetailsRequestType.



391
392
393
394
395
396
397
398
# File 'lib/paypal-business/default.rb', line 391

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



384
385
386
# File 'lib/paypal-business/default.rb', line 384

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



380
381
382
# File 'lib/paypal-business/default.rb', line 380

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



381
382
383
# File 'lib/paypal-business/default.rb', line 381

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



382
383
384
# File 'lib/paypal-business/default.rb', line 382

def messageID
  @messageID
end

#transactionIDObject

Returns the value of attribute transactionID.



385
386
387
# File 'lib/paypal-business/default.rb', line 385

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



383
384
385
# File 'lib/paypal-business/default.rb', line 383

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



387
388
389
# File 'lib/paypal-business/default.rb', line 387

def set_any(elements)
  @__xmlele_any = elements
end