class AmountTransaction

Public Class Methods

new() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 4
def initialize
  @clientCorrelator=nil
  @endUserId=nil
  @paymentAmount=nil
  @referenceCode=nil
  @resourceURL=nil
  @serverReferenceCode=nil
  @transactionStatus=nil
end

Public Instance Methods

getClientCorrelator() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 46
def getClientCorrelator
  @clientCorrelator
end
getEndUserId() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 54
def getEndUserId
  @endUserId
end
getPaymentAmount() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 62
def getPaymentAmount
  @paymentAmount
end
getReferenceCode() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 70
def getReferenceCode
  @referenceCode
end
getResourceURL() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 78
def getResourceURL
  @resourceURL
end
getServerReferenceCode() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 86
def getServerReferenceCode
  @serverReferenceCode
end
getTransactionStatus() click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 94
def getTransactionStatus
  @transactionStatus
end
initializeJSON(jsondict) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 14
def initializeJSON(jsondict)
  @clientCorrelator=nil
  if (jsondict!=nil) && (jsondict.has_key?'clientCorrelator') && (jsondict['clientCorrelator']!=nil)
    @clientCorrelator=jsondict['clientCorrelator']
  end
  @endUserId=nil
  if (jsondict!=nil) && (jsondict.has_key?'endUserId') && (jsondict['endUserId']!=nil)
    @endUserId=jsondict['endUserId']
  end
  @paymentAmount=nil
  if (jsondict!=nil) && (jsondict.has_key?'paymentAmount') && (jsondict['paymentAmount']!=nil) then
    @paymentAmount=PaymentAmount.new
    @paymentAmount.initializeJSON(jsondict['paymentAmount'])
  end
  @referenceCode=nil
  if (jsondict!=nil) && (jsondict.has_key?'referenceCode') && (jsondict['referenceCode']!=nil)
    @referenceCode=jsondict['referenceCode']
  end
  @resourceURL=nil
  if (jsondict!=nil) && (jsondict.has_key?'resourceURL') && (jsondict['resourceURL']!=nil)
    @resourceURL=jsondict['resourceURL']
  end
  @serverReferenceCode=nil
  if (jsondict!=nil) && (jsondict.has_key?'serverReferenceCode') && (jsondict['serverReferenceCode']!=nil)
    @serverReferenceCode=jsondict['serverReferenceCode']
  end
  @transactionStatus=nil
  if (jsondict!=nil) && (jsondict.has_key?'transactionStatus') && (jsondict['transactionStatus']!=nil)
    @transactionStatus=jsondict['transactionStatus']
  end
end
setClientCorrelator(clientCorrelator) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 50
def setClientCorrelator(clientCorrelator)
  @clientCorrelator=clientCorrelator
end
setEndUserId(endUserId) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 58
def setEndUserId(endUserId)
  @endUserId=endUserId
end
setPaymentAmount(paymentAmount) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 66
def setPaymentAmount(paymentAmount)
  @paymentAmount=paymentAmount
end
setReferenceCode(referenceCode) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 74
def setReferenceCode(referenceCode)
  @referenceCode=referenceCode
end
setResourceURL(resourceURL) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 82
def setResourceURL(resourceURL)
  @resourceURL=resourceURL
end
setServerReferenceCode(serverReferenceCode) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 90
def setServerReferenceCode(serverReferenceCode)
  @serverReferenceCode=serverReferenceCode
end
setTransactionStatus(transactionStatus) click to toggle source
# File lib/response/payment/AmountTransaction.rb, line 98
def setTransactionStatus(transactionStatus)
  @transactionStatus=transactionStatus
end