-
Notifications
You must be signed in to change notification settings - Fork 3
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 #57 from IliyanIlievPH/56
Closes #56
- Loading branch information
Showing
7 changed files
with
89 additions
and
8 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 was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
contract/MAVN.Service.SmartVouchers.Contract/SmartVoucherTransferredEvent.cs
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,47 @@ | ||
using System; | ||
|
||
namespace MAVN.Service.SmartVouchers.Contract | ||
{ | ||
public class SmartVoucherTransferredEvent | ||
{ | ||
/// <summary> | ||
/// Timestamp | ||
/// </summary> | ||
public DateTime Timestamp { get; set; } | ||
|
||
/// <summary> | ||
/// Customer id of the sender | ||
/// </summary> | ||
public Guid OldCustomerId { get; set; } | ||
|
||
/// <summary> | ||
/// Customer id of the receiver | ||
/// </summary> | ||
public Guid NewCustomerId { get; set; } | ||
|
||
/// <summary> | ||
/// Partner id | ||
/// </summary> | ||
public Guid PartnerId { get; set; } | ||
|
||
/// <summary> | ||
/// Id of the smart voucher campaign | ||
/// </summary> | ||
public Guid CampaignId { get; set; } | ||
|
||
/// <summary> | ||
/// Short code of the voucher | ||
/// </summary> | ||
public string VoucherShortCode { get; set; } | ||
|
||
/// <summary> | ||
/// Amount | ||
/// </summary> | ||
public decimal Amount { get; set; } | ||
|
||
/// <summary> | ||
/// Currency | ||
/// </summary> | ||
public string Currency { get; set; } | ||
} | ||
} |
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