Пример #1
0
        public static BankTransaction Create(BankTransactionId id, BankTransactionStatus status, PaymentId merchantId)
        {
            var instance = new BankTransaction
            {
                Id        = id,
                Status    = status,
                PaymentId = merchantId
            };

            Validator.ValidateAndThrow(instance);
            return(instance);
        }
 public BankTransactionStatusResponse(BankTransactionStatus status, string description)
 {
     Status      = status;
     Description = description;
 }