Class: Transbank::Webpay::Oneclick::MallTransactionRefundResponse
- Inherits:
-
Object
- Object
- Transbank::Webpay::Oneclick::MallTransactionRefundResponse
- Defined in:
- lib/transbank/sdk/oneclick/mall/responses/mall_transaction_refund_response.rb
Constant Summary collapse
- FIELDS =
[:type, :authorization_code, :authorization_date, :nullified_amount, :balance, :response_code]
Instance Method Summary collapse
-
#initialize(json) ⇒ MallTransactionRefundResponse
constructor
A new instance of MallTransactionRefundResponse.
Constructor Details
#initialize(json) ⇒ MallTransactionRefundResponse
10 11 12 |
# File 'lib/transbank/sdk/oneclick/mall/responses/mall_transaction_refund_response.rb', line 10 def initialize(json) FIELDS.each {|field| send("#{field}=", json["#{field}"]) } end |