Class: GetTransactionDetailsResponseType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:api:PayPalAPIGetTransactionDetailsResponseType

Constant Summary collapse

@@schema_type =
"GetTransactionDetailsResponseType"
@@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")]],
  ["paymentTransactionDetails", ["PaymentTransactionType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentTransactionDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GetTransactionDetailsResponseType.



397
398
399
400
401
402
403
404
405
406
# File 'lib/v_paypal/default.rb', line 397

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



390
391
392
# File 'lib/v_paypal/default.rb', line 390

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



385
386
387
# File 'lib/v_paypal/default.rb', line 385

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



389
390
391
# File 'lib/v_paypal/default.rb', line 389

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



386
387
388
# File 'lib/v_paypal/default.rb', line 386

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



387
388
389
# File 'lib/v_paypal/default.rb', line 387

def errors
  @errors
end

#paymentTransactionDetailsObject

Returns the value of attribute paymentTransactionDetails.



391
392
393
# File 'lib/v_paypal/default.rb', line 391

def paymentTransactionDetails
  @paymentTransactionDetails
end

#timestampObject

Returns the value of attribute timestamp.



384
385
386
# File 'lib/v_paypal/default.rb', line 384

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



388
389
390
# File 'lib/v_paypal/default.rb', line 388

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



393
394
395
# File 'lib/v_paypal/default.rb', line 393

def set_any(elements)
  @__xmlele_any = elements
end