From 9fe33b82dfa501454ecfa29e08cb18c93b6fe8df Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Fri, 19 May 2017 08:53:24 +0200 Subject: [PATCH] minor name change --- ...OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs | 2 +- src/Services/Payment/Payment.API/PaymentSettings.cs | 2 +- src/Services/Payment/Payment.API/appsettings.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs index 805431704..dfdba0068 100644 --- a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs +++ b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs @@ -22,7 +22,7 @@ public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) { IntegrationEvent orderPaymentIntegrationEvent; - if(_settings.SuccessPayment) + if(_settings.PaymentSucceded) { orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId); } diff --git a/src/Services/Payment/Payment.API/PaymentSettings.cs b/src/Services/Payment/Payment.API/PaymentSettings.cs index dc0776e2e..e31acb52e 100644 --- a/src/Services/Payment/Payment.API/PaymentSettings.cs +++ b/src/Services/Payment/Payment.API/PaymentSettings.cs @@ -2,7 +2,7 @@ { public class PaymentSettings { - public bool SuccessPayment { get; set; } + public bool PaymentSucceded { get; set; } public string EventBusConnection { get; set; } } } diff --git a/src/Services/Payment/Payment.API/appsettings.json b/src/Services/Payment/Payment.API/appsettings.json index 285d91c4b..601eaa246 100644 --- a/src/Services/Payment/Payment.API/appsettings.json +++ b/src/Services/Payment/Payment.API/appsettings.json @@ -5,5 +5,5 @@ "Default": "Warning" } }, - "SuccessPayment": "true" + "PaymentSucceded": "true" }