Class: TransactionSearchResponseType

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

Overview

urn:ebay:api:PayPalAPITransactionSearchResponseType

Constant Summary collapse

@@schema_type =
"TransactionSearchResponseType"
@@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")]],
  ["paymentTransactions", ["PaymentTransactionSearchResultType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentTransactions")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TransactionSearchResponseType.



613
614
615
616
617
618
619
620
621
622
# File 'lib/paypal-business/default.rb', line 613

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



606
607
608
# File 'lib/paypal-business/default.rb', line 606

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



601
602
603
# File 'lib/paypal-business/default.rb', line 601

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



605
606
607
# File 'lib/paypal-business/default.rb', line 605

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



602
603
604
# File 'lib/paypal-business/default.rb', line 602

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



603
604
605
# File 'lib/paypal-business/default.rb', line 603

def errors
  @errors
end

#paymentTransactionsObject

Returns the value of attribute paymentTransactions.



607
608
609
# File 'lib/paypal-business/default.rb', line 607

def paymentTransactions
  @paymentTransactions
end

#timestampObject

Returns the value of attribute timestamp.



600
601
602
# File 'lib/paypal-business/default.rb', line 600

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



604
605
606
# File 'lib/paypal-business/default.rb', line 604

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



609
610
611
# File 'lib/paypal-business/default.rb', line 609

def set_any(elements)
  @__xmlele_any = elements
end