Browse Source

Merge pull request #554 from Alexbits/patch-3

Remove private setters to make class immutable
pull/494/merge
Miguel Veloso 6 years ago
committed by GitHub
parent
commit
54be3c73b6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/Services/Ordering/Ordering.Domain/Events/OrderStartedDomainEvent.cs

+ 7
- 7
src/Services/Ordering/Ordering.Domain/Events/OrderStartedDomainEvent.cs View File

@ -11,13 +11,13 @@ namespace Ordering.Domain.Events
/// </summary>
public class OrderStartedDomainEvent : INotification
{
public string UserId { get; private set; }
public int CardTypeId { get; private set; }
public string CardNumber { get; private set; }
public string CardSecurityNumber { get; private set; }
public string CardHolderName { get; private set; }
public DateTime CardExpiration { get; private set; }
public Order Order { get; private set; }
public string UserId { get; }
public int CardTypeId { get; }
public string CardNumber { get; }
public string CardSecurityNumber { get; }
public string CardHolderName { get; }
public DateTime CardExpiration { get; }
public Order Order { get; }
public OrderStartedDomainEvent(Order order, string userId,
int cardTypeId, string cardNumber,


Loading…
Cancel
Save