コード例 #1
0
            public CloseReopenTransactionBuilder()
            {
                var now = TimeProvider.Now;

                _description         = new CustomerFriendlyDescription($"{nameof(CloseReopenTransactionBuilder).Replace("Builder", "")}");
                _transactionDateTime = new TransactionDateTime(now);
                _businessDate        = new BusinessDate(now);
                _cardPresent         = new CardPresent(false);
                _currency            = new Currency(Currency.Kind.DKK);
                _traceId             = new TraceId(Guid.NewGuid());
            }
コード例 #2
0
 public CloseReopenTransactionBuilder WithCustomerFriendlyDescription(string description)
 {
     _description = new CustomerFriendlyDescription(description);
     return(this);
 }