Splitit.Web.Net 3.0.9

dotnet add package Splitit.Web.Net --version 3.0.9
                    
NuGet\Install-Package Splitit.Web.Net -Version 3.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Splitit.Web.Net" Version="3.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Splitit.Web.Net" Version="3.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Splitit.Web.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Splitit.Web.Net --version 3.0.9
                    
#r "nuget: Splitit.Web.Net, 3.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Splitit.Web.Net&version=3.0.9
                    
Install Splitit.Web.Net as a Cake Addin
#tool nuget:?package=Splitit.Web.Net&version=3.0.9
                    
Install Splitit.Web.Net as a Cake Tool

Splitit.Web.Net - C#

NuGet

Splitit's Web API

Frameworks supported

  • .NET Core >=1.0
  • .NET Framework >=4.6
  • Mono/Xamarin >=vNext

Installation

Using the .NET Core command-line interface (CLI) tools:

dotnet add package Splitit.Web.Net

Using the NuGet Command Line Interface (CLI):

nuget install Splitit.Web.Net

Using the Package Manager Console:

Install-Package Splitit.Web.Net

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Splitit.Web.Net".
  5. Click on the "Splitit.Web.Net" package, select the appropriate version in the right-tab and click Install.

Getting Started

using System;
using System.Collections.Generic;
using System.Diagnostics;
using Splitit.Web.Net.Client;
using Splitit.Web.Net.Model;

namespace Example
{
    public class CheckEligibilityExample
    {
        public static void Main()
        {
            SplititClient client = new SplititClient();
            // Configure OAuth2 credentials for "application" OAuth flow
            client.SetOAuthClientId(System.Environment.GetEnvironmentVariable("CLIENT_ID"));
            client.SetOAuthClientSecret(System.Environment.GetEnvironmentVariable("CLIENT_SECRET"));

            var xSplititIdempotencyKey = "xSplititIdempotencyKey_example";
            var xSplititTouchPoint = ""; // TouchPoint (default to "")
            var planData = new PlanData();
            var cardDetails = new CardData();
            var billingAddress = new AddressData();
            var shopperIdentifier = "shopperIdentifier_example";
            
            var checkInstallmentsEligibilityRequest = new CheckInstallmentsEligibilityRequest(
                planData,
                cardDetails,
                billingAddress,
                shopperIdentifier
            );
            
            try
            {
                InstallmentsEligibilityResponse result = client.InstallmentPlan.CheckEligibility(xSplititIdempotencyKey, xSplititTouchPoint, checkInstallmentsEligibilityRequest);
                Console.WriteLine(result);
            }
            catch (ApiException e)
            {
                Console.WriteLine("Exception when calling InstallmentPlanApi.CheckEligibility: " + e.Message);
                Console.WriteLine("Status Code: "+ e.ErrorCode);
                Console.WriteLine(e.StackTrace);
            }
            catch (ClientException e)
            {
                Console.WriteLine(e.Response.StatusCode);
                Console.WriteLine(e.Response.RawContent);
                Console.WriteLine(e.InnerException);
            }
        }
    }
}

Documentation for API Endpoints

All URIs are relative to https://web-api-v3.production.splitit.com

Class Method HTTP request Description
InstallmentPlanApi CheckEligibility POST /api/installmentplans/check-eligibility
InstallmentPlanApi Get GET /api/installmentplans/{installmentPlanNumber}
InstallmentPlanApi GetEligibilityTermsAndCondition GET /api/installmentplans/{ipn}/legal
InstallmentPlanApi Post POST /api/installmentplans/initiate
InstallmentPlanApi Post2 POST /api/installmentplans
InstallmentPlanApi Refund POST /api/installmentplans/{installmentPlanNumber}/refund
InstallmentPlanApi Search GET /api/installmentplans/search
InstallmentPlanApi UpdateOrder PUT /api/installmentplans/{installmentPlanNumber}/updateorder
InstallmentPlanApi UpdateOrder2 PUT /api/installmentplans/updateorder
InstallmentPlanApi VerifyAuthorization GET /api/installmentplans/{installmentPlanNumber}/verifyauthorization

Documentation for Models

Dependencies

Author

This C# package is automatically generated by Konfig

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.9 149 4 months ago
3.0.8 99 4 months ago
3.0.7 86 5 months ago
3.0.6 100 6 months ago
3.0.5 103 6 months ago
3.0.4 116 6 months ago
3.0.3 121 7 months ago
3.0.2 111 8 months ago
3.0.1 109 9 months ago
3.0.0 222 3/24/2024
2.1.8 128 2/20/2024
2.1.7 120 2/19/2024
2.1.6 138 2/14/2024
2.1.5 140 2/7/2024
2.1.4 142 2/6/2024
2.1.3 117 1/31/2024
2.1.2 145 12/20/2023
2.1.1 207 11/7/2023
2.1.0 907 4/25/2023
2.0.0 231 3/25/2023
1.1.0 312 1/30/2023
1.0.8 319 1/10/2023

Minor update