Skip to content

Commit 5d40458

Browse files
committed
Revert changes to FinancialReport
1 parent 9976bdb commit 5d40458

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Adyen/Model/LegalEntityManagement/FinancialReport.cs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,21 @@ namespace Adyen.Model.LegalEntityManagement
3232
[DataContract(Name = "FinancialReport")]
3333
public partial class FinancialReport : IEquatable<FinancialReport>, IValidatableObject
3434
{
35-
/// <summary>
36-
/// Initializes a new instance of the <see cref="FinancialReport" /> class.
37-
/// </summary>
38-
[JsonConstructorAttribute]
39-
protected FinancialReport() { }
4035
/// <summary>
4136
/// Initializes a new instance of the <see cref="FinancialReport" /> class.
4237
/// </summary>
4338
/// <param name="annualTurnover">The annual turnover of the business..</param>
4439
/// <param name="balanceSheetTotal">The balance sheet total of the business..</param>
45-
/// <param name="currencyOfFinancialData">The currency used for the annual turnover, balance sheet total, and net assets..</param>
46-
/// <param name="dateOfFinancialData">The date the financial data were provided, in YYYY-MM-DD format. (required).</param>
40+
/// <param name="currencyOfFinancialData">The currency used for the net assets and balance sheet total..</param>
41+
/// <param name="dateOfFinancialData">The date the financial data were provided, in YYYY-MM-DD format..</param>
4742
/// <param name="employeeCount">The number of employees of the business..</param>
4843
/// <param name="netAssets">The net assets of the business..</param>
4944
public FinancialReport(string annualTurnover = default(string), string balanceSheetTotal = default(string), string currencyOfFinancialData = default(string), string dateOfFinancialData = default(string), string employeeCount = default(string), string netAssets = default(string))
5045
{
51-
this.DateOfFinancialData = dateOfFinancialData;
5246
this.AnnualTurnover = annualTurnover;
5347
this.BalanceSheetTotal = balanceSheetTotal;
5448
this.CurrencyOfFinancialData = currencyOfFinancialData;
49+
this.DateOfFinancialData = dateOfFinancialData;
5550
this.EmployeeCount = employeeCount;
5651
this.NetAssets = netAssets;
5752
}
@@ -71,17 +66,17 @@ protected FinancialReport() { }
7166
public string BalanceSheetTotal { get; set; }
7267

7368
/// <summary>
74-
/// The currency used for the annual turnover, balance sheet total, and net assets.
69+
/// The currency used for the net assets and balance sheet total.
7570
/// </summary>
76-
/// <value>The currency used for the annual turnover, balance sheet total, and net assets.</value>
71+
/// <value>The currency used for the net assets and balance sheet total.</value>
7772
[DataMember(Name = "currencyOfFinancialData", EmitDefaultValue = false)]
7873
public string CurrencyOfFinancialData { get; set; }
7974

8075
/// <summary>
8176
/// The date the financial data were provided, in YYYY-MM-DD format.
8277
/// </summary>
8378
/// <value>The date the financial data were provided, in YYYY-MM-DD format.</value>
84-
[DataMember(Name = "dateOfFinancialData", IsRequired = false, EmitDefaultValue = false)]
79+
[DataMember(Name = "dateOfFinancialData", EmitDefaultValue = false)]
8580
public string DateOfFinancialData { get; set; }
8681

8782
/// <summary>
@@ -226,4 +221,4 @@ public override int GetHashCode()
226221
}
227222
}
228223

229-
}
224+
}

0 commit comments

Comments
 (0)