module AccountComponent::Controls::Events::WithdrawalRejected

Public Class Methods

example() click to toggle source
# File lib/account_component/controls/events/withdrawal_rejected.rb, line 5
def self.example
  withdrawal_rejected = AccountComponent::Messages::Events::WithdrawalRejected.build

  withdrawal_rejected.withdrawal_id = ID.example
  withdrawal_rejected.account_id = Account.id
  withdrawal_rejected.amount = Money.example
  withdrawal_rejected.time = Controls::Time::Effective.example

  withdrawal_rejected.sequence = Sequence.example

  withdrawal_rejected
end