Class: Transbank::Webpay::Oneclick::MallTransactionStatusResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/transbank/sdk/oneclick/mall/responses/mall_transaction_status_response.rb

Constant Summary collapse

FIELDS =
[:buy_order, :session_id, :card_detail, :expiration_date,
:accounting_date, :transaction_date, :details]

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ MallTransactionStatusResponse

Returns a new instance of MallTransactionStatusResponse.



9
10
11
# File 'lib/transbank/sdk/oneclick/mall/responses/mall_transaction_status_response.rb', line 9

def initialize(json)
  FIELDS.each {|field| send("#{field}=", json["#{field}"]) }
end