Skip to content

Commit

Permalink
TASK: Updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Aug 21, 2023
1 parent 64578a0 commit 7ab3778
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
- added property `cart` to type `QuoteRequest`
</details>

**Import changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `canceled` to type `ProcessingState`
</details>

**History changes**

<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ public enum ProcessingState
Imported,

[Description("rejected")]
Rejected
Rejected,

[Description("canceled")]
Canceled
}

public class ProcessingStateWrapper : IProcessingState
Expand Down Expand Up @@ -70,6 +73,9 @@ public interface IProcessingState : IJsonName, IEnumerable<char>
public static IProcessingState Rejected = new ProcessingStateWrapper
{ Value = ProcessingState.Rejected, JsonName = "rejected" };

public static IProcessingState Canceled = new ProcessingStateWrapper
{ Value = ProcessingState.Canceled, JsonName = "canceled" };

ProcessingState? Value { get; }

static IProcessingState[] Values()
Expand All @@ -81,7 +87,8 @@ static IProcessingState[] Values()
Unresolved ,
WaitForMasterVariant ,
Imported ,
Rejected
Rejected ,
Canceled
};
}
static IProcessingState FindEnum(string value)
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ c9b8b9e547cdd797ec9aafd49e8eab34efd1010c
eca4a27d33f36199ddc9aa226e6ad8051fff12b5
b87a5af949a8f5ed96109ac56ec0df61758145dd
8aae1123d0eca08ca673c152a43adf2e915c0dce
17da4aad01ab00bf0bbabdbd23940a0254c467ba

0 comments on commit 7ab3778

Please sign in to comment.