Sha256: 2b608633261167bbffad1c82d24eaef902901b63f9466ab2201b454bc95990b6

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

class Hws::Connectors::Dto::PayoutRequest < Hws::Connectors::Request
  attr_accessor :beneficiary, :amount, :payment_type

  def initialize(beneficiary:, amount:, payment_type:, reference_number: nil, meta: {})
    @beneficiary = beneficiary
    @amount = amount
    @payment_type = payment_type
    super(reference_number: reference_number, 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_request.rb
hws-connectors-0.1.0 lib/hws-connectors/dto/payout/payout_request.rb