Skip to content

Commit

Permalink
Merge pull request #2120 from stripe/remi-person-political-exposure
Browse files Browse the repository at this point in the history
Add support for `PoliticalExposure` on `Person`
  • Loading branch information
remi-stripe authored Jul 18, 2020
2 parents 2a28d8c + ccb9986 commit 9f7c8c2
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Stripe.net/Entities/Persons/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ public class Person : StripeEntity<Person>, IHasId, IHasObject, IHasMetadata
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
/// </summary>
[JsonProperty("political_exposure")]
public string PoliticalExposure { get; set; }

/// <summary>
/// Describes the person’s relationship to the account.
/// </summary>
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Persons/PersonCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ public class PersonCreateOptions : BaseOptions, IHasMetadata
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
/// </summary>
[JsonProperty("political_exposure")]
public string PoliticalExposure { get; set; }

/// <summary>
/// The relationship that this person has with the account’s legal entity.
/// </summary>
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Persons/PersonUpdateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ public class PersonUpdateOptions : BaseOptions, IHasMetadata
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
/// </summary>
[JsonProperty("political_exposure")]
public string PoliticalExposure { get; set; }

/// <summary>
/// The relationship that this person has with the account’s legal entity.
/// </summary>
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ public class TokenPersonOptions : BaseOptions, IHasMetadata
[JsonProperty("phone")]
public string Phone { get; set; }

/// <summary>
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
/// </summary>
[JsonProperty("political_exposure")]
public string PoliticalExposure { get; set; }

/// <summary>
/// The relationship that this person has with the account’s legal entity.
/// </summary>
Expand Down

0 comments on commit 9f7c8c2

Please sign in to comment.