Skip to content

Commit 4412481

Browse files
Update OpenAPI Specification (#33)
* Update OpenAPI Specification (swagger.json) * Regenerate SDKs * Update submodule references --------- Co-authored-by: konfig-bot[bot] <121480725+konfig-bot[bot]@users.noreply.github.com> Co-authored-by: konfig-publisher <[email protected]>
1 parent 5d63d31 commit 4412481

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1586
-85
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
java: patch
3+
python: patch
4+
typescript: patch
5+
csharp: patch
6+
php: patch
7+
go: patch
8+
phpGuzzle6: patch
9+
---
10+
11+
Regenerate SDKs

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# splitit-web-sdks
22

3-
# ⚠️ Warning: Deprecated SDKs
4-
5-
**⚠️ All SDKs in this repository are fully deprecated as of December 2024.**
6-
7-
- These SDKs are no longer maintained or supported.
8-
- While they may still function, they will become increasingly out-of-date as Splitit continues to make API updates.
9-
- We strongly recommend migrating to newer solutions to ensure compatibility with the latest API features.
10-
11-
For more information, please contact [[email protected]](mailto:[email protected]).
12-
133
|Language|Version|Package Manager|README|Source|
144
|-|-|-|-|-|
155
|Java|3.0.8|[Maven Central](https://central.sonatype.com/artifact/com.konfigthis/splitit-web-java-sdk/3.0.8)|[README](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/java#readme)|[Source](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/java)|
@@ -18,4 +8,4 @@ For more information, please contact [[email protected]](mailto:danny@buil
188
|C#|3.0.8|[NuGet](https://nuget.org/packages/Splitit.Web.Net/3.0.8)|[README](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/csharp#readme)|[Source](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/csharp)|
199
|PHP (7.0+)|3.0.8|[Packagist](https://packagist.org/packages/konfig/splitit-web-php-sdk#3.0.8)|[README](https://github.com/konfig-dev/splitit-web-php-sdk/tree/HEAD#readme)|[Source](https://github.com/konfig-dev/splitit-web-php-sdk/tree/HEAD)|
2010
|Go|1.8.8|[pkg.go.dev](https://pkg.go.dev/github.com/konfig-dev/splitit-web-sdks/go)|[README](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/go#readme)|[Source](https://github.com/konfig-dev/splitit-web-sdks/tree/HEAD/go)|
21-
|PHP (7.0+)|3.0.9|[Packagist](https://packagist.org/packages/konfig/splitit-web-php-guzzle6-sdk#3.0.9)|[README](https://github.com/konfig-dev/splitit-web-php-guzzle6-sdk/tree/HEAD#readme)|[Source](https://github.com/konfig-dev/splitit-web-php-guzzle6-sdk/tree/HEAD)|
11+
|PHP (7.0+)|3.0.9|[Packagist](https://packagist.org/packages/konfig/splitit-web-php-guzzle6-sdk#3.0.9)|[README](https://github.com/konfig-dev/splitit-web-php-guzzle6-sdk/tree/HEAD#readme)|[Source](https://github.com/konfig-dev/splitit-web-php-guzzle6-sdk/tree/HEAD)|

STATISTICS.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
| SDK Name | Lines of Code |
44
| -------- | ------------- |
5-
| java | 43422 |
6-
| python | 41840 |
7-
| typescript | 12443 |
8-
| csharp | 26569 |
9-
| php | 44055 |
10-
| go | 31157 |
11-
| phpGuzzle6 | 44055 |
12-
| **Total** | 243541 |
5+
| java | 43933 |
6+
| python | 42105 |
7+
| typescript | 12486 |
8+
| csharp | 26855 |
9+
| php | 44675 |
10+
| go | 31524 |
11+
| phpGuzzle6 | 44675 |
12+
| **Total** | 246253 |

csharp/.konfig/generate-id.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0b810a23-4746-49e7-9e36-f34ff9929554
1+
3e0235b9-32f0-4b4a-881c-87e0fdc46df1

csharp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Class | Method | HTTP request | Description
150150
- [LinksData](docs/LinksData.md)
151151
- [LinksModel](docs/LinksModel.md)
152152
- [MockerShopperToken](docs/MockerShopperToken.md)
153+
- [PaymentInfo](docs/PaymentInfo.md)
153154
- [PaymentMethodModel](docs/PaymentMethodModel.md)
154155
- [PaymentMethodType](docs/PaymentMethodType.md)
155156
- [PaymentPlanOptionModel](docs/PaymentPlanOptionModel.md)

csharp/Splitit.Web.Net.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{C1A0438E-B777-49AB-BD5B-3E6E78B9F055}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{8D2C5781-F906-41C7-A7F9-4247B8628871}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net.Test", "src\Splitit.Web.Net.Test\Splitit.Web.Net.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{C1A0438E-B777-49AB-BD5B-3E6E78B9F055}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{C1A0438E-B777-49AB-BD5B-3E6E78B9F055}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{C1A0438E-B777-49AB-BD5B-3E6E78B9F055}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{C1A0438E-B777-49AB-BD5B-3E6E78B9F055}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{8D2C5781-F906-41C7-A7F9-4247B8628871}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{8D2C5781-F906-41C7-A7F9-4247B8628871}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{8D2C5781-F906-41C7-A7F9-4247B8628871}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{8D2C5781-F906-41C7-A7F9-4247B8628871}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

csharp/docs/PaymentInfo.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Splitit.Web.Net.Model.PaymentInfo
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**CardBin** | **string** | | [optional]
8+
**CardType** | **CardType** | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+

csharp/docs/PlanErrorResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**TraceId** | **string** | | [optional]
88
**Error** | [**ErrorExtended**](ErrorExtended.md) | | [optional]
99
**InstallmentPlanNumber** | **string** | | [optional]
10+
**PaymentInfo** | [**PaymentInfo**](PaymentInfo.md) | | [optional]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1213

csharp/docs/PlanErrorResponseAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**InstallmentPlanNumber** | **string** | | [optional]
8+
**PaymentInfo** | [**PaymentInfo**](PaymentInfo.md) | | [optional]
89

910
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1011

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* splitit-web-api-v3
3+
*
4+
* Splitit's Web API
5+
*
6+
* The version of the OpenAPI document: 1.0.0
7+
* Generated by: https://konfigthis.com
8+
*/
9+
10+
11+
using Xunit;
12+
13+
using System;
14+
using System.Linq;
15+
using System.IO;
16+
using System.Collections.Generic;
17+
using Splitit.Web.Net.Api;
18+
using Splitit.Web.Net.Model;
19+
using Splitit.Web.Net.Client;
20+
using System.Reflection;
21+
using Newtonsoft.Json;
22+
23+
namespace Splitit.Web.Net.Test.Model
24+
{
25+
/// <summary>
26+
/// Class for testing PaymentInfo
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Konfig (https://konfigthis.com).
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
public class PaymentInfoTests : IDisposable
33+
{
34+
// TODO uncomment below to declare an instance variable for PaymentInfo
35+
//private PaymentInfo instance;
36+
37+
public PaymentInfoTests()
38+
{
39+
// TODO uncomment below to create an instance of PaymentInfo
40+
//instance = new PaymentInfo();
41+
}
42+
43+
public void Dispose()
44+
{
45+
// Cleanup when everything is done.
46+
}
47+
48+
/// <summary>
49+
/// Test an instance of PaymentInfo
50+
/// </summary>
51+
[Fact]
52+
public void PaymentInfoInstanceTest()
53+
{
54+
// TODO uncomment below to test "IsType" PaymentInfo
55+
//Assert.IsType<PaymentInfo>(instance);
56+
}
57+
58+
59+
/// <summary>
60+
/// Test the property 'CardBin'
61+
/// </summary>
62+
[Fact]
63+
public void CardBinTest()
64+
{
65+
// TODO unit test for the property 'CardBin'
66+
}
67+
/// <summary>
68+
/// Test the property 'CardType'
69+
/// </summary>
70+
[Fact]
71+
public void CardTypeTest()
72+
{
73+
// TODO unit test for the property 'CardType'
74+
}
75+
76+
}
77+
78+
}

0 commit comments

Comments
 (0)