Class: Transaction

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

Overview

/Transaction

transactionId - SOAP::SOAPString
callerTransactionDate - SOAP::SOAPDateTime
dateReceived - SOAP::SOAPDateTime
dateCompleted - SOAP::SOAPDateTime
transactionAmount - Amount
operation - FPSOperation
status - TransactionStatus
errorMessage - SOAP::SOAPString
errorCode - SOAP::SOAPString
 - SOAP::SOAPString
originalTransactionId - SOAP::SOAPString
transactionParts - TransactionPart
paymentMethod - PaymentMethod
senderName - SOAP::SOAPString
callerName - SOAP::SOAPString
recipientName - SOAP::SOAPString
fees - Amount
balance - Amount
callerTokenId - (any)
senderTokenId - (any)
recipientTokenId - (any)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transactionId = nil, callerTransactionDate = nil, dateReceived = nil, dateCompleted = nil, transactionAmount = nil, operation = nil, status = nil, errorMessage = nil, errorCode = nil, metaData = nil, originalTransactionId = nil, transactionParts = [], paymentMethod = nil, senderName = nil, callerName = nil, recipientName = nil, fees = nil, balance = nil, callerTokenId = nil, senderTokenId = nil, recipientTokenId = nil) ⇒ Transaction

Returns a new instance of Transaction.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
# File 'lib/default.rb', line 401

def initialize(transactionId = nil, callerTransactionDate = nil, dateReceived = nil, dateCompleted = nil, transactionAmount = nil, operation = nil, status = nil, errorMessage = nil, errorCode = nil,  = nil, originalTransactionId = nil, transactionParts = [], paymentMethod = nil, senderName = nil, callerName = nil, recipientName = nil, fees = nil, balance = nil, callerTokenId = nil, senderTokenId = nil, recipientTokenId = nil)
  @transactionId = transactionId
  @callerTransactionDate = callerTransactionDate
  @dateReceived = dateReceived
  @dateCompleted = dateCompleted
  @transactionAmount = transactionAmount
  @operation = operation
  @status = status
  @errorMessage = errorMessage
  @errorCode = errorCode
  @metaData = 
  @originalTransactionId = originalTransactionId
  @transactionParts = transactionParts
  @paymentMethod = paymentMethod
  @senderName = senderName
  @callerName = callerName
  @recipientName = recipientName
  @fees = fees
  @balance = balance
  @callerTokenId = callerTokenId
  @senderTokenId = senderTokenId
  @recipientTokenId = recipientTokenId
end

Instance Attribute Details

#balanceObject

Returns the value of attribute balance.



396
397
398
# File 'lib/default.rb', line 396

def balance
  @balance
end

#callerNameObject

Returns the value of attribute callerName.



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

def callerName
  @callerName
end

#callerTokenIdObject

Returns the value of attribute callerTokenId.



397
398
399
# File 'lib/default.rb', line 397

def callerTokenId
  @callerTokenId
end

#callerTransactionDateObject

Returns the value of attribute callerTransactionDate.



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

def callerTransactionDate
  @callerTransactionDate
end

#dateCompletedObject

Returns the value of attribute dateCompleted.



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

def dateCompleted
  @dateCompleted
end

#dateReceivedObject

Returns the value of attribute dateReceived.



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

def dateReceived
  @dateReceived
end

#errorCodeObject

Returns the value of attribute errorCode.



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

def errorCode
  @errorCode
end

#errorMessageObject

Returns the value of attribute errorMessage.



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

def errorMessage
  @errorMessage
end

#feesObject

Returns the value of attribute fees.



395
396
397
# File 'lib/default.rb', line 395

def fees
  @fees
end

#metaDataObject

Returns the value of attribute metaData.



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

def 
  @metaData
end

#operationObject

Returns the value of attribute operation.



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

def operation
  @operation
end

#originalTransactionIdObject

Returns the value of attribute originalTransactionId.



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

def originalTransactionId
  @originalTransactionId
end

#paymentMethodObject

Returns the value of attribute paymentMethod.



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

def paymentMethod
  @paymentMethod
end

#recipientNameObject

Returns the value of attribute recipientName.



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

def recipientName
  @recipientName
end

#recipientTokenIdObject

Returns the value of attribute recipientTokenId.



399
400
401
# File 'lib/default.rb', line 399

def recipientTokenId
  @recipientTokenId
end

#senderNameObject

Returns the value of attribute senderName.



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

def senderName
  @senderName
end

#senderTokenIdObject

Returns the value of attribute senderTokenId.



398
399
400
# File 'lib/default.rb', line 398

def senderTokenId
  @senderTokenId
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#transactionAmountObject

Returns the value of attribute transactionAmount.



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

def transactionAmount
  @transactionAmount
end

#transactionIdObject

Returns the value of attribute transactionId.



379
380
381
# File 'lib/default.rb', line 379

def transactionId
  @transactionId
end

#transactionPartsObject

Returns the value of attribute transactionParts.



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

def transactionParts
  @transactionParts
end