Class: Buckaruby::RefundInfoResponse
Overview
Response when retrieving the refund information.
Instance Attribute Summary
Attributes inherited from Response
#response
Instance Method Summary
collapse
Methods inherited from ApiResponse
#initialize
Methods inherited from Response
#additional, #custom, #initialize, #params, #status, #timestamp
Instance Method Details
#currency ⇒ Object
230
231
232
|
# File 'lib/buckaruby/response.rb', line 230
def currency
params[:brq_refundinfo_1_refundcurrency]
end
|
#invoicenumber ⇒ Object
226
227
228
|
# File 'lib/buckaruby/response.rb', line 226
def invoicenumber
params[:brq_refundinfo_1_invoice]
end
|
#maximum_amount ⇒ Object
222
223
224
|
# File 'lib/buckaruby/response.rb', line 222
def maximum_amount
params[:brq_refundinfo_1_maximumrefundamount]
end
|
#payment_method ⇒ Object
214
215
216
|
# File 'lib/buckaruby/response.rb', line 214
def payment_method
params[:brq_refundinfo_1_servicecode]
end
|
#refundable? ⇒ Boolean
218
219
220
|
# File 'lib/buckaruby/response.rb', line 218
def refundable?
!params[:brq_refundinfo_1_isrefundable].nil? && params[:brq_refundinfo_1_isrefundable].casecmp('true').zero?
end
|