Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahbeshi committed Jun 26, 2024
1 parent ee1f4b7 commit 9cefaf6
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6153,7 +6153,7 @@ public enum RequestStatusType
public class QueryTaxpayerResponseType : BasicOnlineInvoiceResponseType
{

private DateTime infoDateField;
private DateTime? infoDateField;

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (windows-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (windows-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (windows-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (ubuntu-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (ubuntu-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

Check warning on line 6156 in src/Hungary/Mews.Fiscalizations.Hungary/Dto/Invoice.cs

View workflow job for this annotation

GitHub Actions / build-and-test-all (ubuntu-latest)

The field 'QueryTaxpayerResponseType.infoDateField' is never used

private bool infoDateFieldSpecified;

Expand All @@ -6163,17 +6163,14 @@ public class QueryTaxpayerResponseType : BasicOnlineInvoiceResponseType

private TaxpayerDataType taxpayerDataField;

/// <remarks/>
public DateTime infoDate
[XmlIgnore]
public DateTime? infoDate { get; set; }

[XmlElement("infoDate")]
public string InfoDateString
{
get
{
return infoDateField;
}
set
{
infoDateField = value;
}
get => infoDate?.ToString();
set => infoDate = !string.IsNullOrEmpty(value) ? DateTime.Parse(value) : null;
}

/// <remarks/>
Expand Down

0 comments on commit 9cefaf6

Please sign in to comment.