diff --git a/README.md b/README.md index e224d89..31d1a5c 100644 --- a/README.md +++ b/README.md @@ -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 - + ``` Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces: diff --git a/src/Wallee/Client/Configuration.cs b/src/Wallee/Client/Configuration.cs index 4dd1867..a1facc7 100644 --- a/src/Wallee/Client/Configuration.cs +++ b/src/Wallee/Client/Configuration.cs @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "3.0.9"; + public const string Version = "4.0.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -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(); ApiKey = new ConcurrentDictionary(); @@ -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; } diff --git a/src/Wallee/Model/AbstractAccountUpdate.cs b/src/Wallee/Model/AbstractAccountUpdate.cs index 5cf189e..382aca0 100644 --- a/src/Wallee/Model/AbstractAccountUpdate.cs +++ b/src/Wallee/Model/AbstractAccountUpdate.cs @@ -30,21 +30,21 @@ public AbstractAccountUpdate() /// /// Gets or Sets LastModifiedDate /// - [DataMember(Name="lastModifiedDate", EmitDefaultValue=true)] + [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; set; } /// /// The name of the account identifies the account within the administrative interface. /// /// The name of the account identifies the account within the administrative interface. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// /// This property restricts the number of subaccounts which can be created within this account. /// /// This property restricts the number of subaccounts which can be created within this account. - [DataMember(Name="subaccountLimit", EmitDefaultValue=true)] + [DataMember(Name="subaccountLimit", EmitDefaultValue=false)] public long? SubaccountLimit { get; set; } /// diff --git a/src/Wallee/Model/AbstractApplicationUserUpdate.cs b/src/Wallee/Model/AbstractApplicationUserUpdate.cs index ab7a00f..f6dcfce 100644 --- a/src/Wallee/Model/AbstractApplicationUserUpdate.cs +++ b/src/Wallee/Model/AbstractApplicationUserUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractApplicationUserUpdate : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -36,14 +36,14 @@ public AbstractApplicationUserUpdate() /// The user name is used to identify the application user in administrative interfaces. /// /// The user name is used to identify the application user in administrative interfaces. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// /// The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges. /// /// The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges. - [DataMember(Name="requestLimit", EmitDefaultValue=true)] + [DataMember(Name="requestLimit", EmitDefaultValue=false)] public long? RequestLimit { get; set; } diff --git a/src/Wallee/Model/AbstractCustomerActive.cs b/src/Wallee/Model/AbstractCustomerActive.cs index 95f2cd7..8acb1c5 100644 --- a/src/Wallee/Model/AbstractCustomerActive.cs +++ b/src/Wallee/Model/AbstractCustomerActive.cs @@ -30,44 +30,44 @@ public AbstractCustomerActive() /// /// Gets or Sets CustomerId /// - [DataMember(Name="customerId", EmitDefaultValue=true)] + [DataMember(Name="customerId", EmitDefaultValue=false)] public string CustomerId { get; set; } /// /// Gets or Sets EmailAddress /// - [DataMember(Name="emailAddress", EmitDefaultValue=true)] + [DataMember(Name="emailAddress", EmitDefaultValue=false)] public string EmailAddress { get; set; } /// /// Gets or Sets FamilyName /// - [DataMember(Name="familyName", EmitDefaultValue=true)] + [DataMember(Name="familyName", EmitDefaultValue=false)] public string FamilyName { get; set; } /// /// Gets or Sets GivenName /// - [DataMember(Name="givenName", EmitDefaultValue=true)] + [DataMember(Name="givenName", EmitDefaultValue=false)] public string GivenName { get; set; } /// /// Gets or Sets Language /// - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// Meta data allow to store additional data along the object. /// /// Meta data allow to store additional data along the object. - [DataMember(Name="metaData", EmitDefaultValue=true)] + [DataMember(Name="metaData", EmitDefaultValue=false)] public Dictionary MetaData { get; set; } /// /// Gets or Sets PreferredCurrency /// - [DataMember(Name="preferredCurrency", EmitDefaultValue=true)] + [DataMember(Name="preferredCurrency", EmitDefaultValue=false)] public string PreferredCurrency { get; set; } /// diff --git a/src/Wallee/Model/AbstractCustomerAddressActive.cs b/src/Wallee/Model/AbstractCustomerAddressActive.cs index 7f09b50..57598bf 100644 --- a/src/Wallee/Model/AbstractCustomerAddressActive.cs +++ b/src/Wallee/Model/AbstractCustomerAddressActive.cs @@ -23,7 +23,7 @@ public partial class AbstractCustomerAddressActive : IEquatable /// Gets or Sets AddressType /// - [DataMember(Name="addressType", EmitDefaultValue=true)] + [DataMember(Name="addressType", EmitDefaultValue=false)] public CustomerAddressType? AddressType { get; set; } /// /// Initializes a new instance of the class. @@ -35,7 +35,7 @@ public AbstractCustomerAddressActive() /// /// Gets or Sets Address /// - [DataMember(Name="address", EmitDefaultValue=true)] + [DataMember(Name="address", EmitDefaultValue=false)] public CustomerPostalAddressCreate Address { get; set; } diff --git a/src/Wallee/Model/AbstractCustomerCommentActive.cs b/src/Wallee/Model/AbstractCustomerCommentActive.cs index 819aea1..582e442 100644 --- a/src/Wallee/Model/AbstractCustomerCommentActive.cs +++ b/src/Wallee/Model/AbstractCustomerCommentActive.cs @@ -30,7 +30,7 @@ public AbstractCustomerCommentActive() /// /// Gets or Sets Content /// - [DataMember(Name="content", EmitDefaultValue=true)] + [DataMember(Name="content", EmitDefaultValue=false)] public string Content { get; set; } /// diff --git a/src/Wallee/Model/AbstractDebtCollectionCaseUpdate.cs b/src/Wallee/Model/AbstractDebtCollectionCaseUpdate.cs index a61c569..7a8b4c5 100644 --- a/src/Wallee/Model/AbstractDebtCollectionCaseUpdate.cs +++ b/src/Wallee/Model/AbstractDebtCollectionCaseUpdate.cs @@ -24,7 +24,7 @@ public partial class AbstractDebtCollectionCaseUpdate : IEquatable /// The environment in which this case will be processed. There must be a debt collector configuration present which supports the chosen environment. - [DataMember(Name="environment", EmitDefaultValue=true)] + [DataMember(Name="environment", EmitDefaultValue=false)] public DebtCollectionEnvironment? Environment { get; set; } /// /// Initializes a new instance of the class. @@ -37,28 +37,28 @@ public AbstractDebtCollectionCaseUpdate() /// The billing address of the case identifies the debtor. /// /// The billing address of the case identifies the debtor. - [DataMember(Name="billingAddress", EmitDefaultValue=true)] + [DataMember(Name="billingAddress", EmitDefaultValue=false)] public AddressCreate BillingAddress { get; set; } /// /// The contract date is the date on which the contract with the debtor was signed on. /// /// The contract date is the date on which the contract with the debtor was signed on. - [DataMember(Name="contractDate", EmitDefaultValue=true)] + [DataMember(Name="contractDate", EmitDefaultValue=false)] public DateTime? ContractDate { get; set; } /// /// The currency defines the billing currency of the debt collection case. /// /// The currency defines the billing currency of the debt collection case. - [DataMember(Name="currency", EmitDefaultValue=true)] + [DataMember(Name="currency", EmitDefaultValue=false)] public string Currency { get; set; } /// /// The due date indicates the date on which the amount receivable was due. This date has to be always in the past. /// /// The due date indicates the date on which the amount receivable was due. This date has to be always in the past. - [DataMember(Name="dueDate", EmitDefaultValue=true)] + [DataMember(Name="dueDate", EmitDefaultValue=false)] public DateTime? DueDate { get; set; } @@ -66,20 +66,20 @@ public AbstractDebtCollectionCaseUpdate() /// The language indicates the language to be used in the communication with the debtor. /// /// The language indicates the language to be used in the communication with the debtor. - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// 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. /// /// 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. - [DataMember(Name="lineItems", EmitDefaultValue=true)] + [DataMember(Name="lineItems", EmitDefaultValue=false)] public List LineItems { get; set; } /// /// Gets or Sets SpaceViewId /// - [DataMember(Name="spaceViewId", EmitDefaultValue=true)] + [DataMember(Name="spaceViewId", EmitDefaultValue=false)] public long? SpaceViewId { get; set; } /// diff --git a/src/Wallee/Model/AbstractHumanUserUpdate.cs b/src/Wallee/Model/AbstractHumanUserUpdate.cs index eb9fe05..65ff0bd 100644 --- a/src/Wallee/Model/AbstractHumanUserUpdate.cs +++ b/src/Wallee/Model/AbstractHumanUserUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractHumanUserUpdate : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -36,34 +36,34 @@ public AbstractHumanUserUpdate() /// The email address of the user. /// /// The email address of the user. - [DataMember(Name="emailAddress", EmitDefaultValue=true)] + [DataMember(Name="emailAddress", EmitDefaultValue=false)] public string EmailAddress { get; set; } /// /// The first name of the user. /// /// The first name of the user. - [DataMember(Name="firstname", EmitDefaultValue=true)] + [DataMember(Name="firstname", EmitDefaultValue=false)] public string Firstname { get; set; } /// /// The preferred language of the user. /// /// The preferred language of the user. - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// The last name of the user. /// /// The last name of the user. - [DataMember(Name="lastname", EmitDefaultValue=true)] + [DataMember(Name="lastname", EmitDefaultValue=false)] public string Lastname { get; set; } /// /// Gets or Sets MobilePhoneNumber /// - [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=true)] + [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=false)] public string MobilePhoneNumber { get; set; } @@ -71,14 +71,14 @@ public AbstractHumanUserUpdate() /// The time zone which is applied for the user. If no timezone is specified the browser is used to determine an appropriate time zone. /// /// The time zone which is applied for the user. If no timezone is specified the browser is used to determine an appropriate time zone. - [DataMember(Name="timeZone", EmitDefaultValue=true)] + [DataMember(Name="timeZone", EmitDefaultValue=false)] public string TimeZone { get; set; } /// /// Defines whether two-factor authentication is enabled for this user. /// /// Defines whether two-factor authentication is enabled for this user. - [DataMember(Name="twoFactorEnabled", EmitDefaultValue=true)] + [DataMember(Name="twoFactorEnabled", EmitDefaultValue=false)] public bool? TwoFactorEnabled { get; set; } /// diff --git a/src/Wallee/Model/AbstractPaymentLinkUpdate.cs b/src/Wallee/Model/AbstractPaymentLinkUpdate.cs index 666246d..dec1d29 100644 --- a/src/Wallee/Model/AbstractPaymentLinkUpdate.cs +++ b/src/Wallee/Model/AbstractPaymentLinkUpdate.cs @@ -24,13 +24,13 @@ public partial class AbstractPaymentLinkUpdate : IEquatable /// The billing address handling mode controls if the address is collected or not and how it is collected. - [DataMember(Name="billingAddressHandlingMode", EmitDefaultValue=true)] + [DataMember(Name="billingAddressHandlingMode", EmitDefaultValue=false)] public PaymentLinkAddressHandlingMode? BillingAddressHandlingMode { get; set; } /// /// The shipping address handling mode controls if the address is collected or not and how it is collected. /// /// The shipping address handling mode controls if the address is collected or not and how it is collected. - [DataMember(Name="shippingAddressHandlingMode", EmitDefaultValue=true)] + [DataMember(Name="shippingAddressHandlingMode", EmitDefaultValue=false)] public PaymentLinkAddressHandlingMode? ShippingAddressHandlingMode { get; set; } /// /// Initializes a new instance of the class. @@ -43,28 +43,28 @@ public AbstractPaymentLinkUpdate() /// The allowed payment method configurations restrict the payment methods which can be used with this payment link. /// /// The allowed payment method configurations restrict the payment methods which can be used with this payment link. - [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=true)] + [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=false)] public List AllowedPaymentMethodConfigurations { get; set; } /// /// The payment link can be conducted in a specific space view. The space view may apply a specific design to the payment page. /// /// The payment link can be conducted in a specific space view. The space view may apply a specific design to the payment page. - [DataMember(Name="appliedSpaceView", EmitDefaultValue=true)] + [DataMember(Name="appliedSpaceView", EmitDefaultValue=false)] public long? AppliedSpaceView { get; set; } /// /// The available from date defines the earliest date on which the payment link can be used. When no date is specified there will be no restriction. /// /// The available from date defines the earliest date on which the payment link can be used. When no date is specified there will be no restriction. - [DataMember(Name="availableFrom", EmitDefaultValue=true)] + [DataMember(Name="availableFrom", EmitDefaultValue=false)] public DateTime? AvailableFrom { get; set; } /// /// The available from date defines the latest date on which the payment link can be used to initialize a transaction. When no date is specified there will be no restriction. /// /// The available from date defines the latest date on which the payment link can be used to initialize a transaction. When no date is specified there will be no restriction. - [DataMember(Name="availableUntil", EmitDefaultValue=true)] + [DataMember(Name="availableUntil", EmitDefaultValue=false)] public DateTime? AvailableUntil { get; set; } @@ -72,35 +72,35 @@ public AbstractPaymentLinkUpdate() /// The currency defines in which currency the payment is executed in. If no currency is defined it has to be specified within the request parameter 'currency'. /// /// The currency defines in which currency the payment is executed in. If no currency is defined it has to be specified within the request parameter 'currency'. - [DataMember(Name="currency", EmitDefaultValue=true)] + [DataMember(Name="currency", EmitDefaultValue=false)] public string Currency { get; set; } /// /// The language defines the language of the payment page. If no language is provided it can be provided through the request parameter. /// /// The language defines the language of the payment page. If no language is provided it can be provided through the request parameter. - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. /// /// The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. - [DataMember(Name="lineItems", EmitDefaultValue=true)] + [DataMember(Name="lineItems", EmitDefaultValue=false)] public List LineItems { get; set; } /// /// The maximal number of transactions limits the number of transactions which can be created with this payment link. /// /// The maximal number of transactions limits the number of transactions which can be created with this payment link. - [DataMember(Name="maximalNumberOfTransactions", EmitDefaultValue=true)] + [DataMember(Name="maximalNumberOfTransactions", EmitDefaultValue=false)] public int? MaximalNumberOfTransactions { get; set; } /// /// The payment link name is used internally to identify the payment link. For example the name is used within search fields and hence it should be distinct and descriptive. /// /// The payment link name is used internally to identify the payment link. For example the name is used within search fields and hence it should be distinct and descriptive. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } diff --git a/src/Wallee/Model/AbstractRefundCommentActive.cs b/src/Wallee/Model/AbstractRefundCommentActive.cs index 7ef4c46..c4c7874 100644 --- a/src/Wallee/Model/AbstractRefundCommentActive.cs +++ b/src/Wallee/Model/AbstractRefundCommentActive.cs @@ -30,7 +30,7 @@ public AbstractRefundCommentActive() /// /// Gets or Sets Content /// - [DataMember(Name="content", EmitDefaultValue=true)] + [DataMember(Name="content", EmitDefaultValue=false)] public string Content { get; set; } /// diff --git a/src/Wallee/Model/AbstractShopifySubscriptionProductUpdate.cs b/src/Wallee/Model/AbstractShopifySubscriptionProductUpdate.cs index 577497c..cbadc55 100644 --- a/src/Wallee/Model/AbstractShopifySubscriptionProductUpdate.cs +++ b/src/Wallee/Model/AbstractShopifySubscriptionProductUpdate.cs @@ -24,18 +24,18 @@ public partial class AbstractShopifySubscriptionProductUpdate : IEquatable /// Define how frequently recurring orders should be created. - [DataMember(Name="billingIntervalUnit", EmitDefaultValue=true)] + [DataMember(Name="billingIntervalUnit", EmitDefaultValue=false)] public ShopifySubscriptionBillingIntervalUnit? BillingIntervalUnit { get; set; } /// /// Define the weekday on which the recurring orders should be created. /// /// Define the weekday on which the recurring orders should be created. - [DataMember(Name="billingWeekday", EmitDefaultValue=true)] + [DataMember(Name="billingWeekday", EmitDefaultValue=false)] public ShopifySubscriptionWeekday? BillingWeekday { get; set; } /// /// Gets or Sets PricingOption /// - [DataMember(Name="pricingOption", EmitDefaultValue=true)] + [DataMember(Name="pricingOption", EmitDefaultValue=false)] public ShopifySubscriptionProductPricingOption? PricingOption { get; set; } /// /// Initializes a new instance of the class. @@ -47,20 +47,20 @@ public AbstractShopifySubscriptionProductUpdate() /// /// Gets or Sets AbsolutePriceAdjustment /// - [DataMember(Name="absolutePriceAdjustment", EmitDefaultValue=true)] + [DataMember(Name="absolutePriceAdjustment", EmitDefaultValue=false)] public decimal? AbsolutePriceAdjustment { get; set; } /// /// Define the day of the month on which the recurring orders should be created. /// /// Define the day of the month on which the recurring orders should be created. - [DataMember(Name="billingDayOfMonth", EmitDefaultValue=true)] + [DataMember(Name="billingDayOfMonth", EmitDefaultValue=false)] public int? BillingDayOfMonth { get; set; } /// /// Gets or Sets BillingIntervalAmount /// - [DataMember(Name="billingIntervalAmount", EmitDefaultValue=true)] + [DataMember(Name="billingIntervalAmount", EmitDefaultValue=false)] public int? BillingIntervalAmount { get; set; } @@ -68,56 +68,56 @@ public AbstractShopifySubscriptionProductUpdate() /// /// Gets or Sets FixedPrice /// - [DataMember(Name="fixedPrice", EmitDefaultValue=true)] + [DataMember(Name="fixedPrice", EmitDefaultValue=false)] public decimal? FixedPrice { get; set; } /// /// Define the maximum number of orders the subscription will run for. /// /// Define the maximum number of orders the subscription will run for. - [DataMember(Name="maximalBillingCycles", EmitDefaultValue=true)] + [DataMember(Name="maximalBillingCycles", EmitDefaultValue=false)] public int? MaximalBillingCycles { get; set; } /// /// Define the maximum number of orders the subscription can be suspended for at a time. /// /// Define the maximum number of orders the subscription can be suspended for at a time. - [DataMember(Name="maximalSuspendableCycles", EmitDefaultValue=true)] + [DataMember(Name="maximalSuspendableCycles", EmitDefaultValue=false)] public int? MaximalSuspendableCycles { get; set; } /// /// Define the minimal number of orders the subscription will run for. /// /// Define the minimal number of orders the subscription will run for. - [DataMember(Name="minimalBillingCycles", EmitDefaultValue=true)] + [DataMember(Name="minimalBillingCycles", EmitDefaultValue=false)] public int? MinimalBillingCycles { get; set; } /// /// Gets or Sets RelativePriceAdjustment /// - [DataMember(Name="relativePriceAdjustment", EmitDefaultValue=true)] + [DataMember(Name="relativePriceAdjustment", EmitDefaultValue=false)] public decimal? RelativePriceAdjustment { get; set; } /// /// Define whether the order confirmation email of the Shopify shop is sent to the customer for recurring orders. /// /// Define whether the order confirmation email of the Shopify shop is sent to the customer for recurring orders. - [DataMember(Name="storeOrderConfirmationEmailEnabled", EmitDefaultValue=true)] + [DataMember(Name="storeOrderConfirmationEmailEnabled", EmitDefaultValue=false)] public bool? StoreOrderConfirmationEmailEnabled { get; set; } /// /// Define whether the customer is allowed to suspend subscriptions. /// /// Define whether the customer is allowed to suspend subscriptions. - [DataMember(Name="subscriberSuspensionAllowed", EmitDefaultValue=true)] + [DataMember(Name="subscriberSuspensionAllowed", EmitDefaultValue=false)] public bool? SubscriberSuspensionAllowed { get; set; } /// /// Define the number of orders the subscription will keep running for after its termination has been requested. /// /// Define the number of orders the subscription will keep running for after its termination has been requested. - [DataMember(Name="terminationBillingCycles", EmitDefaultValue=true)] + [DataMember(Name="terminationBillingCycles", EmitDefaultValue=false)] public int? TerminationBillingCycles { get; set; } /// diff --git a/src/Wallee/Model/AbstractSpaceUpdate.cs b/src/Wallee/Model/AbstractSpaceUpdate.cs index 24a34fe..6373e54 100644 --- a/src/Wallee/Model/AbstractSpaceUpdate.cs +++ b/src/Wallee/Model/AbstractSpaceUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractSpaceUpdate : IEquatable /// /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -35,35 +35,35 @@ public AbstractSpaceUpdate() /// /// Gets or Sets LastModifiedDate /// - [DataMember(Name="lastModifiedDate", EmitDefaultValue=true)] + [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; set; } /// /// The space name is used internally to identify the space in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. /// /// The space name is used internally to identify the space in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// /// The address to use in communication with clients for example in email, documents etc. /// /// The address to use in communication with clients for example in email, documents etc. - [DataMember(Name="postalAddress", EmitDefaultValue=true)] + [DataMember(Name="postalAddress", EmitDefaultValue=false)] public SpaceAddressCreate PostalAddress { get; set; } /// /// This is the currency that is used to display aggregated amounts in the space. /// /// This is the currency that is used to display aggregated amounts in the space. - [DataMember(Name="primaryCurrency", EmitDefaultValue=true)] + [DataMember(Name="primaryCurrency", EmitDefaultValue=false)] public string PrimaryCurrency { get; set; } /// /// The request limit defines the maximum number of API request accepted within 2 minutes for this space. This limit can only be changed with special privileges. /// /// The request limit defines the maximum number of API request accepted within 2 minutes for this space. This limit can only be changed with special privileges. - [DataMember(Name="requestLimit", EmitDefaultValue=true)] + [DataMember(Name="requestLimit", EmitDefaultValue=false)] public long? RequestLimit { get; set; } @@ -71,14 +71,14 @@ public AbstractSpaceUpdate() /// The email address provided as contact addresses will be informed about technical issues or errors triggered by the space. /// /// The email address provided as contact addresses will be informed about technical issues or errors triggered by the space. - [DataMember(Name="technicalContactAddresses", EmitDefaultValue=true)] + [DataMember(Name="technicalContactAddresses", EmitDefaultValue=false)] public List TechnicalContactAddresses { get; set; } /// /// The time zone assigned to the space determines the time offset for calculating dates within the space. This is typically used for background processed which needs to be triggered on a specific hour within the day. Changing the space time zone will not change the display of dates. /// /// The time zone assigned to the space determines the time offset for calculating dates within the space. This is typically used for background processed which needs to be triggered on a specific hour within the day. Changing the space time zone will not change the display of dates. - [DataMember(Name="timeZone", EmitDefaultValue=true)] + [DataMember(Name="timeZone", EmitDefaultValue=false)] public string TimeZone { get; set; } /// diff --git a/src/Wallee/Model/AbstractSubscriberUpdate.cs b/src/Wallee/Model/AbstractSubscriberUpdate.cs index 28e1d10..3574d52 100644 --- a/src/Wallee/Model/AbstractSubscriberUpdate.cs +++ b/src/Wallee/Model/AbstractSubscriberUpdate.cs @@ -31,61 +31,61 @@ public AbstractSubscriberUpdate() /// Those payment methods which are allowed additionally will be available even when the product does not allow those methods. /// /// Those payment methods which are allowed additionally will be available even when the product does not allow those methods. - [DataMember(Name="additionalAllowedPaymentMethodConfigurations", EmitDefaultValue=true)] + [DataMember(Name="additionalAllowedPaymentMethodConfigurations", EmitDefaultValue=false)] public List AdditionalAllowedPaymentMethodConfigurations { get; set; } /// /// Gets or Sets BillingAddress /// - [DataMember(Name="billingAddress", EmitDefaultValue=true)] + [DataMember(Name="billingAddress", EmitDefaultValue=false)] public AddressCreate BillingAddress { get; set; } /// /// The subscriber description can be used to add a description to the subscriber. This is used in the back office to identify the subscriber. /// /// The subscriber description can be used to add a description to the subscriber. This is used in the back office to identify the subscriber. - [DataMember(Name="description", EmitDefaultValue=true)] + [DataMember(Name="description", EmitDefaultValue=false)] public string Description { get; set; } /// /// Those payment methods which are disallowed will not be available to the subscriber even if the product allows those methods. /// /// Those payment methods which are disallowed will not be available to the subscriber even if the product allows those methods. - [DataMember(Name="disallowedPaymentMethodConfigurations", EmitDefaultValue=true)] + [DataMember(Name="disallowedPaymentMethodConfigurations", EmitDefaultValue=false)] public List DisallowedPaymentMethodConfigurations { get; set; } /// /// The email address is used to communicate with the subscriber. There can be only one subscriber per space with the same email address. /// /// The email address is used to communicate with the subscriber. There can be only one subscriber per space with the same email address. - [DataMember(Name="emailAddress", EmitDefaultValue=true)] + [DataMember(Name="emailAddress", EmitDefaultValue=false)] public string EmailAddress { get; set; } /// /// The subscriber language determines the language which is used to communicate with the subscriber in emails and documents (e.g. invoices). /// /// The subscriber language determines the language which is used to communicate with the subscriber in emails and documents (e.g. invoices). - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// Meta data allow to store additional data along the object. /// /// Meta data allow to store additional data along the object. - [DataMember(Name="metaData", EmitDefaultValue=true)] + [DataMember(Name="metaData", EmitDefaultValue=false)] public Dictionary MetaData { get; set; } /// /// The subscriber reference identifies the subscriber in administrative interfaces (e.g. customer id). /// /// The subscriber reference identifies the subscriber in administrative interfaces (e.g. customer id). - [DataMember(Name="reference", EmitDefaultValue=true)] + [DataMember(Name="reference", EmitDefaultValue=false)] public string Reference { get; set; } /// /// Gets or Sets ShippingAddress /// - [DataMember(Name="shippingAddress", EmitDefaultValue=true)] + [DataMember(Name="shippingAddress", EmitDefaultValue=false)] public AddressCreate ShippingAddress { get; set; } /// diff --git a/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs b/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs index 365a2b8..0414c44 100644 --- a/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs +++ b/src/Wallee/Model/AbstractSubscriptionAffiliateUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractSubscriptionAffiliateUpdate : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -35,20 +35,20 @@ public AbstractSubscriptionAffiliateUpdate() /// /// Gets or Sets Language /// - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// Meta data allow to store additional data along the object. /// /// Meta data allow to store additional data along the object. - [DataMember(Name="metaData", EmitDefaultValue=true)] + [DataMember(Name="metaData", EmitDefaultValue=false)] public Dictionary MetaData { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } diff --git a/src/Wallee/Model/AbstractSubscriptionMetricUpdate.cs b/src/Wallee/Model/AbstractSubscriptionMetricUpdate.cs index a58df34..442cedf 100644 --- a/src/Wallee/Model/AbstractSubscriptionMetricUpdate.cs +++ b/src/Wallee/Model/AbstractSubscriptionMetricUpdate.cs @@ -30,13 +30,13 @@ public AbstractSubscriptionMetricUpdate() /// /// Gets or Sets Description /// - [DataMember(Name="description", EmitDefaultValue=true)] + [DataMember(Name="description", EmitDefaultValue=false)] public DatabaseTranslatedStringCreate Description { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public DatabaseTranslatedStringCreate Name { get; set; } /// diff --git a/src/Wallee/Model/AbstractSubscriptionProductActive.cs b/src/Wallee/Model/AbstractSubscriptionProductActive.cs index a708a6f..20542a9 100644 --- a/src/Wallee/Model/AbstractSubscriptionProductActive.cs +++ b/src/Wallee/Model/AbstractSubscriptionProductActive.cs @@ -23,7 +23,7 @@ public partial class AbstractSubscriptionProductActive : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public SubscriptionProductState? State { get; set; } /// /// Initializes a new instance of the class. @@ -36,35 +36,35 @@ public AbstractSubscriptionProductActive() /// The allowed payment method configurations control which payment methods can be used with this product. When none is selected all methods will be allowed. /// /// The allowed payment method configurations control which payment methods can be used with this product. When none is selected all methods will be allowed. - [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=true)] + [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=false)] public List AllowedPaymentMethodConfigurations { get; set; } /// /// When a payment fails, the subscription to which the payment belongs to will be suspended. When the suspension is not removed within the specified period the subscription will be terminated. A payment is considered as failed when the subscriber issues a refund or when a subscription charge fails. /// /// When a payment fails, the subscription to which the payment belongs to will be suspended. When the suspension is not removed within the specified period the subscription will be terminated. A payment is considered as failed when the subscriber issues a refund or when a subscription charge fails. - [DataMember(Name="failedPaymentSuspensionPeriod", EmitDefaultValue=true)] + [DataMember(Name="failedPaymentSuspensionPeriod", EmitDefaultValue=false)] public string FailedPaymentSuspensionPeriod { get; set; } /// /// The product name is used internally to identify the configuration in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. /// /// The product name is used internally to identify the configuration in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// /// Marks the product as locked. Meaning that customer can not change away from this product or change to this product later on. /// /// Marks the product as locked. Meaning that customer can not change away from this product or change to this product later on. - [DataMember(Name="productLocked", EmitDefaultValue=true)] + [DataMember(Name="productLocked", EmitDefaultValue=false)] public bool? ProductLocked { get; set; } /// /// The sort order controls in which order the product is listed. The sort order is used to order the products in ascending order. /// /// The sort order controls in which order the product is listed. The sort order is used to order the products in ascending order. - [DataMember(Name="sortOrder", EmitDefaultValue=true)] + [DataMember(Name="sortOrder", EmitDefaultValue=false)] public int? SortOrder { get; set; } diff --git a/src/Wallee/Model/AbstractTokenUpdate.cs b/src/Wallee/Model/AbstractTokenUpdate.cs index c256544..6f36ffb 100644 --- a/src/Wallee/Model/AbstractTokenUpdate.cs +++ b/src/Wallee/Model/AbstractTokenUpdate.cs @@ -31,41 +31,41 @@ public AbstractTokenUpdate() /// The customer email address is the email address of the customer. /// /// The customer email address is the email address of the customer. - [DataMember(Name="customerEmailAddress", EmitDefaultValue=true)] + [DataMember(Name="customerEmailAddress", EmitDefaultValue=false)] public string CustomerEmailAddress { get; set; } /// /// The customer ID identifies the customer in the merchant system. In case the customer ID has been provided it has to correspond with the customer ID provided on the transaction. The customer ID will not be changed automatically. The merchant system has to provide it. /// /// The customer ID identifies the customer in the merchant system. In case the customer ID has been provided it has to correspond with the customer ID provided on the transaction. The customer ID will not be changed automatically. The merchant system has to provide it. - [DataMember(Name="customerId", EmitDefaultValue=true)] + [DataMember(Name="customerId", EmitDefaultValue=false)] public string CustomerId { get; set; } /// /// When a token is enabled for one-click payments the buyer will be able to select the token within the iFrame or on the payment page to pay with the token. The usage of the token will reduce the number of steps the buyer has to go through. The buyer is linked via the customer ID on the transaction with the token. Means the token will be visible for buyers with the same customer ID. Additionally the payment method has to be configured to allow the one-click payments. /// /// When a token is enabled for one-click payments the buyer will be able to select the token within the iFrame or on the payment page to pay with the token. The usage of the token will reduce the number of steps the buyer has to go through. The buyer is linked via the customer ID on the transaction with the token. Means the token will be visible for buyers with the same customer ID. Additionally the payment method has to be configured to allow the one-click payments. - [DataMember(Name="enabledForOneClickPayment", EmitDefaultValue=true)] + [DataMember(Name="enabledForOneClickPayment", EmitDefaultValue=false)] public bool? EnabledForOneClickPayment { get; set; } /// /// Gets or Sets Language /// - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer. /// /// The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer. - [DataMember(Name="timeZone", EmitDefaultValue=true)] + [DataMember(Name="timeZone", EmitDefaultValue=false)] public string TimeZone { get; set; } /// /// Use something that it is easy to identify and may help you find the token (e.g. customer id, email address). /// /// Use something that it is easy to identify and may help you find the token (e.g. customer id, email address). - [DataMember(Name="tokenReference", EmitDefaultValue=true)] + [DataMember(Name="tokenReference", EmitDefaultValue=false)] public string TokenReference { get; set; } /// diff --git a/src/Wallee/Model/AbstractTransactionCommentActive.cs b/src/Wallee/Model/AbstractTransactionCommentActive.cs index ddd2c80..a81a4f2 100644 --- a/src/Wallee/Model/AbstractTransactionCommentActive.cs +++ b/src/Wallee/Model/AbstractTransactionCommentActive.cs @@ -30,7 +30,7 @@ public AbstractTransactionCommentActive() /// /// Gets or Sets Content /// - [DataMember(Name="content", EmitDefaultValue=true)] + [DataMember(Name="content", EmitDefaultValue=false)] public string Content { get; set; } /// diff --git a/src/Wallee/Model/AbstractTransactionInvoiceCommentActive.cs b/src/Wallee/Model/AbstractTransactionInvoiceCommentActive.cs index c40fb0f..053cd41 100644 --- a/src/Wallee/Model/AbstractTransactionInvoiceCommentActive.cs +++ b/src/Wallee/Model/AbstractTransactionInvoiceCommentActive.cs @@ -30,7 +30,7 @@ public AbstractTransactionInvoiceCommentActive() /// /// Gets or Sets Content /// - [DataMember(Name="content", EmitDefaultValue=true)] + [DataMember(Name="content", EmitDefaultValue=false)] public string Content { get; set; } /// diff --git a/src/Wallee/Model/AbstractTransactionPending.cs b/src/Wallee/Model/AbstractTransactionPending.cs index 7b9bf8c..929850e 100644 --- a/src/Wallee/Model/AbstractTransactionPending.cs +++ b/src/Wallee/Model/AbstractTransactionPending.cs @@ -24,13 +24,13 @@ public partial class AbstractTransactionPending : IEquatable /// The completion behavior controls when the transaction is completed. - [DataMember(Name="completionBehavior", EmitDefaultValue=true)] + [DataMember(Name="completionBehavior", EmitDefaultValue=false)] public TransactionCompletionBehavior? CompletionBehavior { get; set; } /// /// The tokenization mode controls if and how the tokenization of payment information is applied to the transaction. /// /// The tokenization mode controls if and how the tokenization of payment information is applied to the transaction. - [DataMember(Name="tokenizationMode", EmitDefaultValue=true)] + [DataMember(Name="tokenizationMode", EmitDefaultValue=false)] public TokenizationMode? TokenizationMode { get; set; } /// /// Initializes a new instance of the class. @@ -42,109 +42,109 @@ public AbstractTransactionPending() /// /// Gets or Sets AllowedPaymentMethodBrands /// - [DataMember(Name="allowedPaymentMethodBrands", EmitDefaultValue=true)] + [DataMember(Name="allowedPaymentMethodBrands", EmitDefaultValue=false)] public List AllowedPaymentMethodBrands { get; set; } /// /// Gets or Sets AllowedPaymentMethodConfigurations /// - [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=true)] + [DataMember(Name="allowedPaymentMethodConfigurations", EmitDefaultValue=false)] public List AllowedPaymentMethodConfigurations { get; set; } /// /// Gets or Sets BillingAddress /// - [DataMember(Name="billingAddress", EmitDefaultValue=true)] + [DataMember(Name="billingAddress", EmitDefaultValue=false)] public AddressCreate BillingAddress { get; set; } /// /// Gets or Sets Currency /// - [DataMember(Name="currency", EmitDefaultValue=true)] + [DataMember(Name="currency", EmitDefaultValue=false)] public string Currency { get; set; } /// /// The customer email address is the email address of the customer. If no email address is provided on the shipping or billing address this address is used. /// /// The customer email address is the email address of the customer. If no email address is provided on the shipping or billing address this address is used. - [DataMember(Name="customerEmailAddress", EmitDefaultValue=true)] + [DataMember(Name="customerEmailAddress", EmitDefaultValue=false)] public string CustomerEmailAddress { get; set; } /// /// Gets or Sets CustomerId /// - [DataMember(Name="customerId", EmitDefaultValue=true)] + [DataMember(Name="customerId", EmitDefaultValue=false)] public string CustomerId { get; set; } /// /// The user will be redirected to failed URL when the transaction could not be authorized or completed. In case no failed URL is specified a default failed page will be displayed. /// /// The user will be redirected to failed URL when the transaction could not be authorized or completed. In case no failed URL is specified a default failed page will be displayed. - [DataMember(Name="failedUrl", EmitDefaultValue=true)] + [DataMember(Name="failedUrl", EmitDefaultValue=false)] public string FailedUrl { get; set; } /// /// Gets or Sets InvoiceMerchantReference /// - [DataMember(Name="invoiceMerchantReference", EmitDefaultValue=true)] + [DataMember(Name="invoiceMerchantReference", EmitDefaultValue=false)] public string InvoiceMerchantReference { get; set; } /// /// Gets or Sets Language /// - [DataMember(Name="language", EmitDefaultValue=true)] + [DataMember(Name="language", EmitDefaultValue=false)] public string Language { get; set; } /// /// Gets or Sets LineItems /// - [DataMember(Name="lineItems", EmitDefaultValue=true)] + [DataMember(Name="lineItems", EmitDefaultValue=false)] public List LineItems { get; set; } /// /// Gets or Sets MerchantReference /// - [DataMember(Name="merchantReference", EmitDefaultValue=true)] + [DataMember(Name="merchantReference", EmitDefaultValue=false)] public string MerchantReference { get; set; } /// /// Meta data allow to store additional data along the object. /// /// Meta data allow to store additional data along the object. - [DataMember(Name="metaData", EmitDefaultValue=true)] + [DataMember(Name="metaData", EmitDefaultValue=false)] public Dictionary MetaData { get; set; } /// /// Gets or Sets ShippingAddress /// - [DataMember(Name="shippingAddress", EmitDefaultValue=true)] + [DataMember(Name="shippingAddress", EmitDefaultValue=false)] public AddressCreate ShippingAddress { get; set; } /// /// Gets or Sets ShippingMethod /// - [DataMember(Name="shippingMethod", EmitDefaultValue=true)] + [DataMember(Name="shippingMethod", EmitDefaultValue=false)] public string ShippingMethod { get; set; } /// /// The user will be redirected to success URL when the transaction could be authorized or completed. In case no success URL is specified a default success page will be displayed. /// /// The user will be redirected to success URL when the transaction could be authorized or completed. In case no success URL is specified a default success page will be displayed. - [DataMember(Name="successUrl", EmitDefaultValue=true)] + [DataMember(Name="successUrl", EmitDefaultValue=false)] public string SuccessUrl { get; set; } /// /// The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer. /// /// The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer. - [DataMember(Name="timeZone", EmitDefaultValue=true)] + [DataMember(Name="timeZone", EmitDefaultValue=false)] public string TimeZone { get; set; } /// /// Gets or Sets Token /// - [DataMember(Name="token", EmitDefaultValue=true)] + [DataMember(Name="token", EmitDefaultValue=false)] public long? Token { get; set; } diff --git a/src/Wallee/Model/AbstractWebhookListenerUpdate.cs b/src/Wallee/Model/AbstractWebhookListenerUpdate.cs index 274b47b..28b60a5 100644 --- a/src/Wallee/Model/AbstractWebhookListenerUpdate.cs +++ b/src/Wallee/Model/AbstractWebhookListenerUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractWebhookListenerUpdate : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -36,21 +36,21 @@ public AbstractWebhookListenerUpdate() /// The target state identifies the state into which entities need to move into to trigger the webhook listener. /// /// The target state identifies the state into which entities need to move into to trigger the webhook listener. - [DataMember(Name="entityStates", EmitDefaultValue=true)] + [DataMember(Name="entityStates", EmitDefaultValue=false)] public List EntityStates { get; set; } /// /// The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive. /// /// The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// /// Defines whether the webhook listener is to be informed about every change made to the entity in contrast to state transitions only. /// /// Defines whether the webhook listener is to be informed about every change made to the entity in contrast to state transitions only. - [DataMember(Name="notifyEveryChange", EmitDefaultValue=true)] + [DataMember(Name="notifyEveryChange", EmitDefaultValue=false)] public bool? NotifyEveryChange { get; set; } diff --git a/src/Wallee/Model/AbstractWebhookUrlUpdate.cs b/src/Wallee/Model/AbstractWebhookUrlUpdate.cs index 914d481..3453376 100644 --- a/src/Wallee/Model/AbstractWebhookUrlUpdate.cs +++ b/src/Wallee/Model/AbstractWebhookUrlUpdate.cs @@ -23,7 +23,7 @@ public partial class AbstractWebhookUrlUpdate : IEquatable /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public CreationEntityState? State { get; set; } /// /// Initializes a new instance of the class. @@ -36,7 +36,7 @@ public AbstractWebhookUrlUpdate() /// The URL name is used internally to identify the URL in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. /// /// The URL name is used internally to identify the URL in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } @@ -44,7 +44,7 @@ public AbstractWebhookUrlUpdate() /// The URL to which the HTTP requests are sent to. An example URL could look like https://www.example.com/some/path?some-query-parameter=value. /// /// The URL to which the HTTP requests are sent to. An example URL could look like https://www.example.com/some/path?some-query-parameter=value. - [DataMember(Name="url", EmitDefaultValue=true)] + [DataMember(Name="url", EmitDefaultValue=false)] public string Url { get; set; } /// diff --git a/src/Wallee/Model/Account.cs b/src/Wallee/Model/Account.cs index c279444..b129183 100644 --- a/src/Wallee/Model/Account.cs +++ b/src/Wallee/Model/Account.cs @@ -23,13 +23,13 @@ public partial class Account : IEquatable /// /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public AccountState? State { get; set; } /// /// The account type defines which role and capabilities it has. /// /// The account type defines which role and capabilities it has. - [DataMember(Name="type", EmitDefaultValue=true)] + [DataMember(Name="type", EmitDefaultValue=false)] public AccountType? Type { get; set; } /// /// Initializes a new instance of the class. @@ -43,90 +43,90 @@ public Account() /// Active means that this account and all accounts in the hierarchy are active. /// /// Active means that this account and all accounts in the hierarchy are active. - [DataMember(Name="active", EmitDefaultValue=true)] + [DataMember(Name="active", EmitDefaultValue=false)] public bool? Active { get; private set; } /// /// This property is true when all accounts in the hierarchy are active or restricted active. /// /// This property is true when all accounts in the hierarchy are active or restricted active. - [DataMember(Name="activeOrRestrictedActive", EmitDefaultValue=true)] + [DataMember(Name="activeOrRestrictedActive", EmitDefaultValue=false)] public bool? ActiveOrRestrictedActive { get; private set; } /// /// The ID of the user who created this entity. /// /// The ID of the user who created this entity. - [DataMember(Name="createdBy", EmitDefaultValue=true)] + [DataMember(Name="createdBy", EmitDefaultValue=false)] public long? CreatedBy { get; private set; } /// /// The date and time when this entity was created. /// /// The date and time when this entity was created. - [DataMember(Name="createdOn", EmitDefaultValue=true)] + [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } /// /// The ID of a user that deleted this entity. /// /// The ID of a user that deleted this entity. - [DataMember(Name="deletedBy", EmitDefaultValue=true)] + [DataMember(Name="deletedBy", EmitDefaultValue=false)] public long? DeletedBy { get; private set; } /// /// The date and time when this entity was deleted. /// /// The date and time when this entity was deleted. - [DataMember(Name="deletedOn", EmitDefaultValue=true)] + [DataMember(Name="deletedOn", EmitDefaultValue=false)] public DateTime? DeletedOn { get; private set; } /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// /// Gets or Sets LastModifiedDate /// - [DataMember(Name="lastModifiedDate", EmitDefaultValue=true)] + [DataMember(Name="lastModifiedDate", EmitDefaultValue=false)] public DateTime? LastModifiedDate { get; private set; } /// /// The name of the account identifies the account within the administrative interface. /// /// The name of the account identifies the account within the administrative interface. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; private set; } /// /// The account which is responsible for administering the account. /// /// The account which is responsible for administering the account. - [DataMember(Name="parentAccount", EmitDefaultValue=true)] + [DataMember(Name="parentAccount", EmitDefaultValue=false)] 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 planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. - [DataMember(Name="plannedPurgeDate", EmitDefaultValue=true)] + [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } /// /// Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active. /// /// Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active. - [DataMember(Name="restrictedActive", EmitDefaultValue=true)] + [DataMember(Name="restrictedActive", EmitDefaultValue=false)] public bool? RestrictedActive { get; private set; } /// /// This is the scope to which the account belongs to. /// /// This is the scope to which the account belongs to. - [DataMember(Name="scope", EmitDefaultValue=true)] + [DataMember(Name="scope", EmitDefaultValue=false)] public long? Scope { get; private set; } @@ -134,7 +134,7 @@ public Account() /// This property restricts the number of subaccounts which can be created within this account. /// /// This property restricts the number of subaccounts which can be created within this account. - [DataMember(Name="subaccountLimit", EmitDefaultValue=true)] + [DataMember(Name="subaccountLimit", EmitDefaultValue=false)] public long? SubaccountLimit { get; private set; } @@ -142,7 +142,7 @@ public Account() /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. /// /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [DataMember(Name="version", EmitDefaultValue=false)] public int? Version { get; private set; } /// diff --git a/src/Wallee/Model/AccountCreate.cs b/src/Wallee/Model/AccountCreate.cs index 24d0b1f..f005184 100644 --- a/src/Wallee/Model/AccountCreate.cs +++ b/src/Wallee/Model/AccountCreate.cs @@ -46,14 +46,14 @@ public AccountCreate(long? scope) /// The account which is responsible for administering the account. /// /// The account which is responsible for administering the account. - [DataMember(Name="parentAccount", EmitDefaultValue=true)] + [DataMember(Name="parentAccount", EmitDefaultValue=false)] public long? ParentAccount { get; set; } /// /// This is the scope to which the account belongs to. /// /// This is the scope to which the account belongs to. - [DataMember(Name="scope", EmitDefaultValue=true)] + [DataMember(Name="scope", EmitDefaultValue=false)] public long? Scope { get; set; } /// diff --git a/src/Wallee/Model/AccountUpdate.cs b/src/Wallee/Model/AccountUpdate.cs index 8b2e1de..4bad9db 100644 --- a/src/Wallee/Model/AccountUpdate.cs +++ b/src/Wallee/Model/AccountUpdate.cs @@ -53,14 +53,14 @@ public AccountUpdate(long? version, long? id) /// The ID is the primary key of the entity. The ID identifies the entity uniquely. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; set; } /// /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. /// /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [DataMember(Name="version", EmitDefaultValue=false)] public long? Version { get; set; } /// diff --git a/src/Wallee/Model/Address.cs b/src/Wallee/Model/Address.cs index 83f6fd5..334dc9a 100644 --- a/src/Wallee/Model/Address.cs +++ b/src/Wallee/Model/Address.cs @@ -23,7 +23,7 @@ public partial class Address : IEquatable
/// /// Gets or Sets Gender /// - [DataMember(Name="gender", EmitDefaultValue=true)] + [DataMember(Name="gender", EmitDefaultValue=false)] public Gender? Gender { get; set; } /// /// Initializes a new instance of the class. @@ -36,118 +36,118 @@ public Address() /// /// Gets or Sets City /// - [DataMember(Name="city", EmitDefaultValue=true)] + [DataMember(Name="city", EmitDefaultValue=false)] public string City { get; private set; } /// /// Gets or Sets CommercialRegisterNumber /// - [DataMember(Name="commercialRegisterNumber", EmitDefaultValue=true)] + [DataMember(Name="commercialRegisterNumber", EmitDefaultValue=false)] public string CommercialRegisterNumber { get; private set; } /// /// Gets or Sets Country /// - [DataMember(Name="country", EmitDefaultValue=true)] + [DataMember(Name="country", EmitDefaultValue=false)] public string Country { get; private set; } /// /// Gets or Sets DateOfBirth /// - [DataMember(Name="dateOfBirth", EmitDefaultValue=true)] + [DataMember(Name="dateOfBirth", EmitDefaultValue=false)] [JsonConverter(typeof(SwaggerDateConverter))] public DateTime? DateOfBirth { get; private set; } /// /// Gets or Sets DependentLocality /// - [DataMember(Name="dependentLocality", EmitDefaultValue=true)] + [DataMember(Name="dependentLocality", EmitDefaultValue=false)] public string DependentLocality { get; private set; } /// /// Gets or Sets EmailAddress /// - [DataMember(Name="emailAddress", EmitDefaultValue=true)] + [DataMember(Name="emailAddress", EmitDefaultValue=false)] public string EmailAddress { get; private set; } /// /// Gets or Sets FamilyName /// - [DataMember(Name="familyName", EmitDefaultValue=true)] + [DataMember(Name="familyName", EmitDefaultValue=false)] public string FamilyName { get; private set; } /// /// Gets or Sets GivenName /// - [DataMember(Name="givenName", EmitDefaultValue=true)] + [DataMember(Name="givenName", EmitDefaultValue=false)] public string GivenName { get; private set; } /// /// Gets or Sets LegalOrganizationForm /// - [DataMember(Name="legalOrganizationForm", EmitDefaultValue=true)] + [DataMember(Name="legalOrganizationForm", EmitDefaultValue=false)] public LegalOrganizationForm LegalOrganizationForm { get; private set; } /// /// Gets or Sets MobilePhoneNumber /// - [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=true)] + [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=false)] public string MobilePhoneNumber { get; private set; } /// /// Gets or Sets OrganizationName /// - [DataMember(Name="organizationName", EmitDefaultValue=true)] + [DataMember(Name="organizationName", EmitDefaultValue=false)] public string OrganizationName { get; private set; } /// /// Gets or Sets PhoneNumber /// - [DataMember(Name="phoneNumber", EmitDefaultValue=true)] + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] public string PhoneNumber { get; private set; } /// /// Gets or Sets PostalState /// - [DataMember(Name="postalState", EmitDefaultValue=true)] + [DataMember(Name="postalState", EmitDefaultValue=false)] public string PostalState { get; private set; } /// /// Gets or Sets Postcode /// - [DataMember(Name="postcode", EmitDefaultValue=true)] + [DataMember(Name="postcode", EmitDefaultValue=false)] public string Postcode { get; private set; } /// /// Gets or Sets SalesTaxNumber /// - [DataMember(Name="salesTaxNumber", EmitDefaultValue=true)] + [DataMember(Name="salesTaxNumber", EmitDefaultValue=false)] public string SalesTaxNumber { get; private set; } /// /// Gets or Sets Salutation /// - [DataMember(Name="salutation", EmitDefaultValue=true)] + [DataMember(Name="salutation", EmitDefaultValue=false)] public string Salutation { get; private set; } /// /// Gets or Sets SocialSecurityNumber /// - [DataMember(Name="socialSecurityNumber", EmitDefaultValue=true)] + [DataMember(Name="socialSecurityNumber", EmitDefaultValue=false)] public string SocialSecurityNumber { get; private set; } /// /// The sorting code identifies the post office at which the post box is located in. /// /// The sorting code identifies the post office at which the post box is located in. - [DataMember(Name="sortingCode", EmitDefaultValue=true)] + [DataMember(Name="sortingCode", EmitDefaultValue=false)] public string SortingCode { get; private set; } /// /// Gets or Sets Street /// - [DataMember(Name="street", EmitDefaultValue=true)] + [DataMember(Name="street", EmitDefaultValue=false)] public string Street { get; private set; } /// diff --git a/src/Wallee/Model/AddressCreate.cs b/src/Wallee/Model/AddressCreate.cs index e07013c..0b3d52c 100644 --- a/src/Wallee/Model/AddressCreate.cs +++ b/src/Wallee/Model/AddressCreate.cs @@ -23,7 +23,7 @@ public partial class AddressCreate : IEquatable /// /// Gets or Sets Gender /// - [DataMember(Name="gender", EmitDefaultValue=true)] + [DataMember(Name="gender", EmitDefaultValue=false)] public Gender? Gender { get; set; } /// /// Initializes a new instance of the class. @@ -35,118 +35,118 @@ public AddressCreate() /// /// Gets or Sets City /// - [DataMember(Name="city", EmitDefaultValue=true)] + [DataMember(Name="city", EmitDefaultValue=false)] public string City { get; set; } /// /// Gets or Sets CommercialRegisterNumber /// - [DataMember(Name="commercialRegisterNumber", EmitDefaultValue=true)] + [DataMember(Name="commercialRegisterNumber", EmitDefaultValue=false)] public string CommercialRegisterNumber { get; set; } /// /// Gets or Sets Country /// - [DataMember(Name="country", EmitDefaultValue=true)] + [DataMember(Name="country", EmitDefaultValue=false)] public string Country { get; set; } /// /// Gets or Sets DateOfBirth /// - [DataMember(Name="dateOfBirth", EmitDefaultValue=true)] + [DataMember(Name="dateOfBirth", EmitDefaultValue=false)] [JsonConverter(typeof(SwaggerDateConverter))] public DateTime? DateOfBirth { get; set; } /// /// Gets or Sets DependentLocality /// - [DataMember(Name="dependentLocality", EmitDefaultValue=true)] + [DataMember(Name="dependentLocality", EmitDefaultValue=false)] public string DependentLocality { get; set; } /// /// Gets or Sets EmailAddress /// - [DataMember(Name="emailAddress", EmitDefaultValue=true)] + [DataMember(Name="emailAddress", EmitDefaultValue=false)] public string EmailAddress { get; set; } /// /// Gets or Sets FamilyName /// - [DataMember(Name="familyName", EmitDefaultValue=true)] + [DataMember(Name="familyName", EmitDefaultValue=false)] public string FamilyName { get; set; } /// /// Gets or Sets GivenName /// - [DataMember(Name="givenName", EmitDefaultValue=true)] + [DataMember(Name="givenName", EmitDefaultValue=false)] public string GivenName { get; set; } /// /// Gets or Sets LegalOrganizationForm /// - [DataMember(Name="legalOrganizationForm", EmitDefaultValue=true)] + [DataMember(Name="legalOrganizationForm", EmitDefaultValue=false)] public long? LegalOrganizationForm { get; set; } /// /// Gets or Sets MobilePhoneNumber /// - [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=true)] + [DataMember(Name="mobilePhoneNumber", EmitDefaultValue=false)] public string MobilePhoneNumber { get; set; } /// /// Gets or Sets OrganizationName /// - [DataMember(Name="organizationName", EmitDefaultValue=true)] + [DataMember(Name="organizationName", EmitDefaultValue=false)] public string OrganizationName { get; set; } /// /// Gets or Sets PhoneNumber /// - [DataMember(Name="phoneNumber", EmitDefaultValue=true)] + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] public string PhoneNumber { get; set; } /// /// Gets or Sets PostalState /// - [DataMember(Name="postalState", EmitDefaultValue=true)] + [DataMember(Name="postalState", EmitDefaultValue=false)] public string PostalState { get; set; } /// /// Gets or Sets Postcode /// - [DataMember(Name="postcode", EmitDefaultValue=true)] + [DataMember(Name="postcode", EmitDefaultValue=false)] public string Postcode { get; set; } /// /// Gets or Sets SalesTaxNumber /// - [DataMember(Name="salesTaxNumber", EmitDefaultValue=true)] + [DataMember(Name="salesTaxNumber", EmitDefaultValue=false)] public string SalesTaxNumber { get; set; } /// /// Gets or Sets Salutation /// - [DataMember(Name="salutation", EmitDefaultValue=true)] + [DataMember(Name="salutation", EmitDefaultValue=false)] public string Salutation { get; set; } /// /// Gets or Sets SocialSecurityNumber /// - [DataMember(Name="socialSecurityNumber", EmitDefaultValue=true)] + [DataMember(Name="socialSecurityNumber", EmitDefaultValue=false)] public string SocialSecurityNumber { get; set; } /// /// The sorting code identifies the post office at which the post box is located in. /// /// The sorting code identifies the post office at which the post box is located in. - [DataMember(Name="sortingCode", EmitDefaultValue=true)] + [DataMember(Name="sortingCode", EmitDefaultValue=false)] public string SortingCode { get; set; } /// /// Gets or Sets Street /// - [DataMember(Name="street", EmitDefaultValue=true)] + [DataMember(Name="street", EmitDefaultValue=false)] public string Street { get; set; } /// diff --git a/src/Wallee/Model/ApplicationUser.cs b/src/Wallee/Model/ApplicationUser.cs index 45296b6..e786fe4 100644 --- a/src/Wallee/Model/ApplicationUser.cs +++ b/src/Wallee/Model/ApplicationUser.cs @@ -38,21 +38,21 @@ public ApplicationUser() /// The user name is used to identify the application user in administrative interfaces. /// /// The user name is used to identify the application user in administrative interfaces. - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; private set; } /// /// The account that this user is associated with. The account owner will be able to manage this user. /// /// The account that this user is associated with. The account owner will be able to manage this user. - [DataMember(Name="primaryAccount", EmitDefaultValue=true)] + [DataMember(Name="primaryAccount", EmitDefaultValue=false)] public Account PrimaryAccount { get; private set; } /// /// The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges. /// /// The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges. - [DataMember(Name="requestLimit", EmitDefaultValue=true)] + [DataMember(Name="requestLimit", EmitDefaultValue=false)] public long? RequestLimit { get; private set; } /// diff --git a/src/Wallee/Model/ApplicationUserCreate.cs b/src/Wallee/Model/ApplicationUserCreate.cs index 4833e34..660730b 100644 --- a/src/Wallee/Model/ApplicationUserCreate.cs +++ b/src/Wallee/Model/ApplicationUserCreate.cs @@ -46,7 +46,7 @@ public ApplicationUserCreate(long? primaryAccount) /// The account that this user is associated with. The account owner will be able to manage this user. /// /// The account that this user is associated with. The account owner will be able to manage this user. - [DataMember(Name="primaryAccount", EmitDefaultValue=true)] + [DataMember(Name="primaryAccount", EmitDefaultValue=false)] public long? PrimaryAccount { get; set; } /// diff --git a/src/Wallee/Model/ApplicationUserCreateWithMacKey.cs b/src/Wallee/Model/ApplicationUserCreateWithMacKey.cs index ee90b43..cae04aa 100644 --- a/src/Wallee/Model/ApplicationUserCreateWithMacKey.cs +++ b/src/Wallee/Model/ApplicationUserCreateWithMacKey.cs @@ -40,7 +40,7 @@ public ApplicationUserCreateWithMacKey() /// /// Gets or Sets MacKey /// - [DataMember(Name="macKey", EmitDefaultValue=true)] + [DataMember(Name="macKey", EmitDefaultValue=false)] public string MacKey { get; private set; } /// diff --git a/src/Wallee/Model/ApplicationUserUpdate.cs b/src/Wallee/Model/ApplicationUserUpdate.cs index 5c37838..432508a 100644 --- a/src/Wallee/Model/ApplicationUserUpdate.cs +++ b/src/Wallee/Model/ApplicationUserUpdate.cs @@ -53,14 +53,14 @@ public ApplicationUserUpdate(long? version, long? id) /// The ID is the primary key of the entity. The ID identifies the entity uniquely. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; set; } /// /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. /// /// The version number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [DataMember(Name="version", EmitDefaultValue=false)] public long? Version { get; set; } /// diff --git a/src/Wallee/Model/AuthenticatedCardData.cs b/src/Wallee/Model/AuthenticatedCardData.cs index aac4c6d..8b54375 100644 --- a/src/Wallee/Model/AuthenticatedCardData.cs +++ b/src/Wallee/Model/AuthenticatedCardData.cs @@ -35,7 +35,7 @@ public AuthenticatedCardData() /// The cardholder authentication information. The authentication is optional and can be provided if the cardholder has been already authenticated (e.g. in 3-D Secure system). /// /// The cardholder authentication information. The authentication is optional and can be provided if the cardholder has been already authenticated (e.g. in 3-D Secure system). - [DataMember(Name="cardholderAuthentication", EmitDefaultValue=true)] + [DataMember(Name="cardholderAuthentication", EmitDefaultValue=false)] public CardholderAuthentication CardholderAuthentication { get; private set; } /// diff --git a/src/Wallee/Model/AuthenticatedCardDataCreate.cs b/src/Wallee/Model/AuthenticatedCardDataCreate.cs index c1d77d4..b586c69 100644 --- a/src/Wallee/Model/AuthenticatedCardDataCreate.cs +++ b/src/Wallee/Model/AuthenticatedCardDataCreate.cs @@ -23,7 +23,7 @@ public partial class AuthenticatedCardDataCreate : IEquatable /// Gets or Sets RecurringIndicator /// - [DataMember(Name="recurringIndicator", EmitDefaultValue=true)] + [DataMember(Name="recurringIndicator", EmitDefaultValue=false)] public RecurringIndicator? RecurringIndicator { get; set; } /// /// Initializes a new instance of the class. @@ -48,55 +48,55 @@ public AuthenticatedCardDataCreate(string primaryAccountNumber) /// The card holder name is the name printed onto the card. It identifies the person who owns the card. /// /// The card holder name is the name printed onto the card. It identifies the person who owns the card. - [DataMember(Name="cardHolderName", EmitDefaultValue=true)] + [DataMember(Name="cardHolderName", EmitDefaultValue=false)] public string CardHolderName { get; set; } /// /// The card verification code (CVC) is a 3 to 4 digit code typically printed on the back of the card. It helps to ensure that the card holder is authorizing the transaction. For card not-present transactions this field is optional. /// /// The card verification code (CVC) is a 3 to 4 digit code typically printed on the back of the card. It helps to ensure that the card holder is authorizing the transaction. For card not-present transactions this field is optional. - [DataMember(Name="cardVerificationCode", EmitDefaultValue=true)] + [DataMember(Name="cardVerificationCode", EmitDefaultValue=false)] public string CardVerificationCode { get; set; } /// /// The cardholder authentication information. The authentication is optional and can be provided if the cardholder has been already authenticated (e.g. in 3-D Secure system). /// /// The cardholder authentication information. The authentication is optional and can be provided if the cardholder has been already authenticated (e.g. in 3-D Secure system). - [DataMember(Name="cardholderAuthentication", EmitDefaultValue=true)] + [DataMember(Name="cardholderAuthentication", EmitDefaultValue=false)] public CardholderAuthenticationCreate CardholderAuthentication { get; set; } /// /// The additional authentication value used to secure the tokenized card transactions. /// /// The additional authentication value used to secure the tokenized card transactions. - [DataMember(Name="cryptogram", EmitDefaultValue=true)] + [DataMember(Name="cryptogram", EmitDefaultValue=false)] public CardCryptogramCreate Cryptogram { get; set; } /// /// The card expiry date indicates when the card expires. The format is the format yyyy-mm where yyyy is the year (e.g. 2019) and the mm is the month (e.g. 09). /// /// The card expiry date indicates when the card expires. The format is the format yyyy-mm where yyyy is the year (e.g. 2019) and the mm is the month (e.g. 09). - [DataMember(Name="expiryDate", EmitDefaultValue=true)] + [DataMember(Name="expiryDate", EmitDefaultValue=false)] public string ExpiryDate { get; set; } /// /// The primary account number (PAN) identifies the card. The number is numeric and typically printed on the front of the card. /// /// The primary account number (PAN) identifies the card. The number is numeric and typically printed on the front of the card. - [DataMember(Name="primaryAccountNumber", EmitDefaultValue=true)] + [DataMember(Name="primaryAccountNumber", EmitDefaultValue=false)] public string PrimaryAccountNumber { get; set; } /// /// Gets or Sets SchemeTransactionReference /// - [DataMember(Name="schemeTransactionReference", EmitDefaultValue=true)] + [DataMember(Name="schemeTransactionReference", EmitDefaultValue=false)] public string SchemeTransactionReference { get; set; } /// /// Gets or Sets TokenRequestorId /// - [DataMember(Name="tokenRequestorId", EmitDefaultValue=true)] + [DataMember(Name="tokenRequestorId", EmitDefaultValue=false)] public string TokenRequestorId { get; set; } /// diff --git a/src/Wallee/Model/BankAccount.cs b/src/Wallee/Model/BankAccount.cs index 8fc7f45..31a9c6d 100644 --- a/src/Wallee/Model/BankAccount.cs +++ b/src/Wallee/Model/BankAccount.cs @@ -23,7 +23,7 @@ public partial class BankAccount : IEquatable /// /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public BankAccountState? State { get; set; } /// /// Initializes a new instance of the class. @@ -37,49 +37,49 @@ public BankAccount() /// The optional description is shown along the identifier. The intention of the description is to give an alternative name to the bank account. /// /// The optional description is shown along the identifier. The intention of the description is to give an alternative name to the bank account. - [DataMember(Name="description", EmitDefaultValue=true)] + [DataMember(Name="description", EmitDefaultValue=false)] public string Description { get; private set; } /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// /// The bank account identifier is responsible to uniquely identify the bank account. /// /// The bank account identifier is responsible to uniquely identify the bank account. - [DataMember(Name="identifier", EmitDefaultValue=true)] + [DataMember(Name="identifier", EmitDefaultValue=false)] public string Identifier { get; private set; } /// /// The linked space id holds the ID of the space to which the entity belongs to. /// /// The linked space id holds the ID of the space to which the entity belongs to. - [DataMember(Name="linkedSpaceId", EmitDefaultValue=true)] + [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 planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. - [DataMember(Name="plannedPurgeDate", EmitDefaultValue=true)] + [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=true)] + [DataMember(Name="type", EmitDefaultValue=false)] 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 number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [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 79e3fc1..58e79d7 100644 --- a/src/Wallee/Model/BankAccountType.cs +++ b/src/Wallee/Model/BankAccountType.cs @@ -31,26 +31,26 @@ public BankAccountType() /// /// Gets or Sets Description /// - [DataMember(Name="description", EmitDefaultValue=true)] + [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. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// /// Gets or Sets IdentifierName /// - [DataMember(Name="identifierName", EmitDefaultValue=true)] + [DataMember(Name="identifierName", EmitDefaultValue=false)] public Dictionary IdentifierName { get; private set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=true)] + [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 b40e304..a3f4e4f 100644 --- a/src/Wallee/Model/BankTransaction.cs +++ b/src/Wallee/Model/BankTransaction.cs @@ -23,12 +23,12 @@ public partial class BankTransaction : IEquatable /// /// Gets or Sets FlowDirection /// - [DataMember(Name="flowDirection", EmitDefaultValue=true)] + [DataMember(Name="flowDirection", EmitDefaultValue=false)] public BankTransactionFlowDirection? FlowDirection { get; set; } /// /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public BankTransactionState? State { get; set; } /// /// Initializes a new instance of the class. @@ -42,34 +42,34 @@ public BankTransaction() /// The adjustments applied on this bank transaction. /// /// The adjustments applied on this bank transaction. - [DataMember(Name="adjustments", EmitDefaultValue=true)] + [DataMember(Name="adjustments", EmitDefaultValue=false)] public List Adjustments { get; private set; } /// /// The created by indicates the user which has created the bank transaction. /// /// The created by indicates the user which has created the bank transaction. - [DataMember(Name="createdBy", EmitDefaultValue=true)] + [DataMember(Name="createdBy", EmitDefaultValue=false)] public long? CreatedBy { get; private set; } /// /// The created on date indicates the date on which the entity was stored into the database. /// /// The created on date indicates the date on which the entity was stored into the database. - [DataMember(Name="createdOn", EmitDefaultValue=true)] + [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } /// /// The currency bank account which is used to handle money flow. /// /// The currency bank account which is used to handle money flow. - [DataMember(Name="currencyBankAccount", EmitDefaultValue=true)] + [DataMember(Name="currencyBankAccount", EmitDefaultValue=false)] public CurrencyBankAccount CurrencyBankAccount { get; private set; } /// /// Gets or Sets ExternalId /// - [DataMember(Name="externalId", EmitDefaultValue=true)] + [DataMember(Name="externalId", EmitDefaultValue=false)] public string ExternalId { get; private set; } @@ -77,73 +77,73 @@ public BankTransaction() /// The ID is the primary key of the entity. The ID identifies the entity uniquely. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [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 linked space id holds the ID of the space to which the entity belongs to. - [DataMember(Name="linkedSpaceId", EmitDefaultValue=true)] + [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 planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. - [DataMember(Name="plannedPurgeDate", EmitDefaultValue=true)] + [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } /// /// The posting amount indicates the amount including adjustments. /// /// The posting amount indicates the amount including adjustments. - [DataMember(Name="postingAmount", EmitDefaultValue=true)] + [DataMember(Name="postingAmount", EmitDefaultValue=false)] public decimal? PostingAmount { get; private set; } /// /// Gets or Sets Reference /// - [DataMember(Name="reference", EmitDefaultValue=true)] + [DataMember(Name="reference", EmitDefaultValue=false)] public string Reference { get; private set; } /// /// Gets or Sets Source /// - [DataMember(Name="source", EmitDefaultValue=true)] + [DataMember(Name="source", EmitDefaultValue=false)] public long? Source { get; private set; } /// /// Gets or Sets TotalAdjustmentAmountIncludingTax /// - [DataMember(Name="totalAdjustmentAmountIncludingTax", EmitDefaultValue=true)] + [DataMember(Name="totalAdjustmentAmountIncludingTax", EmitDefaultValue=false)] public decimal? TotalAdjustmentAmountIncludingTax { get; private set; } /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=true)] + [DataMember(Name="type", EmitDefaultValue=false)] public long? Type { get; private set; } /// /// Gets or Sets ValueAmount /// - [DataMember(Name="valueAmount", EmitDefaultValue=true)] + [DataMember(Name="valueAmount", EmitDefaultValue=false)] public decimal? ValueAmount { get; private set; } /// /// The value date describes the date the amount is effective on the account. /// /// The value date describes the date the amount is effective on the account. - [DataMember(Name="valueDate", EmitDefaultValue=true)] + [DataMember(Name="valueDate", EmitDefaultValue=false)] 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 number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [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 2a4de6d..ee3c34c 100644 --- a/src/Wallee/Model/BankTransactionSource.cs +++ b/src/Wallee/Model/BankTransactionSource.cs @@ -31,20 +31,20 @@ public BankTransactionSource() /// /// Gets or Sets Description /// - [DataMember(Name="description", EmitDefaultValue=true)] + [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. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=true)] + [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 bcfbd27..76c7370 100644 --- a/src/Wallee/Model/BankTransactionType.cs +++ b/src/Wallee/Model/BankTransactionType.cs @@ -31,20 +31,20 @@ public BankTransactionType() /// /// Gets or Sets Description /// - [DataMember(Name="description", EmitDefaultValue=true)] + [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. /// /// The ID is the primary key of the entity. The ID identifies the entity uniquely. - [DataMember(Name="id", EmitDefaultValue=true)] + [DataMember(Name="id", EmitDefaultValue=false)] public long? Id { get; private set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=true)] + [DataMember(Name="name", EmitDefaultValue=false)] public Dictionary Name { get; private set; } /// diff --git a/src/Wallee/Model/CardCryptogram.cs b/src/Wallee/Model/CardCryptogram.cs index 4f06d2e..85d0fb7 100644 --- a/src/Wallee/Model/CardCryptogram.cs +++ b/src/Wallee/Model/CardCryptogram.cs @@ -23,7 +23,7 @@ public partial class CardCryptogram : IEquatable /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=true)] + [DataMember(Name="type", EmitDefaultValue=false)] public CardCryptogramType? Type { get; set; } /// /// Initializes a new instance of the class. @@ -37,7 +37,7 @@ public CardCryptogram() /// /// Gets or Sets Value /// - [DataMember(Name="value", EmitDefaultValue=true)] + [DataMember(Name="value", EmitDefaultValue=false)] public string Value { get; private set; } /// diff --git a/src/Wallee/Model/CardCryptogramCreate.cs b/src/Wallee/Model/CardCryptogramCreate.cs index a82672f..151acf1 100644 --- a/src/Wallee/Model/CardCryptogramCreate.cs +++ b/src/Wallee/Model/CardCryptogramCreate.cs @@ -55,7 +55,7 @@ public CardCryptogramCreate(CardCryptogramType type, string value) /// /// Gets or Sets Value /// - [DataMember(Name="value", EmitDefaultValue=true)] + [DataMember(Name="value", EmitDefaultValue=false)] public string Value { get; set; } /// diff --git a/src/Wallee/Model/CardholderAuthentication.cs b/src/Wallee/Model/CardholderAuthentication.cs index f1dc389..8204969 100644 --- a/src/Wallee/Model/CardholderAuthentication.cs +++ b/src/Wallee/Model/CardholderAuthentication.cs @@ -23,12 +23,12 @@ public partial class CardholderAuthentication : IEquatable /// Gets or Sets AuthenticationResponse /// - [DataMember(Name="authenticationResponse", EmitDefaultValue=true)] + [DataMember(Name="authenticationResponse", EmitDefaultValue=false)] public CardAuthenticationResponse? AuthenticationResponse { get; set; } /// /// Gets or Sets Version /// - [DataMember(Name="version", EmitDefaultValue=true)] + [DataMember(Name="version", EmitDefaultValue=false)] public CardAuthenticationVersion? Version { get; set; } /// /// Initializes a new instance of the class. @@ -42,7 +42,7 @@ public CardholderAuthentication() /// The authentication identifier as assigned by authentication system (e.g. XID or DSTransactionID). /// /// The authentication identifier as assigned by authentication system (e.g. XID or DSTransactionID). - [DataMember(Name="authenticationIdentifier", EmitDefaultValue=true)] + [DataMember(Name="authenticationIdentifier", EmitDefaultValue=false)] public string AuthenticationIdentifier { get; private set; } @@ -50,14 +50,14 @@ public CardholderAuthentication() /// The cardholder authentication value. Also known as Cardholder Authentication Verification Value (CAVV). /// /// The cardholder authentication value. Also known as Cardholder Authentication Verification Value (CAVV). - [DataMember(Name="authenticationValue", EmitDefaultValue=true)] + [DataMember(Name="authenticationValue", EmitDefaultValue=false)] public string AuthenticationValue { get; private set; } /// /// The Electronic Commerce Indicator (ECI) value. The ECI is returned by authentication system and indicates the outcome/status of authentication. /// /// The Electronic Commerce Indicator (ECI) value. The ECI is returned by authentication system and indicates the outcome/status of authentication. - [DataMember(Name="electronicCommerceIndicator", EmitDefaultValue=true)] + [DataMember(Name="electronicCommerceIndicator", EmitDefaultValue=false)] public string ElectronicCommerceIndicator { get; private set; } diff --git a/src/Wallee/Model/CardholderAuthenticationCreate.cs b/src/Wallee/Model/CardholderAuthenticationCreate.cs index 6f76dc4..630772d 100644 --- a/src/Wallee/Model/CardholderAuthenticationCreate.cs +++ b/src/Wallee/Model/CardholderAuthenticationCreate.cs @@ -60,7 +60,7 @@ public CardholderAuthenticationCreate(CardAuthenticationResponse authenticationR /// The authentication identifier as assigned by authentication system (e.g. XID or DSTransactionID). /// /// The authentication identifier as assigned by authentication system (e.g. XID or DSTransactionID). - [DataMember(Name="authenticationIdentifier", EmitDefaultValue=true)] + [DataMember(Name="authenticationIdentifier", EmitDefaultValue=false)] public string AuthenticationIdentifier { get; set; } @@ -68,14 +68,14 @@ public CardholderAuthenticationCreate(CardAuthenticationResponse authenticationR /// The cardholder authentication value. Also known as Cardholder Authentication Verification Value (CAVV). /// /// The cardholder authentication value. Also known as Cardholder Authentication Verification Value (CAVV). - [DataMember(Name="authenticationValue", EmitDefaultValue=true)] + [DataMember(Name="authenticationValue", EmitDefaultValue=false)] public string AuthenticationValue { get; set; } /// /// The Electronic Commerce Indicator (ECI) value. The ECI is returned by authentication system and indicates the outcome/status of authentication. /// /// The Electronic Commerce Indicator (ECI) value. The ECI is returned by authentication system and indicates the outcome/status of authentication. - [DataMember(Name="electronicCommerceIndicator", EmitDefaultValue=true)] + [DataMember(Name="electronicCommerceIndicator", EmitDefaultValue=false)] public string ElectronicCommerceIndicator { get; set; } diff --git a/src/Wallee/Model/Charge.cs b/src/Wallee/Model/Charge.cs index 8ebe8ff..688942d 100644 --- a/src/Wallee/Model/Charge.cs +++ b/src/Wallee/Model/Charge.cs @@ -35,76 +35,76 @@ public Charge() /// The date on which the charge was created on. /// /// The date on which the charge was created on. - [DataMember(Name="createdOn", EmitDefaultValue=true)] + [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } /// /// Gets or Sets FailureReason /// - [DataMember(Name="failureReason", EmitDefaultValue=true)] + [DataMember(Name="failureReason", EmitDefaultValue=false)] public FailureReason FailureReason { get; private set; } /// /// Gets or Sets Language /// - [DataMember(Name="language", EmitDefaultValue=true)] + [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 planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. - [DataMember(Name="plannedPurgeDate", EmitDefaultValue=true)] + [DataMember(Name="plannedPurgeDate", EmitDefaultValue=false)] public DateTime? PlannedPurgeDate { get; private set; } /// /// Gets or Sets SpaceViewId /// - [DataMember(Name="spaceViewId", EmitDefaultValue=true)] + [DataMember(Name="spaceViewId", EmitDefaultValue=false)] public long? SpaceViewId { get; private set; } /// /// Gets or Sets State /// - [DataMember(Name="state", EmitDefaultValue=true)] + [DataMember(Name="state", EmitDefaultValue=false)] public ChargeState State { get; private set; } /// /// Gets or Sets TimeZone /// - [DataMember(Name="timeZone", EmitDefaultValue=true)] + [DataMember(Name="timeZone", EmitDefaultValue=false)] public string TimeZone { get; private set; } /// /// Gets or Sets TimeoutOn /// - [DataMember(Name="timeoutOn", EmitDefaultValue=true)] + [DataMember(Name="timeoutOn", EmitDefaultValue=false)] public DateTime? TimeoutOn { get; private set; } /// /// Gets or Sets Transaction /// - [DataMember(Name="transaction", EmitDefaultValue=true)] + [DataMember(Name="transaction", EmitDefaultValue=false)] public Transaction Transaction { get; private set; } /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=true)] + [DataMember(Name="type", EmitDefaultValue=false)] public ChargeType Type { get; private set; } /// /// The failure message describes for an end user why the charge is failed in the language of the user. This is only provided when the charge is marked as failed. /// /// The failure message describes for an end user why the charge is failed in the language of the user. This is only provided when the charge is marked as failed. - [DataMember(Name="userFailureMessage", EmitDefaultValue=true)] + [DataMember(Name="userFailureMessage", EmitDefaultValue=false)] 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 number indicates the version of the entity. The version is incremented whenever the entity is changed. - [DataMember(Name="version", EmitDefaultValue=true)] + [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 fed7831..e6b70ce 100644 --- a/src/Wallee/Model/ChargeAttempt.cs +++ b/src/Wallee/Model/ChargeAttempt.cs @@ -34,149 +34,149 @@ public ChargeAttempt() /// /// Gets or Sets Charge /// - [DataMember(Name="charge", EmitDefaultValue=true)] + [DataMember(Name="charge", EmitDefaultValue=false)] public Charge Charge { get; private set; } /// /// Gets or Sets CompletionBehavior /// - [DataMember(Name="completionBehavior", EmitDefaultValue=true)] + [DataMember(Name="completionBehavior", EmitDefaultValue=false)] public TransactionCompletionBehavior CompletionBehavior { get; private set; } /// /// Gets or Sets ConnectorConfiguration /// - [DataMember(Name="connectorConfiguration", EmitDefaultValue=true)] + [DataMember(Name="connectorConfiguration", EmitDefaultValue=false)] public PaymentConnectorConfiguration ConnectorConfiguration { get; private set; } /// /// The created on date indicates the date on which the entity was stored into the database. /// /// The created on date indicates the date on which the entity was stored into the database. - [DataMember(Name="createdOn", EmitDefaultValue=true)] + [DataMember(Name="createdOn", EmitDefaultValue=false)] public DateTime? CreatedOn { get; private set; } /// /// Gets or Sets Environment /// - [DataMember(Name="environment", EmitDefaultValue=true)] + [DataMember(Name="environment", EmitDefaultValue=false)] public ChargeAttemptEnvironment Environment { get; private set; } /// /// Gets or Sets FailedOn /// - [DataMember(Name="failedOn", EmitDefaultValue=true)] + [DataMember(Name="failedOn", EmitDefaultValue=false)] public DateTime? FailedOn { get; private set; } /// /// Gets or Sets FailureReason /// - [DataMember(Name="failureReason", EmitDefaultValue=true)] + [DataMember(Name="failureReason", EmitDefaultValue=false)] public FailureReason FailureReason { get; private set; } /// /// Gets or Sets InitializingTokenVersion /// - [DataMember(Name="initializingTokenVersion", EmitDefaultValue=true)] + [DataMember(Name="initializingTokenVersion", EmitDefaultValue=false)] public bool? InitializingTokenVersion { get; private set; } /// /// Gets or Sets Invocation /// - [DataMember(Name="invocation", EmitDefaultValue=true)] + [DataMember(Name="invocation", EmitDefaultValue=false)] public ConnectorInvocation Invocation { get; private set; } /// /// Gets or Sets Labels /// - [DataMember(Name="labels", EmitDefaultValue=true)] + [DataMember(Name="labels", EmitDefaultValue=false)] public List