Skip to content

Commit

Permalink
Merge pull request #68 from IliyanIlievPH/67
Browse files Browse the repository at this point in the history
Closes #67
  • Loading branch information
IliyanIlievPH authored Jun 17, 2020
2 parents 9f4d3c2 + 6a0bddb commit cf081da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,10 @@ public class SmartVoucherUsedEvent
/// Currency
/// </summary>
public string Currency { get; set; }

/// <summary>
/// Short code of the voucher
/// </summary>
public string VoucherShortCode { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ await _voucherUsedPublisher.PublishAsync(new SmartVoucherUsedEvent
Amount = voucherCampaign.VoucherPrice,
Currency = voucherCampaign.Currency,
LinkedCustomerId = voucher.SellerId,
VoucherShortCode = voucher.ShortCode,
});
}

Expand Down

0 comments on commit cf081da

Please sign in to comment.