Skip to content

Release sep24 #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
* CyberSource Merged Spec
*
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/

using System;
using System.IO;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using RestSharp;
using NUnit.Framework;

using CyberSource.Client;
using CyberSource.Api;
using CyberSource.Model;

namespace CyberSource.Test
{
/// <summary>
/// Class for testing FlexAPIApi
/// </summary>
/// <remarks>
/// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the API endpoint.
/// </remarks>
[TestFixture]
public class FlexAPIApiTests
{
private FlexAPIApi instance;

/// <summary>
/// Setup before each unit test
/// </summary>
[SetUp]
public void Init()
{
instance = new FlexAPIApi();
}

/// <summary>
/// Clean up after each unit test
/// </summary>
[TearDown]
public void Cleanup()
{

}

/// <summary>
/// Test an instance of FlexAPIApi
/// </summary>
[Test]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' FlexAPIApi
//Assert.IsInstanceOfType(typeof(FlexAPIApi), instance, "instance is a FlexAPIApi");
}


/// <summary>
/// Test GenerateFlexAPICaptureContext
/// </summary>
[Test]
public void GenerateFlexAPICaptureContextTest()
{
// TODO uncomment below to test the method and replace null with proper value
//GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest = null;
//var response = instance.GenerateFlexAPICaptureContext(generateFlexAPICaptureContextRequest);
//Assert.IsInstanceOf<string> (response, "response is string");
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,22 @@ public void DiscoverInstitutionIdTest()
// TODO unit test for the property 'DiscoverInstitutionId'
}
/// <summary>
/// Test the property 'UnionPayInstitutionId'
/// </summary>
[Test]
public void UnionPayInstitutionIdTest()
{
// TODO unit test for the property 'UnionPayInstitutionId'
}
/// <summary>
/// Test the property 'DinersClubInstitutionId'
/// </summary>
[Test]
public void DinersClubInstitutionIdTest()
{
// TODO unit test for the property 'DinersClubInstitutionId'
}
/// <summary>
/// Test the property 'CountryCode'
/// </summary>
[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ public void UrlTest()
{
// TODO unit test for the property 'Url'
}
/// <summary>
/// Test the property 'CountryOfOrigin'
/// </summary>
[Test]
public void CountryOfOriginTest()
{
// TODO unit test for the property 'CountryOfOrigin'
}

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,30 @@ public void CurrenciesTest()
// TODO unit test for the property 'Currencies'
}
/// <summary>
/// Test the property 'VisaAggregatorId'
/// </summary>
[Test]
public void VisaAggregatorIdTest()
{
// TODO unit test for the property 'VisaAggregatorId'
}
/// <summary>
/// Test the property 'AmexAggregatorId'
/// </summary>
[Test]
public void AmexAggregatorIdTest()
{
// TODO unit test for the property 'AmexAggregatorId'
}
/// <summary>
/// Test the property 'MasterCardAggregatorId'
/// </summary>
[Test]
public void MasterCardAggregatorIdTest()
{
// TODO unit test for the property 'MasterCardAggregatorId'
}
/// <summary>
/// Test the property 'SicCode'
/// </summary>
[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,22 @@ public void MerchantDescriptorInformationTest()
{
// TODO unit test for the property 'MerchantDescriptorInformation'
}
/// <summary>
/// Test the property 'GovernmentControlled'
/// </summary>
[Test]
public void GovernmentControlledTest()
{
// TODO unit test for the property 'GovernmentControlled'
}
/// <summary>
/// Test the property 'DropBillingInfo'
/// </summary>
[Test]
public void DropBillingInfoTest()
{
// TODO unit test for the property 'DropBillingInfo'
}

}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* CyberSource Merged Spec
*
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/


using NUnit.Framework;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using CyberSource.Api;
using CyberSource.Model;
using CyberSource.Client;
using System.Reflection;

namespace CyberSource.Test
{
/// <summary>
/// Class for testing Flexv2sessionsFieldsOrderInformationAmountDetails
/// </summary>
/// <remarks>
/// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the model.
/// </remarks>
[TestFixture]
public class Flexv2sessionsFieldsOrderInformationAmountDetailsTests
{
// TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetails
//private Flexv2sessionsFieldsOrderInformationAmountDetails instance;

/// <summary>
/// Setup before each test
/// </summary>
[SetUp]
public void Init()
{
// TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationAmountDetails
//instance = new Flexv2sessionsFieldsOrderInformationAmountDetails();
}

/// <summary>
/// Clean up after each test
/// </summary>
[TearDown]
public void Cleanup()
{

}

/// <summary>
/// Test an instance of Flexv2sessionsFieldsOrderInformationAmountDetails
/// </summary>
[Test]
public void Flexv2sessionsFieldsOrderInformationAmountDetailsInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetails
//Assert.IsInstanceOfType<Flexv2sessionsFieldsOrderInformationAmountDetails> (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetails");
}

/// <summary>
/// Test the property 'TotalAmount'
/// </summary>
[Test]
public void TotalAmountTest()
{
// TODO unit test for the property 'TotalAmount'
}
/// <summary>
/// Test the property 'Currency'
/// </summary>
[Test]
public void CurrencyTest()
{
// TODO unit test for the property 'Currency'
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/*
* CyberSource Merged Spec
*
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/


using NUnit.Framework;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using CyberSource.Api;
using CyberSource.Model;
using CyberSource.Client;
using System.Reflection;

namespace CyberSource.Test
{
/// <summary>
/// Class for testing Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
/// </summary>
/// <remarks>
/// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the model.
/// </remarks>
[TestFixture]
public class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests
{
// TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
//private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount instance;

/// <summary>
/// Setup before each test
/// </summary>
[SetUp]
public void Init()
{
// TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
//instance = new Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount();
}

/// <summary>
/// Clean up after each test
/// </summary>
[TearDown]
public void Cleanup()
{

}

/// <summary>
/// Test an instance of Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
/// </summary>
[Test]
public void Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
//Assert.IsInstanceOfType<Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount> (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount");
}

/// <summary>
/// Test the property 'Required'
/// </summary>
[Test]
public void RequiredTest()
{
// TODO unit test for the property 'Required'
}

}

}
Loading