-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd9d895
commit 8cb73e6
Showing
22 changed files
with
211 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...tion/src/main/java/com/cdx/bas/application/bank/transaction/type/CreditProcessorImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.cdx.bas.application.bank.transaction.type; | ||
|
||
import com.cdx.bas.domain.bank.account.BankAccount; | ||
import com.cdx.bas.domain.bank.account.BankAccountException; | ||
import com.cdx.bas.domain.bank.transaction.Transaction; | ||
import com.cdx.bas.domain.bank.transaction.TransactionException; | ||
|
||
public class CreditProcessorImpl implements DigitalTransactionProcessor { | ||
@Override | ||
public void processDigital(Transaction transaction, BankAccount emitterBankAccount, BankAccount receiverBankAccount) throws TransactionException, BankAccountException { | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ation/src/main/java/com/cdx/bas/application/bank/transaction/type/DebitProcessorImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.cdx.bas.application.bank.transaction.type; | ||
|
||
import com.cdx.bas.domain.bank.account.BankAccount; | ||
import com.cdx.bas.domain.bank.account.BankAccountException; | ||
import com.cdx.bas.domain.bank.transaction.Transaction; | ||
import com.cdx.bas.domain.bank.transaction.TransactionException; | ||
|
||
public class DebitProcessorImpl implements DigitalTransactionProcessor{ | ||
@Override | ||
public void processDigital(Transaction transaction, BankAccount emitterBankAccount, BankAccount receiverBankAccount) throws TransactionException, BankAccountException { | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ion/src/main/java/com/cdx/bas/application/bank/transaction/type/DepositProcessorImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.cdx.bas.application.bank.transaction.type; | ||
|
||
import com.cdx.bas.domain.bank.account.BankAccount; | ||
import com.cdx.bas.domain.bank.account.BankAccountException; | ||
import com.cdx.bas.domain.bank.transaction.Transaction; | ||
import com.cdx.bas.domain.bank.transaction.TransactionException; | ||
|
||
public class DepositProcessorImpl implements PhysicalCashTransactionProcessor{ | ||
@Override | ||
public void processPhysicalCash(Transaction transaction, BankAccount emitterBankAccount) throws TransactionException, BankAccountException { | ||
|
||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../main/java/com/cdx/bas/application/bank/transaction/type/DigitalTransactionProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.cdx.bas.application.bank.transaction.type; | ||
|
||
import com.cdx.bas.domain.bank.account.BankAccount; | ||
import com.cdx.bas.domain.bank.account.BankAccountException; | ||
import com.cdx.bas.domain.bank.transaction.Transaction; | ||
import com.cdx.bas.domain.bank.transaction.TransactionException; | ||
|
||
@FunctionalInterface | ||
public interface DigitalTransactionProcessor { | ||
void processDigital(Transaction transaction, BankAccount emitterBankAccount, BankAccount receiverBankAccount) throws TransactionException, BankAccountException; | ||
} |
11 changes: 11 additions & 0 deletions
11
.../java/com/cdx/bas/application/bank/transaction/type/PhysicalCashTransactionProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.cdx.bas.application.bank.transaction.type; | ||
|
||
import com.cdx.bas.domain.bank.account.BankAccount; | ||
import com.cdx.bas.domain.bank.account.BankAccountException; | ||
import com.cdx.bas.domain.bank.transaction.Transaction; | ||
import com.cdx.bas.domain.bank.transaction.TransactionException; | ||
|
||
@FunctionalInterface | ||
public interface PhysicalCashTransactionProcessor { | ||
void processPhysicalCash(Transaction transaction, BankAccount emitterBankAccount) throws TransactionException, BankAccountException; | ||
} |
Oops, something went wrong.