Class: Buckaruby::PushResponse

Inherits:
Response
  • Object
show all
Includes:
TransactionResponse
Defined in:
lib/buckaruby/response.rb

Overview

Response when verifying the push response.

Instance Attribute Summary

Attributes inherited from Response

#response

Instance Method Summary collapse

Methods included from TransactionResponse

#collect_date, #consumer_bic, #consumer_iban, #consumer_name, #invoicenumber, #mandate_reference, #payment_id, #payment_method, #transaction_id, #transaction_status, #transaction_type

Methods inherited from Response

#additional, #custom, #params, #status, #timestamp

Constructor Details

#initialize(body, config) ⇒ PushResponse

Returns a new instance of PushResponse.



260
261
262
263
264
# File 'lib/buckaruby/response.rb', line 260

def initialize(body, config)
  super

  Signature.verify!(config, response)
end

Instance Method Details

#refunded_transaction_idObject



266
267
268
# File 'lib/buckaruby/response.rb', line 266

def refunded_transaction_id
  params[:brq_relatedtransaction_refund]
end

#reversed_transaction_idObject



270
271
272
# File 'lib/buckaruby/response.rb', line 270

def reversed_transaction_id
  params[:brq_relatedtransaction_reversal]
end