Ejemplo n.º 1
0
        public static externalDTO.PaymentMethod MapFromDomain(internalDTO.PaymentMethod paymentMethod)
        {
            var res = paymentMethod == null ? null : new externalDTO.PaymentMethod
            {
                Id = paymentMethod.Id,
                PaymentMethodValue = paymentMethod.PaymentMethodValue.Translate()
            };

            return(res);
        }
Ejemplo n.º 2
0
 public void MarkAsPaid(PaymentMethod method)
 {
     Invoice.MarkAsPaid(method);
 }