Skip to content

Commit 3fbb571

Browse files
Add missing document types
1 parent dfb419d commit 3fbb571

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

src/CheckoutSdk/Accounts/Entities/Common/Documents/Documents.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ public class Documents
3434

3535
public TaxVerification TaxVerification { get; set; }
3636

37+
// EEA Sole Trader (3.0) Representatives
38+
39+
public ProofOfResidentialAddress ProofOfResidentialAddress { get; set; }
40+
41+
public ProofOfRegistration ProofOfRegistration { get; set; }
42+
3743
// Unknown
3844

3945
public FinancialVerification FinancialVerification { get; set; }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace Checkout.Accounts.Entities.Common.Documents
2+
{
3+
public class ProofOfRegistration
4+
{
5+
public ProofOfRegistrationType? Type { get; set; }
6+
7+
public string Front { get; set; }
8+
}
9+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Runtime.Serialization;
2+
3+
namespace Checkout.Accounts.Entities.Common.Documents
4+
{
5+
public enum ProofOfRegistrationType
6+
{
7+
[EnumMember(Value = "extract_from_trade_register")] ExtractFromTradeRegister,
8+
[EnumMember(Value = "other")] Other
9+
}
10+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace Checkout.Accounts.Entities.Common.Documents
2+
{
3+
public class ProofOfResidentialAddress
4+
{
5+
public ProofOfResidentialAddressType? Type { get; set; }
6+
7+
public string Front { get; set; }
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System.Runtime.Serialization;
2+
3+
namespace Checkout.Accounts.Entities.Common.Documents
4+
{
5+
public enum ProofOfResidentialAddressType
6+
{
7+
[EnumMember(Value = "proof_of_address")] ProofOfAddress
8+
}
9+
}

0 commit comments

Comments
 (0)