Class: Transbank::Webpay::WebpayPlus::TransactionRefundResponse
- Inherits:
-
Object
- Object
- Transbank::Webpay::WebpayPlus::TransactionRefundResponse
- Defined in:
- lib/transbank/sdk/webpay/webpay_plus/responses/transaction_refund_response.rb
Constant Summary collapse
- FIELDS =
[:type, :authorize_code, :authorization_date, :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.
12 13 14 |
# File 'lib/transbank/sdk/webpay/webpay_plus/responses/transaction_refund_response.rb', line 12 def initialize(json) FIELDS.each {|field| send("#{field}=", json["#{field}"]) } end |