Class: DefraRubyMocks::GovpayRefundDetailsService
- Inherits:
-
BaseService
- Object
- BaseService
- DefraRubyMocks::GovpayRefundDetailsService
- Defined in:
- app/services/defra_ruby_mocks/govpay_refund_details_service.rb
Constant Summary collapse
- DEFAULT_LAST_REFUND_REQUEST_TIME =
1.day.ago.freeze
Instance Method Summary collapse
-
#run(payment_id:, refund_id:) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Methods inherited from BaseService
Instance Method Details
#run(payment_id:, refund_id:) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/services/defra_ruby_mocks/govpay_refund_details_service.rb', line 8 def run(payment_id:, refund_id:) # rubocop:disable Lint/UnusedMethodArgument { amount: 2000, created_date: "2019-09-19T16:53:03.213Z", refund_id: refund_id, status: status, settlement_summary: { settled_date: "2019-09-21" } } end |