Sha256: a20a38731f09cc4ed6f246cbf5ad9d6c0be440e62c4f3f3ed8ffc02ceb5c7880
Contents?: true
Size: 830 Bytes
Versions: 4
Compression:
Stored size: 830 Bytes
Contents
module GenesisRuby module Api module Requests module Base # Base class used in the Reference transaction requests class Reference < Financial include Mixins::Requests::Financial::PaymentAttributes include Mixins::Requests::Financial::ReferenceAttributes protected # Reference transaction request structure def reference_transaction_structure raise NotImplementedError, 'Reference transaction structure must be implemented.' end # Payment transaction structure sent to the Gateway def payment_transaction_structure { reference_id: reference_id }.merge payment_attributes_structure, reference_transaction_structure end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems