minor name change

This commit is contained in:
Christian Arenas 2017-05-19 08:53:24 +02:00
parent 87e57b9a44
commit 9fe33b82df
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event)
{ {
IntegrationEvent orderPaymentIntegrationEvent; IntegrationEvent orderPaymentIntegrationEvent;
if(_settings.SuccessPayment) if(_settings.PaymentSucceded)
{ {
orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId); orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId);
} }

View File

@ -2,7 +2,7 @@
{ {
public class PaymentSettings public class PaymentSettings
{ {
public bool SuccessPayment { get; set; } public bool PaymentSucceded { get; set; }
public string EventBusConnection { get; set; } public string EventBusConnection { get; set; }
} }
} }

View File

@ -5,5 +5,5 @@
"Default": "Warning" "Default": "Warning"
} }
}, },
"SuccessPayment": "true" "PaymentSucceded": "true"
} }