Skip to content

Commit 525eb4a

Browse files
Added documents in onboard sub-entity operation
1 parent 113610b commit 525eb4a

5 files changed

+35
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System.Runtime.Serialization;
2+
3+
namespace Checkout.Accounts
4+
{
5+
public enum CompanyVerificationType
6+
{
7+
[EnumMember(Value = "incorporation_document")] IncorporationDocument,
8+
9+
[EnumMember(Value = "articles_of_association")] ArticlesOfAssociation
10+
}
11+
}

src/CheckoutSdk/Accounts/OnboardEntityRequest.cs

+2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ public class OnboardEntityRequest
1111
public Company Company { get; set; }
1212

1313
public Individual Individual { get; set; }
14+
15+
public OnboardSubEntityDocuments Documents { get; set; }
1416
}
1517
}

src/CheckoutSdk/Accounts/OnboardEntityResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ public class OnboardEntityResponse : Resource
99

1010
public string Reference { get; set; }
1111

12-
public Capabilities Capabilities { get; set; }
13-
1412
public OnboardingStatus? Status { get; set; }
13+
14+
public Capabilities Capabilities { get; set; }
1515

1616
public IList<RequirementsDue> RequirementsDue { get; set; }
1717
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace Checkout.Accounts
2+
{
3+
public class OnboardSubEntityDocuments
4+
{
5+
public Document IdentityVerification { get; set; }
6+
7+
public CompanyVerificationType? CompanyVerification { get; set; }
8+
9+
public TaxVerificationType? TaxVerification { get; set; }
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System.Runtime.Serialization;
2+
3+
namespace Checkout.Accounts
4+
{
5+
public enum TaxVerificationType
6+
{
7+
[EnumMember(Value = "ein_letter")] EinLetter
8+
}
9+
}

0 commit comments

Comments
 (0)