Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 19, 2022 22:22
Show Gist options
  • Save dcomartin/b39435d9f1b3165d107d447d8875dcd1 to your computer and use it in GitHub Desktop.
Save dcomartin/b39435d9f1b3165d107d447d8875dcd1 to your computer and use it in GitHub Desktop.
public class PlaceOrderCommand : ICommand
{
public string BuyerId { get; set; }
public Address Address { get; set; }
public List<OrderItem> Items { get; set; }
public CreditCardEncrypted CreditCard { get; set; }
public class CreditCardEncrypted
{
public EncryptedString Number { get; set; }
public EncryptedString Expiry { get; set; }
public EncryptedString Cvv { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment