-
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.
Merge pull request #11 from NashTech-Labs/feature/fix-structure
Structure fixed
- Loading branch information
Showing
15 changed files
with
40 additions
and
141 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
3 changes: 3 additions & 0 deletions
3
Common/src/main/java/com/nashtech/common/event/PaymentCancelledEvent.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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
package com.nashtech.common.event; | ||
|
||
import com.nashtech.common.model.PaymentStatus; | ||
import lombok.Builder; | ||
import lombok.Value; | ||
|
||
@Value | ||
@Builder | ||
public class PaymentCancelledEvent { | ||
String paymentId; | ||
String orderId; | ||
Integer quantity; | ||
String userId; | ||
String reason; | ||
String productId; | ||
PaymentStatus paymentStatus; | ||
|
||
} |
File renamed without changes.
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 |
---|---|---|
|
@@ -10,6 +10,5 @@ public class User { | |
String lastName; | ||
String userId; | ||
String address; | ||
PaymentDetails paymentDetails; | ||
|
||
} |
21 changes: 0 additions & 21 deletions
21
CommonService/src/main/java/com/nashtech/common/commands/CancelPaymentCommand.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
CommonService/src/main/java/com/nashtech/common/commands/ProcessPaymentCommand.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
CommonService/src/main/java/com/nashtech/common/events/PaymentCancelledEvent.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
CommonService/src/main/java/com/nashtech/common/events/PaymentProcessedEvent.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
CommonService/src/main/java/com/nashtech/common/model/PaymentDetails.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
CommonService/src/main/java/com/nashtech/common/model/User.java
This file was deleted.
Oops, something went wrong.
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