Exemplo n.º 1
0
 public OrderConverter(ILogger <OrderConverter> logger,
                       DeliveryPointConverter deliveryPointConverter,
                       SmsPaymentStatusConverter smsPaymentConverter,
                       PaymentTypeConverter paymentTypeConverter)
 {
     this._logger = logger ?? throw new ArgumentNullException(nameof(logger));
     this._deliveryPointConverter = deliveryPointConverter ?? throw new ArgumentNullException(nameof(deliveryPointConverter));
     this._smsPaymentConverter    = smsPaymentConverter ?? throw new ArgumentNullException(nameof(smsPaymentConverter));
     this._paymentTypeConverter   = paymentTypeConverter ?? throw new ArgumentNullException(nameof(paymentTypeConverter));
 }