Skip to content

Commit

Permalink
Release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Dec 14, 2021
1 parent fd0cbd5 commit 889d94f
Show file tree
Hide file tree
Showing 310 changed files with 2,348 additions and 2,255 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ NOTE: RestSharp versions greater than 106.2.1 have a bug which causes file uploa
## Installation
```
# Package Manager
Install-Package Wallee -Version 3.0.9
Install-Package Wallee -Version 4.0.0
# .NET CLI
dotnet add package Wallee --version 3.0.9
dotnet add package Wallee --version 4.0.0
# Paket CLI
paket add Wallee --version 3.0.9
paket add Wallee --version 4.0.0
# PackageReference
<PackageReference Include="Wallee" Version="3.0.9" />
<PackageReference Include="Wallee" Version="4.0.0" />
```

Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "3.0.9";
public const string Version = "4.0.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -90,7 +90,7 @@ public Configuration(string applicationUserID, string authenticationKey)
}
_authenticationKey = authenticationKey;
_applicationUserID = applicationUserID;
UserAgent = "Wallee/3.0.9/csharp";
UserAgent = "Wallee/4.0.0/csharp";
BasePath = "https://app-wallee.com:443/api";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -338,8 +338,8 @@ public static String ToDebugReport()
String report = "C# SDK (Wallee) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 3.0.9\n";
report += " SDK Package Version: 3.0.9\n";
report += " Version of the API: 4.0.0\n";
report += " SDK Package Version: 4.0.0\n";

return report;
}
Expand Down
6 changes: 3 additions & 3 deletions src/Wallee/Model/AbstractAccountUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ public AbstractAccountUpdate()
/// <summary>
/// Gets or Sets LastModifiedDate
/// </summary>
[DataMember(Name="lastModifiedDate", EmitDefaultValue=true)]
[DataMember(Name="lastModifiedDate", EmitDefaultValue=false)]
public DateTime? LastModifiedDate { get; set; }

/// <summary>
/// The name of the account identifies the account within the administrative interface.
/// </summary>
/// <value>The name of the account identifies the account within the administrative interface.</value>
[DataMember(Name="name", EmitDefaultValue=true)]
[DataMember(Name="name", EmitDefaultValue=false)]
public string Name { get; set; }

/// <summary>
/// This property restricts the number of subaccounts which can be created within this account.
/// </summary>
/// <value>This property restricts the number of subaccounts which can be created within this account.</value>
[DataMember(Name="subaccountLimit", EmitDefaultValue=true)]
[DataMember(Name="subaccountLimit", EmitDefaultValue=false)]
public long? SubaccountLimit { get; set; }

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions src/Wallee/Model/AbstractApplicationUserUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class AbstractApplicationUserUpdate : IEquatable<AbstractApplica
/// <summary>
/// Gets or Sets State
/// </summary>
[DataMember(Name="state", EmitDefaultValue=true)]
[DataMember(Name="state", EmitDefaultValue=false)]
public CreationEntityState? State { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AbstractApplicationUserUpdate" /> class.
Expand All @@ -36,14 +36,14 @@ public AbstractApplicationUserUpdate()
/// The user name is used to identify the application user in administrative interfaces.
/// </summary>
/// <value>The user name is used to identify the application user in administrative interfaces.</value>
[DataMember(Name="name", EmitDefaultValue=true)]
[DataMember(Name="name", EmitDefaultValue=false)]
public string Name { get; set; }

/// <summary>
/// The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges.
/// </summary>
/// <value>The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges.</value>
[DataMember(Name="requestLimit", EmitDefaultValue=true)]
[DataMember(Name="requestLimit", EmitDefaultValue=false)]
public long? RequestLimit { get; set; }


Expand Down
14 changes: 7 additions & 7 deletions src/Wallee/Model/AbstractCustomerActive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,44 @@ public AbstractCustomerActive()
/// <summary>
/// Gets or Sets CustomerId
/// </summary>
[DataMember(Name="customerId", EmitDefaultValue=true)]
[DataMember(Name="customerId", EmitDefaultValue=false)]
public string CustomerId { get; set; }

/// <summary>
/// Gets or Sets EmailAddress
/// </summary>
[DataMember(Name="emailAddress", EmitDefaultValue=true)]
[DataMember(Name="emailAddress", EmitDefaultValue=false)]
public string EmailAddress { get; set; }

/// <summary>
/// Gets or Sets FamilyName
/// </summary>
[DataMember(Name="familyName", EmitDefaultValue=true)]
[DataMember(Name="familyName", EmitDefaultValue=false)]
public string FamilyName { get; set; }

/// <summary>
/// Gets or Sets GivenName
/// </summary>
[DataMember(Name="givenName", EmitDefaultValue=true)]
[DataMember(Name="givenName", EmitDefaultValue=false)]
public string GivenName { get; set; }

/// <summary>
/// Gets or Sets Language
/// </summary>
[DataMember(Name="language", EmitDefaultValue=true)]
[DataMember(Name="language", EmitDefaultValue=false)]
public string Language { get; set; }

/// <summary>
/// Meta data allow to store additional data along the object.
/// </summary>
/// <value>Meta data allow to store additional data along the object.</value>
[DataMember(Name="metaData", EmitDefaultValue=true)]
[DataMember(Name="metaData", EmitDefaultValue=false)]
public Dictionary<string, string> MetaData { get; set; }

/// <summary>
/// Gets or Sets PreferredCurrency
/// </summary>
[DataMember(Name="preferredCurrency", EmitDefaultValue=true)]
[DataMember(Name="preferredCurrency", EmitDefaultValue=false)]
public string PreferredCurrency { get; set; }

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Wallee/Model/AbstractCustomerAddressActive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class AbstractCustomerAddressActive : IEquatable<AbstractCustome
/// <summary>
/// Gets or Sets AddressType
/// </summary>
[DataMember(Name="addressType", EmitDefaultValue=true)]
[DataMember(Name="addressType", EmitDefaultValue=false)]
public CustomerAddressType? AddressType { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AbstractCustomerAddressActive" /> class.
Expand All @@ -35,7 +35,7 @@ public AbstractCustomerAddressActive()
/// <summary>
/// Gets or Sets Address
/// </summary>
[DataMember(Name="address", EmitDefaultValue=true)]
[DataMember(Name="address", EmitDefaultValue=false)]
public CustomerPostalAddressCreate Address { get; set; }


Expand Down
2 changes: 1 addition & 1 deletion src/Wallee/Model/AbstractCustomerCommentActive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public AbstractCustomerCommentActive()
/// <summary>
/// Gets or Sets Content
/// </summary>
[DataMember(Name="content", EmitDefaultValue=true)]
[DataMember(Name="content", EmitDefaultValue=false)]
public string Content { get; set; }

/// <summary>
Expand Down
16 changes: 8 additions & 8 deletions src/Wallee/Model/AbstractDebtCollectionCaseUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public partial class AbstractDebtCollectionCaseUpdate : IEquatable<AbstractDebt
/// The environment in which this case will be processed. There must be a debt collector configuration present which supports the chosen environment.
/// </summary>
/// <value>The environment in which this case will be processed. There must be a debt collector configuration present which supports the chosen environment.</value>
[DataMember(Name="environment", EmitDefaultValue=true)]
[DataMember(Name="environment", EmitDefaultValue=false)]
public DebtCollectionEnvironment? Environment { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AbstractDebtCollectionCaseUpdate" /> class.
Expand All @@ -37,49 +37,49 @@ public AbstractDebtCollectionCaseUpdate()
/// The billing address of the case identifies the debtor.
/// </summary>
/// <value>The billing address of the case identifies the debtor.</value>
[DataMember(Name="billingAddress", EmitDefaultValue=true)]
[DataMember(Name="billingAddress", EmitDefaultValue=false)]
public AddressCreate BillingAddress { get; set; }

/// <summary>
/// The contract date is the date on which the contract with the debtor was signed on.
/// </summary>
/// <value>The contract date is the date on which the contract with the debtor was signed on.</value>
[DataMember(Name="contractDate", EmitDefaultValue=true)]
[DataMember(Name="contractDate", EmitDefaultValue=false)]
public DateTime? ContractDate { get; set; }

/// <summary>
/// The currency defines the billing currency of the debt collection case.
/// </summary>
/// <value>The currency defines the billing currency of the debt collection case.</value>
[DataMember(Name="currency", EmitDefaultValue=true)]
[DataMember(Name="currency", EmitDefaultValue=false)]
public string Currency { get; set; }

/// <summary>
/// The due date indicates the date on which the amount receivable was due. This date has to be always in the past.
/// </summary>
/// <value>The due date indicates the date on which the amount receivable was due. This date has to be always in the past.</value>
[DataMember(Name="dueDate", EmitDefaultValue=true)]
[DataMember(Name="dueDate", EmitDefaultValue=false)]
public DateTime? DueDate { get; set; }


/// <summary>
/// The language indicates the language to be used in the communication with the debtor.
/// </summary>
/// <value>The language indicates the language to be used in the communication with the debtor.</value>
[DataMember(Name="language", EmitDefaultValue=true)]
[DataMember(Name="language", EmitDefaultValue=false)]
public string Language { get; set; }

/// <summary>
/// The line items of the debt collection case will be shown on documents sent to the debtor and the total of them makes up total amount to collect.
/// </summary>
/// <value>The line items of the debt collection case will be shown on documents sent to the debtor and the total of them makes up total amount to collect.</value>
[DataMember(Name="lineItems", EmitDefaultValue=true)]
[DataMember(Name="lineItems", EmitDefaultValue=false)]
public List<LineItemCreate> LineItems { get; set; }

/// <summary>
/// Gets or Sets SpaceViewId
/// </summary>
[DataMember(Name="spaceViewId", EmitDefaultValue=true)]
[DataMember(Name="spaceViewId", EmitDefaultValue=false)]
public long? SpaceViewId { get; set; }

/// <summary>
Expand Down
16 changes: 8 additions & 8 deletions src/Wallee/Model/AbstractHumanUserUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class AbstractHumanUserUpdate : IEquatable<AbstractHumanUserUpda
/// <summary>
/// Gets or Sets State
/// </summary>
[DataMember(Name="state", EmitDefaultValue=true)]
[DataMember(Name="state", EmitDefaultValue=false)]
public CreationEntityState? State { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AbstractHumanUserUpdate" /> class.
Expand All @@ -36,49 +36,49 @@ public AbstractHumanUserUpdate()
/// The email address of the user.
/// </summary>
/// <value>The email address of the user.</value>
[DataMember(Name="emailAddress", EmitDefaultValue=true)]
[DataMember(Name="emailAddress", EmitDefaultValue=false)]
public string EmailAddress { get; set; }

/// <summary>
/// The first name of the user.
/// </summary>
/// <value>The first name of the user.</value>
[DataMember(Name="firstname", EmitDefaultValue=true)]
[DataMember(Name="firstname", EmitDefaultValue=false)]
public string Firstname { get; set; }

/// <summary>
/// The preferred language of the user.
/// </summary>
/// <value>The preferred language of the user.</value>
[DataMember(Name="language", EmitDefaultValue=true)]
[DataMember(Name="language", EmitDefaultValue=false)]
public string Language { get; set; }

/// <summary>
/// The last name of the user.
/// </summary>
/// <value>The last name of the user.</value>
[DataMember(Name="lastname", EmitDefaultValue=true)]
[DataMember(Name="lastname", EmitDefaultValue=false)]
public string Lastname { get; set; }

/// <summary>
/// Gets or Sets MobilePhoneNumber
/// </summary>
[DataMember(Name="mobilePhoneNumber", EmitDefaultValue=true)]
[DataMember(Name="mobilePhoneNumber", EmitDefaultValue=false)]
public string MobilePhoneNumber { get; set; }


/// <summary>
/// The time zone which is applied for the user. If no timezone is specified the browser is used to determine an appropriate time zone.
/// </summary>
/// <value>The time zone which is applied for the user. If no timezone is specified the browser is used to determine an appropriate time zone.</value>
[DataMember(Name="timeZone", EmitDefaultValue=true)]
[DataMember(Name="timeZone", EmitDefaultValue=false)]
public string TimeZone { get; set; }

/// <summary>
/// Defines whether two-factor authentication is enabled for this user.
/// </summary>
/// <value>Defines whether two-factor authentication is enabled for this user.</value>
[DataMember(Name="twoFactorEnabled", EmitDefaultValue=true)]
[DataMember(Name="twoFactorEnabled", EmitDefaultValue=false)]
public bool? TwoFactorEnabled { get; set; }

/// <summary>
Expand Down
Loading

0 comments on commit 889d94f

Please sign in to comment.