-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Knet Updates. Workflow updates (#421)
- Loading branch information
1 parent
06be307
commit 1146bb2
Showing
16 changed files
with
177 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace Checkout.Payments | ||
{ | ||
public class PaymentMethodsDetails | ||
{ | ||
public string DisplayName { get; set; } | ||
|
||
public string Type { get; set; } | ||
|
||
public string Network { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Checkout.Common; | ||
using Checkout.Workflows.Actions; | ||
|
||
namespace Checkout.Workflows.Events | ||
{ | ||
public class EventActionInvocation : Resource | ||
{ | ||
public string WorkflowId { get; set; } | ||
|
||
public string WorkflowActionId { get; set; } | ||
|
||
public WorkflowActionStatus? Status { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Checkout.Workflows.Events | ||
{ | ||
public class EventTypesRequest | ||
{ | ||
public IList<string> EventTypes { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
namespace Checkout.Workflows | ||
using Checkout.Workflows.Actions.Request; | ||
using Checkout.Workflows.Conditions.Request; | ||
using System.Collections.Generic; | ||
|
||
namespace Checkout.Workflows | ||
{ | ||
public class UpdateWorkflowRequest | ||
{ | ||
public string Name { get; set; } | ||
|
||
public bool? Active { get; set; } | ||
|
||
public IList<WorkflowConditionRequest> Conditions { get; set; } | ||
|
||
public IList<WorkflowActionRequest> Actions { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
namespace Checkout.Workflows | ||
using Checkout.Workflows.Actions.Response; | ||
using Checkout.Workflows.Conditions.Response; | ||
using System.Collections.Generic; | ||
|
||
namespace Checkout.Workflows | ||
{ | ||
public class UpdateWorkflowResponse : HttpMetadata | ||
{ | ||
public string Name { get; set; } | ||
|
||
public bool? Active { get; set; } | ||
|
||
public IList<WorkflowConditionResponse> Conditions { get; set; } = new List<WorkflowConditionResponse>(); | ||
|
||
public IList<WorkflowActionResponse> Actions { get; set; } = new List<WorkflowActionResponse>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters