Class: Transbank::Webpay::Oneclick::MallDeferredTransactionCaptureResponse
- Inherits:
-
Object
- Object
- Transbank::Webpay::Oneclick::MallDeferredTransactionCaptureResponse
- Defined in:
- lib/transbank/sdk/oneclick/mall_deferred/responses/mall_deferred_transaction_capture_response.rb
Constant Summary collapse
- FIELDS =
i[ captured_amount response_code]
Instance Method Summary collapse
-
#initialize(json) ⇒ MallDeferredTransactionCaptureResponse
constructor
A new instance of MallDeferredTransactionCaptureResponse.
Constructor Details
#initialize(json) ⇒ MallDeferredTransactionCaptureResponse
Returns a new instance of MallDeferredTransactionCaptureResponse.
9 10 11 |
# File 'lib/transbank/sdk/oneclick/mall_deferred/responses/mall_deferred_transaction_capture_response.rb', line 9 def initialize(json) FIELDS.each {|field| send("#{field}=", json["#{field}"]) } end |