Skip to content

Commit

Permalink
Add missing document types
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-rodriguez-cko committed Jan 10, 2025
1 parent efeecfd commit d016e39
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class Documents

public TaxVerification TaxVerification { get; set; }

// EEA Sole Trader (3.0) Representatives

public ProofOfResidentialAddress ProofOfResidentialAddress { get; set; }

public ProofOfRegistration ProofOfRegistration { get; set; }

// Unknown

public FinancialVerification FinancialVerification { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Checkout.Accounts.Entities.Common.Documents
{
public class ProofOfRegistration
{
public ProofOfRegistrationType? Type { get; set; }

public string Front { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Runtime.Serialization;

namespace Checkout.Accounts.Entities.Common.Documents
{
public enum ProofOfRegistrationType
{
[EnumMember(Value = "extract_from_trade_register")] ExtractFromTradeRegister,
[EnumMember(Value = "other")] Other
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Checkout.Accounts.Entities.Common.Documents
{
public class ProofOfResidentialAddress
{
public ProofOfResidentialAddressType? Type { get; set; }

public string Front { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using System.Runtime.Serialization;

namespace Checkout.Accounts.Entities.Common.Documents
{
public enum ProofOfResidentialAddressType
{
[EnumMember(Value = "proof_of_address")] ProofOfAddress
}
}

0 comments on commit d016e39

Please sign in to comment.