Skip to content

Commit

Permalink
Release 4.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldlineConnect committed Oct 31, 2024
1 parent b118de6 commit 6350d3b
Show file tree
Hide file tree
Showing 16 changed files with 111 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<AssemblyVersion>4.2.0</AssemblyVersion>
<Version>4.2.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK examples</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ConnectionPoolingTest : IntegrationTest
[TestCase(10, 10)]
[TestCase(10, 5)]
[TestCase(10, 1)]
public async Task TestconnectionPooling(int requestCount, int maxConnections)
public async Task TestConnectionPooling(int requestCount, int maxConnections)
{
var configuration = GetCommunicatorConfiguration().WithMaxConnections(maxConnections);
using (var communicator = Factory.CreateCommunicator(configuration))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<AssemblyVersion>4.2.0</AssemblyVersion>
<Version>4.2.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK integration tests</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<AssemblyVersion>4.2.0</AssemblyVersion>
<Version>4.2.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<AssemblyVersion>4.2.0</AssemblyVersion>
<Version>4.2.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK unit tests</Product>
Expand Down
2 changes: 1 addition & 1 deletion Worldline.Connect.Sdk/Communication/MetadataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal class ServerMetaInfo
.Append(Environment.Version)
.ToString();

private const string SdkVersion = "4.1.0";
private const string SdkVersion = "4.2.0";

private const string ServerMetaInfoHeader = "X-GCS-ServerMetaInfo";

Expand Down
2 changes: 1 addition & 1 deletion Worldline.Connect.Sdk/V1/Domain/CardEssentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class CardEssentials
public string CardNumber { get; set; }

/// <summary>
/// The card holder's name on the card.
/// The card holder's name on the card. Minimum length of 2, maximum length of 51 characters.
/// </summary>
public string CardholderName { get; set; }

Expand Down
6 changes: 6 additions & 0 deletions Worldline.Connect.Sdk/V1/Domain/CompanyInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace Worldline.Connect.Sdk.V1.Domain
{
public class CompanyInformation
{
/// <summary>
/// The date of incorporation is the specific date when the company was registered with the relevant authority.
/// <br />Format: YYYYMMDD
/// </summary>
public string DateOfIncorporation { get; set; }

/// <summary>
/// Name of company, as a customer
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Worldline.Connect.Sdk/V1/Domain/DecryptedPaymentData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class DecryptedPaymentData
public string AuthMethod { get; set; }

/// <summary>
/// Card holder's name on the card.
/// The card holder's name on the card. Minimum length of 2, maximum length of 51 characters.
/// <list type="bullet">
/// <item><description>For Apple Pay, maps to the cardholderName property in the encrypted payment data.</description></item>
/// <item><description>For Google Pay this is not available in the encrypted payment data, and can be omitted.</description></item>
Expand Down
3 changes: 2 additions & 1 deletion Worldline.Connect.Sdk/V1/Domain/MerchantAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class MerchantAction
/// <item><description>SHOW_INSTRUCTIONS - The customer needs to be shown payment instruction using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData</description></item>
/// <item><description>SHOW_TRANSACTION_RESULTS - The customer needs to be shown the transaction results using the details found in showData</description></item>
/// <item><description>MOBILE_THREEDS_CHALLENGE - The customer needs to complete a challenge as part of the 3D Secure authentication inside your mobile app. The details contained in mobileThreeDSecureChallengeParameters need to be provided to the EMVco certified Mobile SDK as a challengeParameters object.</description></item>
/// <item><description>INITIALIZE_INAPP_THREED_SECURE_SDK - You need to initialize the 3D in app SDK using the returned parameters. The details contained in mobileThreeDSecureChallengeParameters need to be provided to the EMVco certified Mobile SDK as an initializationParameters object.</description></item>
/// <item><description>CALL_THIRD_PARTY - The merchant needs to call a third party using the data found in thirdPartyData</description></item>
/// </list>
/// </summary>
Expand Down Expand Up @@ -71,7 +72,7 @@ public class MerchantAction
/// <list type="bullet">
/// <item><description>desktopQRCode - contains a QR code that can be used to complete the payment in the WeChat app. In this case, the key QRCODE contains a base64 encoded PNG image. By prepending 'data:image/png;base64,' this value can be used as the source of an HTML inline image on a desktop or tablet (intended to be scanned by a mobile device with the WeChat app).</description></item>
/// <item><description>urlIntent - contains a URL intent that can be used to complete the payment in the WeChat app. In this case, the key URLINTENT contains a URL intent that can be used as the link of an 'open the app' button on a mobile device.</description></item>
/// </list>
/// </list>For SHOW_FORM, for payment product 740 (PromptPay), this contains a QR code image URL and a timestamp with the expiration date-time of the QR code. In this case, the key QRCODE_IMAGE_URL contains a URL that can be used as the source of an HTML inline image on a desktop. For tablets and mobile devices, it is advised to use the &lt;a&gt; download attribute, so the user can download the image on their device and upload it in their banking mobile application. The key COUNTDOWN_DATETIME, contains a date-time that the QR code will expire. The date-time is in UTC with format: YYYYMMDDHH24MISS. You are advised to show a countdown timer.
/// </summary>
public IList<KeyValuePair> ShowData { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Worldline.Connect.Sdk.V1.Domain
public class MobilePaymentProduct320SpecificInput
{
/// <summary>
/// The card holder's name on the card.
/// The card holder's name on the card. Minimum length of 2, maximum length of 51 characters.
/// <br />The encrypted payment data can be found in property paymentMethodData.tokenizationData.info.billingAddress.name of the
/// <a href="https://developers.google.com/android/reference/com/google/android/gms/wallet/PaymentData">PaymentData</a>.toJson() result.
/// </summary>
Expand Down
87 changes: 87 additions & 0 deletions Worldline.Connect.Sdk/V1/Domain/OrderTypeInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,93 @@ public class OrderTypeInformation
/// </summary>
public string FundingType { get; set; }

/// <summary>
/// Payment code to support account funding transactions. Possible values are:
/// <br />
/// <list type="bullet">
/// <item><description>accountManagement</description></item>
/// <item><description>paymentAllowance</description></item>
/// <item><description>settlementOfAnnuity</description></item>
/// <item><description>unemploymentDisabilityBenefit</description></item>
/// <item><description>businessExpenses</description></item>
/// <item><description>bonusPayment</description></item>
/// <item><description>busTransportRelatedBusiness</description></item>
/// <item><description>cashManagementTransfer</description></item>
/// <item><description>paymentOfCableTVBill</description></item>
/// <item><description>governmentInstituteIssued</description></item>
/// <item><description>creditCardPayment</description></item>
/// <item><description>creditCardBill</description></item>
/// <item><description>charity</description></item>
/// <item><description>collectionPayment</description></item>
/// <item><description>commercialPayment</description></item>
/// <item><description>commission</description></item>
/// <item><description>compensation</description></item>
/// <item><description>copyright</description></item>
/// <item><description>debitCardPayment</description></item>
/// <item><description>deposit</description></item>
/// <item><description>dividend</description></item>
/// <item><description>studyFees</description></item>
/// <item><description>electricityBill</description></item>
/// <item><description>energies</description></item>
/// <item><description>generalFees</description></item>
/// <item><description>ferry</description></item>
/// <item><description>foreignExchange</description></item>
/// <item><description>gasBill</description></item>
/// <item><description>unemployedCompensation</description></item>
/// <item><description>governmentPayment</description></item>
/// <item><description>healthInsurance</description></item>
/// <item><description>reimbursementCreditCard</description></item>
/// <item><description>reimbursementDebitCard</description></item>
/// <item><description>carInsurancePremium</description></item>
/// <item><description>insuranceClaim</description></item>
/// <item><description>installment</description></item>
/// <item><description>insurancePremium</description></item>
/// <item><description>investmentPayment</description></item>
/// <item><description>intraCompany</description></item>
/// <item><description>interest</description></item>
/// <item><description>incomeTax</description></item>
/// <item><description>investment</description></item>
/// <item><description>laborInsurance</description></item>
/// <item><description>licenseFree</description></item>
/// <item><description>lifeInsurance</description></item>
/// <item><description>loan</description></item>
/// <item><description>medicalServices</description></item>
/// <item><description>mobilePersonToBusiness</description></item>
/// <item><description>mobilePersonToPerson</description></item>
/// <item><description>mobileTopUp</description></item>
/// <item><description>notSpecified</description></item>
/// <item><description>other</description></item>
/// <item><description>anotherTelecomBill</description></item>
/// <item><description>payroll</description></item>
/// <item><description>pensionFundContribution</description></item>
/// <item><description>pensionPayment</description></item>
/// <item><description>telephoneBill</description></item>
/// <item><description>propertyInsurance</description></item>
/// <item><description>generalLease</description></item>
/// <item><description>rent</description></item>
/// <item><description>railwayPayment</description></item>
/// <item><description>royalties</description></item>
/// <item><description>salary</description></item>
/// <item><description>savingsPayment</description></item>
/// <item><description>securities</description></item>
/// <item><description>socialSecurity</description></item>
/// <item><description>study</description></item>
/// <item><description>subscription</description></item>
/// <item><description>supplierPayment</description></item>
/// <item><description>taxRefund</description></item>
/// <item><description>taxPayment</description></item>
/// <item><description>telecommunicationsBill</description></item>
/// <item><description>tradeServices</description></item>
/// <item><description>treasuryPayment</description></item>
/// <item><description>travelPayment</description></item>
/// <item><description>utilityBill</description></item>
/// <item><description>valueAddedTaxPayment</description></item>
/// <item><description>withHolding</description></item>
/// <item><description>waterBill</description></item>
/// </list>.
/// </summary>
public string PaymentCode { get; set; }

/// <summary>
/// Possible values are:
/// <list type="bullet">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ public class RedirectPaymentMethodSpecificInput : AbstractRedirectPaymentMethodS
/// </summary>
public RedirectPaymentProduct809SpecificInput PaymentProduct809SpecificInput { get; set; }

/// <summary>
/// Object containing specific input required for German giropay payments (Payment product ID 816)
/// </summary>
public RedirectPaymentProduct816SpecificInput PaymentProduct816SpecificInput { get; set; }

/// <summary>
/// Object containing specific input required for PayPal payments (Payment product ID 840)
/// </summary>
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion Worldline.Connect.Sdk/V1/Domain/SchemeTokenData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Worldline.Connect.Sdk.V1.Domain
public class SchemeTokenData
{
/// <summary>
/// The cardholder's name on the card
/// The card holder's name on the card. Minimum length of 2, maximum length of 51 characters.
/// </summary>
public string CardholderName { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions Worldline.Connect.Sdk/Worldline.Connect.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<AssemblyVersion>4.2.0</AssemblyVersion>
<Version>4.2.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK</Product>
Expand Down

0 comments on commit 6350d3b

Please sign in to comment.