Sha256: 97c55490db74a9d7078e071539607cff6c033edf5d355f2a49ee80f2b98f4141

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

class Hws::Connectors::Dto::PayoutResponse < Hws::Connectors::Response
  attr_accessor :reference_number, :account_holder, :amount, :payment_type, :beneficiary
  attr_accessor :txn_time, :status, :bank_ref_num

  def initialize(reference_number:, beneficiary:, account_holder: nil, amount:, payment_type:, txn_time:, status:, bank_ref_num: nil,
                 message: nil, meta: {})
    @reference_number = reference_number
    @beneficiary = beneficiary
    @account_holder = account_holder
    @amount = amount
    @payment_type = payment_type
    @txn_time = txn_time
    @status = status
    @bank_ref_num = bank_ref_num
    super(message: message, meta: meta)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hws-connectors-0.1.1 lib/hws-connectors/dto/payout/payout_response.rb
hws-connectors-0.1.0 lib/hws-connectors/dto/payout/payout_response.rb