Class: Transbank::Webpay::WebpayPlus::MallTransactionCommitResponse
- Inherits:
-
Object
- Object
- Transbank::Webpay::WebpayPlus::MallTransactionCommitResponse
- Defined in:
- lib/transbank/sdk/webpay/webpay_plus/mall/responses/mall_transaction_commit_response.rb
Constant Summary collapse
- FIELDS =
[ :vci, :details, :buy_order, :session_id, :card_detail, :accounting_date, :transaction_date ]
Instance Method Summary collapse
-
#initialize(json) ⇒ MallTransactionCommitResponse
constructor
A new instance of MallTransactionCommitResponse.
Constructor Details
#initialize(json) ⇒ MallTransactionCommitResponse
Returns a new instance of MallTransactionCommitResponse.
16 17 18 |
# File 'lib/transbank/sdk/webpay/webpay_plus/mall/responses/mall_transaction_commit_response.rb', line 16 def initialize(json) FIELDS.each { |field| send("#{field}=", json["#{field}"])} end |