Skip to content

Commit

Permalink
Relaxed the foreign customer validation - spanish SII
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahbeshi committed Jul 3, 2024
1 parent be9bada commit 2e9276e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public ForeignCustomer(Name name, ResidenceCountryIdentificatorType identificati
IdentificatorType = Check.IsNotNull(identificatiorType, nameof(identificatiorType));
IdNumber = Check.IsNotNull(idNumber, nameof(idNumber));
Country = Check.IsNotNull(country, nameof(country));
Check.Condition(!Country.Equals(Countries.Spain), "Foreign customer cannot be Spanish.");
}

public Name Name { get; }
Expand Down

0 comments on commit 2e9276e

Please sign in to comment.