Module: AccountComponent::Controls::Events::WithdrawalRejected

Defined in:
lib/account_component/controls/events/withdrawal_rejected.rb

Class Method Summary collapse

Class Method Details

.exampleObject



5
6
7
8
9
10
11
12
13
14
15
16
# 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
  withdrawal_rejected.amount = Money.example
  withdrawal_rejected.time = Controls::Time::Effective.example

  withdrawal_rejected.sequence = Sequence.example

  withdrawal_rejected
end