Class: Transbank::Webpay::Oneclick::MallTransactionRefundResponse

Inherits:
Object
  • Object
show all
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

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