From 5e15031b3629eb89984ea4e70fa035902548126d Mon Sep 17 00:00:00 2001 From: wallee-deployment-user Date: Tue, 7 Feb 2023 13:38:23 +0100 Subject: [PATCH] Release 5.2.0 --- README.md | 21 +++++++++-- src/Wallee/Client/ApiClient.cs | 23 +++--------- src/Wallee/Client/Configuration.cs | 37 ++++++++++++++++--- src/Wallee/Model/AbstractAccountUpdate.cs | 3 +- .../Model/AbstractApplicationUserUpdate.cs | 3 +- src/Wallee/Model/AbstractCustomerActive.cs | 3 +- src/Wallee/Model/AbstractHumanUserUpdate.cs | 3 +- src/Wallee/Model/AbstractSpaceUpdate.cs | 6 ++- .../AbstractSubscriptionAffiliateUpdate.cs | 6 ++- .../AbstractSubscriptionProductActive.cs | 3 +- src/Wallee/Model/AbstractTokenUpdate.cs | 3 +- .../Model/AbstractTransactionPending.cs | 3 +- .../Model/AbstractWebhookListenerUpdate.cs | 3 +- src/Wallee/Model/AbstractWebhookUrlUpdate.cs | 3 +- src/Wallee/Model/Account.cs | 18 +++++---- src/Wallee/Model/AnalyticsQueryExecution.cs | 4 +- src/Wallee/Model/BankAccount.cs | 19 +++++----- src/Wallee/Model/BankAccountType.cs | 10 +++-- src/Wallee/Model/BankTransaction.cs | 23 ++++++------ src/Wallee/Model/BankTransactionSource.cs | 10 +++-- src/Wallee/Model/BankTransactionType.cs | 10 +++-- src/Wallee/Model/Charge.cs | 14 ++++--- src/Wallee/Model/ChargeAttempt.cs | 18 +++++---- src/Wallee/Model/ChargeBankTransaction.cs | 7 ++-- src/Wallee/Model/ChargeFlow.cs | 19 +++++----- src/Wallee/Model/ChargeFlowLevel.cs | 15 ++++---- .../Model/ChargeFlowLevelConfiguration.cs | 19 +++++----- .../Model/ChargeFlowLevelConfigurationType.cs | 10 +++-- src/Wallee/Model/Condition.cs | 19 +++++----- src/Wallee/Model/ConditionType.cs | 10 +++-- src/Wallee/Model/ConnectorInvocation.cs | 12 +++--- src/Wallee/Model/CurrencyBankAccount.cs | 12 +++--- src/Wallee/Model/Customer.cs | 19 +++++----- src/Wallee/Model/CustomerAddress.cs | 16 ++++---- src/Wallee/Model/CustomerComment.cs | 16 ++++---- src/Wallee/Model/DebtCollectionCase.cs | 23 ++++++------ .../Model/DebtCollectionCaseDocument.cs | 20 +++++----- src/Wallee/Model/DebtCollectionCaseSource.cs | 10 +++-- src/Wallee/Model/DebtCollectionReceipt.cs | 20 +++++----- .../Model/DebtCollectionReceiptSource.cs | 10 +++-- src/Wallee/Model/DebtCollector.cs | 10 +++-- src/Wallee/Model/DebtCollectorCondition.cs | 19 +++++----- .../Model/DebtCollectorConditionType.cs | 10 +++-- .../Model/DebtCollectorConfiguration.cs | 19 +++++----- src/Wallee/Model/DeliveryIndication.cs | 11 +++--- .../Model/DeliveryIndicationDecisionReason.cs | 10 +++-- src/Wallee/Model/DocumentTemplate.cs | 19 +++++----- src/Wallee/Model/DocumentTemplateType.cs | 4 +- src/Wallee/Model/DocumentTemplateTypeGroup.cs | 4 +- .../Model/ExternalTransferBankTransaction.cs | 12 +++--- src/Wallee/Model/FailureReason.cs | 10 +++-- src/Wallee/Model/Feature.cs | 10 +++-- src/Wallee/Model/FeatureCategory.cs | 10 +++-- src/Wallee/Model/InstallmentPayment.cs | 23 ++++++------ src/Wallee/Model/InstallmentPaymentSlice.cs | 15 ++++---- .../Model/InstallmentPlanConfiguration.cs | 19 +++++----- .../InstallmentPlanSliceConfiguration.cs | 19 +++++----- .../Model/InternalTransferBankTransaction.cs | 12 +++--- .../Model/InvoiceReconciliationRecord.cs | 15 ++++---- .../InvoiceReconciliationRecordInvoiceLink.cs | 12 +++--- .../Model/InvoiceReconciliationRecordType.cs | 10 +++-- src/Wallee/Model/InvoiceReimbursement.cs | 19 +++++----- src/Wallee/Model/Label.cs | 8 ++-- src/Wallee/Model/LabelDescriptor.cs | 10 +++-- src/Wallee/Model/LabelDescriptorGroup.cs | 10 +++-- src/Wallee/Model/LabelDescriptorType.cs | 10 +++-- src/Wallee/Model/LegalOrganizationForm.cs | 4 +- src/Wallee/Model/ManualTask.cs | 19 +++++----- src/Wallee/Model/ManualTaskAction.cs | 4 +- src/Wallee/Model/ManualTaskType.cs | 10 +++-- src/Wallee/Model/PaymentAdjustmentType.cs | 10 +++-- src/Wallee/Model/PaymentAppConnector.cs | 15 ++++---- src/Wallee/Model/PaymentAppProcessor.cs | 15 ++++---- src/Wallee/Model/PaymentConnector.cs | 10 +++-- .../Model/PaymentConnectorConfiguration.cs | 19 +++++----- src/Wallee/Model/PaymentConnectorFeature.cs | 4 +- src/Wallee/Model/PaymentContract.cs | 15 ++++---- src/Wallee/Model/PaymentContractType.cs | 10 +++-- src/Wallee/Model/PaymentInformationHash.cs | 4 +- .../Model/PaymentInformationHashType.cs | 4 +- .../Model/PaymentInitiationAdviceFile.cs | 11 +++--- src/Wallee/Model/PaymentLink.cs | 19 +++++----- src/Wallee/Model/PaymentLinkActive.cs | 3 +- src/Wallee/Model/PaymentLinkCreate.cs | 3 +- src/Wallee/Model/PaymentMethod.cs | 10 +++-- src/Wallee/Model/PaymentMethodBrand.cs | 10 +++-- .../Model/PaymentMethodConfiguration.cs | 19 +++++----- src/Wallee/Model/PaymentProcessor.cs | 10 +++-- .../Model/PaymentProcessorConfiguration.cs | 19 +++++----- src/Wallee/Model/PaymentTerminal.cs | 19 +++++----- .../Model/PaymentTerminalConfiguration.cs | 19 +++++----- .../PaymentTerminalConfigurationVersion.cs | 23 ++++++------ ...aymentTerminalConfigurationVersionState.cs | 6 --- .../Model/PaymentTerminalDccTransactionSum.cs | 8 ++-- src/Wallee/Model/PaymentTerminalLocation.cs | 19 +++++----- .../Model/PaymentTerminalLocationVersion.cs | 23 ++++++------ .../Model/PaymentTerminalReceiptType.cs | 10 +++-- .../Model/PaymentTerminalTransactionSum.cs | 8 ++-- .../PaymentTerminalTransactionSummary.cs | 12 +++--- src/Wallee/Model/PaymentTerminalType.cs | 10 +++-- src/Wallee/Model/Permission.cs | 10 +++-- src/Wallee/Model/ProductMeteredFee.cs | 12 +++--- src/Wallee/Model/ProductMeteredTierFee.cs | 8 ++-- src/Wallee/Model/ProductPeriodFee.cs | 12 +++--- src/Wallee/Model/ProductSetupFee.cs | 12 +++--- src/Wallee/Model/Refund.cs | 26 +++++++------ src/Wallee/Model/RefundBankTransaction.cs | 7 ++-- src/Wallee/Model/RefundComment.cs | 16 ++++---- .../Model/RefundRecoveryBankTransaction.cs | 7 ++-- src/Wallee/Model/ResourcePath.cs | 19 +++++----- src/Wallee/Model/Role.cs | 15 ++++---- src/Wallee/Model/SalesChannel.cs | 10 +++-- src/Wallee/Model/Scope.cs | 15 ++++---- src/Wallee/Model/ShopifyIntegration.cs | 15 ++++---- src/Wallee/Model/ShopifyRecurringOrder.cs | 7 ++-- src/Wallee/Model/ShopifySubscriber.cs | 19 +++++----- src/Wallee/Model/ShopifySubscription.cs | 18 +++++---- .../Model/ShopifySubscriptionProduct.cs | 19 +++++----- .../Model/ShopifySubscriptionSuspension.cs | 15 ++++---- .../Model/ShopifySubscriptionVersion.cs | 15 ++++---- src/Wallee/Model/ShopifyTaxLine.cs | 8 ++-- src/Wallee/Model/ShopifyTransaction.cs | 12 +++--- src/Wallee/Model/Space.cs | 18 +++++---- src/Wallee/Model/SpaceReference.cs | 19 +++++----- src/Wallee/Model/SpaceView.cs | 19 +++++----- src/Wallee/Model/StaticValue.cs | 10 +++-- src/Wallee/Model/Subscriber.cs | 19 +++++----- src/Wallee/Model/SubscriberActive.cs | 3 +- src/Wallee/Model/SubscriberCreate.cs | 3 +- src/Wallee/Model/Subscription.cs | 22 ++++++----- src/Wallee/Model/SubscriptionAffiliate.cs | 22 ++++++----- .../Model/SubscriptionAffiliateUpdate.cs | 6 ++- src/Wallee/Model/SubscriptionCharge.cs | 22 ++++++----- src/Wallee/Model/SubscriptionLedgerEntry.cs | 23 ++++++------ src/Wallee/Model/SubscriptionMetric.cs | 19 +++++----- src/Wallee/Model/SubscriptionMetricType.cs | 10 +++-- .../Model/SubscriptionMetricUsageReport.cs | 16 ++++---- src/Wallee/Model/SubscriptionPeriodBill.cs | 22 ++++++----- src/Wallee/Model/SubscriptionProduct.cs | 19 +++++----- .../Model/SubscriptionProductComponent.cs | 12 +++--- .../SubscriptionProductComponentGroup.cs | 12 +++--- .../SubscriptionProductComponentReference.cs | 19 +++++----- .../Model/SubscriptionProductRetirement.cs | 16 ++++---- .../Model/SubscriptionProductVersion.cs | 19 +++++----- .../SubscriptionProductVersionPending.cs | 3 +- .../SubscriptionProductVersionRetirement.cs | 16 ++++---- src/Wallee/Model/SubscriptionSuspension.cs | 26 +++++++------ src/Wallee/Model/SubscriptionVersion.cs | 22 ++++++----- src/Wallee/Model/TaxClass.cs | 19 +++++----- src/Wallee/Model/TenantDatabase.cs | 8 ++-- src/Wallee/Model/Token.cs | 26 +++++++------ src/Wallee/Model/TokenCreate.cs | 3 +- src/Wallee/Model/TokenVersion.cs | 26 +++++++------ src/Wallee/Model/TokenVersionType.cs | 10 +++-- src/Wallee/Model/Transaction.cs | 26 +++++++------ src/Wallee/Model/TransactionAwareEntity.cs | 8 ++-- src/Wallee/Model/TransactionComment.cs | 16 ++++---- src/Wallee/Model/TransactionCompletion.cs | 18 +++++---- src/Wallee/Model/TransactionGroup.cs | 19 +++++----- src/Wallee/Model/TransactionInvoice.cs | 14 ++++--- src/Wallee/Model/TransactionInvoiceComment.cs | 16 ++++---- .../Model/TransactionLineItemVersion.cs | 18 +++++---- src/Wallee/Model/TransactionVoid.cs | 18 +++++---- .../Model/TwoFactorAuthenticationType.cs | 10 +++-- src/Wallee/Model/User.cs | 15 ++++---- src/Wallee/Model/UserAccountRole.cs | 8 ++-- src/Wallee/Model/UserSpaceRole.cs | 8 ++-- src/Wallee/Model/WebhookIdentity.cs | 19 +++++----- src/Wallee/Model/WebhookListener.cs | 19 +++++----- src/Wallee/Model/WebhookListenerEntity.cs | 4 +- src/Wallee/Model/WebhookUrl.cs | 19 +++++----- src/Wallee/Wallee.csproj | 6 +-- 172 files changed, 1253 insertions(+), 1051 deletions(-) diff --git a/README.md b/README.md index b6f593d..af4bf6c 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ Install-Package JsonSubTypes ## Installation ``` # Package Manager -Install-Package Wallee -Version 5.1.0 +Install-Package Wallee -Version 5.2.0 # .NET CLI -dotnet add package Wallee --version 5.1.0 +dotnet add package Wallee --version 5.2.0 # Paket CLI -paket add Wallee --version 5.1.0 +paket add Wallee --version 5.2.0 # PackageReference - + ``` Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces: @@ -49,6 +49,19 @@ using Wallee.Model; ## Getting Started +Instantiate a configuration like so: +```csharp +new Configuration(this.applicationUserID, this.authenticationKey) +``` +Or if you want to customize the RestSharp client that's being used underneath (e.g set the proxy), use the overloaded constructor: +```csharp +new Configuration(this.applicationUserID, this.authenticationKey, new RestClientOptions() +{ + Proxy = new WebProxy("http://example.com") +}); +``` + +Timeout is customizable separately via the ```Configuration.TimeOut``` property. ```csharp using System; diff --git a/src/Wallee/Client/ApiClient.cs b/src/Wallee/Client/ApiClient.cs index 340959c..cf834b6 100644 --- a/src/Wallee/Client/ApiClient.cs +++ b/src/Wallee/Client/ApiClient.cs @@ -54,23 +54,12 @@ public ApiClient(Configuration config) { Configuration = config; - RestClient = new RestClient(Configuration.BasePath); - } - - /// - /// Initializes a new instance of the class - /// with default configuration. - /// - /// The base path. - public ApiClient(String basePath = "https://app-wallee.com:443/api") - { - if (String.IsNullOrEmpty(basePath)) + if (String.IsNullOrEmpty(Configuration.BasePath)) throw new ArgumentException("basePath cannot be empty"); - var options = new RestClientOptions(basePath) - { - MaxTimeout = 600000 - }; + var options = Configuration.RestClientOptions; + options.BaseUrl = new Uri(Configuration.BasePath); + options.MaxTimeout = 600000; RestClient = new RestClient(options); } @@ -159,7 +148,7 @@ public Object CallApi( { Dictionary defaultHeaderParams = new Dictionary() { - {"x-meta-sdk-version", "5.1.0"}, + {"x-meta-sdk-version", "5.2.0"}, {"x-meta-sdk-language", "csharp"}, {"x-meta-sdk-provider", "wallee"}, {"x-meta-sdk-language-version", Environment.Version.ToString()} @@ -564,7 +553,7 @@ private String ToQueryString(List> queryParams) /// https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.timeout?view=netcore-3.1 /// public void ResetTimeout(){ - RestClient.Options.MaxTimeout = 100 * 1000; + Configuration.Timeout = 25; } } diff --git a/src/Wallee/Client/Configuration.cs b/src/Wallee/Client/Configuration.cs index ef34ccc..9ce1bb1 100644 --- a/src/Wallee/Client/Configuration.cs +++ b/src/Wallee/Client/Configuration.cs @@ -5,6 +5,8 @@ using System.IO; using System.Linq; using System.Text; +using RestSharp; + namespace Wallee.Client { @@ -19,7 +21,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "5.1.0"; + public const string Version = "5.2.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -80,7 +82,8 @@ public class Configuration : IReadableConfiguration /// /// The ID of application user. /// The secret authentication key. - public Configuration(string applicationUserID, string authenticationKey) + /// Rest client options for authentication key. + public Configuration(string applicationUserID, string authenticationKey, RestClientOptions restClientOptions) { if(applicationUserID == null){ throw new ArgumentException("Parameter cannot be null", "applicationUserID"); @@ -90,7 +93,8 @@ public Configuration(string applicationUserID, string authenticationKey) } _authenticationKey = authenticationKey; _applicationUserID = applicationUserID; - UserAgent = "Wallee/5.1.0/csharp"; + _restClientOptions = restClientOptions; + UserAgent = "Wallee/5.2.0/csharp"; BasePath = "https://app-wallee.com:443/api"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -99,6 +103,16 @@ public Configuration(string applicationUserID, string authenticationKey) Timeout = 25; } + + /// + /// Initializes a new instance of the class + /// + /// The ID of application user. + /// The secret authentication key. + public Configuration(string applicationUserID, string authenticationKey) : this(applicationUserID, authenticationKey, new RestClientOptions()) + { + } + #endregion Constructors @@ -154,6 +168,17 @@ public string AuthenticationKey get { return _authenticationKey; } } + private readonly RestClientOptions _restClientOptions; + + /// + /// Gets the Rest Client Options. + /// + /// The rest client options. + public RestClientOptions RestClientOptions + { + get { return _restClientOptions; } + } + /// /// Gets or sets the default header. /// @@ -321,7 +346,7 @@ public void AddDefaultHeader(string key, string value) /// public ApiClient CreateApiClient() { - return new ApiClient(BasePath) { Configuration = this }; + return new ApiClient(this); } @@ -333,8 +358,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: 5.1.0\n"; - report += " SDK Package Version: 5.1.0\n"; + report += " Version of the API: 5.2.0\n"; + report += " SDK Package Version: 5.2.0\n"; return report; } diff --git a/src/Wallee/Model/AbstractAccountUpdate.cs b/src/Wallee/Model/AbstractAccountUpdate.cs index 382aca0..4dd8858 100644 --- a/src/Wallee/Model/AbstractAccountUpdate.cs +++ b/src/Wallee/Model/AbstractAccountUpdate.cs @@ -28,8 +28,9 @@ public AbstractAccountUpdate() } /// - /// Gets or Sets LastModifiedDate + /// The date and time when the object was last modified. /// + /// The date and time when the object was last modified. [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; set; } diff --git a/src/Wallee/Model/AbstractApplicationUserUpdate.cs b/src/Wallee/Model/AbstractApplicationUserUpdate.cs index f6dcfce..5b81492 100644 --- a/src/Wallee/Model/AbstractApplicationUserUpdate.cs +++ b/src/Wallee/Model/AbstractApplicationUserUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractApplicationUserUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// diff --git a/src/Wallee/Model/AbstractCustomerActive.cs b/src/Wallee/Model/AbstractCustomerActive.cs index 8acb1c5..d274f56 100644 --- a/src/Wallee/Model/AbstractCustomerActive.cs +++ b/src/Wallee/Model/AbstractCustomerActive.cs @@ -52,8 +52,9 @@ public AbstractCustomerActive() public string GivenName { get; set; } /// - /// Gets or Sets Language + /// The language that is linked to the object. /// + /// The language that is linked to the object. [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } diff --git a/src/Wallee/Model/AbstractHumanUserUpdate.cs b/src/Wallee/Model/AbstractHumanUserUpdate.cs index 65ff0bd..477f434 100644 --- a/src/Wallee/Model/AbstractHumanUserUpdate.cs +++ b/src/Wallee/Model/AbstractHumanUserUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractHumanUserUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// diff --git a/src/Wallee/Model/AbstractSpaceUpdate.cs b/src/Wallee/Model/AbstractSpaceUpdate.cs index 6373e54..9c2c59e 100644 --- a/src/Wallee/Model/AbstractSpaceUpdate.cs +++ b/src/Wallee/Model/AbstractSpaceUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractSpaceUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// @@ -33,8 +34,9 @@ public AbstractSpaceUpdate() } /// - /// Gets or Sets LastModifiedDate + /// The date and time when the object was last modified. /// + /// The date and time when the object was last modified. [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; set; } diff --git a/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs b/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs index 0414c44..611c5a3 100644 --- a/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs +++ b/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractSubscriptionAffiliateUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// @@ -33,8 +34,9 @@ public AbstractSubscriptionAffiliateUpdate() } /// - /// Gets or Sets Language + /// The language that is linked to the object. /// + /// The language that is linked to the object. [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } diff --git a/src/Wallee/Model/AbstractSubscriptionProductActive.cs b/src/Wallee/Model/AbstractSubscriptionProductActive.cs index 20542a9..d882654 100644 --- a/src/Wallee/Model/AbstractSubscriptionProductActive.cs +++ b/src/Wallee/Model/AbstractSubscriptionProductActive.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractSubscriptionProductActive : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public SubscriptionProductState? State { get; set; } /// diff --git a/src/Wallee/Model/AbstractTokenUpdate.cs b/src/Wallee/Model/AbstractTokenUpdate.cs index 6f36ffb..13c412d 100644 --- a/src/Wallee/Model/AbstractTokenUpdate.cs +++ b/src/Wallee/Model/AbstractTokenUpdate.cs @@ -49,8 +49,9 @@ public AbstractTokenUpdate() public bool? EnabledForOneClickPayment { get; set; } /// - /// Gets or Sets Language + /// The language that is linked to the object. /// + /// The language that is linked to the object. [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } diff --git a/src/Wallee/Model/AbstractTransactionPending.cs b/src/Wallee/Model/AbstractTransactionPending.cs index a039753..bce606e 100644 --- a/src/Wallee/Model/AbstractTransactionPending.cs +++ b/src/Wallee/Model/AbstractTransactionPending.cs @@ -91,8 +91,9 @@ public AbstractTransactionPending() public string InvoiceMerchantReference { get; set; } /// - /// Gets or Sets Language + /// The language that is linked to the object. /// + /// The language that is linked to the object. [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } diff --git a/src/Wallee/Model/AbstractWebhookListenerUpdate.cs b/src/Wallee/Model/AbstractWebhookListenerUpdate.cs index 28b60a5..160eea8 100644 --- a/src/Wallee/Model/AbstractWebhookListenerUpdate.cs +++ b/src/Wallee/Model/AbstractWebhookListenerUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractWebhookListenerUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// diff --git a/src/Wallee/Model/AbstractWebhookUrlUpdate.cs b/src/Wallee/Model/AbstractWebhookUrlUpdate.cs index 3453376..eeca3f6 100644 --- a/src/Wallee/Model/AbstractWebhookUrlUpdate.cs +++ b/src/Wallee/Model/AbstractWebhookUrlUpdate.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class AbstractWebhookUrlUpdate : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// diff --git a/src/Wallee/Model/Account.cs b/src/Wallee/Model/Account.cs index 80a8e28..68ee77c 100644 --- a/src/Wallee/Model/Account.cs +++ b/src/Wallee/Model/Account.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class Account : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public AccountState? State { get; private set; } /// @@ -82,15 +83,16 @@ public Account() public DateTime? DeletedOn { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// - /// Gets or Sets LastModifiedDate + /// The date and time when the object was last modified. /// + /// The date and time when the object was last modified. [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; private set; } @@ -109,9 +111,9 @@ public Account() public Account ParentAccount { get; private set; } /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } @@ -139,9 +141,9 @@ public Account() /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. [DataMember(Name="version", EmitDefaultValue=false)] public int? Version { get; private set; } diff --git a/src/Wallee/Model/AnalyticsQueryExecution.cs b/src/Wallee/Model/AnalyticsQueryExecution.cs index 1cfc119..c0f1829 100644 --- a/src/Wallee/Model/AnalyticsQueryExecution.cs +++ b/src/Wallee/Model/AnalyticsQueryExecution.cs @@ -56,9 +56,9 @@ public AnalyticsQueryExecution() public FailureReason FailureReason { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } diff --git a/src/Wallee/Model/BankAccount.cs b/src/Wallee/Model/BankAccount.cs index e4cb8c3..6e36f05 100644 --- a/src/Wallee/Model/BankAccount.cs +++ b/src/Wallee/Model/BankAccount.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class BankAccount : IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public BankAccountState? State { get; private set; } /// @@ -41,9 +42,9 @@ public BankAccount() public string Description { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } @@ -55,16 +56,16 @@ public BankAccount() public string Identifier { get; private set; } /// - /// The linked space id holds the ID of the space to which the entity belongs to. + /// The ID of the space this object belongs to. /// - /// The linked space id holds the ID of the space to which the entity belongs to. + /// The ID of the space this object belongs to. [DataMember(Name="linkedSpaceId", EmitDefaultValue=false)] public long? LinkedSpaceId { get; private set; } /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } @@ -76,9 +77,9 @@ public BankAccount() public long? Type { get; private set; } /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. [DataMember(Name="version", EmitDefaultValue=false)] public int? Version { get; private set; } diff --git a/src/Wallee/Model/BankAccountType.cs b/src/Wallee/Model/BankAccountType.cs index 58e79d7..11a669e 100644 --- a/src/Wallee/Model/BankAccountType.cs +++ b/src/Wallee/Model/BankAccountType.cs @@ -29,15 +29,16 @@ public BankAccountType() } /// - /// Gets or Sets Description + /// The description of the object translated into different languages. /// + /// The description of the object translated into different languages. [DataMember(Name="description", EmitDefaultValue=false)] public Dictionary Description { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } @@ -48,8 +49,9 @@ public BankAccountType() public Dictionary IdentifierName { get; private set; } /// - /// Gets or Sets Name + /// The name of the object translated into different languages. /// + /// The name of the object translated into different languages. [DataMember(Name="name", EmitDefaultValue=false)] public Dictionary Name { get; private set; } diff --git a/src/Wallee/Model/BankTransaction.cs b/src/Wallee/Model/BankTransaction.cs index 49792d9..e447254 100644 --- a/src/Wallee/Model/BankTransaction.cs +++ b/src/Wallee/Model/BankTransaction.cs @@ -26,8 +26,9 @@ public partial class BankTransaction : IEquatable [DataMember(Name="flowDirection", EmitDefaultValue=false)] public BankTransactionFlowDirection? FlowDirection { get; private set; } /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public BankTransactionState? State { get; private set; } /// @@ -53,9 +54,9 @@ public BankTransaction() public long? CreatedBy { get; private set; } /// - /// The created on date indicates the date on which the entity was stored into the database. + /// The date and time when the object was created. /// - /// The created on date indicates the date on which the entity was stored into the database. + /// The date and time when the object was created. [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } @@ -74,23 +75,23 @@ public BankTransaction() /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// - /// The linked space id holds the ID of the space to which the entity belongs to. + /// The ID of the space this object belongs to. /// - /// The linked space id holds the ID of the space to which the entity belongs to. + /// The ID of the space this object belongs to. [DataMember(Name="linkedSpaceId", EmitDefaultValue=false)] public long? LinkedSpaceId { get; private set; } /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } @@ -140,9 +141,9 @@ public BankTransaction() public DateTime? ValueDate { get; private set; } /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. [DataMember(Name="version", EmitDefaultValue=false)] public int? Version { get; private set; } diff --git a/src/Wallee/Model/BankTransactionSource.cs b/src/Wallee/Model/BankTransactionSource.cs index ee3c34c..2627289 100644 --- a/src/Wallee/Model/BankTransactionSource.cs +++ b/src/Wallee/Model/BankTransactionSource.cs @@ -29,21 +29,23 @@ public BankTransactionSource() } /// - /// Gets or Sets Description + /// The description of the object translated into different languages. /// + /// The description of the object translated into different languages. [DataMember(Name="description", EmitDefaultValue=false)] public Dictionary Description { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// - /// Gets or Sets Name + /// The name of the object translated into different languages. /// + /// The name of the object translated into different languages. [DataMember(Name="name", EmitDefaultValue=false)] public Dictionary Name { get; private set; } diff --git a/src/Wallee/Model/BankTransactionType.cs b/src/Wallee/Model/BankTransactionType.cs index 76c7370..fd09699 100644 --- a/src/Wallee/Model/BankTransactionType.cs +++ b/src/Wallee/Model/BankTransactionType.cs @@ -29,21 +29,23 @@ public BankTransactionType() } /// - /// Gets or Sets Description + /// The description of the object translated into different languages. /// + /// The description of the object translated into different languages. [DataMember(Name="description", EmitDefaultValue=false)] public Dictionary Description { get; private set; } /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. /// - /// The ID is the primary key of the entity. The ID identifies the entity uniquely. + /// A unique identifier for the object. [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// - /// Gets or Sets Name + /// The name of the object translated into different languages. /// + /// The name of the object translated into different languages. [DataMember(Name="name", EmitDefaultValue=false)] public Dictionary Name { get; private set; } diff --git a/src/Wallee/Model/Charge.cs b/src/Wallee/Model/Charge.cs index 458871e..2275a53 100644 --- a/src/Wallee/Model/Charge.cs +++ b/src/Wallee/Model/Charge.cs @@ -21,8 +21,9 @@ namespace Wallee.Model public partial class Charge : TransactionAwareEntity, IEquatable { /// - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public ChargeState? State { get; private set; } /// @@ -55,15 +56,16 @@ public Charge() public FailureReason FailureReason { get; private set; } /// - /// Gets or Sets Language + /// The language that is linked to the object. /// + /// The language that is linked to the object. [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; private set; } /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. /// - /// The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. + /// The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } @@ -101,9 +103,9 @@ public Charge() public string UserFailureMessage { get; private set; } /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. /// - /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. + /// The version is used for optimistic locking and incremented whenever the object is updated. [DataMember(Name="version", EmitDefaultValue=false)] public int? Version { get; private set; } diff --git a/src/Wallee/Model/ChargeAttempt.cs b/src/Wallee/Model/ChargeAttempt.cs index 462b1cc..ce962a9 100644 --- a/src/Wallee/Model/ChargeAttempt.cs +++ b/src/Wallee/Model/ChargeAttempt.cs @@ -37,8 +37,9 @@ public partial class ChargeAttempt : TransactionAwareEntity, IEquatable - /// Gets or Sets State + /// The object's current state. /// + /// The object's current state. [DataMember(Name="state", EmitDefaultValue=false)] public ChargeAttemptState? State { get; private set; } /// @@ -71,9 +72,9 @@ public ChargeAttempt() public PaymentConnectorConfiguration ConnectorConfiguration { get; private set; } /// - /// The created on date indicates the date on which the entity was stored into the database. + /// The date and time when the object was created. /// - /// The created on date indicates the date on which the entity was stored into the database. + /// The date and time when the object was created. [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } @@ -110,8 +111,9 @@ public ChargeAttempt() public List