-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c5f5a5
commit 4946457
Showing
10 changed files
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/Stripe.net/Entities/Accounts/AccountSettingsCardIssuing.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSettingsCardIssuing : StripeEntity<AccountSettingsCardIssuing> | ||
{ | ||
[JsonProperty("tos_acceptance")] | ||
public AccountSettingsCardIssuingTosAcceptance TosAcceptance { get; set; } | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Stripe.net/Entities/Accounts/AccountSettingsCardIssuingTosAcceptance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSettingsCardIssuingTosAcceptance : StripeEntity<AccountSettingsCardIssuingTosAcceptance> | ||
{ | ||
/// <summary> | ||
/// The Unix timestamp marking when the account representative accepted the service | ||
/// agreement. | ||
/// </summary> | ||
[JsonProperty("date")] | ||
public long? Date { get; set; } | ||
|
||
/// <summary> | ||
/// The IP address from which the account representative accepted the service agreement. | ||
/// </summary> | ||
[JsonProperty("ip")] | ||
public string Ip { get; set; } | ||
|
||
/// <summary> | ||
/// The user agent of the browser from which the account representative accepted the service | ||
/// agreement. | ||
/// </summary> | ||
[JsonProperty("user_agent")] | ||
public string UserAgent { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/Stripe.net/Services/Accounts/AccountSettingsCardIssuingOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class AccountSettingsCardIssuingOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Details on the account's acceptance of the <a | ||
/// href="stripe.com/docs/issuing/connect/tos_acceptance">Stripe Issuing Terms and | ||
/// Disclosures</a>. | ||
/// </summary> | ||
[JsonProperty("tos_acceptance")] | ||
public AccountSettingsCardIssuingTosAcceptanceOptions TosAcceptance { get; set; } | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
src/Stripe.net/Services/Accounts/AccountSettingsCardIssuingTosAcceptanceOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using System; | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class AccountSettingsCardIssuingTosAcceptanceOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// The Unix timestamp marking when the account representative accepted the service | ||
/// agreement. | ||
/// </summary> | ||
[JsonProperty("date")] | ||
[JsonConverter(typeof(UnixDateTimeConverter))] | ||
public DateTime? Date { get; set; } | ||
|
||
/// <summary> | ||
/// The IP address from which the account representative accepted the service agreement. | ||
/// </summary> | ||
[JsonProperty("ip")] | ||
public string Ip { get; set; } | ||
|
||
/// <summary> | ||
/// The user agent of the browser from which the account representative accepted the service | ||
/// agreement. | ||
/// </summary> | ||
[JsonProperty("user_agent")] | ||
public string UserAgent { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters