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