Class: TransactionSearchRequestType

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

Overview

urn:ebay:api:PayPalAPITransactionSearchRequestType

Constant Summary collapse

@@schema_type =
"TransactionSearchRequestType"
@@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")]],
  ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:api:PayPalAPI", "StartDate")]],
  ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:api:PayPalAPI", "EndDate")]],
  ["payer", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Payer")]],
  ["receiver", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Receiver")]],
  ["receiptID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "ReceiptID")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]],
  ["payerName", ["PersonNameType", XSD::QName.new("urn:ebay:api:PayPalAPI", "PayerName")]],
  ["auctionItemNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuctionItemNumber")]],
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "InvoiceID")]],
  ["transactionClass", ["PaymentTransactionClassCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionClass")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]],
  ["currencyCode", ["CurrencyCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "CurrencyCode")]],
  ["status", ["PaymentTransactionStatusCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Status")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, startDate = nil, endDate = nil, payer = nil, receiver = nil, receiptID = nil, transactionID = nil, payerName = nil, auctionItemNumber = nil, invoiceID = nil, transactionClass = nil, amount = nil, currencyCode = nil, status = nil) ⇒ TransactionSearchRequestType

Returns a new instance of TransactionSearchRequestType.



531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
# File 'lib/v_paypal/default.rb', line 531

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, startDate = nil, endDate = nil, payer = nil, receiver = nil, receiptID = nil, transactionID = nil, payerName = nil, auctionItemNumber = nil, invoiceID = nil, transactionClass = nil, amount = nil, currencyCode = nil, status = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @startDate = startDate
  @endDate = endDate
  @payer = payer
  @receiver = receiver
  @receiptID = receiptID
  @transactionID = transactionID
  @payerName = payerName
  @auctionItemNumber = auctionItemNumber
  @invoiceID = invoiceID
  @transactionClass = transactionClass
  @amount = amount
  @currencyCode = currencyCode
  @status = status
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



512
513
514
# File 'lib/v_paypal/default.rb', line 512

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



523
524
525
# File 'lib/v_paypal/default.rb', line 523

def amount
  @amount
end

#auctionItemNumberObject

Returns the value of attribute auctionItemNumber.



520
521
522
# File 'lib/v_paypal/default.rb', line 520

def auctionItemNumber
  @auctionItemNumber
end

#currencyCodeObject

Returns the value of attribute currencyCode.



524
525
526
# File 'lib/v_paypal/default.rb', line 524

def currencyCode
  @currencyCode
end

#detailLevelObject

Returns the value of attribute detailLevel.



508
509
510
# File 'lib/v_paypal/default.rb', line 508

def detailLevel
  @detailLevel
end

#endDateObject

Returns the value of attribute endDate.



514
515
516
# File 'lib/v_paypal/default.rb', line 514

def endDate
  @endDate
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



509
510
511
# File 'lib/v_paypal/default.rb', line 509

def errorLanguage
  @errorLanguage
end

#invoiceIDObject

Returns the value of attribute invoiceID.



521
522
523
# File 'lib/v_paypal/default.rb', line 521

def invoiceID
  @invoiceID
end

#messageIDObject

Returns the value of attribute messageID.



510
511
512
# File 'lib/v_paypal/default.rb', line 510

def messageID
  @messageID
end

#payerObject

Returns the value of attribute payer.



515
516
517
# File 'lib/v_paypal/default.rb', line 515

def payer
  @payer
end

#payerNameObject

Returns the value of attribute payerName.



519
520
521
# File 'lib/v_paypal/default.rb', line 519

def payerName
  @payerName
end

#receiptIDObject

Returns the value of attribute receiptID.



517
518
519
# File 'lib/v_paypal/default.rb', line 517

def receiptID
  @receiptID
end

#receiverObject

Returns the value of attribute receiver.



516
517
518
# File 'lib/v_paypal/default.rb', line 516

def receiver
  @receiver
end

#startDateObject

Returns the value of attribute startDate.



513
514
515
# File 'lib/v_paypal/default.rb', line 513

def startDate
  @startDate
end

#statusObject

Returns the value of attribute status.



525
526
527
# File 'lib/v_paypal/default.rb', line 525

def status
  @status
end

#transactionClassObject

Returns the value of attribute transactionClass.



522
523
524
# File 'lib/v_paypal/default.rb', line 522

def transactionClass
  @transactionClass
end

#transactionIDObject

Returns the value of attribute transactionID.



518
519
520
# File 'lib/v_paypal/default.rb', line 518

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



511
512
513
# File 'lib/v_paypal/default.rb', line 511

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



527
528
529
# File 'lib/v_paypal/default.rb', line 527

def set_any(elements)
  @__xmlele_any = elements
end