Class: AmountReservationResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/response/payment/AmountReservationResponse.rb

Instance Method Summary collapse

Constructor Details

#initializeAmountReservationResponse

Returns a new instance of AmountReservationResponse.



5
6
7
8
9
10
# File 'lib/response/payment/AmountReservationResponse.rb', line 5

def initialize
  @httpResponseCode=0
  @contentType=nil
  @location=nil
  @amountReservationTransaction=nil
end

Instance Method Details

#getAmountReservationTransactionObject



36
37
38
# File 'lib/response/payment/AmountReservationResponse.rb', line 36

def getAmountReservationTransaction
  @amountReservationTransaction
end

#getContentTypeObject



20
21
22
# File 'lib/response/payment/AmountReservationResponse.rb', line 20

def getContentType
  @contentType
end

#getHTTPResponseCodeObject



12
13
14
# File 'lib/response/payment/AmountReservationResponse.rb', line 12

def getHTTPResponseCode
  @httpResponseCode
end

#getLocationObject



28
29
30
# File 'lib/response/payment/AmountReservationResponse.rb', line 28

def getLocation
  @location
end

#setAmountReservationTransaction(amountReservationTransaction) ⇒ Object



40
41
42
# File 'lib/response/payment/AmountReservationResponse.rb', line 40

def setAmountReservationTransaction(amountReservationTransaction)
  @amountReservationTransaction=amountReservationTransaction
end

#setAmountReservationTransactionJSON(jsondata) ⇒ Object



44
45
46
47
# File 'lib/response/payment/AmountReservationResponse.rb', line 44

def setAmountReservationTransactionJSON(jsondata)
  @amountReservationTransaction=AmountReservationTransaction.new
  @amountReservationTransaction.initializeJSON(jsondata)
end

#setContentType(contentType) ⇒ Object



24
25
26
# File 'lib/response/payment/AmountReservationResponse.rb', line 24

def setContentType(contentType)
  @contentType=contentType
end

#setHTTPResponseCode(httpResponseCode) ⇒ Object



16
17
18
# File 'lib/response/payment/AmountReservationResponse.rb', line 16

def setHTTPResponseCode(httpResponseCode)
  @httpResponseCode=httpResponseCode
end

#setLocation(location) ⇒ Object



32
33
34
# File 'lib/response/payment/AmountReservationResponse.rb', line 32

def setLocation(location)
  @location=location
end