Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AccountSettingsPayoutsScheduleOptions.MonthlyAnchor type #2746

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Generated changes
richardm-stripe committed Aug 9, 2023
commit 382e121a1d0209e938f0da4e36bfc06012d151f1
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ public class AccountSettingsPayoutsScheduleOptions : INestedOptions
/// is <c>monthly</c>.
/// </summary>
[JsonProperty("monthly_anchor")]
public string MonthlyAnchor { get; set; }
public long? MonthlyAnchor { get; set; }

/// <summary>
/// The day of the week when available funds are paid out, specified as <c>monday</c>,
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@ public class ConfigurationLoginPageOptions : INestedOptions
/// Set to <c>true</c> to generate a shareable URL <a
/// href="https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url"><c>login_page.url</c></a>
/// that will take your customers to a hosted login page for the customer portal.
///
/// Set to <c>false</c> to deactivate the <c>login_page.url</c>.
/// </summary>
[JsonProperty("enabled")]
public bool? Enabled { get; set; }
7 changes: 4 additions & 3 deletions src/Stripe.net/Services/Persons/PersonRelationshipOptions.cs
Original file line number Diff line number Diff line change
@@ -14,14 +14,15 @@ public class PersonRelationshipOptions : INestedOptions
public bool? Director { get; set; }

/// <summary>
/// Whether the person has significant responsibility to control, manage, or direct the
/// organization.
/// A filter on the list of people returned based on whether these people are executives of
/// the account's company.
/// </summary>
[JsonProperty("executive")]
public bool? Executive { get; set; }

/// <summary>
/// Whether the person is an owner of the account’s legal entity.
/// A filter on the list of people returned based on whether these people are owners of the
/// account's company.
/// </summary>
[JsonProperty("owner")]
public bool? Owner { get; set; }
Original file line number Diff line number Diff line change
@@ -49,7 +49,8 @@ public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata
public string Plan { get; set; }

/// <summary>
/// The ID of the price object.
/// The ID of the price object. When changing a subscription item's price, <c>quantity</c>
/// is set to 1 unless a <c>quantity</c> parameter is provided.
/// </summary>
[JsonProperty("price")]
public string Price { get; set; }