class AmountReservationResponse
Public Class Methods
new()
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 5 def initialize @httpResponseCode=0 @contentType=nil @location=nil @amountReservationTransaction=nil end
Public Instance Methods
getAmountReservationTransaction()
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 36 def getAmountReservationTransaction @amountReservationTransaction end
getContentType()
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 20 def getContentType @contentType end
getHTTPResponseCode()
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 12 def getHTTPResponseCode @httpResponseCode end
getLocation()
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 28 def getLocation @location end
setAmountReservationTransaction(amountReservationTransaction)
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 40 def setAmountReservationTransaction(amountReservationTransaction) @amountReservationTransaction=amountReservationTransaction end
setAmountReservationTransactionJSON(jsondata)
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 44 def setAmountReservationTransactionJSON(jsondata) @amountReservationTransaction=AmountReservationTransaction.new @amountReservationTransaction.initializeJSON(jsondata) end
setContentType(contentType)
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 24 def setContentType(contentType) @contentType=contentType end
setHTTPResponseCode(httpResponseCode)
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 16 def setHTTPResponseCode(httpResponseCode) @httpResponseCode=httpResponseCode end
setLocation(location)
click to toggle source
# File lib/response/payment/AmountReservationResponse.rb, line 32 def setLocation(location) @location=location end