diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57324657fa..0ca1d600a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,7 @@ jobs: with: dotnet-version: ${{ needs.prepare-dotnet-versions.outputs.latest-dotnet-version }} - name: Publish NuGet packages to NuGet - run: dotnet nuget push nuget/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source "nuget.org" + run: dotnet nuget push nuget/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source "nuget.org" --timeout 1200 - uses: stripe/openapi/actions/notify-release@master if: always() with: diff --git a/API_VERSION b/API_VERSION index e91c9d844e..93be1cef53 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -91ef4c6abe8dcdab3a855d81aa624693a6a4da9f \ No newline at end of file +88aa59022b32620f4d66d6196e3b42d5a0f86bbb \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d1b751f30d..3defedc48d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,7 +47,6 @@ This release changes the pinned API version to `2025-11-17.clover`. * Add support for `LatestFraudWarning` on `Issuing.Card` * Add support for `Hooks` on `PaymentIntentCaptureOptions`, `PaymentIntentConfirmOptions`, `PaymentIntentCreateOptions`, `PaymentIntentIncrementAuthorizationOptions`, `PaymentIntentUpdateOptions`, and `PaymentIntent` * Add support for `MbWay` and `Twint` on `Refund.DestinationDetails` - * Add support for `Changes` on `V2.Core.Event` * Add support for snapshot events `FinancialConnectionsAccountAccountNumbersUpdated` and `FinancialConnectionsAccountUpcomingAccountNumberExpiry` with resource `FinancialConnections.Account` ## 49.2.0 - 2025-11-05 diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 927a37ae78..16739433ec 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2125 \ No newline at end of file +v2140 \ No newline at end of file diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs index 580814e02a..dad82fed98 100644 --- a/src/Stripe.net/Constants/ApiVersion.cs +++ b/src/Stripe.net/Constants/ApiVersion.cs @@ -3,6 +3,6 @@ namespace Stripe { internal class ApiVersion { - public const string Current = "2025-11-17.preview"; + public const string Current = "2025-12-15.preview"; } } \ No newline at end of file diff --git a/src/Stripe.net/Entities/AccountLinks/AccountLink.cs b/src/Stripe.net/Entities/AccountLinks/AccountLink.cs index 86581ad248..373a3ef476 100644 --- a/src/Stripe.net/Entities/AccountLinks/AccountLink.cs +++ b/src/Stripe.net/Entities/AccountLinks/AccountLink.cs @@ -13,7 +13,7 @@ namespace Stripe /// permission to access Stripe-hosted applications, such as Connect Onboarding. /// /// Related guide: Connect Onboarding. + /// href="https://docs.stripe.com/connect/custom/hosted-onboarding">Connect Onboarding. /// public class AccountLink : StripeEntity, IHasObject { diff --git a/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs b/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs index 617c764400..547199b23d 100644 --- a/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs +++ b/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs @@ -14,7 +14,7 @@ namespace Stripe /// opt to send the notices yourself. /// /// See the guide + /// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">guide /// to send notices to your connected accounts. /// public class AccountNotice : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -88,7 +88,7 @@ public class AccountNotice : StripeEntity, IHasId, IHasMetadata, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -101,7 +101,7 @@ public class AccountNotice : StripeEntity, IHasId, IHasMetadata, /// /// Reason the notice is being sent. The reason determines what copy the notice must /// contain. See the regulated + /// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">regulated /// customer notices guide. All reasons might not apply to your integration, and Stripe /// might add new reasons in the future, so we recommend an internal warning when you /// receive an unknown reason. diff --git a/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs b/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs index 2af96d8e26..ceb918b2ff 100644 --- a/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs +++ b/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs @@ -9,7 +9,7 @@ namespace Stripe public class AccountNoticeLinkedObjects : StripeEntity { /// - /// Associated Capability. + /// Associated Capability. /// [JsonProperty("capability")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class AccountNoticeLinkedObjects : StripeEntity /// Associated Credit + /// href="https://docs.stripe.com/api/issuing/credit_underwriting_record">Credit /// Underwriting Record. /// [JsonProperty("issuing_credit_underwriting_record")] @@ -29,7 +29,7 @@ public class AccountNoticeLinkedObjects : StripeEntity - /// Associated Issuing Dispute. + /// Associated Issuing Dispute. /// [JsonProperty("issuing_dispute")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSession.cs b/src/Stripe.net/Entities/AccountSessions/AccountSession.cs index 6fdf220ecd..7e71ddcdd4 100644 --- a/src/Stripe.net/Entities/AccountSessions/AccountSession.cs +++ b/src/Stripe.net/Entities/AccountSessions/AccountSession.cs @@ -17,7 +17,7 @@ namespace Stripe /// relatively quickly, and cannot be used more than once. /// /// Related guide: Connect + /// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">Connect /// embedded components. /// public class AccountSession : StripeEntity, IHasObject @@ -49,7 +49,7 @@ public class AccountSession : StripeEntity, IHasObject /// Make sure that you have TLS enabled on any page that includes the client secret. /// /// Refer to our docs to setup + /// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup /// Connect embedded components and learn about how client_secret should be /// handled. /// diff --git a/src/Stripe.net/Entities/Accounts/Account.cs b/src/Stripe.net/Entities/Accounts/Account.cs index 8160d9d387..cc8094e5db 100644 --- a/src/Stripe.net/Entities/Accounts/Account.cs +++ b/src/Stripe.net/Entities/Accounts/Account.cs @@ -206,7 +206,7 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject, public Person Individual { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Accounts/AccountCompany.cs b/src/Stripe.net/Entities/Accounts/AccountCompany.cs index a7e851cfe1..24c8a32c92 100644 --- a/src/Stripe.net/Entities/Accounts/AccountCompany.cs +++ b/src/Stripe.net/Entities/Accounts/AccountCompany.cs @@ -35,7 +35,7 @@ public class AccountCompany : StripeEntity /// /// Whether the company's directors have been provided. This Boolean will be true if /// you've manually indicated that all directors are provided via the + /// href="https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided">the /// directors_provided parameter. /// [JsonProperty("directors_provided")] @@ -57,7 +57,7 @@ public class AccountCompany : StripeEntity /// /// Whether the company's executives have been provided. This Boolean will be true if /// you've manually indicated that all executives are provided via the + /// href="https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided">the /// executives_provided parameter, or if Stripe determined that sufficient /// executives were provided. /// @@ -124,7 +124,7 @@ public class AccountCompany : StripeEntity /// /// Whether the company's owners have been provided. This Boolean will be true if /// you've manually indicated that all owners are provided via the + /// href="https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided">the /// owners_provided parameter, or if Stripe determined that sufficient owners /// were provided. Stripe determines ownership requirements using both the number of owners /// provided and their total percent ownership (calculated by adding the @@ -192,7 +192,7 @@ public class AccountCompany : StripeEntity /// available for accounts where controller.requirement_collection /// is stripe. See Business + /// href="https://docs.stripe.com/connect/identity-verification#business-structure">Business /// structure for more details. /// One of: free_zone_establishment, free_zone_llc, /// government_instrumentality, governmental_unit, diff --git a/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs b/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs index bb9248b75e..c72f08fe0f 100644 --- a/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs +++ b/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs @@ -16,10 +16,10 @@ public class AccountCompanyVerificationDocument : StripeEntity /// (ID of the File) - /// The back of a document returned by a file upload with a purpose - /// value of additional_verification. Note that additional_verification files - /// are not downloadable. + /// The back of a document returned by a file + /// upload with a purpose value of additional_verification. Note that + /// additional_verification files are not downloadable. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -33,10 +33,10 @@ public string BackId /// /// (Expanded) - /// The back of a document returned by a file upload with a purpose - /// value of additional_verification. Note that additional_verification files - /// are not downloadable. + /// The back of a document returned by a file + /// upload with a purpose value of additional_verification. Note that + /// additional_verification files are not downloadable. /// /// For more information, see the expand documentation. /// @@ -87,10 +87,10 @@ public File Back /// /// (ID of the File) - /// The front of a document returned by a file upload with a purpose - /// value of additional_verification. Note that additional_verification files - /// are not downloadable. + /// The front of a document returned by a file + /// upload with a purpose value of additional_verification. Note that + /// additional_verification files are not downloadable. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -104,10 +104,10 @@ public string FrontId /// /// (Expanded) - /// The front of a document returned by a file upload with a purpose - /// value of additional_verification. Note that additional_verification files - /// are not downloadable. + /// The front of a document returned by a file + /// upload with a purpose value of additional_verification. Note that + /// additional_verification files are not downloadable. /// /// For more information, see the expand documentation. /// diff --git a/src/Stripe.net/Entities/Accounts/AccountController.cs b/src/Stripe.net/Entities/Accounts/AccountController.cs index 5b0c774051..fefa9d3a15 100644 --- a/src/Stripe.net/Entities/Accounts/AccountController.cs +++ b/src/Stripe.net/Entities/Accounts/AccountController.cs @@ -29,7 +29,7 @@ public class AccountController : StripeEntity /// /// true if the Connect application retrieving the resource controls the account and /// can therefore exercise platform + /// href="https://docs.stripe.com/connect/platform-controls-for-standard-accounts">platform /// controls. Otherwise, this field is null. /// [JsonProperty("is_controller")] diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs index e1b42b5480..f8be29fae6 100644 --- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs +++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs @@ -12,8 +12,11 @@ namespace Stripe public class AccountFutureRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Many alternatives can list the same original_fields_due, and any + /// of these alternatives can serve as a pathway for attempting to resolve the fields again. + /// Re-providing original_fields_due also serves as a pathway for attempting to + /// resolve the fields again. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -36,7 +39,7 @@ public class AccountFutureRequirements : StripeEntity public DateTime? CurrentDeadline { get; set; } /// - /// Fields that need to be collected to keep the account enabled. If not collected by + /// Fields that need to be resolved to keep the account enabled. If not resolved by /// future_requirements[current_deadline], these fields will transition to the main /// requirements hash. /// @@ -62,8 +65,8 @@ public class AccountFutureRequirements : StripeEntity public string DisabledReason { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -82,10 +85,9 @@ public class AccountFutureRequirements : StripeEntity public List EventuallyDue { get; set; } /// - /// Fields that weren't collected by requirements.current_deadline. These fields need - /// to be collected to enable the capability on the account. New fields will never appear - /// here; future_requirements.past_due will always be a subset of - /// requirements.past_due. + /// Fields that haven't been resolved by requirements.current_deadline. These fields + /// need to be resolved to enable the capability on the account. + /// future_requirements.past_due is a subset of requirements.past_due. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -94,12 +96,11 @@ public class AccountFutureRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due or currently_due. Fields might - /// appear in eventually_due or currently_due and in - /// pending_verification if verification fails but another verification is still - /// pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs index 0cafc95438..e3d70132b1 100644 --- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class AccountFutureRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class AccountFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Accounts/AccountGroups.cs b/src/Stripe.net/Entities/Accounts/AccountGroups.cs index 5e4eb86f5b..66bdb651fc 100644 --- a/src/Stripe.net/Entities/Accounts/AccountGroups.cs +++ b/src/Stripe.net/Entities/Accounts/AccountGroups.cs @@ -11,7 +11,7 @@ public class AccountGroups : StripeEntity /// /// The group the account is in to determine their payments pricing, and null if the account /// is on customized pricing. See the Platform pricing + /// href="https://docs.stripe.com/connect/platform-pricing-tools">See the Platform pricing /// tool documentation for details. /// [JsonProperty("payments_pricing")] diff --git a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs index f2a5291693..5a2f006d36 100644 --- a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs +++ b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs @@ -12,8 +12,11 @@ namespace Stripe public class AccountRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Many alternatives can list the same original_fields_due, and any + /// of these alternatives can serve as a pathway for attempting to resolve the fields again. + /// Re-providing original_fields_due also serves as a pathway for attempting to + /// resolve the fields again. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -35,9 +38,9 @@ public class AccountRequirements : StripeEntity public DateTime? CurrentDeadline { get; set; } /// - /// Fields that need to be collected to keep the account enabled. If not collected by - /// current_deadline, these fields appear in past_due as well, and the account - /// is disabled. + /// Fields that need to be resolved to keep the account enabled. If not resolved by + /// current_deadline, these fields will appear in past_due as well, and the + /// account is disabled. /// [JsonProperty("currently_due")] #if NET6_0_OR_GREATER @@ -47,7 +50,7 @@ public class AccountRequirements : StripeEntity /// /// If the account is disabled, this enum describes why. Learn more about + /// href="https://docs.stripe.com/connect/handling-api-verification">Learn more about /// handling verification issues. /// One of: action_required.requested_capabilities, listed, other, /// platform_paused, rejected.fraud, rejected.incomplete_verification, @@ -63,8 +66,8 @@ public class AccountRequirements : StripeEntity public string DisabledReason { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -83,8 +86,8 @@ public class AccountRequirements : StripeEntity public List EventuallyDue { get; set; } /// - /// Fields that weren't collected by current_deadline. These fields need to be - /// collected to enable the account. + /// Fields that haven't been resolved by current_deadline. These fields need to be + /// resolved to enable the account. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -93,12 +96,11 @@ public class AccountRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due, currently_due, or - /// past_due. Fields might appear in eventually_due, currently_due, or - /// past_due and in pending_verification if verification fails but another - /// verification is still pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs b/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs index 1a342f531d..34370f3eab 100644 --- a/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class AccountRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class AccountRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs index 5cac46bc9a..4d5498f7a4 100644 --- a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs +++ b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs @@ -22,7 +22,7 @@ public class AccountRiskControls : StripeEntity /// /// Represents the rejected reason of the account. Empty if account is not rejected, or - /// rejected by Stripe. Please see this page for + /// rejected by Stripe. Please see this page for /// more details. /// One of: credit, fraud, fraud_no_intent_to_fulfill, /// fraud_other, fraud_payment_method_casher, diff --git a/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs b/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs index f1665caa38..d6b63c5c9a 100644 --- a/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs +++ b/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs @@ -15,7 +15,7 @@ namespace Stripe /// account from which the fee was originally collected. /// /// Related guide: Refunding + /// href="https://docs.stripe.com/connect/destination-charges#refunding-app-fee">Refunding /// application fees. /// #if NET6_0_OR_GREATER @@ -155,7 +155,7 @@ public ApplicationFee Fee #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Apps/Secrets/Secret.cs b/src/Stripe.net/Entities/Apps/Secrets/Secret.cs index a9120c282b..4e2b53a939 100644 --- a/src/Stripe.net/Entities/Apps/Secrets/Secret.cs +++ b/src/Stripe.net/Entities/Apps/Secrets/Secret.cs @@ -24,7 +24,7 @@ namespace Stripe.Apps /// different users might have different permissions. /// /// Related guide: Store data + /// href="https://docs.stripe.com/stripe-apps/store-auth-data-custom-objects">Store data /// between page reloads. /// public class Secret : StripeEntity, IHasId, IHasObject diff --git a/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs b/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs index 6923db6a27..ecc6b375d5 100644 --- a/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs +++ b/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs @@ -24,7 +24,7 @@ public class BalanceSettingsPaymentsPayouts : StripeEntity /// Details on when funds from charges are available, and when they are paid out to an /// external account. See our Setting Bank + /// href="https://docs.stripe.com/connect/bank-transfers#payout-information">Setting Bank /// and Debit Card Payouts documentation for details. /// [JsonProperty("schedule")] diff --git a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs index b99409bb92..affa9ba51e 100644 --- a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs +++ b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs @@ -14,7 +14,7 @@ namespace Stripe /// them for every type of transaction that enters or leaves your Stripe account balance. /// /// Related guide: Balance transaction + /// href="https://docs.stripe.com/reports/balance-transaction-types">Balance transaction /// types. /// #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Balances/Balance.cs b/src/Stripe.net/Entities/Balances/Balance.cs index d1d17d87f8..6f151e7335 100644 --- a/src/Stripe.net/Entities/Balances/Balance.cs +++ b/src/Stripe.net/Entities/Balances/Balance.cs @@ -13,9 +13,9 @@ namespace Stripe /// /// The top-level available and pending comprise your "payments balance.". /// - /// Related guide: Balances and + /// Related guide: Balances and /// settlement time, Understanding Connect account + /// href="https://docs.stripe.com/connect/account-balances">Understanding Connect account /// balances. /// public class Balance : StripeEntity, IHasObject @@ -31,8 +31,8 @@ public class Balance : StripeEntity, IHasObject /// /// Available funds that you can transfer or pay out automatically by Stripe or explicitly - /// through the Transfers API or Payouts API. You can find the available + /// through the Transfers API or Payouts API. You can find the available /// balance for each currency and payment type in the source_types property. /// [JsonProperty("available")] diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs index 27bb0dec24..d3515b571c 100644 --- a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs +++ b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs @@ -232,7 +232,7 @@ public Customer Customer /// /// Information about the upcoming new + /// href="https://docs.stripe.com/connect/custom-accounts/future-requirements">upcoming new /// requirements for the bank account, including what information needs to be collected, /// and by when. /// @@ -252,7 +252,7 @@ public Customer Customer public string Last4 { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs b/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs index 38eae8556d..e96dd64880 100644 --- a/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs +++ b/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs @@ -10,8 +10,8 @@ namespace Stripe public class BankAccountFutureRequirements : StripeEntity { /// - /// Fields that need to be collected to keep the external account enabled. If not collected - /// by current_deadline, these fields appear in past_due as well, and the + /// Fields that need to be resolved to keep the external account enabled. If not resolved by + /// current_deadline, these fields will appear in past_due as well, and the /// account is disabled. /// [JsonProperty("currently_due")] @@ -21,8 +21,8 @@ public class BankAccountFutureRequirements : StripeEntity CurrentlyDue { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -31,8 +31,8 @@ public class BankAccountFutureRequirements : StripeEntity Errors { get; set; } /// - /// Fields that weren't collected by current_deadline. These fields need to be - /// collected to enable the external account. + /// Fields that haven't been resolved by current_deadline. These fields need to be + /// resolved to enable the external account. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -41,12 +41,11 @@ public class BankAccountFutureRequirements : StripeEntity PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due, currently_due, or - /// past_due. Fields might appear in eventually_due, currently_due, or - /// past_due and in pending_verification if verification fails but another - /// verification is still pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs b/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs index 4399b335fa..3916703acc 100644 --- a/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs +++ b/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs @@ -10,8 +10,8 @@ namespace Stripe public class BankAccountRequirements : StripeEntity { /// - /// Fields that need to be collected to keep the external account enabled. If not collected - /// by current_deadline, these fields appear in past_due as well, and the + /// Fields that need to be resolved to keep the external account enabled. If not resolved by + /// current_deadline, these fields will appear in past_due as well, and the /// account is disabled. /// [JsonProperty("currently_due")] @@ -21,8 +21,8 @@ public class BankAccountRequirements : StripeEntity public List CurrentlyDue { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -31,8 +31,8 @@ public class BankAccountRequirements : StripeEntity public List Errors { get; set; } /// - /// Fields that weren't collected by current_deadline. These fields need to be - /// collected to enable the external account. + /// Fields that haven't been resolved by current_deadline. These fields need to be + /// resolved to enable the external account. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -41,12 +41,11 @@ public class BankAccountRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due, currently_due, or - /// past_due. Fields might appear in eventually_due, currently_due, or - /// past_due and in pending_verification if verification fails but another - /// verification is still pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Billing/Alerts/Alert.cs b/src/Stripe.net/Entities/Billing/Alerts/Alert.cs index 79dfe66d02..d95d75418e 100644 --- a/src/Stripe.net/Entities/Billing/Alerts/Alert.cs +++ b/src/Stripe.net/Entities/Billing/Alerts/Alert.cs @@ -71,7 +71,7 @@ public class Alert : StripeEntity, IHasId, IHasObject /// /// Encapsulates configuration of the alert to monitor usage on a specific Billing Meter. + /// href="https://docs.stripe.com/api/billing/meter">Billing Meter. /// [JsonProperty("usage_threshold")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs index d9d257b793..555b33a82a 100644 --- a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs +++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs @@ -116,7 +116,7 @@ public Customer Customer #endregion /// - /// ID of the account receiving the billing credits. + /// ID of the account representing the customer receiving the billing credits. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -158,7 +158,7 @@ public Customer Customer public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs index b4ea7a80dd..ae25719700 100644 --- a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs +++ b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs @@ -70,7 +70,7 @@ public class MeterEvent : StripeEntity, IHasObject /// customer_mapping.event_payload_key (default is stripe_customer_id) and /// value_settings.event_payload_key (default is value). Read more about the /// payload. + /// href="https://docs.stripe.com/billing/subscriptions/usage-based/meters/configure#meter-configuration-attributes">payload. /// [JsonProperty("payload")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs index d295989483..05749774ea 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs @@ -108,7 +108,7 @@ public Application Application /// /// The default URL to redirect customers to when they click on the portal's link to return /// to your website. This can be overriden + /// href="https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url">overriden /// when creating the session. /// [JsonProperty("default_return_url")] @@ -151,7 +151,7 @@ public Application Application public ConfigurationLoginPage LoginPage { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs index 59d0e50567..dbfee22c07 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs @@ -9,6 +9,20 @@ namespace Stripe.BillingPortal public class ConfigurationFeaturesSubscriptionUpdate : StripeEntity { + /// + /// Determines the value to use for the billing cycle anchor on subscription updates. Valid + /// values are now or unchanged, and the default value is unchanged. + /// Setting the value to now resets the subscription's billing cycle anchor to the + /// current time (in UTC). For more information, see the billing cycle documentation. + /// One of: now, or unchanged. + /// + [JsonProperty("billing_cycle_anchor")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("billing_cycle_anchor")] +#endif + public string BillingCycleAnchor { get; set; } + /// /// The types of subscription updates that are supported for items listed in the /// products attribute. When empty, subscriptions are not updateable. diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs index df04f9bd62..79bb6a21d9 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs @@ -23,7 +23,7 @@ public class ConfigurationLoginPage : StripeEntity /// /// A shareable URL to the hosted portal login page. Your customers will be able to log in /// with their email and + /// href="https://docs.stripe.com/api/customers/object#customer_object-email">email and /// receive a link to their customer portal. /// [JsonProperty("url")] diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs index ddab4d857b..31c4b0448f 100644 --- a/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs +++ b/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs @@ -118,7 +118,7 @@ public Configuration Configuration /// /// Information about a specific flow for the customer to go through. See the docs to learn + /// href="https://docs.stripe.com/customer-management/portal-deep-links">docs to learn /// more about using customer portal deep links and flows. /// [JsonProperty("flow")] @@ -158,9 +158,9 @@ public Configuration Configuration /// The account for which the session was created on behalf of. When specified, only /// subscriptions and invoices with this on_behalf_of account appear in the portal. /// For more information, see the docs. + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant">docs. /// Use the Accounts + /// href="https://docs.stripe.com/api/accounts/object#account_object-settings-branding">Accounts /// API to modify the on_behalf_of account's branding settings, which the portal /// displays. /// diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs index b0b802ae7c..4fa0945436 100644 --- a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs +++ b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs @@ -19,7 +19,7 @@ public class SessionFlowSubscriptionUpdateConfirm : StripeEntity Discounts { get; set; } /// - /// The subscription item to be + /// The subscription item to be /// updated through this flow. Currently, only up to one may be specified and subscriptions /// with multiple items are not updatable. /// diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs index 354f332c1a..47d07e8b14 100644 --- a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs +++ b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs @@ -10,7 +10,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity /// The ID of the subscription + /// href="https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id">subscription /// item to be updated. /// [JsonProperty("id")] @@ -22,7 +22,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity /// The price the customer should subscribe to through this flow. The price must also be /// included in the configuration's features.subscription_update.products. + /// href="https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products">features.subscription_update.products. /// [JsonProperty("price")] #if NET6_0_OR_GREATER @@ -31,7 +31,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity - /// Quantity for this item + /// Quantity for this item /// that the customer should subscribe to through this flow. /// [JsonProperty("quantity")] diff --git a/src/Stripe.net/Entities/Capabilities/Capability.cs b/src/Stripe.net/Entities/Capabilities/Capability.cs index 7753c69558..aa987890ae 100644 --- a/src/Stripe.net/Entities/Capabilities/Capability.cs +++ b/src/Stripe.net/Entities/Capabilities/Capability.cs @@ -11,7 +11,7 @@ namespace Stripe /// /// This is an object representing a capability for a Stripe account. /// - /// Related guide: Account + /// Related guide: Account /// capabilities. /// #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs index 6f01dc3fa2..efc717095e 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs @@ -12,8 +12,11 @@ namespace Stripe public class CapabilityFutureRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Multiple alternatives can reference the same original_fields_due. + /// When this happens, any of these alternatives can serve as a pathway for attempting to + /// resolve the fields. Additionally, providing original_fields_due again also serves + /// as a pathway for attempting to resolve the fields. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -36,7 +39,7 @@ public class CapabilityFutureRequirements : StripeEntity - /// Fields that need to be collected to keep the capability enabled. If not collected by + /// Fields that need to be resolved to keep the capability enabled. If not resolved by /// future_requirements[current_deadline], these fields will transition to the main /// requirements hash. /// @@ -62,8 +65,8 @@ public class CapabilityFutureRequirements : StripeEntity - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -82,10 +85,9 @@ public class CapabilityFutureRequirements : StripeEntity EventuallyDue { get; set; } /// - /// Fields that weren't collected by requirements.current_deadline. These fields need - /// to be collected to enable the capability on the account. New fields will never appear - /// here; future_requirements.past_due will always be a subset of - /// requirements.past_due. + /// Fields that haven't been resolved by requirements.current_deadline. These fields + /// need to be resolved to enable the capability on the account. + /// future_requirements.past_due is a subset of requirements.past_due. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -94,12 +96,11 @@ public class CapabilityFutureRequirements : StripeEntity PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due or currently_due. Fields might - /// appear in eventually_due or currently_due and in - /// pending_verification if verification fails but another verification is still - /// pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs index 5804eb74ef..41b7b1d423 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class CapabilityFutureRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class CapabilityFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs index 2c0b1eac5b..ebe4be2b5c 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs @@ -12,8 +12,11 @@ namespace Stripe public class CapabilityRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Multiple alternatives can reference the same original_fields_due. + /// When this happens, any of these alternatives can serve as a pathway for attempting to + /// resolve the fields. Additionally, providing original_fields_due again also serves + /// as a pathway for attempting to resolve the fields. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -37,8 +40,8 @@ public class CapabilityRequirements : StripeEntity public DateTime? CurrentDeadline { get; set; } /// - /// Fields that need to be collected to keep the capability enabled. If not collected by - /// current_deadline, these fields appear in past_due as well, and the + /// Fields that need to be resolved to keep the capability enabled. If not resolved by + /// current_deadline, these fields will appear in past_due as well, and the /// capability is disabled. /// [JsonProperty("currently_due")] @@ -49,7 +52,7 @@ public class CapabilityRequirements : StripeEntity /// /// Description of why the capability is disabled. Learn more about + /// href="https://docs.stripe.com/connect/handling-api-verification">Learn more about /// handling verification issues. /// One of: other, paused.inactivity, pending.onboarding, /// pending.review, platform_disabled, platform_paused, @@ -63,8 +66,8 @@ public class CapabilityRequirements : StripeEntity public string DisabledReason { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -83,8 +86,8 @@ public class CapabilityRequirements : StripeEntity public List EventuallyDue { get; set; } /// - /// Fields that weren't collected by current_deadline. These fields need to be - /// collected to enable the capability on the account. + /// Fields that haven't been resolved by current_deadline. These fields need to be + /// resolved to enable the capability on the account. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -93,12 +96,11 @@ public class CapabilityRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due, currently_due, or - /// past_due. Fields might appear in eventually_due, currently_due, or - /// past_due and in pending_verification if verification fails but another - /// verification is still pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs b/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs index e390f41909..ea4aedc33a 100644 --- a/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class CapabilityRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class CapabilityRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs b/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs index 4c32a3f323..5962578b8d 100644 --- a/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs +++ b/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs @@ -106,7 +106,7 @@ public class FinancingOffer : StripeEntity, IHasId, IHasMetadata public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -169,7 +169,7 @@ public class FinancingOffer : StripeEntity, IHasId, IHasMetadata /// /// See financing_type. + /// href="https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type">financing_type. /// One of: cash_advance, fixed_term_loan, or flex_loan. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs b/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs index 24985252ce..841f517da4 100644 --- a/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs +++ b/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs @@ -7,8 +7,9 @@ namespace Stripe.Capital #endif /// - /// A financing object describes an account's current financing state. Used by Connect - /// platforms to read the state of Capital offered to their connected accounts. + /// A financing summary object describes a connected account's financing status in real + /// time. A financing status is either accepted, delivered, or none. + /// You can read the status of your connected accounts. /// public class FinancingSummary : StripeEntity, IHasObject { @@ -25,6 +26,8 @@ public class FinancingSummary : StripeEntity, IHasObject /// Additional information about the financing summary. Describes currency, advance amount, /// fee amount, withhold rate, remaining amount, paid amount, current repayment interval, /// repayment start date, and advance payout date. + /// + /// Only present for financing offers with the paid_out status. /// [JsonProperty("details")] #if NET6_0_OR_GREATER @@ -33,7 +36,8 @@ public class FinancingSummary : StripeEntity, IHasObject public FinancingSummaryDetails Details { get; set; } /// - /// The Financing Offer ID this Financing Summary corresponds to. + /// The unique identifier of the Financing Offer object that corresponds to the Financing + /// Summary object. /// [JsonProperty("financing_offer")] #if NET6_0_OR_GREATER @@ -42,9 +46,7 @@ public class FinancingSummary : StripeEntity, IHasObject public string FinancingOffer { get; set; } /// - /// Status of the Connected Account's financing. /v1/capital/financing_summary - /// will only return details for paid_out financing. + /// The financing status of the connected account. /// One of: accepted, delivered, or none. /// [JsonProperty("status")] diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index 6e3ca2a811..6f5b9679c2 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -13,7 +13,7 @@ namespace Stripe /// can also store multiple debit cards on a recipient in order to transfer to those cards /// later. /// - /// Related guide: Card payments with + /// Related guide: Card payments with /// Sources. /// #if NET6_0_OR_GREATER @@ -388,7 +388,7 @@ public Customer Customer public string Last4 { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/CashBalances/CashBalance.cs b/src/Stripe.net/Entities/CashBalances/CashBalance.cs index f940395fc7..b5926a69ae 100644 --- a/src/Stripe.net/Entities/CashBalances/CashBalance.cs +++ b/src/Stripe.net/Entities/CashBalances/CashBalance.cs @@ -26,7 +26,7 @@ public class CashBalance : StripeEntity, IHasObject /// /// A hash of all cash balances available to this customer. You cannot delete a customer /// with any cash balances, even if the balance is 0. Amounts are represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("available")] #if NET6_0_OR_GREATER @@ -44,7 +44,7 @@ public class CashBalance : StripeEntity, IHasObject public string Customer { get; set; } /// - /// The ID of the account whose cash balance this object represents. + /// The ID of an Account representing a customer whose cash balance this object represents. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/Charge.cs b/src/Stripe.net/Entities/Charges/Charge.cs index b38341f62d..4b3e05585a 100644 --- a/src/Stripe.net/Entities/Charges/Charge.cs +++ b/src/Stripe.net/Entities/Charges/Charge.cs @@ -12,7 +12,7 @@ namespace Stripe /// /// The Charge object represents a single attempt to move money into your Stripe /// account. PaymentIntent confirmation is the most common way to create Charges, but Account Debits may also create + /// href="https://docs.stripe.com/connect/account-debits">Account Debits may also create /// Charges. Some legacy payment flows create Charges directly, which is not recommended for /// new integrations. /// @@ -41,10 +41,10 @@ public class Charge : StripeEntity, IHasId, IHasMetadata, IHasObject, IB /// /// Amount intended to be collected by this payment. A positive integer representing how - /// much to charge in the smallest + /// much to charge in the smallest /// currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal /// currency). The minimum amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// @@ -120,7 +120,7 @@ public Application Application /// /// (ID of the ApplicationFee) /// The application fee (if any) for the charge. See the Connect + /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect /// documentation for details. /// [JsonIgnore] @@ -136,7 +136,7 @@ public string ApplicationFeeId /// /// (Expanded) /// The application fee (if any) for the charge. See the Connect + /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect /// documentation for details. /// /// For more information, see the expand documentation. @@ -162,7 +162,7 @@ public ApplicationFee ApplicationFee /// /// The amount of the application fee (if any) requested for the charge. See the Connect + /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect /// documentation for details. /// [JsonProperty("application_fee_amount")] @@ -377,7 +377,7 @@ public BalanceTransaction FailureBalanceTransaction /// /// Error code explaining reason for charge failure if available (see the errors section for a list of codes). + /// href="https://docs.stripe.com/error-codes">the errors section for a list of codes). /// [JsonProperty("failure_code")] #if NET6_0_OR_GREATER @@ -420,7 +420,7 @@ public BalanceTransaction FailureBalanceTransaction public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -436,7 +436,7 @@ public BalanceTransaction FailureBalanceTransaction /// (ID of the Account) /// The account (if any) the charge was made on behalf of without triggering an automatic /// transfer. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">Connect /// documentation for details. /// [JsonIgnore] @@ -453,7 +453,7 @@ public string OnBehalfOfId /// (Expanded) /// The account (if any) the charge was made on behalf of without triggering an automatic /// transfer. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">Connect /// documentation for details. /// /// For more information, see the expand documentation. @@ -479,7 +479,7 @@ public Account OnBehalfOf /// /// Details about whether the payment was accepted, and why. See understanding declines for details. + /// href="https://docs.stripe.com/declines">understanding declines for details. /// [JsonProperty("outcome")] #if NET6_0_OR_GREATER @@ -563,7 +563,7 @@ public PaymentIntent PaymentIntent /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] @@ -812,7 +812,7 @@ public Transfer Transfer /// /// An optional dictionary including the account to automatically transfer to as part of a - /// destination charge. See + /// destination charge. See /// the Connect documentation for details. /// [JsonProperty("transfer_data")] @@ -823,7 +823,7 @@ public Transfer Transfer /// /// A string that identifies this transaction as part of a group. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect /// documentation for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Entities/Charges/ChargeOutcome.cs b/src/Stripe.net/Entities/Charges/ChargeOutcome.cs index 1f7ed3184e..c5c3fd3f53 100644 --- a/src/Stripe.net/Entities/Charges/ChargeOutcome.cs +++ b/src/Stripe.net/Entities/Charges/ChargeOutcome.cs @@ -14,7 +14,7 @@ public class ChargeOutcome : StripeEntity { /// /// An enumerated value providing a more detailed explanation on how to proceed with an + /// href="https://docs.stripe.com/declines#retrying-issuer-declines">how to proceed with an /// error. /// One of: confirm_card_data, do_not_try_again, or try_again_later. /// @@ -48,7 +48,7 @@ public class ChargeOutcome : StripeEntity /// Possible values are approved_by_network, declined_by_network, /// not_sent_to_network, and reversed_after_approval. The value /// reversed_after_approval indicates the payment was blocked by Stripe after + /// href="https://docs.stripe.com/declines#blocked-payments">blocked by Stripe after /// bank authorization, and may temporarily appear as "pending" on a cardholder's statement. /// [JsonProperty("network_status")] @@ -64,7 +64,7 @@ public class ChargeOutcome : StripeEntity /// elevated_risk_level. Charges blocked because the payment is unlikely to be /// authorized have the value low_probability_of_authorization. Charges authorized, /// blocked, or placed in review by custom rules have the value rule. See understanding declines for more details. + /// href="https://docs.stripe.com/declines">understanding declines for more details. /// [JsonProperty("reason")] #if NET6_0_OR_GREATER @@ -151,8 +151,8 @@ public Radar.Rule Rule /// /// Possible values are authorized, manual_review, issuer_declined, /// blocked, and invalid. See understanding declines and Radar reviews for details. + /// href="https://docs.stripe.com/declines">understanding declines and Radar reviews for details. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs index e31bf13e8e..ab02ecf8aa 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs @@ -365,7 +365,7 @@ public class ChargePaymentMethodDetails : StripeEntity /// The type of transaction-specific details of the payment method used in the payment. See /// PaymentMethod.type + /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type /// for the full list of possible types. An additional hash is included on /// payment_method_details with a name matching this value. It contains information /// specific to the payment method. diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs index 3dc2c23517..937822477e 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs @@ -17,6 +17,15 @@ public class ChargePaymentMethodDetailsAcssDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs index 7e5bff8f9b..2c9e46389d 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs @@ -9,7 +9,7 @@ namespace Stripe public class ChargePaymentMethodDetailsAffirm : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsAffirm : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs index 159a8c4a93..7a826c39ee 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs @@ -17,6 +17,15 @@ public class ChargePaymentMethodDetailsAuBecsDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs index 81b9c06431..1b896c7043 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs @@ -8,6 +8,15 @@ namespace Stripe public class ChargePaymentMethodDetailsBacsDebit : StripeEntity { + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs index 915865ee9a..0f326e7e7c 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs @@ -164,7 +164,7 @@ public class ChargePaymentMethodDetailsCard : StripeEntityinstallments integration guide. + /// href="https://docs.stripe.com/payments/installments">installments integration guide. /// [JsonProperty("installments")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs index d6af1e1fba..47c956b654 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs @@ -161,9 +161,9 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity - /// Whether this PaymentIntent is + /// Whether this PaymentIntent is /// eligible for incremental authorizations. Request support using request_incremental_authorization_support. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support. /// [JsonProperty("incremental_authorization_supported")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs index dc76ae31fa..73107a76cb 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs @@ -14,14 +14,14 @@ public class ChargePaymentMethodDetailsIdeal : StripeEntity /// The customer's bank. Can be one of abn_amro, asn_bank, bunq, - /// buut, finom, handelsbanken, ing, knab, + /// buut, finom, handelsbanken, ing, knab, mollie, /// moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -33,8 +33,9 @@ public class ChargePaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs index b5e0578585..1f39767a6e 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs @@ -45,6 +45,15 @@ public class ChargePaymentMethodDetailsNzBankAccount : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Last four digits of the bank account number. /// diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs index 554c105c36..862c8cfc45 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs @@ -9,7 +9,7 @@ namespace Stripe public class ChargePaymentMethodDetailsPaynow : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsPaynow : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs index 95c297a2db..fd168c1d07 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs @@ -35,6 +35,15 @@ public class ChargePaymentMethodDetailsSepaDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. @@ -56,9 +65,9 @@ public class ChargePaymentMethodDetailsSepaDebit : StripeEntity /// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate + /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate /// property on the Charge. Use this mandate ID to retrieve the Mandate. + /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate. /// [JsonProperty("mandate")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs index d857020642..1080cb71b2 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs @@ -41,6 +41,15 @@ public class ChargePaymentMethodDetailsUsBankAccount : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs index e3a4f12053..487a2ec627 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs @@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsWechatPay : StripeEntity - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -29,7 +29,7 @@ public class ChargePaymentMethodDetailsWechatPay : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs b/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs index 6daa628dc6..7bd62b6647 100644 --- a/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs +++ b/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class ChargeRadarOptions : StripeEntity { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs index 49ae9d6dd4..171dbcc0ea 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs @@ -12,19 +12,19 @@ namespace Stripe.Checkout /// /// A Checkout Session represents your customer's session as they pay for one-time purchases /// or subscriptions through Checkout or Payment Links. We recommend + /// href="https://docs.stripe.com/payments/checkout">Checkout or Payment Links. We recommend /// creating a new Session each time your customer attempts to pay. /// /// Once payment is successful, the Checkout Session will contain a reference to the Customer, and either the successful PaymentIntent or an active Subscription. + /// href="https://docs.stripe.com/api/customers">Customer, and either the successful PaymentIntent or an active Subscription. /// /// You can create a Checkout Session on your server and redirect to its URL to begin /// Checkout. /// - /// Related guide: Checkout + /// Related guide: Checkout /// quickstart. /// #if NET6_0_OR_GREATER @@ -144,7 +144,7 @@ public class Session : StripeEntity, IHasId, IHasMetadata, IHasObject /// ui_mode: embedded or ui_mode: custom. For ui_mode: embedded, the /// client secret is to be used when initializing Stripe.js embedded checkout. For /// ui_mode: custom, use the client secret with initCheckout on your front + /// href="https://docs.stripe.com/js/custom_checkout/init">initCheckout on your front /// end. /// [JsonProperty("client_secret")] @@ -439,7 +439,7 @@ public Invoice Invoice public string Locale { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -491,7 +491,7 @@ public Invoice Invoice /// (ID of the PaymentIntent) /// The ID of the PaymentIntent for Checkout Sessions in payment mode. You can't /// confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout + /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout /// Session instead. /// [JsonIgnore] @@ -508,7 +508,7 @@ public string PaymentIntentId /// (Expanded) /// The ID of the PaymentIntent for Checkout Sessions in payment mode. You can't /// confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout + /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout /// Session instead. /// /// For more information, see the expand documentation. @@ -662,7 +662,7 @@ public PaymentLink PaymentLink /// /// This parameter applies to ui_mode: embedded. Learn more about the redirect + /// href="https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form">redirect /// behavior of embedded sessions. Defaults to always. /// One of: always, if_required, or never. /// @@ -699,7 +699,7 @@ public PaymentLink PaymentLink /// (ID of the SetupIntent) /// The ID of the SetupIntent for Checkout Sessions in setup mode. You can't confirm /// or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout + /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout /// Session instead. /// [JsonIgnore] @@ -716,7 +716,7 @@ public string SetupIntentId /// (Expanded) /// The ID of the SetupIntent for Checkout Sessions in setup mode. You can't confirm /// or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout + /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout /// Session instead. /// /// For more information, see the expand documentation. @@ -797,7 +797,7 @@ public SetupIntent SetupIntent /// /// (ID of the Subscription) - /// The ID of the Subscription for + /// The ID of the Subscription for /// Checkout Sessions in subscription mode. /// [JsonIgnore] @@ -812,7 +812,7 @@ public string SubscriptionId /// /// (Expanded) - /// The ID of the Subscription for + /// The ID of the Subscription for /// Checkout Sessions in subscription mode. /// /// For more information, see the expand documentation. @@ -874,7 +874,7 @@ public Subscription Subscription /// /// The URL to the Checkout Session. Applies to Checkout Sessions with ui_mode: /// hosted. Redirect customers to this URL to take them to Checkout. If you’re using Custom Domains, the + /// href="https://docs.stripe.com/payments/checkout/custom-domains">Custom Domains, the /// URL will use your subdomain. Otherwise, it’ll use checkout.stripe.com. This value /// is only present when the session is active. /// diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs index ba2d9888de..e8cc7eb5ec 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs @@ -91,7 +91,7 @@ public List AccountTaxIds public SessionInvoiceCreationInvoiceDataIssuer Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs index fe0642f20a..56bd1bc64d 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs @@ -82,11 +82,11 @@ public class SessionPaymentMethodOptionsCard : StripeEntity /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs index 37401dd67b..90fa9cf28f 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs @@ -19,12 +19,12 @@ public class SessionTotalDetailsBreakdownDiscount : StripeEntity /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/Climate/Orders/Order.cs b/src/Stripe.net/Entities/Climate/Orders/Order.cs index 624b4b068c..faecce9a09 100644 --- a/src/Stripe.net/Entities/Climate/Orders/Order.cs +++ b/src/Stripe.net/Entities/Climate/Orders/Order.cs @@ -184,7 +184,7 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs index 2885b4ee88..b8fb570367 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs @@ -14,9 +14,9 @@ namespace Stripe /// values present on the ConfirmationToken are written onto the Intent. /// /// To learn more about how to use ConfirmationToken, visit the related guides: - Finalize + /// href="https://docs.stripe.com/payments/finalize-payments-on-the-server">Finalize /// payments on the server - Build two-step + /// href="https://docs.stripe.com/payments/build-a-two-step-confirmation">Build two-step /// confirmation. /// public class ConfirmationToken : StripeEntity, IHasId, IHasObject @@ -124,7 +124,7 @@ public class ConfirmationToken : StripeEntity, IHasId, IHasOb /// method. /// /// The presence of this property will attach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the PaymentIntent's Customer, if present, after the PaymentIntent is /// confirmed and any required actions from the user are complete. /// One of: off_session, or on_session. diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs index c81121d3ae..fd3a7302fd 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -161,9 +161,9 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod public string Iin { get; set; } /// - /// Whether this PaymentIntent is + /// Whether this PaymentIntent is /// eligible for incremental authorizations. Request support using request_incremental_authorization_support. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support. /// [JsonProperty("incremental_authorization_supported")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs index 91c51b0965..6c9ec9c1e4 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs @@ -11,13 +11,13 @@ public class ConfirmationTokenPaymentMethodPreviewIdeal : StripeEntity /// The customer's bank, if provided. Can be one of abn_amro, asn_bank, /// bunq, buut, finom, handelsbanken, ing, knab, - /// moneyou, n26, nn, rabobank, regiobank, + /// mollie, moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -29,8 +29,9 @@ public class ConfirmationTokenPaymentMethodPreviewIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Coupons/Coupon.cs b/src/Stripe.net/Entities/Coupons/Coupon.cs index 554181dbaa..2a4e4e8077 100644 --- a/src/Stripe.net/Entities/Coupons/Coupon.cs +++ b/src/Stripe.net/Entities/Coupons/Coupon.cs @@ -12,12 +12,12 @@ namespace Stripe /// /// A coupon contains information about a percent-off or amount-off discount you might want /// to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with - /// conventional one-off charges or - /// payment intents. + /// href="https://api.stripe.com#subscriptions">subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with + /// conventional one-off charges or payment intents. /// public class Coupon : StripeEntity, IHasId, IHasMetadata, IHasObject { @@ -140,7 +140,7 @@ public class Coupon : StripeEntity, IHasId, IHasMetadata, IHasObject public long? MaxRedemptions { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs b/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs index c4272b2885..6bad7e4bc5 100644 --- a/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs +++ b/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs @@ -8,6 +8,9 @@ namespace Stripe public class CreditNoteLineItemTaxTaxRateDetails : StripeEntity { + /// + /// ID of the tax rate. + /// [JsonProperty("tax_rate")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("tax_rate")] diff --git a/src/Stripe.net/Entities/CreditNotes/CreditNote.cs b/src/Stripe.net/Entities/CreditNotes/CreditNote.cs index 6b224e3b80..a3c01db42c 100644 --- a/src/Stripe.net/Entities/CreditNotes/CreditNote.cs +++ b/src/Stripe.net/Entities/CreditNotes/CreditNote.cs @@ -12,7 +12,7 @@ namespace Stripe /// /// Issue a credit note to adjust an invoice's amount after the invoice is finalized. /// - /// Related guide: Credit + /// Related guide: Credit /// notes. /// #if NET6_0_OR_GREATER @@ -121,7 +121,7 @@ public Customer Customer #endregion /// - /// ID of the account. + /// ID of the account representing the customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -272,7 +272,7 @@ public Invoice Invoice public string Memo { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -371,7 +371,7 @@ public Invoice Invoice /// /// Status of this credit note, one of issued or void. Learn more about voiding credit + /// href="https://docs.stripe.com/billing/invoices/credit-notes#voiding">voiding credit /// notes. /// One of: issued, or void. /// diff --git a/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs index b3d31a25f2..be7af2878d 100644 --- a/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs +++ b/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs @@ -8,6 +8,9 @@ namespace Stripe public class CreditNoteTotalTaxTaxRateDetails : StripeEntity { + /// + /// ID of the tax rate. + /// [JsonProperty("tax_rate")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("tax_rate")] diff --git a/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs b/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs index 73754d3926..eb31892d48 100644 --- a/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs +++ b/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs @@ -11,14 +11,14 @@ namespace Stripe /// /// Each customer has a Balance + /// href="https://docs.stripe.com/api/customers/object#customer_object-balance">Balance /// value, which denotes a debit or credit that's automatically applied to their next /// invoice upon finalization. You may modify the value directly by using the update customer API, or by + /// href="https://docs.stripe.com/api/customers/update">update customer API, or by /// creating a Customer Balance Transaction, which increments or decrements the customer's /// balance by the specified amount. /// - /// Related guide: Customer + /// Related guide: Customer /// balance. /// #if NET6_0_OR_GREATER @@ -199,6 +199,9 @@ public Customer Customer internal ExpandableField InternalCustomer { get; set; } #endregion + /// + /// The ID of an Account representing a customer that the transaction belongs to. + /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("customer_account")] @@ -277,7 +280,7 @@ public Invoice Invoice public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -293,7 +296,7 @@ public Invoice Invoice /// invoice_too_small, unspent_receiver_credit, unapplied_from_invoice, /// checkout_session_subscription_payment, or /// checkout_session_subscription_payment_canceled. See the Customer Balance page + /// href="https://docs.stripe.com/billing/customer/balance#types">Customer Balance page /// to learn more about transaction types. /// One of: adjustment, applied_to_invoice, /// checkout_session_subscription_payment, diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs index e33751f0cb..a546a12e36 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs @@ -113,6 +113,10 @@ public Customer Customer internal ExpandableField InternalCustomer { get; set; } #endregion + /// + /// The ID of an Account representing a customer whose available cash balance changed as a + /// result of this transaction. + /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("customer_account")] @@ -122,7 +126,7 @@ public Customer Customer /// /// The total available cash balance for the specified currency after this transaction was /// applied. Represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("ending_balance")] #if NET6_0_OR_GREATER @@ -148,7 +152,7 @@ public Customer Customer /// /// The amount by which the cash balance changed, represented in the smallest currency unit. A + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. A /// positive value represents funds being added to the cash balance, a negative value /// represents funds being removed from the cash balance. /// @@ -172,7 +176,7 @@ public Customer Customer /// /// The type of the cash balance transaction. New types may be added in future. See Customer Balance to + /// href="https://docs.stripe.com/payments/customer-balance#types">Customer Balance to /// learn more about these types. /// One of: adjusted_for_overdraft, applied_to_payment, funded, /// funding_reversed, refunded_from_payment, return_canceled, diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs index 4a1bde8356..c99c1d6086 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs @@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionAdjustedForOverdraft : StripeEntity /// (ID of the BalanceTransaction) - /// The Balance + /// The Balance /// Transaction that corresponds to funds taken out of your Stripe balance. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string BalanceTransactionId /// /// (Expanded) - /// The Balance + /// The Balance /// Transaction that corresponds to funds taken out of your Stripe balance. /// /// For more information, see the expand documentation. @@ -59,7 +59,7 @@ public BalanceTransaction BalanceTransaction /// /// (ID of the CustomerCashBalanceTransaction) - /// The Cash Balance + /// The Cash Balance /// Transaction that brought the customer balance negative, triggering the clawback of /// funds. /// @@ -75,7 +75,7 @@ public string LinkedTransactionId /// /// (Expanded) - /// The Cash Balance + /// The Cash Balance /// Transaction that brought the customer balance negative, triggering the clawback of /// funds. /// diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs index eb8dbec8cc..b1e197aa31 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs @@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionAppliedToPayment : StripeEntity /// (ID of the PaymentIntent) - /// The Payment Intent that + /// The Payment Intent that /// funds were applied to. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string PaymentIntentId /// /// (Expanded) - /// The Payment Intent that + /// The Payment Intent that /// funds were applied to. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs index ae8851bd7f..83899122dd 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs @@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionRefundedFromPayment : StripeEntity /// (ID of the Refund) - /// The Refund that moved these + /// The Refund that moved these /// funds into the customer's cash balance. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string RefundId /// /// (Expanded) - /// The Refund that moved these + /// The Refund that moved these /// funds into the customer's cash balance. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs index 8b1f22bf00..158378fff1 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs @@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionTransferredToBalance : StripeEntity /// (ID of the BalanceTransaction) - /// The Balance + /// The Balance /// Transaction that corresponds to funds transferred to your Stripe balance. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string BalanceTransactionId /// /// (Expanded) - /// The Balance + /// The Balance /// Transaction that corresponds to funds transferred to your Stripe balance. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs index 2110e897ec..48a6ee3648 100644 --- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs +++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs @@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionUnappliedFromPayment : StripeEntity /// (ID of the PaymentIntent) - /// The Payment Intent that + /// The Payment Intent that /// funds were unapplied from. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string PaymentIntentId /// /// (Expanded) - /// The Payment Intent that + /// The Payment Intent that /// funds were unapplied from. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/Customers/Customer.cs b/src/Stripe.net/Entities/Customers/Customer.cs index cf42d61d3c..792138e2cf 100644 --- a/src/Stripe.net/Entities/Customers/Customer.cs +++ b/src/Stripe.net/Entities/Customers/Customer.cs @@ -11,8 +11,8 @@ namespace Stripe /// /// This object represents a customer of your business. Use it to create recurring charges, save payment and contact + /// href="https://docs.stripe.com/invoicing/customer">create recurring charges, save payment and contact /// information, and track payments that belong to the same customer. /// #if NET6_0_OR_GREATER @@ -54,7 +54,7 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject /// considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't /// reflect unpaid invoices. This balance is only taken into account after invoices /// finalize. For multi-currency balances, see invoice_credit_balance. + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance">invoice_credit_balance. /// [JsonProperty("balance")] #if NET6_0_OR_GREATER @@ -104,6 +104,10 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject #endif public string Currency { get; set; } + /// + /// The ID of an Account representing a customer. You can use this ID with any v1 API that + /// accepts a customer_account parameter. + /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("customer_account")] @@ -117,7 +121,7 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject /// ID of the default payment source for the customer. /// /// If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// field instead. /// [JsonIgnore] @@ -135,7 +139,7 @@ public string DefaultSourceId /// ID of the default payment source for the customer. /// /// If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// field instead. /// /// For more information, see the expand documentation. @@ -176,7 +180,7 @@ public IPaymentSource DefaultSource /// true. /// /// If an invoice becomes uncollectible by dunning, + /// href="https://docs.stripe.com/billing/automatic-collection">dunning, /// delinquent doesn't reset to false. /// /// If you care whether the customer has paid their most recent subscription invoice, use @@ -267,7 +271,7 @@ public IPaymentSource DefaultSource public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Discounts/Discount.cs b/src/Stripe.net/Entities/Discounts/Discount.cs index 9997d00126..647648448d 100644 --- a/src/Stripe.net/Entities/Discounts/Discount.cs +++ b/src/Stripe.net/Entities/Discounts/Discount.cs @@ -10,12 +10,12 @@ namespace Stripe /// /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// #if NET6_0_OR_GREATER @@ -94,7 +94,7 @@ public Customer Customer #endregion /// - /// The ID of the account associated with this discount. + /// The ID of the account representing the customer associated with this discount. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Disputes/Dispute.cs b/src/Stripe.net/Entities/Disputes/Dispute.cs index cb7e4a9b63..29a72b4f88 100644 --- a/src/Stripe.net/Entities/Disputes/Dispute.cs +++ b/src/Stripe.net/Entities/Disputes/Dispute.cs @@ -14,7 +14,7 @@ namespace Stripe /// happens, you have the opportunity to respond to the dispute with evidence that shows /// that the charge is legitimate. /// - /// Related guide: Disputes and fraud. + /// Related guide: Disputes and fraud. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -177,7 +177,7 @@ public Charge Charge public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -250,7 +250,7 @@ public PaymentIntent PaymentIntent /// incorrect_account_details, insufficient_funds, noncompliant, /// product_not_received, product_unacceptable, subscription_canceled, /// or unrecognized. Learn more about dispute reasons. + /// href="https://docs.stripe.com/disputes/categories">dispute reasons. /// [JsonProperty("reason")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs index d8cdaedf15..75612eff37 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs @@ -55,7 +55,8 @@ public class DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTrans public string PostalCode { get; set; } /// - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs index a935fd17aa..0b2359a562 100644 --- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs +++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs @@ -55,7 +55,8 @@ public class DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisput public string PostalCode { get; set; } /// - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs b/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs index 9c91921ceb..3a18fc29c9 100644 --- a/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs +++ b/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs @@ -37,7 +37,7 @@ public class ActiveEntitlement : StripeEntity, IHasId, IHasOb /// /// (ID of the Feature) - /// The Feature that the + /// The Feature that the /// customer is entitled to. /// [JsonIgnore] @@ -52,7 +52,7 @@ public string FeatureId /// /// (Expanded) - /// The Feature that the + /// The Feature that the /// customer is entitled to. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/FileLinks/FileLink.cs b/src/Stripe.net/Entities/FileLinks/FileLink.cs index c5e5178a31..83e3dac31c 100644 --- a/src/Stripe.net/Entities/FileLinks/FileLink.cs +++ b/src/Stripe.net/Entities/FileLinks/FileLink.cs @@ -120,7 +120,7 @@ public File File public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Files/File.cs b/src/Stripe.net/Entities/Files/File.cs index 19f228fa55..141360e07e 100644 --- a/src/Stripe.net/Entities/Files/File.cs +++ b/src/Stripe.net/Entities/Files/File.cs @@ -10,12 +10,12 @@ namespace Stripe /// /// This object represents files hosted on Stripe's servers. You can upload files with the - /// create file request (for example, - /// when uploading dispute evidence). Stripe also creates files independently (for example, - /// the results of a Sigma scheduled + /// create file request (for example, when + /// uploading dispute evidence). Stripe also creates files independently (for example, the + /// results of a Sigma scheduled /// query). /// - /// Related guide: File upload guide. + /// Related guide: File upload guide. /// public class File : StripeEntity, IHasId, IHasObject { @@ -69,8 +69,8 @@ public class File : StripeEntity, IHasId, IHasObject public string Filename { get; set; } /// - /// A list of file links that point at - /// this file. + /// A list of file links that point at this + /// file. /// [JsonProperty("links")] #if NET6_0_OR_GREATER @@ -79,7 +79,7 @@ public class File : StripeEntity, IHasId, IHasObject public StripeList Links { get; set; } /// - /// The purpose of the + /// The purpose of the /// uploaded file. /// One of: account_requirement, additional_verification, /// business_icon, business_logo, customer_signature, diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs index 63f94e2567..dfbd12d18a 100644 --- a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs +++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs @@ -285,7 +285,7 @@ public AccountOwnership Ownership /// /// The PaymentMethod + /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod /// type(s) that can be created from this account. /// One of: link, or us_bank_account. /// diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs index 365af30d03..4333bed9da 100644 --- a/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs +++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs @@ -16,7 +16,7 @@ public class AccountAccountHolder : StripeEntity /// /// (ID of the Account) - /// The ID of the Stripe account this account belongs to. Should only be present if + /// The ID of the Stripe account that this account belongs to. Only available when /// account_holder.type is account. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string AccountId /// /// (Expanded) - /// The ID of the Stripe account this account belongs to. Should only be present if + /// The ID of the Stripe account that this account belongs to. Only available when /// account_holder.type is account. /// /// For more information, see the expand documentation. @@ -59,8 +59,8 @@ public Account Account /// /// (ID of the Customer) - /// ID of the Stripe customer this account belongs to. Present if and only if - /// account_holder.type is customer. + /// The ID for an Account representing a customer that this account belongs to. Only + /// available when account_holder.type is customer. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -74,8 +74,8 @@ public string CustomerId /// /// (Expanded) - /// ID of the Stripe customer this account belongs to. Present if and only if - /// account_holder.type is customer. + /// The ID for an Account representing a customer that this account belongs to. Only + /// available when account_holder.type is customer. /// /// For more information, see the expand documentation. /// diff --git a/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs b/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs index 557e1d5112..4109744a8b 100644 --- a/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs +++ b/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs @@ -16,7 +16,7 @@ public class SessionAccountHolder : StripeEntity /// /// (ID of the Account) - /// The ID of the Stripe account this account belongs to. Should only be present if + /// The ID of the Stripe account that this account belongs to. Only available when /// account_holder.type is account. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string AccountId /// /// (Expanded) - /// The ID of the Stripe account this account belongs to. Should only be present if + /// The ID of the Stripe account that this account belongs to. Only available when /// account_holder.type is account. /// /// For more information, see the expand documentation. @@ -59,8 +59,8 @@ public Account Account /// /// (ID of the Customer) - /// ID of the Stripe customer this account belongs to. Present if and only if - /// account_holder.type is customer. + /// The ID for an Account representing a customer that this account belongs to. Only + /// available when account_holder.type is customer. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -74,8 +74,8 @@ public string CustomerId /// /// (Expanded) - /// ID of the Stripe customer this account belongs to. Present if and only if - /// account_holder.type is customer. + /// The ID for an Account representing a customer that this account belongs to. Only + /// available when account_holder.type is customer. /// /// For more information, see the expand documentation. /// diff --git a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs index 79c9bc1f79..aad1f05541 100644 --- a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs +++ b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs @@ -72,7 +72,7 @@ public class Request : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs index a7304f39e6..ab01c709e9 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs @@ -8,11 +8,11 @@ namespace Stripe /// /// Each customer has a balance + /// href="https://docs.stripe.com/api/customers/object#customer_object-balance">balance /// that is automatically applied to future invoices and payments using the /// customer_balance payment method. Customers can fund this balance by initiating a /// bank transfer to any account in the financial_addresses field. Related guide: Customer + /// href="https://docs.stripe.com/payments/customer-balance/funding-instructions">Customer /// balance funding instructions. /// public class FundingInstructions : StripeEntity, IHasObject diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs index c0e0cae7c6..07a39d627b 100644 --- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs +++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs @@ -17,13 +17,13 @@ namespace Stripe.Identity /// /// Each VerificationReport contains a copy of any data collected by the user as well as /// reference IDs which can be used to access collected images through the FileUpload API. To configure and create + /// href="https://docs.stripe.com/api/files">FileUpload API. To configure and create /// VerificationReports, use the VerificationSession + /// href="https://docs.stripe.com/api/identity/verification_sessions">VerificationSession /// API. /// /// Related guide: Accessing + /// href="https://docs.stripe.com/identity/verification-sessions#results">Accessing /// verification results. /// public class VerificationReport : StripeEntity, IHasId, IHasObject diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs index 9c63c2a6b9..4ff4bfe4d7 100644 --- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs +++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs @@ -46,7 +46,7 @@ public class VerificationReportDocument : StripeEntity - /// Array of File ids containing images for + /// Array of File ids containing images for /// this document. /// [JsonProperty("files")] diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs index 2530303713..afd82dcf57 100644 --- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs +++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs @@ -23,7 +23,7 @@ public class VerificationReportOptionsDocument : StripeEntity /// Collect an ID number and perform an ID number + /// href="https://docs.stripe.com/identity/verification-checks?type=id-number">ID number /// check with the document’s extracted name and date of birth. /// [JsonProperty("require_id_number")] @@ -44,9 +44,9 @@ public class VerificationReportOptionsDocument : StripeEntity /// Capture a face image and perform a selfie check + /// href="https://docs.stripe.com/identity/verification-checks?type=selfie">selfie check /// comparing a photo ID and a picture of your user’s face. Learn more. + /// href="https://docs.stripe.com/identity/selfie">Learn more. /// [JsonProperty("require_matching_selfie")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs index 0a2d375d68..e60d3a5d2a 100644 --- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs +++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs @@ -9,7 +9,7 @@ namespace Stripe.Identity public class VerificationReportSelfie : StripeEntity { /// - /// ID of the File holding the image of the + /// ID of the File holding the image of the /// identity document used in this check. /// [JsonProperty("document")] @@ -28,7 +28,7 @@ public class VerificationReportSelfie : StripeEntity public VerificationReportSelfieError Error { get; set; } /// - /// ID of the File holding the image of the + /// ID of the File holding the image of the /// selfie used in this check. /// [JsonProperty("selfie")] diff --git a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs index dcc7ad211d..2a5e1f3501 100644 --- a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs +++ b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs @@ -22,7 +22,7 @@ namespace Stripe.Identity /// VerificationSession contains the user's verified data after verification checks are /// complete. /// - /// Related guide: The + /// Related guide: The /// Verification Sessions API. /// #if NET6_0_OR_GREATER @@ -60,12 +60,12 @@ public class VerificationSession : StripeEntity, IHasId, IH /// /// The short-lived client secret used by Stripe.js to show a verification modal inside + /// href="https://docs.stripe.com/js/identity/modal">show a verification modal inside /// your app. This client secret expires after 24 hours and can only be used once. Don’t /// store it, log it, embed it in a URL, or expose it to anyone other than the user. Make /// sure that you have TLS enabled on any page that includes the client secret. Refer to our /// docs on passing the + /// href="https://docs.stripe.com/identity/verification-sessions#client-secret">passing the /// client secret to the frontend to learn more. /// [JsonProperty("client_secret")] @@ -100,7 +100,7 @@ public class VerificationSession : StripeEntity, IHasId, IH /// /// (ID of the VerificationReport) /// ID of the most recent VerificationReport. Learn more about + /// href="https://docs.stripe.com/identity/verification-sessions#results">Learn more about /// accessing detailed verification results.. /// [JsonIgnore] @@ -116,7 +116,7 @@ public string LastVerificationReportId /// /// (Expanded) /// ID of the most recent VerificationReport. Learn more about + /// href="https://docs.stripe.com/identity/verification-sessions#results">Learn more about /// accessing detailed verification results.. /// /// For more information, see the expand documentation. @@ -151,7 +151,7 @@ public VerificationReport LastVerificationReport public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -199,7 +199,7 @@ public VerificationReport LastVerificationReport public string RelatedCustomer { get; set; } /// - /// Token referencing a Customer Account resource. + /// The ID of the Account representing a customer. /// [JsonProperty("related_customer_account")] #if NET6_0_OR_GREATER @@ -215,7 +215,7 @@ public VerificationReport LastVerificationReport /// /// Status of this VerificationSession. Learn more about the lifecycle + /// href="https://docs.stripe.com/identity/how-sessions-work">Learn more about the lifecycle /// of sessions. /// One of: canceled, processing, requires_input, or verified. /// @@ -226,7 +226,7 @@ public VerificationReport LastVerificationReport public string Status { get; set; } /// - /// The type of verification + /// The type of verification /// check to be performed. /// One of: document, id_number, or verification_flow. /// @@ -241,7 +241,7 @@ public VerificationReport LastVerificationReport /// information. This URL expires after 48 hours and can only be used once. Don’t store it, /// log it, send it in emails or expose it to anyone other than the user. Refer to our docs /// on verifying + /// href="https://docs.stripe.com/identity/verify-identity-documents?platform=web&type=redirect">verifying /// identity documents to learn how to redirect users to Stripe. /// [JsonProperty("url")] diff --git a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs index 45a03ff994..1696adce2b 100644 --- a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs +++ b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs @@ -23,7 +23,7 @@ public class VerificationSessionOptionsDocument : StripeEntity /// Collect an ID number and perform an ID number + /// href="https://docs.stripe.com/identity/verification-checks?type=id-number">ID number /// check with the document’s extracted name and date of birth. /// [JsonProperty("require_id_number")] @@ -44,9 +44,9 @@ public class VerificationSessionOptionsDocument : StripeEntity /// Capture a face image and perform a selfie check + /// href="https://docs.stripe.com/identity/verification-checks?type=selfie">selfie check /// comparing a photo ID and a picture of your user’s face. Learn more. + /// href="https://docs.stripe.com/identity/selfie">Learn more. /// [JsonProperty("require_matching_selfie")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs index 1e46c82be5..ddd3524279 100644 --- a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs +++ b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs @@ -12,22 +12,22 @@ namespace Stripe /// /// Invoice Items represent the component lines of an invoice. When you create an invoice item + /// href="https://docs.stripe.com/api/invoices">invoice. When you create an invoice item /// with an invoice field, it is attached to the specified invoice and included as an invoice line item within invoice.lines. + /// href="https://docs.stripe.com/api/invoices/line_item">an invoice line item within invoice.lines. /// /// Invoice Items can be created before you are ready to actually send the invoice. This can /// be particularly useful when combined with a subscription. Sometimes you want to + /// href="https://docs.stripe.com/api/subscriptions">subscription. Sometimes you want to /// add a charge or credit to a customer, but actually charge or credit the customer's card /// only at the end of a regular billing cycle. This is useful for combining several charges /// (to minimize per-transaction fees), or for having Stripe tabulate your usage-based /// billing totals. /// - /// Related guides: Integrate with + /// Related guides: Integrate with /// the Invoicing API, Subscription + /// href="https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items">Subscription /// Invoices. /// #if NET6_0_OR_GREATER @@ -78,7 +78,7 @@ public class InvoiceItem : StripeEntity, IHasId, IHasMetadata, IHas /// /// (ID of the Customer) - /// The ID of the customer who will be billed when this invoice item is billed. + /// The ID of the customer to bill for this invoice item. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -92,7 +92,7 @@ public string CustomerId /// /// (Expanded) - /// The ID of the customer who will be billed when this invoice item is billed. + /// The ID of the customer to bill for this invoice item. /// /// For more information, see the expand documentation. /// @@ -116,7 +116,7 @@ public Customer Customer #endregion /// - /// The ID of the account who will be billed when this invoice item is billed. + /// The ID of the account to bill for this invoice item. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -297,7 +297,7 @@ public List Margins #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs b/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs index 74d2045feb..c60f30e6e8 100644 --- a/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs +++ b/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs @@ -2,20 +2,56 @@ namespace Stripe { using Newtonsoft.Json; + using Stripe.Infrastructure; #if NET6_0_OR_GREATER using STJS = System.Text.Json.Serialization; #endif +#if NET6_0_OR_GREATER + [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] +#endif public class InvoiceItemPricingPriceDetails : StripeEntity { + #region Expandable Price + + /// + /// (ID of the Price) + /// The ID of the price this item is associated with. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string PriceId + { + get => this.InternalPrice?.Id; + set => this.InternalPrice = SetExpandableFieldId(value, this.InternalPrice); + } + /// + /// (Expanded) /// The ID of the price this item is associated with. + /// + /// For more information, see the expand documentation. /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Price Price + { + get => this.InternalPrice?.ExpandedObject; + set => this.InternalPrice = SetExpandableFieldObject(value, this.InternalPrice); + } + [JsonProperty("price")] + [JsonConverter(typeof(ExpandableFieldConverter))] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("price")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] #endif - public string Price { get; set; } + internal ExpandableField InternalPrice { get; set; } + #endregion /// /// The ID of the product this item is associated with. diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs index e5cdf4c48d..f76498ea48 100644 --- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs +++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs @@ -11,12 +11,12 @@ namespace Stripe /// /// Invoice Line Items represent the individual lines within an invoice and only exist within the + /// href="https://docs.stripe.com/api/invoices">invoice and only exist within the /// context of an invoice. /// /// Each line item is backed by either an invoice item or a subscription item. + /// href="https://docs.stripe.com/api/invoiceitems">invoice item or a subscription item. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -201,7 +201,7 @@ public List Margins #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Note that for line items with type=subscription, /// metadata reflects the current metadata from the subscription associated with the @@ -288,6 +288,16 @@ public Subscription Subscription internal ExpandableField InternalSubscription { get; set; } #endregion + /// + /// The subtotal of the line item, in cents (or local equivalent), before any discounts or + /// taxes. + /// + [JsonProperty("subtotal")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("subtotal")] +#endif + public long Subtotal { get; set; } + /// /// The tax calculation identifiers of the line item. /// diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs index eae143184a..73d2910d2a 100644 --- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs +++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs @@ -2,20 +2,56 @@ namespace Stripe { using Newtonsoft.Json; + using Stripe.Infrastructure; #if NET6_0_OR_GREATER using STJS = System.Text.Json.Serialization; #endif +#if NET6_0_OR_GREATER + [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] +#endif public class InvoiceLineItemPricingPriceDetails : StripeEntity { + #region Expandable Price + + /// + /// (ID of the Price) + /// The ID of the price this item is associated with. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string PriceId + { + get => this.InternalPrice?.Id; + set => this.InternalPrice = SetExpandableFieldId(value, this.InternalPrice); + } + /// + /// (Expanded) /// The ID of the price this item is associated with. + /// + /// For more information, see the expand documentation. /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Price Price + { + get => this.InternalPrice?.ExpandedObject; + set => this.InternalPrice = SetExpandableFieldObject(value, this.InternalPrice); + } + [JsonProperty("price")] + [JsonConverter(typeof(ExpandableFieldConverter))] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("price")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] #endif - public string Price { get; set; } + internal ExpandableField InternalPrice { get; set; } + #endregion /// /// The ID of the product this item is associated with. diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs index 8da24238db..689f2c3e41 100644 --- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs +++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs @@ -8,6 +8,9 @@ namespace Stripe public class InvoiceLineItemTaxTaxRateDetails : StripeEntity { + /// + /// ID of the tax rate. + /// [JsonProperty("tax_rate")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("tax_rate")] diff --git a/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs b/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs index 8ff1f73267..d495471fe3 100644 --- a/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs +++ b/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs @@ -11,7 +11,7 @@ namespace Stripe /// /// Invoice Payments represent payments made against invoices. Invoice Payments can be /// accessed in two ways: 1. By expanding the payments field on the Invoice resource. 2. By using the Invoice + /// href="https://api.stripe.com#invoice">Invoice resource. 2. By using the Invoice /// Payment retrieve and list endpoints. /// /// Invoice Payments include the mapping between payment objects, such as Payment Intent, diff --git a/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs b/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs index 15ffec3fdb..45bb41b78a 100644 --- a/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs +++ b/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs @@ -56,7 +56,7 @@ public class InvoiceRenderingTemplate : StripeEntity, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Invoices/Invoice.cs b/src/Stripe.net/Entities/Invoices/Invoice.cs index dba53d6023..955941bcac 100644 --- a/src/Stripe.net/Entities/Invoices/Invoice.cs +++ b/src/Stripe.net/Entities/Invoices/Invoice.cs @@ -14,14 +14,14 @@ namespace Stripe /// Invoices are statements of amounts owed by a customer, and are either generated one-off, /// or generated periodically from a subscription. /// - /// They contain invoice items, and + /// They contain invoice items, and /// proration adjustments that may be caused by subscription upgrades/downgrades (if /// necessary). /// /// If your invoice is configured to be billed through automatic charges, Stripe /// automatically finalizes your invoice and attempts payment. Note that finalizing the /// invoice, when + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">when /// automatic, does not happen immediately as the invoice is created. Stripe waits until /// one hour after the last webhook was successfully sent (or the last webhook timed out /// after failing). If you (and the platforms you may have connected to) have no webhooks @@ -40,9 +40,9 @@ namespace Stripe /// the amount due to the customer's credit balance which is applied to the next invoice. /// /// More details on the customer's credit balance are here. + /// href="https://docs.stripe.com/billing/customer/balance">here. /// - /// Related guide: Send invoices + /// Related guide: Send invoices /// to customers. /// #if NET6_0_OR_GREATER @@ -262,7 +262,7 @@ public Application Application /// /// Controls whether Stripe performs automatic + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">automatic /// collection of the invoice. If false, the invoice's state doesn't /// automatically advance without an explicit action. /// @@ -373,7 +373,7 @@ public Application Application /// /// (ID of the Customer) - /// The ID of the customer who will be billed. + /// The ID of the customer to bill. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -387,7 +387,7 @@ public string CustomerId /// /// (Expanded) - /// The ID of the customer who will be billed. + /// The ID of the customer to bill. /// /// For more information, see the expand documentation. /// @@ -411,7 +411,7 @@ public Customer Customer #endregion /// - /// The ID of the account who will be billed. + /// The ID of the account representing the customer to bill. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -745,7 +745,7 @@ public List Discounts /// /// Details of the invoice that was cloned. See the revision documentation + /// href="https://docs.stripe.com/invoicing/invoice-revisions">revision documentation /// for more details. /// [JsonProperty("from_invoice")] @@ -854,7 +854,7 @@ public Invoice LatestRevision public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -892,7 +892,7 @@ public Invoice LatestRevision /// (ID of the Account) /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// [JsonIgnore] @@ -909,7 +909,7 @@ public string OnBehalfOfId /// (Expanded) /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// /// For more information, see the expand documentation. @@ -1065,7 +1065,7 @@ public Account OnBehalfOf /// /// The status of the invoice, one of draft, open, paid, /// uncollectible, or void. Learn + /// href="https://docs.stripe.com/billing/invoices/workflow#workflow-overview">Learn /// more. /// One of: draft, open, paid, uncollectible, or void. /// @@ -1210,7 +1210,7 @@ public TestHelpers.TestClock TestClock /// /// Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until /// all webhook delivery attempts have been exhausted. This + /// href="https://docs.stripe.com/billing/webhooks#understand">been exhausted. This /// field tracks the time when webhooks for this invoice were successfully delivered. If the /// invoice had no webhooks to deliver, this will be set while the invoice is being created. /// diff --git a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs index 30d989a89b..0edf1af4ca 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs @@ -22,7 +22,7 @@ public class InvoiceAutomaticTax : StripeEntity /// /// Whether Stripe automatically computes tax on this invoice. Note that incompatible /// invoice items (invoice items with manually specified tax rates, negative amounts, or + /// href="https://docs.stripe.com/api/tax_rates">tax rates, negative amounts, or /// tax_behavior=unspecified) cannot be added to automatic tax invoices. /// [JsonProperty("enabled")] diff --git a/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs b/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs index 39d176eb01..eb7f837bd7 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs @@ -15,7 +15,7 @@ namespace Stripe public class InvoiceParentSubscriptionDetails : StripeEntity, IHasMetadata { /// - /// Set of key-value pairs defined as + /// Set of key-value pairs defined as /// subscription metadata when an invoice is created. Becomes an immutable snapshot of the /// subscription metadata at the time of invoice finalization. Note: This attribute is /// populated only for invoices created on or after June 29, 2023.. @@ -29,7 +29,7 @@ public class InvoiceParentSubscriptionDetails : StripeEntity /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs index 8b68e05dbe..bd25a5449d 100644 --- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs @@ -43,7 +43,7 @@ public class InvoicePaymentSettings : StripeEntity /// id_bank_transfer, ideal, jp_credit_transfer, kakao_pay, /// klarna, konbini, kr_card, link, multibanco, /// naver_pay, nz_bank_account, p24, payco, paynow, - /// paypal, pix, promptpay, revolut_pay, + /// paypal, payto, pix, promptpay, revolut_pay, /// sepa_credit_transfer, sepa_debit, sofort, stripe_balance, /// swish, upi, us_bank_account, or wechat_pay. /// diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs index ba2e4a7537..590ac9b5bd 100644 --- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs @@ -68,6 +68,16 @@ public class InvoicePaymentSettingsPaymentMethodOptions : StripeEntity + /// If paying by payto, this sub-hash contains details about the PayTo payment method + /// options to pass to the invoice’s PaymentIntent. + /// + [JsonProperty("payto")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payto")] +#endif + public InvoicePaymentSettingsPaymentMethodOptionsPayto Payto { get; set; } + /// /// If paying by pix, this sub-hash contains details about the Pix payment method /// options to pass to the invoice’s PaymentIntent. diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs index a640a00559..73b579c0d9 100644 --- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs @@ -17,10 +17,10 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCard : StripeEntity /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. Read our guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs new file mode 100644 index 0000000000..de2ad98e8e --- /dev/null +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InvoicePaymentSettingsPaymentMethodOptionsPayto : StripeEntity + { + [JsonProperty("mandate_options")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("mandate_options")] +#endif + public InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions MandateOptions { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs new file mode 100644 index 0000000000..e67b079599 --- /dev/null +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs @@ -0,0 +1,44 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions : StripeEntity + { + /// + /// The maximum amount that can be collected in a single invoice. If you don't specify a + /// maximum, then there is no limit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// Only maximum is supported. + /// One of: fixed, or maximum. + /// + [JsonProperty("amount_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount_type")] +#endif + public string AmountType { get; set; } + + /// + /// The purpose for which payments are made. Has a default value based on your merchant + /// category code. + /// One of: dependant_support, government, loan, mortgage, + /// other, pension, personal, retail, salary, tax, + /// or utility. + /// + [JsonProperty("purpose")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("purpose")] +#endif + public string Purpose { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs index 5ef072b8f5..639d7fc199 100644 --- a/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs +++ b/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs @@ -8,6 +8,9 @@ namespace Stripe public class InvoiceTotalTaxTaxRateDetails : StripeEntity { + /// + /// ID of the tax rate. + /// [JsonProperty("tax_rate")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("tax_rate")] diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs b/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs index 29fbeccab1..b1d3086714 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs @@ -10,12 +10,12 @@ namespace Stripe.Issuing #endif /// - /// When an issued card is used to make a + /// When an issued card is used to make a /// purchase, an Issuing Authorization object is created. Authorizations must + /// href="https://docs.stripe.com/issuing/purchases/authorizations">Authorizations must /// be approved for the purchase to be completed successfully. /// - /// Related guide: Issued + /// Related guide: Issued /// card authorizations. /// #if NET6_0_OR_GREATER @@ -56,7 +56,7 @@ public class Authorization : StripeEntity, IHasId, IHasMetadata, /// /// Detailed breakdown of amount components. These amounts are denominated in /// currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_details")] #if NET6_0_OR_GREATER @@ -94,7 +94,7 @@ public class Authorization : StripeEntity, IHasId, IHasMetadata, public List BalanceTransactions { get; set; } /// - /// You can create physical or virtual cards + /// You can create physical or virtual cards /// that are issued to cardholders. /// [JsonProperty("card")] @@ -242,7 +242,7 @@ public Cardholder Cardholder public AuthorizationMerchantData MerchantData { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -298,7 +298,7 @@ public Cardholder Cardholder /// /// (ID of the Token) - /// Token object used for + /// Token object used for /// this authorization. If a network token was not used for this authorization, this field /// will be null. /// @@ -314,7 +314,7 @@ public string TokenId /// /// (Expanded) - /// Token object used for + /// Token object used for /// this authorization. If a network token was not used for this authorization, this field /// will be null. /// @@ -340,7 +340,7 @@ public Token Token #endregion /// - /// List of transactions + /// List of transactions /// associated with this authorization. /// [JsonProperty("transactions")] @@ -350,9 +350,9 @@ public Token Token public List Transactions { get; set; } /// - /// Treasury details related to this + /// Treasury details related to this /// authorization if it was created on a FinancialAccount. + /// href="https://docs.stripe.com/api/treasury/financial_accounts">FinancialAccount. /// [JsonProperty("treasury")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs index 4be6dd4b94..457aec066f 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs @@ -10,7 +10,7 @@ public class AuthorizationMerchantData : StripeEntity { /// /// A categorization of the seller's type of business. See our merchant categories guide + /// href="https://docs.stripe.com/issuing/merchant-categories">merchant categories guide /// for a list of possible values. /// [JsonProperty("category")] diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs index 869496eef7..dbe7377021 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs @@ -11,8 +11,8 @@ public class AuthorizationPendingRequest : StripeEntity /// The additional amount Stripe will hold if the authorization is approved, in the card's /// currency - /// and in the smallest currency + /// href="https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency">currency + /// and in the smallest currency /// unit. /// [JsonProperty("amount")] @@ -24,7 +24,7 @@ public class AuthorizationPendingRequest : StripeEntity /// Detailed breakdown of amount components. These amounts are denominated in /// currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_details")] #if NET6_0_OR_GREATER @@ -45,7 +45,7 @@ public class AuthorizationPendingRequest : StripeEntity /// If set true, you may provide amount + /// href="https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount">amount /// to control how much to hold for the authorization. /// [JsonProperty("is_amount_controllable")] @@ -56,7 +56,7 @@ public class AuthorizationPendingRequest : StripeEntity /// The amount the merchant is requesting to be authorized in the merchant_currency. - /// The amount is in the smallest + /// The amount is in the smallest /// currency unit. /// [JsonProperty("merchant_amount")] diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs index 609ac8fcf2..e21cc917d4 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs @@ -12,7 +12,7 @@ public class AuthorizationRequestHistory : StripeEntity /// The pending_request.amount at the time of the request, presented in your card's - /// currency and in the smallest + /// currency and in the smallest /// currency unit. Stripe held this amount from your account to fund the authorization /// if the request was approved. /// @@ -25,7 +25,7 @@ public class AuthorizationRequestHistory : StripeEntity /// Detailed breakdown of amount components. These amounts are denominated in /// currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_details")] #if NET6_0_OR_GREATER @@ -80,7 +80,7 @@ public class AuthorizationRequestHistory : StripeEntity /// The pending_request.merchant_amount at the time of the request, presented in the /// merchant_currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("merchant_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs index 16ffd5e58e..65538b2dc3 100644 --- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs +++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs @@ -11,7 +11,7 @@ public class AuthorizationTreasury : StripeEntity { /// /// The array of ReceivedCredits + /// href="https://docs.stripe.com/api/treasury/received_credits">ReceivedCredits /// associated with this authorization. /// [JsonProperty("received_credits")] @@ -22,7 +22,7 @@ public class AuthorizationTreasury : StripeEntity /// /// The array of ReceivedDebits + /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebits /// associated with this authorization. /// [JsonProperty("received_debits")] @@ -32,7 +32,7 @@ public class AuthorizationTreasury : StripeEntity public List ReceivedDebits { get; set; } /// - /// The Treasury Transaction + /// The Treasury Transaction /// associated with this authorization. /// [JsonProperty("transaction")] diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs index 13a0930626..dfae9a36e3 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs @@ -11,10 +11,10 @@ namespace Stripe.Issuing /// /// An Issuing Cardholder object represents an individual or business entity who is - /// issued cards. + /// issued cards. /// /// Related guide: How + /// href="https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder">How /// to create a cardholder. /// public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -92,7 +92,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -114,7 +114,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb /// /// The cardholder's phone number. This is required for all cardholders who will be creating /// EU cards. See the 3D Secure + /// href="https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied">3D Secure /// documentation for more details. /// [JsonProperty("phone_number")] @@ -126,7 +126,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb /// /// The cardholder’s preferred locales (languages), ordered by preference. Locales can be /// de, en, es, fr, or it. This changes the language of - /// the 3D Secure flow and one-time + /// the 3D Secure flow and one-time /// password messages sent to the cardholder. /// One of: de, en, es, fr, or it. /// @@ -144,7 +144,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb /// /// Rules that control spending across this cardholder's cards. Refer to our documentation for + /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for /// more details. /// [JsonProperty("spending_controls")] @@ -165,7 +165,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb /// /// One of individual or company. See Choose a cardholder + /// href="https://docs.stripe.com/issuing/other/choose-cardholder">Choose a cardholder /// type for more details. /// One of: company, or individual. /// diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs index 2f636191d8..b4c7c2bc9a 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs @@ -16,9 +16,8 @@ public class CardholderIndividualVerificationDocument : StripeEntity /// (ID of the File) - /// The back of a document returned by a file upload with a purpose - /// value of identity_document. + /// The back of a document returned by a file + /// upload with a purpose value of identity_document. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -32,9 +31,8 @@ public string BackId /// /// (Expanded) - /// The back of a document returned by a file upload with a purpose - /// value of identity_document. + /// The back of a document returned by a file + /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. /// @@ -61,9 +59,8 @@ public File Back /// /// (ID of the File) - /// The front of a document returned by a file upload with a purpose - /// value of identity_document. + /// The front of a document returned by a file + /// upload with a purpose value of identity_document. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -77,9 +74,8 @@ public string FrontId /// /// (Expanded) - /// The front of a document returned by a file upload with a purpose - /// value of identity_document. + /// The front of a document returned by a file + /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. /// diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs index bd4bbf5a4d..26b6916c64 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs @@ -11,7 +11,7 @@ public class CardholderSpendingControls : StripeEntity /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, @@ -180,7 +180,7 @@ public class CardholderSpendingControls : StripeEntity /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs index 4275211ef8..9701eede84 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs @@ -11,7 +11,7 @@ public class CardholderSpendingControlsSpendingLimit : StripeEntity /// Maximum amount allowed to spend per interval. This amount is in the card's currency and - /// in the smallest currency + /// in the smallest currency /// unit. /// [JsonProperty("amount")] @@ -22,7 +22,7 @@ public class CardholderSpendingControlsSpendingLimit : StripeEntity /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// this limit applies to. Omitting this field will apply the limit to all categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Entities/Issuing/Cards/Card.cs b/src/Stripe.net/Entities/Issuing/Cards/Card.cs index 25226abd10..173a6a3fdc 100644 --- a/src/Stripe.net/Entities/Issuing/Cards/Card.cs +++ b/src/Stripe.net/Entities/Issuing/Cards/Card.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing #endif /// - /// You can create physical or virtual cards + /// You can create physical or virtual cards /// that are issued to cardholders. /// #if NET6_0_OR_GREATER @@ -57,10 +57,10 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// An Issuing Cardholder object represents an individual or business entity who is - /// issued cards. + /// issued cards. /// /// Related guide: How + /// href="https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder">How /// to create a cardholder. /// [JsonProperty("cardholder")] @@ -94,9 +94,9 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// The card's CVC. For security reasons, this is only available for virtual cards, and will /// be omitted unless you explicitly request it with the expand parameter. + /// href="https://docs.stripe.com/api/expanding_objects">the expand parameter. /// Additionally, it's only available via the "Retrieve a card" + /// href="https://docs.stripe.com/api/issuing/cards/retrieve">"Retrieve a card" /// endpoint, not via "List all cards" or any other endpoint. /// [JsonProperty("cvc")] @@ -162,7 +162,7 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -175,9 +175,9 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// The full unredacted card number. For security reasons, this is only available for /// virtual cards, and will be omitted unless you explicitly request it with the expand parameter. + /// href="https://docs.stripe.com/api/expanding_objects">the expand parameter. /// Additionally, it's only available via the "Retrieve a card" + /// href="https://docs.stripe.com/api/issuing/cards/retrieve">"Retrieve a card" /// endpoint, not via "List all cards" or any other endpoint. /// [JsonProperty("number")] diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs index 8e391c48e6..b70d37b007 100644 --- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs +++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs @@ -11,7 +11,7 @@ public class CardSpendingControls : StripeEntity { /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, @@ -180,7 +180,7 @@ public class CardSpendingControls : StripeEntity /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs index e561012012..3381fd8596 100644 --- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs +++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs @@ -11,7 +11,7 @@ public class CardSpendingControlsSpendingLimit : StripeEntity /// Maximum amount allowed to spend per interval. This amount is in the card's currency and - /// in the smallest currency + /// in the smallest currency /// unit. /// [JsonProperty("amount")] @@ -22,7 +22,7 @@ public class CardSpendingControlsSpendingLimit : StripeEntity /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// this limit applies to. Omitting this field will apply the limit to all categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs index 1de8ef3f07..ea81af3124 100644 --- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs +++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs @@ -16,7 +16,7 @@ namespace Stripe.Issuing /// object on a connected account. /// /// Follow + /// href="https://docs.stripe.com/issuing/credit/report-credit-decisions-and-manage-aans">Follow /// the guide to learn about your requirements as a platform. /// public class CreditUnderwritingRecord : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -118,7 +118,7 @@ public class CreditUnderwritingRecord : StripeEntity, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -131,7 +131,7 @@ public class CreditUnderwritingRecord : StripeEntity, /// /// File containing regulatory reporting data for the decision. Required if you are subject /// to this reporting + /// href="https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions">reporting /// requirement. /// [JsonProperty("regulatory_reporting_file")] diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs index dd22243e20..ab3476fb7c 100644 --- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs +++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs @@ -10,7 +10,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitApproved : StripeEntity< { /// /// Credit amount approved. An approved credit limit is required before you can set a amount - /// in the CreditPolicy API. + /// in the CreditPolicy API. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs index 6c8df15268..23f230672e 100644 --- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs +++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs @@ -12,7 +12,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitDecreased : StripeEntity /// /// Credit amount approved after decrease. An approved credit limit is required before you /// can set a amount in the CreditPolicy API. + /// href="https://docs.stripe.com/api/issuing/credit_policy">CreditPolicy API. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs b/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs index 9fe9b2f131..1e198a861a 100644 --- a/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs +++ b/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs @@ -10,11 +10,11 @@ namespace Stripe.Issuing #endif /// - /// As a card issuer, you can dispute + /// As a card issuer, you can dispute /// transactions that the cardholder does not recognize, suspects to be fraudulent, or has /// other issues with. /// - /// Related guide: Issuing + /// Related guide: Issuing /// disputes. /// #if NET6_0_OR_GREATER @@ -42,7 +42,7 @@ public class Dispute : StripeEntity, IHasId, IHasMetadata, IHasObject, /// /// Disputed amount in the card's currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Usually the amount of the transaction, but can differ (usually because of /// currency fluctuation). /// @@ -121,7 +121,7 @@ public class Dispute : StripeEntity, IHasId, IHasMetadata, IHasObject, public string LossReason { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -184,7 +184,7 @@ public Transaction Transaction #endregion /// - /// Treasury details related to this + /// Treasury details related to this /// dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts. /// [JsonProperty("treasury")] diff --git a/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs b/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs index 1697e6c0d9..9d7b46fdca 100644 --- a/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs +++ b/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs @@ -10,7 +10,7 @@ public class DisputeTreasury : StripeEntity { /// /// The Treasury DebitReversal + /// href="https://docs.stripe.com/api/treasury/debit_reversals">DebitReversal /// representing this Issuing dispute. /// [JsonProperty("debit_reversal")] @@ -21,7 +21,7 @@ public class DisputeTreasury : StripeEntity /// /// The Treasury ReceivedDebit that is + /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebit that is /// being disputed. /// [JsonProperty("received_debit")] diff --git a/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs b/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs index a0289b4163..3f6dce0c2a 100644 --- a/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs +++ b/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs @@ -49,7 +49,7 @@ public class FraudLiabilityDebit : StripeEntity, IHasId, IH /// /// (ID of the BalanceTransaction) - /// ID of the balance + /// ID of the balance /// transaction associated with this debit. /// [JsonIgnore] @@ -64,7 +64,7 @@ public string BalanceTransactionId /// /// (Expanded) - /// ID of the balance + /// ID of the balance /// transaction associated with this debit. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs b/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs index beac2c3605..e9f1c43c3a 100644 --- a/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs +++ b/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs @@ -120,7 +120,7 @@ public File CardLogo public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs b/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs index 2bd21d538b..ac8c1d77c4 100644 --- a/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs +++ b/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs @@ -11,7 +11,7 @@ namespace Stripe.Issuing /// /// When a non-stripe BIN is used, any use of an issued card must be settled directly with the + /// href="https://docs.stripe.com/issuing">issued card must be settled directly with the /// card network. The net amount owed is represented by an Issuing Settlement object. /// public class Settlement : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -96,7 +96,7 @@ public class Settlement : StripeEntity, IHasId, IHasMetadata, IHasOb public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Issuing/Tokens/Token.cs b/src/Stripe.net/Entities/Issuing/Tokens/Token.cs index c923a54f93..4c30732c68 100644 --- a/src/Stripe.net/Entities/Issuing/Tokens/Token.cs +++ b/src/Stripe.net/Entities/Issuing/Tokens/Token.cs @@ -10,8 +10,8 @@ namespace Stripe.Issuing /// /// An issuing token object is created when an issued card is added to a digital wallet. As - /// a card issuer, you can view and manage these + /// a card issuer, you can view and manage these /// tokens through Stripe. /// #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs index 86b58ad5ec..268df08c1f 100644 --- a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs +++ b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs @@ -10,11 +10,11 @@ namespace Stripe.Issuing #endif /// - /// Any use of an issued card that results in + /// Any use of an issued card that results in /// funds entering or leaving your Stripe account, such as a completed purchase or refund, /// is represented by an Issuing Transaction object. /// - /// Related guide: Issued + /// Related guide: Issued /// card transactions. /// #if NET6_0_OR_GREATER @@ -42,7 +42,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas /// /// The transaction amount, which will be reflected in your balance. This amount is in your - /// currency and in the smallest + /// currency and in the smallest /// currency unit. /// [JsonProperty("amount")] @@ -54,7 +54,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas /// /// Detailed breakdown of amount components. These amounts are denominated in /// currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_details")] #if NET6_0_OR_GREATER @@ -107,7 +107,7 @@ public Authorization Authorization /// /// (ID of the BalanceTransaction) - /// ID of the balance + /// ID of the balance /// transaction associated with this transaction. /// [JsonIgnore] @@ -122,7 +122,7 @@ public string BalanceTransactionId /// /// (Expanded) - /// ID of the balance + /// ID of the balance /// transaction associated with this transaction. /// /// For more information, see the expand documentation. @@ -303,7 +303,7 @@ public Dispute Dispute /// /// The amount that the merchant will receive, denominated in merchant_currency and - /// in the smallest currency + /// in the smallest currency /// unit. It will be different from amount if the merchant is taking payment in a /// different currency. /// @@ -329,7 +329,7 @@ public Dispute Dispute public AuthorizationMerchantData MerchantData { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -361,7 +361,7 @@ public Dispute Dispute /// /// (ID of the Settlement) - /// The ID of the settlement + /// The ID of the settlement /// to which this transaction belongs. /// [JsonIgnore] @@ -376,7 +376,7 @@ public string SettlementId /// /// (Expanded) - /// The ID of the settlement + /// The ID of the settlement /// to which this transaction belongs. /// /// For more information, see the expand documentation. @@ -404,7 +404,7 @@ public Settlement Settlement /// /// (ID of the Token) - /// Token object used for + /// Token object used for /// this transaction. If a network token was not used for this transaction, this field will /// be null. /// @@ -420,7 +420,7 @@ public string TokenId /// /// (Expanded) - /// Token object used for + /// Token object used for /// this transaction. If a network token was not used for this transaction, this field will /// be null. /// @@ -446,7 +446,7 @@ public Token Token #endregion /// - /// Treasury details related to this + /// Treasury details related to this /// transaction if it was created on a /// [FinancialAccount](/docs/api/treasury/financial_accounts. /// diff --git a/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs b/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs index c3f8db34f9..d33299899d 100644 --- a/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs +++ b/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs @@ -10,7 +10,7 @@ public class TransactionTreasury : StripeEntity { /// /// The Treasury ReceivedCredit + /// href="https://docs.stripe.com/api/treasury/received_credits">ReceivedCredit /// representing this Issuing transaction if it is a refund. /// [JsonProperty("received_credit")] @@ -21,7 +21,7 @@ public class TransactionTreasury : StripeEntity /// /// The Treasury ReceivedDebit + /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebit /// representing this Issuing transaction if it is a capture. /// [JsonProperty("received_debit")] diff --git a/src/Stripe.net/Entities/LineItems/LineItem.cs b/src/Stripe.net/Entities/LineItems/LineItem.cs index ea3d8c0d7c..2896d290db 100644 --- a/src/Stripe.net/Entities/LineItems/LineItem.cs +++ b/src/Stripe.net/Entities/LineItems/LineItem.cs @@ -123,7 +123,7 @@ public class LineItem : StripeEntity, IHasId, IHasMetadata, IHasObject public LineItemDisplay Display { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs b/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs index f75007c7ea..d5d699bc84 100644 --- a/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs +++ b/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs @@ -19,12 +19,12 @@ public class LineItemDiscount : StripeEntity /// /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/LoginLinks/LoginLink.cs b/src/Stripe.net/Entities/LoginLinks/LoginLink.cs index 3a9bded574..9c30b0164d 100644 --- a/src/Stripe.net/Entities/LoginLinks/LoginLink.cs +++ b/src/Stripe.net/Entities/LoginLinks/LoginLink.cs @@ -11,9 +11,9 @@ namespace Stripe /// /// Login Links are single-use URLs that takes an Express account to the login page for /// their Stripe dashboard. A Login Link differs from an Account Link in that it takes the + /// href="https://docs.stripe.com/api/account_links">Account Link in that it takes the /// user directly to their Express + /// href="https://docs.stripe.com/connect/integrate-express-dashboard#create-login-link">Express /// dashboard for the specified account. /// public class LoginLink : StripeEntity, IHasObject diff --git a/src/Stripe.net/Entities/Margins/Margin.cs b/src/Stripe.net/Entities/Margins/Margin.cs index f45abb867f..eded6f019a 100644 --- a/src/Stripe.net/Entities/Margins/Margin.cs +++ b/src/Stripe.net/Entities/Margins/Margin.cs @@ -66,7 +66,7 @@ public class Margin : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Orders/Order.cs b/src/Stripe.net/Entities/Orders/Order.cs index 9dc99715ab..b7ce549ba0 100644 --- a/src/Stripe.net/Entities/Orders/Order.cs +++ b/src/Stripe.net/Entities/Orders/Order.cs @@ -43,7 +43,7 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// Order cost before any discounts or taxes are applied. A positive integer representing /// the subtotal of the order in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). /// [JsonProperty("amount_subtotal")] @@ -55,10 +55,10 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// Total order cost after discounts and taxes are applied. A positive integer representing /// the cost of the order in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). To submit an /// order, the total must be either 0 or at least $0.50 USD or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. /// [JsonProperty("amount_total")] @@ -132,7 +132,7 @@ public Application Application /// secret. /// /// Refer to our docs for creating and processing an + /// href="https://docs.stripe.com/orders-beta/create-and-process">creating and processing an /// order to learn about how client_secret should be handled. /// [JsonProperty("client_secret")] @@ -284,7 +284,7 @@ public List Discounts public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs index ecd7c9b059..cee96c43f5 100644 --- a/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs +++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs @@ -40,7 +40,7 @@ public class OrderPaymentSettings : StripeEntity public OrderPaymentSettingsPaymentMethodOptions PaymentMethodOptions { get; set; } /// - /// The list of payment + /// The list of payment /// method types to provide to the order's PaymentIntent. Do not include this attribute /// if you prefer to manage your payment methods from the Stripe Dashboard. diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs index bbf4e04b63..a3225f9a50 100644 --- a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs +++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs @@ -34,16 +34,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay : StripeEn /// Indicates that you intend to make future payments with the payment method. /// /// Providing this parameter will attach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the order's Customer, if present, after the order's PaymentIntent is /// confirmed and any required actions from the user are complete. If no Customer was /// provided, the payment method can still be attached to a Customer + /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer /// after the transaction completes. /// /// When processing card payments, Stripe also uses setup_future_usage to dynamically /// optimize your payment flow and comply with regional legislation and network rules, such - /// as SCA. + /// as SCA. /// /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs index f9057ae3bb..8dea231e3b 100644 --- a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs @@ -22,16 +22,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsCard : StripeEntityattach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the order's Customer, if present, after the order's PaymentIntent is /// confirmed and any required actions from the user are complete. If no Customer was /// provided, the payment method can still be attached to a Customer + /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer /// after the transaction completes. /// /// When processing card payments, Stripe also uses setup_future_usage to dynamically /// optimize your payment flow and comply with regional legislation and network rules, such - /// as SCA. + /// as SCA. /// /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to diff --git a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs index 931bcd07b4..33841de50b 100644 --- a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs +++ b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs @@ -19,12 +19,12 @@ public class OrderTotalDetailsBreakdownDiscount : StripeEntity /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs index 98d1bfdb6f..91de7557ac 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs @@ -157,7 +157,7 @@ public class PaymentAttemptRecord : StripeEntity, IHasId, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs index d7e37e3dcc..78cf6de774 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmount : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs index 1c51574a8d..0cb47cf4ab 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountAuthorized : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs index 4d60c508d9..8528dee903 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountCanceled : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs index a1244e63d2..58ccf4b316 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountFailed : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs index ebd770d66a..e460cf54d5 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountGuaranteed : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs index ba3898cd59..4ed14175dd 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountRefunded : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs index 65f3277ca1..0772465abf 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs @@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountRequested : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs index 0be86979b0..85571ecbe4 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs @@ -403,7 +403,7 @@ public class PaymentAttemptRecordPaymentMethodDetails : StripeEntity /// The type of transaction-specific details of the payment method used in the payment. See /// PaymentMethod.type + /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type /// for the full list of possible types. An additional hash is included on /// payment_method_details with a name matching this value. It contains information /// specific to the payment method. diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs index 15dc865bc7..26f6e5f40d 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs @@ -17,6 +17,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsAcssDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs index 92a2f41a54..4f71a46db0 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentAttemptRecordPaymentMethodDetailsAffirm : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsAffirm : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs index 37c21720a7..a912d18d7c 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs @@ -17,6 +17,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit : StripeEntity< #endif public string BsbNumber { get; set; } + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs index c668237321..c331942a5f 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs @@ -8,6 +8,15 @@ namespace Stripe public class PaymentAttemptRecordPaymentMethodDetailsBacsDebit : StripeEntity { + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs index 0ca47e3589..c6f455fab5 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs @@ -55,7 +55,8 @@ public class PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress : Str public string PostalCode { get; set; } /// - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs index de8b905b74..aa80f01e8e 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs @@ -10,6 +10,15 @@ namespace Stripe public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity { + /// + /// The authorization code of the payment. + /// + [JsonProperty("authorization_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_code")] +#endif + public string AuthorizationCode { get; set; } + /// /// Card brand. Can be amex, cartes_bancaires, diners, discover, /// eftpos_au, jcb, link, mastercard, unionpay, @@ -55,6 +64,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity + /// A high-level description of the type of cards issued in this range. + /// + [JsonProperty("description")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("description")] +#endif + public string Description { get; set; } + /// /// Two-digit number representing the card's expiration month. /// @@ -99,6 +117,33 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity + /// Issuer identification number of the card. + /// + [JsonProperty("iin")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("iin")] +#endif + public string Iin { get; set; } + + /// + /// Installment details for this payment. + /// + [JsonProperty("installments")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("installments")] +#endif + public PaymentAttemptRecordPaymentMethodDetailsCardInstallments Installments { get; set; } + + /// + /// The name of the card's issuing bank. + /// + [JsonProperty("issuer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("issuer")] +#endif + public string Issuer { get; set; } + /// /// The last four digits of the card. /// @@ -132,6 +177,24 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity + /// Advice code from the card network for the failed payment. + /// + [JsonProperty("network_advice_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_advice_code")] +#endif + public string NetworkAdviceCode { get; set; } + + /// + /// Decline code from the card network for the failed payment. + /// + [JsonProperty("network_decline_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_decline_code")] +#endif + public string NetworkDeclineCode { get; set; } + /// /// If this card has network token credentials, this contains the details of the network /// token credentials. @@ -154,6 +217,17 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity + /// The transaction type that was passed for an off-session, Merchant-Initiated transaction, + /// one of recurring or unscheduled. + /// One of: recurring, or unscheduled. + /// + [JsonProperty("stored_credential_usage")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("stored_credential_usage")] +#endif + public string StoredCredentialUsage { get; set; } + /// /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs new file mode 100644 index 0000000000..f4fe81391b --- /dev/null +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentAttemptRecordPaymentMethodDetailsCardInstallments : StripeEntity + { + [JsonProperty("plan")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("plan")] +#endif + public PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan Plan { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs new file mode 100644 index 0000000000..8398816199 --- /dev/null +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan : StripeEntity + { + /// + /// For fixed_count installment plans, this is the number of installment payments + /// your customer will make to their credit card. + /// + [JsonProperty("count")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("count")] +#endif + public long? Count { get; set; } + + /// + /// For fixed_count installment plans, this is the interval between installment + /// payments your customer will make to their credit card. One of month. + /// + [JsonProperty("interval")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval")] +#endif + public string Interval { get; set; } + + /// + /// Type of installment plan, one of fixed_count, revolving, or bonus. + /// One of: bonus, fixed_count, or revolving. + /// + [JsonProperty("type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("type")] +#endif + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs index 4ab40f7813..66ea4a7719 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs @@ -161,9 +161,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsCardPresent : StripeEntity< public string Iin { get; set; } /// - /// Whether this PaymentIntent is + /// Whether this PaymentIntent is /// eligible for incremental authorizations. Request support using request_incremental_authorization_support. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support. /// [JsonProperty("incremental_authorization_supported")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs index 05d09359df..bbb02a0688 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs @@ -14,14 +14,14 @@ public class PaymentAttemptRecordPaymentMethodDetailsIdeal : StripeEntity /// The customer's bank. Can be one of abn_amro, asn_bank, bunq, - /// buut, finom, handelsbanken, ing, knab, + /// buut, finom, handelsbanken, ing, knab, mollie, /// moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -33,8 +33,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs index 63b1e40810..d80a3676ed 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs @@ -45,6 +45,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsNzBankAccount : StripeEntit #endif public string BranchCode { get; set; } + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Last four digits of the bank account number. /// diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs index b9a2c86679..98d6cfbcd5 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentAttemptRecordPaymentMethodDetailsPaynow : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsPaynow : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs index a20882ee35..4fb531560f 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs @@ -35,6 +35,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsSepaDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. @@ -56,9 +65,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsSepaDebit : StripeEntity /// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate + /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate /// property on the Charge. Use this mandate ID to retrieve the Mandate. + /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate. /// [JsonProperty("mandate")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs index acdecb8120..8c93835193 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs @@ -41,6 +41,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsUsBankAccount : StripeEntit #endif public string BankName { get; set; } + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs index 0ead641a86..ccb6b59459 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs @@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsWechatPay : StripeEntity - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -29,7 +29,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsWechatPay : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs index aae4dab913..f04f7ae227 100644 --- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs +++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs @@ -55,7 +55,8 @@ public class PaymentAttemptRecordShippingDetailsAddress : StripeEntity - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs index 222f718e8e..48cc7fcf22 100644 --- a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs +++ b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs @@ -28,7 +28,7 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity /// The discount applied on this line item represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than 0. /// /// This field is mutually exclusive with the amount_details[discount_amount] field. @@ -90,7 +90,7 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity /// The unit cost of the line item represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L3 rates. An integer greater than or equal to 0. /// [JsonProperty("unit_cost")] diff --git a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs index 7068d49e07..06af67520f 100644 --- a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs +++ b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsLineItemTax : StripeEntity /// The total amount of tax on the transaction represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L2 rates. An integer greater than or equal to 0. /// /// This field is mutually exclusive with the diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs index f01cc5b0d9..3a21e47898 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs @@ -16,11 +16,11 @@ namespace Stripe /// history of payment attempts for a particular session. /// /// A PaymentIntent transitions through multiple statuses + /// href="https://stripe.com/payments/paymentintents/lifecycle">multiple statuses /// throughout its lifetime as it interfaces with Stripe.js to perform authentication flows /// and ultimately creates at most one successful charge. /// - /// Related guide: Payment + /// Related guide: Payment /// Intents API. /// #if NET6_0_OR_GREATER @@ -49,10 +49,10 @@ public class PaymentIntent : StripeEntity, IHasId, IHasMetadata, /// /// Amount intended to be collected by this PaymentIntent. A positive integer representing /// how much to charge in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum /// amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// @@ -132,7 +132,7 @@ public Application Application /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -141,6 +141,12 @@ public Application Application #endif public long? ApplicationFeeAmount { get; set; } + [JsonProperty("async_workflows")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("async_workflows")] +#endif + public PaymentIntentAsyncWorkflows AsyncWorkflows { get; set; } + /// /// Settings to configure compatible payment methods from the Stripe Dashboard. @@ -197,7 +203,7 @@ public Application Application /// TLS enabled on any page that includes the client secret. /// /// Refer to our docs to accept a + /// href="https://docs.stripe.com/payments/accept-a-payment?ui=elements">accept a /// payment and learn about how client_secret should be handled. /// [JsonProperty("client_secret")] @@ -248,7 +254,7 @@ public Application Application /// Payment methods attached to other Customers cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Customer after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -273,7 +279,7 @@ public string CustomerId /// Payment methods attached to other Customers cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Customer after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -303,12 +309,13 @@ public Customer Customer #endregion /// - /// ID of the Account this PaymentIntent belongs to, if one exists. + /// ID of the Account representing the customer that this PaymentIntent belongs to, if one + /// exists. /// /// Payment methods attached to other Accounts cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Account after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -381,7 +388,7 @@ public Customer Customer /// /// (ID of the Charge) - /// ID of the latest Charge object created + /// ID of the latest Charge object created /// by this PaymentIntent. This property is null until PaymentIntent confirmation is /// attempted. /// @@ -397,7 +404,7 @@ public string LatestChargeId /// /// (Expanded) - /// ID of the latest Charge object created + /// ID of the latest Charge object created /// by this PaymentIntent. This property is null until PaymentIntent confirmation is /// attempted. /// @@ -433,10 +440,10 @@ public Charge LatestCharge public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Learn more about storing + /// href="https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata">storing /// information in metadata. /// [JsonProperty("metadata")] @@ -459,9 +466,10 @@ public Charge LatestCharge /// /// (ID of the Account) - /// The account (if any) for which the funds of the PaymentIntent are intended. See the - /// PaymentIntents use case - /// for connected accounts for details. + /// You can specify the settlement merchant as the connected account using the + /// on_behalf_of attribute on the charge. See the PaymentIntents use case for connected + /// accounts for details. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -475,9 +483,10 @@ public string OnBehalfOfId /// /// (Expanded) - /// The account (if any) for which the funds of the PaymentIntent are intended. See the - /// PaymentIntents use case - /// for connected accounts for details. + /// You can specify the settlement merchant as the connected account using the + /// on_behalf_of attribute on the charge. See the PaymentIntents use case for connected + /// accounts for details. /// /// For more information, see the expand documentation. /// @@ -549,7 +558,7 @@ public PaymentMethod PaymentMethod /// /// Information about the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration used for this PaymentIntent. /// [JsonProperty("payment_method_configuration_details")] @@ -770,7 +779,7 @@ public IPaymentSource Source /// requires_confirmation, requires_action, processing, /// requires_capture, canceled, or succeeded. Read more about each /// PaymentIntent status. + /// href="https://docs.stripe.com/payments/intents#intent-statuses">status. /// One of: canceled, processing, requires_action, /// requires_capture, requires_confirmation, requires_payment_method, /// or succeeded. @@ -783,7 +792,7 @@ public IPaymentSource Source /// /// The data that automatically creates a Transfer after the payment finalizes. Learn more - /// about the use case for + /// about the use case for /// connected accounts. /// [JsonProperty("transfer_data")] @@ -794,7 +803,7 @@ public IPaymentSource Source /// /// A string that identifies the resulting payment as part of a group. Learn more about the - /// use case for + /// use case for /// connected accounts. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs index 2a195d64fa..b9ccdd31e9 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetails : StripeEntity /// The total discount applied on the transaction represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than 0. /// /// This field is mutually exclusive with the @@ -24,7 +24,7 @@ public class PaymentIntentAmountDetails : StripeEntity /// A list of line items, each containing information about a product in the PaymentIntent. - /// There is a maximum of 100 line items. + /// There is a maximum of 200 line items. /// [JsonProperty("line_items")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs index e4e90a21b2..fe8b966d80 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsShipping : StripeEntity /// If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than or equal to 0. /// [JsonProperty("amount")] diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs index 87c26c9913..b5a022051d 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsTax : StripeEntity /// The total amount of tax on the transaction represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L2 rates. An integer greater than or equal to 0. /// /// This field is mutually exclusive with the diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs new file mode 100644 index 0000000000..5d5f4d6bc1 --- /dev/null +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentIntentAsyncWorkflows : StripeEntity + { + [JsonProperty("inputs")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("inputs")] +#endif + public PaymentIntentAsyncWorkflowsInputs Inputs { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs new file mode 100644 index 0000000000..1492b12bb0 --- /dev/null +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentIntentAsyncWorkflowsInputs : StripeEntity + { + [JsonProperty("tax")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("tax")] +#endif + public PaymentIntentAsyncWorkflowsInputsTax Tax { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs new file mode 100644 index 0000000000..a3ece0c484 --- /dev/null +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentIntentAsyncWorkflowsInputsTax : StripeEntity + { + /// + /// The TaxCalculation id. + /// + [JsonProperty("calculation")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("calculation")] +#endif + public string Calculation { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs index dfc1aed31f..ad69aaa60d 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs @@ -13,7 +13,7 @@ public class PaymentIntentAutomaticPaymentMethods : StripeEntityconfirm this + /// href="https://docs.stripe.com/api/payment_intents/confirm">confirm this /// PaymentIntent, you may be required to provide a return_url to redirect customers /// back to your site after they authenticate or complete the payment. /// One of: always, or never. diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs index d955964187..6445da2598 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentIntentHooksInputsTax : StripeEntity { /// - /// The TaxCalculation id. + /// The TaxCalculation id. /// [JsonProperty("calculation")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs index e63d588fed..b751e8d155 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs @@ -21,7 +21,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntityinstallments integration guide. + /// href="https://docs.stripe.com/payments/installments">installments integration guide. /// [JsonProperty("installments")] #if NET6_0_OR_GREATER @@ -53,7 +53,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity /// Request ability to decrement the + /// href="https://docs.stripe.com/payments/decremental-authorization">decrement the /// authorization for this PaymentIntent. /// One of: if_available, or never. /// @@ -65,7 +65,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity /// Request ability to capture beyond the + /// href="https://docs.stripe.com/payments/extended-authorization">capture beyond the /// standard authorization validity window for this PaymentIntent. /// One of: if_available, or never. /// @@ -77,7 +77,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity /// Request ability to increment the + /// href="https://docs.stripe.com/payments/incremental-authorization">increment the /// authorization for this PaymentIntent. /// One of: if_available, or never. /// @@ -88,7 +88,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity - /// Request ability to make multiple + /// Request ability to make multiple /// captures for this PaymentIntent. /// One of: if_available, or never. /// @@ -100,7 +100,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity /// Request ability to overcapture for this + /// href="https://docs.stripe.com/payments/overcapture">overcapture for this /// PaymentIntent. /// One of: if_available, or never. /// @@ -123,11 +123,11 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs index 8434a1640f..37166a1ee5 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs @@ -20,7 +20,7 @@ public class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity /// Request ability to capture this payment beyond the standard authorization + /// href="https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity">authorization /// validity window. /// [JsonProperty("request_extended_authorization")] @@ -31,10 +31,10 @@ public class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity /// Request ability to increment + /// href="https://docs.stripe.com/terminal/features/incremental-authorizations">increment /// this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported - /// in the Confirm + /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported">incremental_authorization_supported + /// in the Confirm /// response to verify support. /// [JsonProperty("request_incremental_authorization_support")] diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs index 40131b61bd..fda9c44f1e 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs @@ -55,7 +55,8 @@ public class PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress : Stri public string PostalCode { get; set; } /// - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs index 35615d83e2..3602292c6f 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs @@ -17,7 +17,7 @@ public class PaymentIntentTransferData : StripeEntity /// automatically after the payment succeeds. If no amount is specified, by default the /// entire payment amount is transferred to the destination account. The amount must be less /// than or equal to the amount, + /// href="https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount">amount, /// and must be a positive integer representing how much to transfer in the smallest /// currency unit (e.g., 100 cents to charge $1.00). /// diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs index 19f83639aa..f0a62c6a65 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs @@ -13,12 +13,12 @@ namespace Stripe /// page. A payment link can be shared and used multiple times. /// /// When a customer opens a payment link it will open a new checkout session to render the + /// href="https://docs.stripe.com/api/checkout/sessions">checkout session to render the /// payment page. You can use checkout + /// href="https://docs.stripe.com/api/events/types#event_types-checkout.session.completed">checkout /// session events to track payments through payment links. /// - /// Related guide: Payment Links API. + /// Related guide: Payment Links API. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -230,7 +230,7 @@ public Application Application public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs index d2ea8977e7..fdf559d74c 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs @@ -91,7 +91,7 @@ public List AccountTaxIds public PaymentLinkInvoiceCreationInvoiceDataIssuer Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs index 2c341b19ac..827e2e652c 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs @@ -29,8 +29,8 @@ public class PaymentLinkPaymentIntentData : StripeEntity - /// Set of key-value pairs that will set - /// metadata on Payment Intents + /// Set of key-value pairs that will set + /// metadata on Payment Intents /// generated from this payment link. /// [JsonProperty("metadata")] @@ -74,7 +74,7 @@ public class PaymentLinkPaymentIntentData : StripeEntity /// A string that identifies the resulting payment as part of a group. See the /// PaymentIntents use case for + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">use case for /// connected accounts for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs index 89af872101..3f51fd029b 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs @@ -27,8 +27,8 @@ public class PaymentLinkSubscriptionData : StripeEntity - /// Set of key-value pairs that will set - /// metadata on Subscriptions + /// Set of key-value pairs that will set + /// metadata on Subscriptions /// generated from this payment link. /// [JsonProperty("metadata")] diff --git a/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs b/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs index a93d214ee2..485e35067a 100644 --- a/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs +++ b/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs @@ -12,7 +12,7 @@ namespace Stripe /// configurations with different sets of payment methods for different scenarios. /// /// There are two types of PaymentMethodConfigurations. Which is used depends on the charge type:. + /// href="https://docs.stripe.com/connect/charges">charge type:. /// /// Direct configurations apply to payments created on your account, /// including Connect destination charges, Connect separate charges and transfers, and @@ -29,11 +29,11 @@ namespace Stripe /// in the dashboard and are not available in this API. /// /// Related guides: - Payment Method + /// href="https://docs.stripe.com/connect/payment-method-configurations">Payment Method /// Configurations API - Multiple + /// href="https://docs.stripe.com/payments/multiple-payment-method-configs">Multiple /// configurations on dynamic payment methods - Multiple + /// href="https://docs.stripe.com/connect/multiple-payment-method-configurations">Multiple /// configurations for your Connect accounts. /// public class PaymentMethodConfiguration : StripeEntity, IHasId, IHasObject diff --git a/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs b/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs index 336b367198..b03764f0a5 100644 --- a/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs +++ b/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs @@ -14,7 +14,7 @@ namespace Stripe /// methods are shown. /// /// Related guide: Payment method + /// href="https://docs.stripe.com/payments/payment-methods/pmd-registration">Payment method /// domains. /// public class PaymentMethodDomain : StripeEntity, IHasId, IHasObject diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs index 36cd39926e..cc07414e19 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs @@ -11,12 +11,12 @@ namespace Stripe /// /// PaymentMethod objects represent your customer's payment instruments. You can use them - /// with PaymentIntents to + /// with PaymentIntents to /// collect payments or save them to Customer objects to store instrument details for future /// payments. /// - /// Related guides: Payment - /// Methods and More + /// Related guides: Payment + /// Methods and More /// Payment Scenarios. /// #if NET6_0_OR_GREATER @@ -334,7 +334,7 @@ public Customer Customer public PaymentMethodMbWay MbWay { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -436,7 +436,7 @@ public Customer Customer /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs index 9ec6e7372c..69abf23bd5 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -161,9 +161,9 @@ public class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent : Str public string Iin { get; set; } /// - /// Whether this PaymentIntent is + /// Whether this PaymentIntent is /// eligible for incremental authorizations. Request support using request_incremental_authorization_support. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support. /// [JsonProperty("incremental_authorization_supported")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs index c4f5ec8957..64bd8c1279 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs @@ -11,13 +11,13 @@ public class PaymentMethodIdeal : StripeEntity /// /// The customer's bank, if provided. Can be one of abn_amro, asn_bank, /// bunq, buut, finom, handelsbanken, ing, knab, - /// moneyou, n26, nn, rabobank, regiobank, + /// mollie, moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -29,8 +29,9 @@ public class PaymentMethodIdeal : StripeEntity /// The Bank Identifier Code of the customer's bank, if the bank was provided. /// One of: ABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs index 9b9f4fb668..63a6cd3125 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentMethodRadarOptions : StripeEntity { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs index c1d4598b08..5483512190 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs @@ -167,7 +167,7 @@ public class PaymentRecord : StripeEntity, IHasId, IHasMetadata, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -195,6 +195,16 @@ public class PaymentRecord : StripeEntity, IHasId, IHasMetadata, #endif public PaymentRecordProcessorDetails ProcessorDetails { get; set; } + /// + /// Indicates who reported the payment. + /// One of: self, or stripe. + /// + [JsonProperty("reported_by")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reported_by")] +#endif + public string ReportedBy { get; set; } + /// /// Shipping information for this payment. /// diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs index 47e1df7339..0ded49788d 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmount : StripeEntity /// /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs index 31c6e2fc1b..3160e3f215 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountAuthorized : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs index 9b79530c70..f9f859fc47 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountCanceled : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs index 0fc5c933c3..d368945609 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountFailed : StripeEntity /// /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs index c948b6ec8e..3706a9f7dd 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountGuaranteed : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs index 6bb55bbb0b..9c6990d8db 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountRefunded : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs index c2aa5b39db..282647a3b5 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountRequested : StripeEntity /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs index ead7d0fa13..31c00be3c5 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs @@ -403,7 +403,7 @@ public class PaymentRecordPaymentMethodDetails : StripeEntity /// The type of transaction-specific details of the payment method used in the payment. See /// PaymentMethod.type + /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type /// for the full list of possible types. An additional hash is included on /// payment_method_details with a name matching this value. It contains information /// specific to the payment method. diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs index ca434c17bc..5a276de375 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs @@ -17,6 +17,15 @@ public class PaymentRecordPaymentMethodDetailsAcssDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs index 02deb6c3f6..45040df18d 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentRecordPaymentMethodDetailsAffirm : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsAffirm : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs index 95b26055d9..5f3e12c30b 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs @@ -17,6 +17,15 @@ public class PaymentRecordPaymentMethodDetailsAuBecsDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs index e54a9497ba..6103bda5f0 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs @@ -8,6 +8,15 @@ namespace Stripe public class PaymentRecordPaymentMethodDetailsBacsDebit : StripeEntity { + /// + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs index 67e853084c..7b40e67815 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs @@ -55,7 +55,8 @@ public class PaymentRecordPaymentMethodDetailsBillingDetailsAddress : StripeEnti public string PostalCode { get; set; } /// - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs index 23835868a7..1cf47438e3 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs @@ -10,6 +10,15 @@ namespace Stripe public class PaymentRecordPaymentMethodDetailsCard : StripeEntity { + /// + /// The authorization code of the payment. + /// + [JsonProperty("authorization_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("authorization_code")] +#endif + public string AuthorizationCode { get; set; } + /// /// Card brand. Can be amex, cartes_bancaires, diners, discover, /// eftpos_au, jcb, link, mastercard, unionpay, @@ -55,6 +64,15 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity + /// A high-level description of the type of cards issued in this range. + /// + [JsonProperty("description")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("description")] +#endif + public string Description { get; set; } + /// /// Two-digit number representing the card's expiration month. /// @@ -99,6 +117,33 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity + /// Issuer identification number of the card. + /// + [JsonProperty("iin")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("iin")] +#endif + public string Iin { get; set; } + + /// + /// Installment details for this payment. + /// + [JsonProperty("installments")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("installments")] +#endif + public PaymentRecordPaymentMethodDetailsCardInstallments Installments { get; set; } + + /// + /// The name of the card's issuing bank. + /// + [JsonProperty("issuer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("issuer")] +#endif + public string Issuer { get; set; } + /// /// The last four digits of the card. /// @@ -132,6 +177,24 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity + /// Advice code from the card network for the failed payment. + /// + [JsonProperty("network_advice_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_advice_code")] +#endif + public string NetworkAdviceCode { get; set; } + + /// + /// Decline code from the card network for the failed payment. + /// + [JsonProperty("network_decline_code")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("network_decline_code")] +#endif + public string NetworkDeclineCode { get; set; } + /// /// If this card has network token credentials, this contains the details of the network /// token credentials. @@ -154,6 +217,17 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity + /// The transaction type that was passed for an off-session, Merchant-Initiated transaction, + /// one of recurring or unscheduled. + /// One of: recurring, or unscheduled. + /// + [JsonProperty("stored_credential_usage")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("stored_credential_usage")] +#endif + public string StoredCredentialUsage { get; set; } + /// /// Populated if this transaction used 3D Secure authentication. /// diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs new file mode 100644 index 0000000000..2cf78cae33 --- /dev/null +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentRecordPaymentMethodDetailsCardInstallments : StripeEntity + { + [JsonProperty("plan")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("plan")] +#endif + public PaymentRecordPaymentMethodDetailsCardInstallmentsPlan Plan { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs new file mode 100644 index 0000000000..a00c82eeba --- /dev/null +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs @@ -0,0 +1,41 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PaymentRecordPaymentMethodDetailsCardInstallmentsPlan : StripeEntity + { + /// + /// For fixed_count installment plans, this is the number of installment payments + /// your customer will make to their credit card. + /// + [JsonProperty("count")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("count")] +#endif + public long? Count { get; set; } + + /// + /// For fixed_count installment plans, this is the interval between installment + /// payments your customer will make to their credit card. One of month. + /// + [JsonProperty("interval")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("interval")] +#endif + public string Interval { get; set; } + + /// + /// Type of installment plan, one of fixed_count, revolving, or bonus. + /// One of: bonus, fixed_count, or revolving. + /// + [JsonProperty("type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("type")] +#endif + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs index 4b8181c73c..497b00eafd 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs @@ -161,9 +161,9 @@ public class PaymentRecordPaymentMethodDetailsCardPresent : StripeEntity - /// Whether this PaymentIntent is + /// Whether this PaymentIntent is /// eligible for incremental authorizations. Request support using request_incremental_authorization_support. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support. /// [JsonProperty("incremental_authorization_supported")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs index 419184c93d..2763f95ee7 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs @@ -14,14 +14,14 @@ public class PaymentRecordPaymentMethodDetailsIdeal : StripeEntity /// The customer's bank. Can be one of abn_amro, asn_bank, bunq, - /// buut, finom, handelsbanken, ing, knab, + /// buut, finom, handelsbanken, ing, knab, mollie, /// moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -33,8 +33,9 @@ public class PaymentRecordPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs index 0009d3525f..0fe8f4a3d7 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs @@ -45,6 +45,15 @@ public class PaymentRecordPaymentMethodDetailsNzBankAccount : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Last four digits of the bank account number. /// diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs index 5ca7d56511..0a8f14a9e3 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentRecordPaymentMethodDetailsPaynow : StripeEntity { /// - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsPaynow : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs index 7d840918de..329c9125cc 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs @@ -35,6 +35,15 @@ public class PaymentRecordPaymentMethodDetailsSepaDebit : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. @@ -56,9 +65,9 @@ public class PaymentRecordPaymentMethodDetailsSepaDebit : StripeEntity /// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate + /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate /// property on the Charge. Use this mandate ID to retrieve the Mandate. + /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate. /// [JsonProperty("mandate")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs index a26ba93bf8..d0663db378 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs @@ -41,6 +41,15 @@ public class PaymentRecordPaymentMethodDetailsUsBankAccount : StripeEntity + /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format. + /// + [JsonProperty("expected_debit_date")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expected_debit_date")] +#endif + public string ExpectedDebitDate { get; set; } + /// /// Uniquely identifies this particular bank account. You can use this attribute to check /// whether two bank accounts are the same. diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs index d8bb308e16..1a34ef9a6c 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs @@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsWechatPay : StripeEntity - /// ID of the location that + /// ID of the location that /// this transaction's reader is assigned to. /// [JsonProperty("location")] @@ -29,7 +29,7 @@ public class PaymentRecordPaymentMethodDetailsWechatPay : StripeEntity - /// ID of the reader this + /// ID of the reader this /// transaction was made on. /// [JsonProperty("reader")] diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs index 2dcf3d8d89..1736e6221e 100644 --- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs +++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs @@ -55,7 +55,8 @@ public class PaymentRecordShippingDetailsAddress : StripeEntity - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Payouts/Payout.cs b/src/Stripe.net/Entities/Payouts/Payout.cs index a8c59bec2f..4001becae2 100644 --- a/src/Stripe.net/Entities/Payouts/Payout.cs +++ b/src/Stripe.net/Entities/Payouts/Payout.cs @@ -17,7 +17,7 @@ namespace Stripe /// on varying /// schedules, depending on your country and industry. /// - /// Related guide: Receiving payouts. + /// Related guide: Receiving payouts. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -57,7 +57,7 @@ public class Payout : StripeEntity, IHasId, IHasMetadata, IHasObject, IB /// /// (ID of the ApplicationFee) /// The application fee (if any) for the payout. See the + /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the /// Connect documentation for details. /// [JsonIgnore] @@ -73,7 +73,7 @@ public string ApplicationFeeId /// /// (Expanded) /// The application fee (if any) for the payout. See the + /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the /// Connect documentation for details. /// /// For more information, see the expand documentation. @@ -99,7 +99,7 @@ public ApplicationFee ApplicationFee /// /// The amount of the application fee (if any) requested for the payout. See the + /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the /// Connect documentation for details. /// [JsonProperty("application_fee_amount")] @@ -122,7 +122,7 @@ public ApplicationFee ApplicationFee /// /// Returns true if the payout is created by an automated payout schedule and + /// href="https://docs.stripe.com/payouts#payout-schedule">automated payout schedule and /// false if it's requested /// manually. /// @@ -294,7 +294,7 @@ public BalanceTransaction FailureBalanceTransaction /// /// Error code that provides a reason for a payout failure, if available. View our list of failure codes. + /// href="https://docs.stripe.com/api#payout_failures">list of failure codes. /// [JsonProperty("failure_code")] #if NET6_0_OR_GREATER @@ -322,7 +322,7 @@ public BalanceTransaction FailureBalanceTransaction public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -397,7 +397,7 @@ public Payout OriginalPayout /// /// If completed, you can use the Balance + /// href="https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-payout">Balance /// Transactions API to list all balance transactions that are paid out in this payout. /// One of: completed, in_progress, or not_applicable. /// diff --git a/src/Stripe.net/Entities/Persons/Person.cs b/src/Stripe.net/Entities/Persons/Person.cs index e459e613dd..6dee3eaf54 100644 --- a/src/Stripe.net/Entities/Persons/Person.cs +++ b/src/Stripe.net/Entities/Persons/Person.cs @@ -170,7 +170,7 @@ public class Person : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// Information about the upcoming new + /// href="https://docs.stripe.com/connect/custom-accounts/future-requirements">upcoming new /// requirements for this person, including what information needs to be collected, and /// by when. /// @@ -254,7 +254,7 @@ public class Person : StripeEntity, IHasId, IHasMetadata, IHasObject public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs index 37135d49af..5f557338de 100644 --- a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs +++ b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs @@ -10,8 +10,11 @@ namespace Stripe public class PersonFutureRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Many alternatives can list the same original_fields_due, and any + /// of these alternatives can serve as a pathway for attempting to resolve the fields again. + /// Re-providing original_fields_due also serves as a pathway for attempting to + /// resolve the fields again. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -20,11 +23,11 @@ public class PersonFutureRequirements : StripeEntity public List Alternatives { get; set; } /// - /// Fields that need to be collected to keep the person's account enabled. If not collected - /// by the account's future_requirements[current_deadline], these fields will - /// transition to the main requirements hash, and may immediately become - /// past_due, but the account may also be given a grace period depending on the - /// account's enablement state prior to transition. + /// Fields that need to be resolved to keep the person's account enabled. If not resolved by + /// the account's future_requirements[current_deadline], these fields will transition + /// to the main requirements hash, and may immediately become past_due, but + /// the account may also be given a grace period depending on the account's enablement state + /// prior to transition. /// [JsonProperty("currently_due")] #if NET6_0_OR_GREATER @@ -33,8 +36,8 @@ public class PersonFutureRequirements : StripeEntity public List CurrentlyDue { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -54,10 +57,9 @@ public class PersonFutureRequirements : StripeEntity public List EventuallyDue { get; set; } /// - /// Fields that weren't collected by the account's requirements.current_deadline. - /// These fields need to be collected to enable the person's account. New fields will never - /// appear here; future_requirements.past_due will always be a subset of - /// requirements.past_due. + /// Fields that haven't been resolved by the account's requirements.current_deadline. + /// These fields need to be resolved to enable the person's account. + /// future_requirements.past_due is a subset of requirements.past_due. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -66,12 +68,11 @@ public class PersonFutureRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due or currently_due. Fields might - /// appear in eventually_due or currently_due and in - /// pending_verification if verification fails but another verification is still - /// pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs index 8db365a11c..bb40f1ac60 100644 --- a/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class PersonFutureRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class PersonFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Persons/PersonRequirements.cs b/src/Stripe.net/Entities/Persons/PersonRequirements.cs index 0349952fd9..d6f408f40e 100644 --- a/src/Stripe.net/Entities/Persons/PersonRequirements.cs +++ b/src/Stripe.net/Entities/Persons/PersonRequirements.cs @@ -10,8 +10,11 @@ namespace Stripe public class PersonRequirements : StripeEntity { /// - /// Fields that are due and can be satisfied by providing the corresponding alternative - /// fields instead. + /// Fields that are due and can be resolved by providing the corresponding alternative + /// fields instead. Many alternatives can list the same original_fields_due, and any + /// of these alternatives can serve as a pathway for attempting to resolve the fields again. + /// Re-providing original_fields_due also serves as a pathway for attempting to + /// resolve the fields again. /// [JsonProperty("alternatives")] #if NET6_0_OR_GREATER @@ -20,8 +23,8 @@ public class PersonRequirements : StripeEntity public List Alternatives { get; set; } /// - /// Fields that need to be collected to keep the person's account enabled. If not collected - /// by the account's current_deadline, these fields appear in past_due as + /// Fields that need to be resolved to keep the person's account enabled. If not resolved by + /// the account's current_deadline, these fields will appear in past_due as /// well, and the account is disabled. /// [JsonProperty("currently_due")] @@ -31,8 +34,8 @@ public class PersonRequirements : StripeEntity public List CurrentlyDue { get; set; } /// - /// Fields that are currently_due and need to be collected again because validation - /// or verification failed. + /// Details about validation and verification failures for due requirements that must + /// be resolved. /// [JsonProperty("errors")] #if NET6_0_OR_GREATER @@ -52,8 +55,8 @@ public class PersonRequirements : StripeEntity public List EventuallyDue { get; set; } /// - /// Fields that weren't collected by the account's current_deadline. These fields - /// need to be collected to enable the person's account. + /// Fields that haven't been resolved by current_deadline. These fields need to be + /// resolved to enable the person's account. /// [JsonProperty("past_due")] #if NET6_0_OR_GREATER @@ -62,12 +65,11 @@ public class PersonRequirements : StripeEntity public List PastDue { get; set; } /// - /// Fields that might become required depending on the results of verification or review. - /// It's an empty array unless an asynchronous verification is pending. If verification - /// fails, these fields move to eventually_due, currently_due, or - /// past_due. Fields might appear in eventually_due, currently_due, or - /// past_due and in pending_verification if verification fails but another - /// verification is still pending. + /// Fields that are being reviewed, or might become required depending on the results of a + /// review. If the review fails, these fields can move to eventually_due, + /// currently_due, past_due or alternatives. Fields might appear in + /// eventually_due, currently_due, past_due or alternatives and + /// in pending_verification if one verification fails but another is still pending. /// [JsonProperty("pending_verification")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs b/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs index ab7362517f..17e6325a00 100644 --- a/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs +++ b/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs @@ -10,7 +10,7 @@ namespace Stripe public class PersonRequirementsAlternative : StripeEntity { /// - /// Fields that can be provided to satisfy all fields in original_fields_due. + /// Fields that can be provided to resolve all fields in original_fields_due. /// [JsonProperty("alternative_fields_due")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class PersonRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; } /// - /// Fields that are due and can be satisfied by providing all fields in + /// Fields that are due and can be resolved by providing all fields in /// alternative_fields_due. /// [JsonProperty("original_fields_due")] diff --git a/src/Stripe.net/Entities/Persons/PersonVerification.cs b/src/Stripe.net/Entities/Persons/PersonVerification.cs index a894c72bff..fa356a6f75 100644 --- a/src/Stripe.net/Entities/Persons/PersonVerification.cs +++ b/src/Stripe.net/Entities/Persons/PersonVerification.cs @@ -50,7 +50,7 @@ public class PersonVerification : StripeEntity /// /// The state of verification for the person. Possible values are unverified, /// pending, or verified. Please refer guide to handle + /// href="https://docs.stripe.com/connect/handling-api-verification">guide to handle /// verification updates. /// [JsonProperty("status")] diff --git a/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs b/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs index bfb507d080..b7685eaee5 100644 --- a/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs +++ b/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs @@ -16,7 +16,7 @@ public class PersonVerificationAdditionalDocument : StripeEntity /// (ID of the File) - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string BackId /// /// (Expanded) - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. @@ -87,7 +87,7 @@ public File Back /// /// (ID of the File) - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonIgnore] @@ -102,7 +102,7 @@ public string FrontId /// /// (Expanded) - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs b/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs index 2ec40cd854..2f85010d84 100644 --- a/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs +++ b/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs @@ -16,7 +16,7 @@ public class PersonVerificationDocument : StripeEntity /// (ID of the File) - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonIgnore] @@ -31,7 +31,7 @@ public string BackId /// /// (Expanded) - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. @@ -87,7 +87,7 @@ public File Back /// /// (ID of the File) - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonIgnore] @@ -102,7 +102,7 @@ public string FrontId /// /// (Expanded) - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/Plans/Plan.cs b/src/Stripe.net/Entities/Plans/Plan.cs index b7c0ca4237..1a1724c433 100644 --- a/src/Stripe.net/Entities/Plans/Plan.cs +++ b/src/Stripe.net/Entities/Plans/Plan.cs @@ -11,11 +11,11 @@ namespace Stripe /// /// You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and - /// is backwards compatible to simplify your migration. + /// href="https://api.stripe.com#prices">Prices API. It replaces the Plans API and is + /// backwards compatible to simplify your migration. /// /// Plans define the base price, currency, and billing cycle for recurring purchases of - /// products. Products help you track + /// products. Products help you track /// inventory or provisioning, and plans help you track pricing. Different physical goods or /// levels of service should be represented by products, and pricing options should be /// represented by plans. This approach lets you change prices without having to change your @@ -25,9 +25,9 @@ namespace Stripe /// $100/year, €9/month, and €90/year. /// /// Related guides: Set up a + /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a /// subscription and more about products and prices. + /// href="https://docs.stripe.com/products-prices/overview">products and prices. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -161,7 +161,7 @@ public class Plan : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -264,7 +264,7 @@ public Product Product /// /// Default number of trial days when subscribing a customer to this plan using trial_from_plan=true. + /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true. /// [JsonProperty("trial_period_days")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Prices/Price.cs b/src/Stripe.net/Entities/Prices/Price.cs index 99647da913..e3157f4369 100644 --- a/src/Stripe.net/Entities/Prices/Price.cs +++ b/src/Stripe.net/Entities/Prices/Price.cs @@ -12,7 +12,7 @@ namespace Stripe /// /// Prices define the unit cost, currency, and (optional) billing cycle for both recurring /// and one-time purchases of products. Products help you track inventory or + /// href="https://api.stripe.com#products">Products help you track inventory or /// provisioning, and prices help you track payment terms. Different physical goods or /// levels of service should be represented by products, and pricing options should be /// represented by prices. This approach lets you change prices without having to change @@ -22,10 +22,10 @@ namespace Stripe /// $100/year, and €9 once. /// /// Related guides: Set up a - /// subscription, create an + /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a + /// subscription, create an /// invoice, and more about products and prices. + /// href="https://docs.stripe.com/products-prices/overview">products and prices. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -149,7 +149,7 @@ public class Price : StripeEntity, IHasId, IHasMetadata, IHasObject public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -229,7 +229,7 @@ public Product Product /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs b/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs index ffc5fe4635..a0549a6c55 100644 --- a/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs +++ b/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs @@ -21,7 +21,7 @@ public class PriceCurrencyOptions : StripeEntity /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Entities/Prices/PriceRecurring.cs b/src/Stripe.net/Entities/Prices/PriceRecurring.cs index f9e8566bb0..a42d2415dd 100644 --- a/src/Stripe.net/Entities/Prices/PriceRecurring.cs +++ b/src/Stripe.net/Entities/Prices/PriceRecurring.cs @@ -41,7 +41,7 @@ public class PriceRecurring : StripeEntity /// /// Default number of trial days when subscribing a customer to this price using trial_from_plan=true. + /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true. /// [JsonProperty("trial_period_days")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Products/Product.cs b/src/Stripe.net/Entities/Products/Product.cs index 44249cdc64..c18f8a10f4 100644 --- a/src/Stripe.net/Entities/Products/Product.cs +++ b/src/Stripe.net/Entities/Products/Product.cs @@ -13,16 +13,16 @@ namespace Stripe /// Products describe the specific goods or services you offer to your customers. For /// example, you might offer a Standard and Premium version of your goods or service; each /// version would be a separate Product. They can be used in conjunction with Prices to configure pricing in Payment - /// Links, Checkout, and Subscriptions. + /// href="https://api.stripe.com#prices">Prices to configure pricing in Payment Links, + /// Checkout, and Subscriptions. /// /// Related guides: Set up a - /// subscription, share a Payment + /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a + /// subscription, share a Payment /// Link, accept + /// href="https://docs.stripe.com/payments/accept-a-payment#create-product-prices-upfront">accept /// payments with Checkout, and more about Products and Prices. + /// href="https://docs.stripe.com/products-prices/overview">Products and Prices. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -71,7 +71,7 @@ public class Product : StripeEntity, IHasId, IHasMetadata, IHasObject /// /// (ID of the Price) - /// The ID of the Price object that is the + /// The ID of the Price object that is the /// default price for this product. /// [JsonIgnore] @@ -86,7 +86,7 @@ public string DefaultPriceId /// /// (Expanded) - /// The ID of the Price object that is the + /// The ID of the Price object that is the /// default price for this product. /// /// For more information, see the expand documentation. @@ -153,7 +153,7 @@ public Price DefaultPrice /// /// A list of up to 15 marketing features for this product. These are displayed in pricing tables. + /// href="https://docs.stripe.com/payments/checkout/pricing-table">pricing tables. /// [JsonProperty("marketing_features")] #if NET6_0_OR_GREATER @@ -162,7 +162,7 @@ public Price DefaultPrice public List MarketingFeatures { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -214,7 +214,7 @@ public Price DefaultPrice /// /// (ID of the TaxCode) - /// A tax code ID. + /// A tax code ID. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -228,7 +228,7 @@ public string TaxCodeId /// /// (Expanded) - /// A tax code ID. + /// A tax code ID. /// /// For more information, see the expand documentation. /// diff --git a/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs b/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs index eebfbae77f..f9258babdf 100644 --- a/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs +++ b/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs @@ -14,7 +14,7 @@ namespace Stripe /// can create multiple codes for a single promotion. /// /// If you enable promotion codes in your customer portal + /// href="https://docs.stripe.com/customer-management/configure-portal">customer portal /// configuration, then customers can redeem a code themselves when updating a /// subscription in the portal. Customers can also view the currently active promotion codes /// and coupons on each of their subscriptions in the portal. @@ -78,7 +78,7 @@ public class PromotionCode : StripeEntity, IHasId, IHasMetadata, /// /// (ID of the Customer) - /// The customer that this promotion code can be used by. + /// The customer who can use this promotion code. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -92,7 +92,7 @@ public string CustomerId /// /// (Expanded) - /// The customer that this promotion code can be used by. + /// The customer who can use this promotion code. /// /// For more information, see the expand documentation. /// @@ -116,7 +116,7 @@ public Customer Customer #endregion /// - /// The account that this promotion code can be used by. + /// The account representing the customer who can use this promotion code. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -155,7 +155,7 @@ public Customer Customer public long? MaxRedemptions { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs index 107bbcaac6..4399dba68e 100644 --- a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs +++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs @@ -24,7 +24,7 @@ public class QuoteLineActionAddItem : StripeEntity, IHas public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an item. Metadata on this item will update the underlying subscription item's /// metadata when the phase is entered. /// diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs index 49ae84c8de..92eca57e1b 100644 --- a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs +++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs @@ -24,7 +24,7 @@ public class QuoteLineActionSetItem : StripeEntity, IHas public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an item. Metadata on this item will update the underlying subscription item's /// metadata when the phase is entered. /// diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs index 12945f2a55..adac9b0a3e 100644 --- a/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs +++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs @@ -11,7 +11,7 @@ public class QuoteLineSetPauseCollection : StripeEntity /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("set")] diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs index c1ae29deb8..b8c588f886 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs @@ -14,14 +14,14 @@ namespace Stripe /// Invoices are statements of amounts owed by a customer, and are either generated one-off, /// or generated periodically from a subscription. /// - /// They contain invoice items, and + /// They contain invoice items, and /// proration adjustments that may be caused by subscription upgrades/downgrades (if /// necessary). /// /// If your invoice is configured to be billed through automatic charges, Stripe /// automatically finalizes your invoice and attempts payment. Note that finalizing the /// invoice, when + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">when /// automatic, does not happen immediately as the invoice is created. Stripe waits until /// one hour after the last webhook was successfully sent (or the last webhook timed out /// after failing). If you (and the platforms you may have connected to) have no webhooks @@ -40,9 +40,9 @@ namespace Stripe /// the amount due to the customer's credit balance which is applied to the next invoice. /// /// More details on the customer's credit balance are here. + /// href="https://docs.stripe.com/billing/customer/balance">here. /// - /// Related guide: Send invoices + /// Related guide: Send invoices /// to customers. /// #if NET6_0_OR_GREATER @@ -364,7 +364,7 @@ public Application Application public List CustomFields { get; set; } /// - /// The ID of the account who will be billed. + /// The ID of the account representing the customer to bill. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -688,7 +688,7 @@ public List Discounts /// /// Details of the invoice that was cloned. See the revision documentation + /// href="https://docs.stripe.com/invoicing/invoice-revisions">revision documentation /// for more details. /// [JsonProperty("from_invoice")] @@ -777,7 +777,7 @@ public Invoice LatestRevision public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -815,7 +815,7 @@ public Invoice LatestRevision /// (ID of the Account) /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// [JsonIgnore] @@ -832,7 +832,7 @@ public string OnBehalfOfId /// (Expanded) /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// /// For more information, see the expand documentation. @@ -988,7 +988,7 @@ public Account OnBehalfOf /// /// The status of the invoice, one of draft, open, paid, /// uncollectible, or void. Learn + /// href="https://docs.stripe.com/billing/invoices/workflow#workflow-overview">Learn /// more. /// One of: draft, open, paid, uncollectible, or void. /// @@ -1164,7 +1164,7 @@ public TestHelpers.TestClock TestClock /// /// Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until /// all webhook delivery attempts have been exhausted. This + /// href="https://docs.stripe.com/billing/webhooks#understand">been exhausted. This /// field tracks the time when webhooks for this invoice were successfully delivered. If the /// invoice had no webhooks to deliver, this will be set while the invoice is being created. /// diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs index 4a2c82439b..70c341603a 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs @@ -22,7 +22,7 @@ public class QuotePreviewInvoiceAutomaticTax : StripeEntity /// Whether Stripe automatically computes tax on this invoice. Note that incompatible /// invoice items (invoice items with manually specified tax rates, negative amounts, or + /// href="https://docs.stripe.com/api/tax_rates">tax rates, negative amounts, or /// tax_behavior=unspecified) cannot be added to automatic tax invoices. /// [JsonProperty("enabled")] diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs index 6990903291..3b78d9d33b 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs @@ -15,7 +15,7 @@ namespace Stripe public class QuotePreviewInvoiceParentSubscriptionDetails : StripeEntity, IHasMetadata { /// - /// Set of key-value pairs defined as + /// Set of key-value pairs defined as /// subscription metadata when an invoice is created. Becomes an immutable snapshot of the /// subscription metadata at the time of invoice finalization. Note: This attribute is /// populated only for invoices created on or after June 29, 2023.. @@ -29,7 +29,7 @@ public class QuotePreviewInvoiceParentSubscriptionDetails : StripeEntity /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs index c2eefa4c3d..ebb116829d 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs @@ -43,7 +43,7 @@ public class QuotePreviewInvoicePaymentSettings : StripeEntityid_bank_transfer, ideal, jp_credit_transfer, kakao_pay, /// klarna, konbini, kr_card, link, multibanco, /// naver_pay, nz_bank_account, p24, payco, paynow, - /// paypal, pix, promptpay, revolut_pay, + /// paypal, payto, pix, promptpay, revolut_pay, /// sepa_credit_transfer, sepa_debit, sofort, stripe_balance, /// swish, upi, us_bank_account, or wechat_pay. /// diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs index a1ee005882..ee2978789b 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs @@ -68,6 +68,16 @@ public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptions : StripeEnti #endif public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsKonbini Konbini { get; set; } + /// + /// If paying by payto, this sub-hash contains details about the PayTo payment method + /// options to pass to the invoice’s PaymentIntent. + /// + [JsonProperty("payto")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payto")] +#endif + public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto Payto { get; set; } + /// /// If paying by pix, this sub-hash contains details about the Pix payment method /// options to pass to the invoice’s PaymentIntent. diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs index 8a5a29f328..4b7a070a1a 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs @@ -17,10 +17,10 @@ public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard : Stripe /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. Read our guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs new file mode 100644 index 0000000000..fa2e99de0a --- /dev/null +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto : StripeEntity + { + [JsonProperty("mandate_options")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("mandate_options")] +#endif + public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions MandateOptions { get; set; } + } +} diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs new file mode 100644 index 0000000000..2d484bc27c --- /dev/null +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs @@ -0,0 +1,44 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions : StripeEntity + { + /// + /// The maximum amount that can be collected in a single invoice. If you don't specify a + /// maximum, then there is no limit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// Only maximum is supported. + /// One of: fixed, or maximum. + /// + [JsonProperty("amount_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount_type")] +#endif + public string AmountType { get; set; } + + /// + /// The purpose for which payments are made. Has a default value based on your merchant + /// category code. + /// One of: dependant_support, government, loan, mortgage, + /// other, pension, personal, retail, salary, tax, + /// or utility. + /// + [JsonProperty("purpose")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("purpose")] +#endif + public string Purpose { get; set; } + } +} diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs index 1df1da07dc..f0c86e96ca 100644 --- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs +++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs @@ -8,6 +8,9 @@ namespace Stripe public class QuotePreviewInvoiceTotalTaxTaxRateDetails : StripeEntity { + /// + /// ID of the tax rate. + /// [JsonProperty("tax_rate")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("tax_rate")] diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs index a053ce67c8..b67d95989d 100644 --- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs +++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs @@ -237,7 +237,7 @@ public Customer Customer public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -290,7 +290,7 @@ public Customer Customer /// The present status of the subscription schedule. Possible values are not_started, /// active, completed, released, and canceled. You can read more /// about the different states in our behavior + /// href="https://docs.stripe.com/billing/subscriptions/subscription-schedules">behavior /// guide. /// One of: active, canceled, completed, not_started, or /// released. diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs index a86020187e..6cb46038aa 100644 --- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs +++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs @@ -34,7 +34,7 @@ public class QuotePreviewSubscriptionScheduleDefaultSettings : StripeEntityautomatic then the billing cycle anchor is automatically modified /// as needed when entering the phase. For more information, see the billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs index 2f063f9546..78d25869e1 100644 --- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs +++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs @@ -46,7 +46,7 @@ public class QuotePreviewSubscriptionSchedulePhase : StripeEntityautomatic then the billing cycle anchor is automatically modified /// as needed when entering the phase. For more information, see the billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] @@ -197,7 +197,7 @@ public PaymentMethod DefaultPaymentMethod public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a phase. Metadata on a schedule's phase will update the underlying /// subscription's metadata when the phase is entered. Updating the underlying /// subscription's metadata directly will not affect the current phase's @@ -255,7 +255,7 @@ public Account OnBehalfOf /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs index 3f42400596..c5a9b0176f 100644 --- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs +++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs @@ -23,7 +23,7 @@ public class QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem : StripeEntity< public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs index 6c0221ebfd..fe5f5f3d35 100644 --- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs +++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs @@ -34,7 +34,7 @@ public class QuotePreviewSubscriptionSchedulePhaseItem : StripeEntity Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an item. Metadata on this item will update the underlying subscription item's /// metadata when the phase is entered. /// diff --git a/src/Stripe.net/Entities/Quotes/Quote.cs b/src/Stripe.net/Entities/Quotes/Quote.cs index 310328022f..56725bf541 100644 --- a/src/Stripe.net/Entities/Quotes/Quote.cs +++ b/src/Stripe.net/Entities/Quotes/Quote.cs @@ -183,8 +183,8 @@ public Application Application /// /// (ID of the Customer) - /// The customer which this quote belongs to. A customer is required before finalizing the - /// quote. Once specified, it cannot be changed. + /// The customer who received this quote. A customer is required to finalize the quote. Once + /// specified, you can't change it. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -198,8 +198,8 @@ public string CustomerId /// /// (Expanded) - /// The customer which this quote belongs to. A customer is required before finalizing the - /// quote. Once specified, it cannot be changed. + /// The customer who received this quote. A customer is required to finalize the quote. Once + /// specified, you can't change it. /// /// For more information, see the expand documentation. /// @@ -223,8 +223,8 @@ public Customer Customer #endregion /// - /// The account which this quote belongs to. A customer or account is required before - /// finalizing the quote. Once specified, it cannot be changed. + /// The account representing the customer who received this quote. A customer or account is + /// required to finalize the quote. Once specified, you can't change it. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -342,7 +342,7 @@ public List Discounts /// /// Details of the quote that was cloned. See the cloning documentation for more details. + /// href="https://docs.stripe.com/quotes/clone">cloning documentation for more details. /// [JsonProperty("from_quote")] #if NET6_0_OR_GREATER @@ -438,7 +438,7 @@ public Invoice Invoice public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -450,7 +450,7 @@ public Invoice Invoice /// /// A unique number that identifies this particular quote. This number is assigned once the - /// quote is finalized. + /// quote is finalized. /// [JsonProperty("number")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs index fffce513c2..14a11d04f7 100644 --- a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs +++ b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs @@ -19,12 +19,12 @@ public class QuoteComputedRecurringTotalDetailsBreakdownDiscount : StripeEntity< /// /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs index ef042a7a43..9e365adedd 100644 --- a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs +++ b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs @@ -19,12 +19,12 @@ public class QuoteComputedUpfrontTotalDetailsBreakdownDiscount : StripeEntity /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs index f2fd6f3fff..ba5eab3d08 100644 --- a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs +++ b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs @@ -132,7 +132,7 @@ public Subscription FromSubscription #endregion /// - /// Set of key-value pairs that will set + /// Set of key-value pairs that will set /// metadata on the subscription or subscription schedule when the quote is accepted. If a /// recurring price is included in line_items, this field will be passed to the /// resulting subscription's metadata field. If @@ -158,7 +158,7 @@ public Subscription FromSubscription /// /// Determines how to handle prorations + /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations /// when the quote is accepted. /// One of: always_invoice, create_prorations, or none. /// diff --git a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs index fb526ab029..5ffcd853e3 100644 --- a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs +++ b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs @@ -38,8 +38,8 @@ public class QuoteSubscriptionDataOverride : StripeEntity - /// The customer which this quote belongs to. A customer is required before finalizing the - /// quote. Once specified, it cannot be changed. + /// The customer who received this quote. A customer is required to finalize the quote. Once + /// specified, you can't change it. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -70,7 +70,7 @@ public class QuoteSubscriptionDataOverride : StripeEntity /// Determines how to handle prorations + /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations /// when the quote is accepted. /// One of: always_invoice, create_prorations, or none. /// diff --git a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs index 11357b0343..7309184d46 100644 --- a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs +++ b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs @@ -19,12 +19,12 @@ public class QuoteTotalDetailsBreakdownDiscount : StripeEntity /// A discount represents the actual application of a coupon or promotion code. It contains + /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains /// information about when the discount began, when it will end, and what it is applied to. /// /// Related guide: Applying discounts to + /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to /// subscriptions. /// [JsonProperty("discount")] diff --git a/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs b/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs index 9e1b020dfe..b275f0bf70 100644 --- a/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs +++ b/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs @@ -13,7 +13,7 @@ namespace Stripe.Radar /// be fraudulent. /// /// Related guide: Early fraud + /// href="https://docs.stripe.com/disputes/measuring#early-fraud-warnings">Early fraud /// warnings. /// #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs b/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs index c2939b706e..68d9ef0bcd 100644 --- a/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs +++ b/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs @@ -13,7 +13,7 @@ namespace Stripe.Radar /// then be used in rules. /// /// Related guide: Managing list items. + /// href="https://docs.stripe.com/radar/lists#managing-list-items">Managing list items. /// public class ValueListItem : StripeEntity, IHasId, IHasObject { diff --git a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs index c2ef4f335c..d17a370d0a 100644 --- a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs +++ b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs @@ -12,7 +12,7 @@ namespace Stripe.Radar /// /// Value lists allow you to group values together which can then be referenced in rules. /// - /// Related guide: Default + /// Related guide: Default /// Stripe lists. /// public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -109,7 +109,7 @@ public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObje public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Refunds/Refund.cs b/src/Stripe.net/Entities/Refunds/Refund.cs index 28eca40244..e8cfcbfdba 100644 --- a/src/Stripe.net/Entities/Refunds/Refund.cs +++ b/src/Stripe.net/Entities/Refunds/Refund.cs @@ -13,7 +13,7 @@ namespace Stripe /// Refund objects allow you to refund a previously created charge that isn't refunded yet. /// Funds are refunded to the credit or debit card that's initially charged. /// - /// Related guide: Refunds. + /// Related guide: Refunds. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -233,7 +233,7 @@ public BalanceTransaction FailureBalanceTransaction public string InstructionsEmail { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -375,7 +375,7 @@ public TransferReversal SourceTransferReversal /// /// Status of the refund. This can be pending, requires_action, /// succeeded, failed, or canceled. Learn more about failed refunds. + /// href="https://docs.stripe.com/refunds#failed-refunds">failed refunds. /// [JsonProperty("status")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs b/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs index 3eded5df34..64247456ab 100644 --- a/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs +++ b/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs @@ -13,11 +13,11 @@ namespace Stripe.Reporting /// run parameters. Once the object is created, Stripe begins processing the report. When /// the report has finished running, it will give you a reference to a file where you can /// retrieve your results. For an overview, see API Access to Reports. + /// href="https://docs.stripe.com/reporting/statements/api">API Access to Reports. /// /// Note that certain report types can only be run based on your live-mode data (not /// test-mode data), and will error when queried without a live-mode API key. + /// href="https://docs.stripe.com/keys#test-live-modes">live-mode API key. /// public class ReportRun : StripeEntity, IHasId, IHasObject { @@ -77,7 +77,7 @@ public class ReportRun : StripeEntity, IHasId, IHasObject public ReportRunParameters Parameters { get; set; } /// - /// The ID of the report type to + /// The ID of the report type to /// run, such as "balance.summary.1". /// [JsonProperty("report_type")] diff --git a/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs b/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs index 4df5fef142..e18980e3e0 100644 --- a/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs +++ b/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs @@ -13,18 +13,18 @@ namespace Stripe.Reporting /// The Report Type resource corresponds to a particular type of report, such as the /// "Activity summary" or "Itemized payouts" reports. These objects are identified by an ID /// belonging to a set of enumerated values. See API Access to Reports + /// href="https://docs.stripe.com/reporting/statements/api">API Access to Reports /// documentation for those Report Type IDs, along with required and optional /// parameters. /// /// Note that certain report types can only be run based on your live-mode data (not /// test-mode data), and will error when queried without a live-mode API key. + /// href="https://docs.stripe.com/keys#test-live-modes">live-mode API key. /// public class ReportType : StripeEntity, IHasId, IHasObject { /// - /// The ID + /// The ID /// of the Report Type, such as balance.summary.1. /// [JsonProperty("id")] diff --git a/src/Stripe.net/Entities/Reserve/Holds/Hold.cs b/src/Stripe.net/Entities/Reserve/Holds/Hold.cs new file mode 100644 index 0000000000..38280047bf --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Holds/Hold.cs @@ -0,0 +1,230 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Collections.Generic; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// ReserveHolds are used to place a temporary ReserveHold on a merchant's funds. + /// +#if NET6_0_OR_GREATER + [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] +#endif + public class Hold : StripeEntity, IHasId, IHasMetadata, IHasObject + { + /// + /// Unique identifier for the object. + /// + [JsonProperty("id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("id")] +#endif + public string Id { get; set; } + + /// + /// String representing the object's type. Objects of the same type share the same value. + /// + [JsonProperty("object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("object")] +#endif + public string Object { get; set; } + + /// + /// Amount reserved. A positive integer representing how much is reserved in the smallest currency unit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long Amount { get; set; } + + /// + /// Amount in cents that can be released from this ReserveHold. + /// + [JsonProperty("amount_releasable")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount_releasable")] +#endif + public long AmountReleasable { get; set; } + + /// + /// Time at which the object was created. Measured in seconds since the Unix epoch. + /// + [JsonProperty("created")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// Indicates which party created this ReserveHold. + /// One of: application, or stripe. + /// + [JsonProperty("created_by")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_by")] +#endif + public string CreatedBy { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// Whether there are any funds available to release on this ReserveHold. Note that if the + /// ReserveHold is in the process of being released, this could be false, even though the + /// funds haven't been fully released yet. + /// + [JsonProperty("is_releasable")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("is_releasable")] +#endif + public bool IsReleasable { get; set; } + + /// + /// Has the value true if the object exists in live mode or the value false if + /// the object exists in test mode. + /// + [JsonProperty("livemode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("livemode")] +#endif + public bool Livemode { get; set; } + + /// + /// Set of key-value pairs that you can + /// attach to an object. This can be useful for storing additional information about the + /// object in a structured format. + /// + [JsonProperty("metadata")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("metadata")] +#endif + public Dictionary Metadata { get; set; } + + /// + /// The reason for the ReserveHold. + /// One of: charge, or standalone. + /// + [JsonProperty("reason")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reason")] +#endif + public string Reason { get; set; } + + [JsonProperty("release_schedule")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("release_schedule")] +#endif + public HoldReleaseSchedule ReleaseSchedule { get; set; } + + #region Expandable ReservePlan + + /// + /// (ID of the Plan) + /// The ReservePlan which produced this ReserveHold (i.e., resplan_123). + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string ReservePlanId + { + get => this.InternalReservePlan?.Id; + set => this.InternalReservePlan = SetExpandableFieldId(value, this.InternalReservePlan); + } + + /// + /// (Expanded) + /// The ReservePlan which produced this ReserveHold (i.e., resplan_123). + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Plan ReservePlan + { + get => this.InternalReservePlan?.ExpandedObject; + set => this.InternalReservePlan = SetExpandableFieldObject(value, this.InternalReservePlan); + } + + [JsonProperty("reserve_plan")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_plan")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalReservePlan { get; set; } + #endregion + + #region Expandable SourceCharge + + /// + /// (ID of the Charge) + /// The Charge which funded this ReserveHold (e.g., ch_123). + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string SourceChargeId + { + get => this.InternalSourceCharge?.Id; + set => this.InternalSourceCharge = SetExpandableFieldId(value, this.InternalSourceCharge); + } + + /// + /// (Expanded) + /// The Charge which funded this ReserveHold (e.g., ch_123). + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Charge SourceCharge + { + get => this.InternalSourceCharge?.ExpandedObject; + set => this.InternalSourceCharge = SetExpandableFieldObject(value, this.InternalSourceCharge); + } + + [JsonProperty("source_charge")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("source_charge")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalSourceCharge { get; set; } + #endregion + + /// + /// Which source balance type this ReserveHold reserves funds from. One of + /// bank_account, card, or fpx. + /// One of: bank_account, card, or fpx. + /// + [JsonProperty("source_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("source_type")] +#endif + public string SourceType { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs b/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs new file mode 100644 index 0000000000..5c5237870b --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs @@ -0,0 +1,36 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class HoldReleaseSchedule : StripeEntity + { + /// + /// The time after which the ReserveHold is requested to be released. + /// + [JsonProperty("release_after")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("release_after")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? ReleaseAfter { get; set; } + + /// + /// The time at which the ReserveHold is scheduled to be released, automatically set to + /// midnight UTC of the day after release_after. + /// + [JsonProperty("scheduled_release")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("scheduled_release")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? ScheduledRelease { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reserve/Plans/Plan.cs b/src/Stripe.net/Entities/Reserve/Plans/Plan.cs new file mode 100644 index 0000000000..e07c56bfcd --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Plans/Plan.cs @@ -0,0 +1,143 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Collections.Generic; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// ReservePlans are used to automatically place holds on a merchant's funds until the plan + /// expires. It takes a portion of each incoming Charge (including those resulting from a + /// Transfer from a platform account). + /// + public class Plan : StripeEntity, IHasId, IHasMetadata, IHasObject + { + /// + /// Unique identifier for the object. + /// + [JsonProperty("id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("id")] +#endif + public string Id { get; set; } + + /// + /// String representing the object's type. Objects of the same type share the same value. + /// + [JsonProperty("object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("object")] +#endif + public string Object { get; set; } + + /// + /// Time at which the object was created. Measured in seconds since the Unix epoch. + /// + [JsonProperty("created")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// Indicates which party created this ReservePlan. + /// One of: application, or stripe. + /// + [JsonProperty("created_by")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_by")] +#endif + public string CreatedBy { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. An unset currency indicates that the plan applies to all currencies. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// Time at which the ReservePlan was disabled. + /// + [JsonProperty("disabled_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("disabled_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime? DisabledAt { get; set; } + + [JsonProperty("fixed_release")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("fixed_release")] +#endif + public PlanFixedRelease FixedRelease { get; set; } + + /// + /// Has the value true if the object exists in live mode or the value false if + /// the object exists in test mode. + /// + [JsonProperty("livemode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("livemode")] +#endif + public bool Livemode { get; set; } + + /// + /// Set of key-value pairs that you can + /// attach to an object. This can be useful for storing additional information about the + /// object in a structured format. + /// + [JsonProperty("metadata")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("metadata")] +#endif + public Dictionary Metadata { get; set; } + + /// + /// The percent of each Charge to reserve. + /// + [JsonProperty("percent")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("percent")] +#endif + public long Percent { get; set; } + + [JsonProperty("rolling_release")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("rolling_release")] +#endif + public PlanRollingRelease RollingRelease { get; set; } + + /// + /// The current status of the ReservePlan. The ReservePlan only affects charges if it is + /// active. + /// One of: active, disabled, or expired. + /// + [JsonProperty("status")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("status")] +#endif + public string Status { get; set; } + + /// + /// The type of the ReservePlan. + /// One of: fixed_release, or rolling_release. + /// + [JsonProperty("type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("type")] +#endif + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs b/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs new file mode 100644 index 0000000000..633bf9bd62 --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs @@ -0,0 +1,34 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PlanFixedRelease : StripeEntity + { + /// + /// The time after which all reserved funds are requested for release. + /// + [JsonProperty("release_after")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("release_after")] +#endif + public long ReleaseAfter { get; set; } + + /// + /// The time at which reserved funds are scheduled for release, automatically set to + /// midnight UTC of the day after release_after. + /// + [JsonProperty("scheduled_release")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("scheduled_release")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime ScheduledRelease { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + } +} diff --git a/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs b/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs new file mode 100644 index 0000000000..06eb90bda3 --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs @@ -0,0 +1,29 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class PlanRollingRelease : StripeEntity + { + /// + /// The number of days to reserve funds before releasing. + /// + [JsonProperty("days_after_charge")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("days_after_charge")] +#endif + public long DaysAfterCharge { get; set; } + + /// + /// The time at which the ReservePlan expires. + /// + [JsonProperty("expires_on")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("expires_on")] +#endif + public long? ExpiresOn { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reserve/Releases/Release.cs b/src/Stripe.net/Entities/Reserve/Releases/Release.cs new file mode 100644 index 0000000000..85718debf5 --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Releases/Release.cs @@ -0,0 +1,215 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Collections.Generic; + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// ReserveReleases represent the release of funds from a ReserveHold. + /// +#if NET6_0_OR_GREATER + [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] +#endif + public class Release : StripeEntity, IHasId, IHasMetadata, IHasObject + { + /// + /// Unique identifier for the object. + /// + [JsonProperty("id")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("id")] +#endif + public string Id { get; set; } + + /// + /// String representing the object's type. Objects of the same type share the same value. + /// + [JsonProperty("object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("object")] +#endif + public string Object { get; set; } + + /// + /// Amount released. A positive integer representing how much is released in the smallest currency unit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long Amount { get; set; } + + /// + /// Time at which the object was created. Measured in seconds since the Unix epoch. + /// + [JsonProperty("created")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + /// + /// Indicates which party created this ReserveRelease. + /// One of: application, or stripe. + /// + [JsonProperty("created_by")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("created_by")] +#endif + public string CreatedBy { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// Has the value true if the object exists in live mode or the value false if + /// the object exists in test mode. + /// + [JsonProperty("livemode")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("livemode")] +#endif + public bool Livemode { get; set; } + + /// + /// Set of key-value pairs that you can + /// attach to an object. This can be useful for storing additional information about the + /// object in a structured format. + /// + [JsonProperty("metadata")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("metadata")] +#endif + public Dictionary Metadata { get; set; } + + /// + /// The reason for the ReserveRelease, indicating why the funds were released. + /// One of: bulk_hold_expiry, hold_released_early, hold_reversed, or + /// plan_disabled. + /// + [JsonProperty("reason")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reason")] +#endif + public string Reason { get; set; } + + /// + /// The release timestamp of the funds. + /// + [JsonProperty("released_at")] + [JsonConverter(typeof(UnixDateTimeConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("released_at")] + [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))] +#endif + public DateTime ReleasedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + + #region Expandable ReserveHold + + /// + /// (ID of the Hold) + /// The ReserveHold this ReserveRelease is associated with. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string ReserveHoldId + { + get => this.InternalReserveHold?.Id; + set => this.InternalReserveHold = SetExpandableFieldId(value, this.InternalReserveHold); + } + + /// + /// (Expanded) + /// The ReserveHold this ReserveRelease is associated with. + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Hold ReserveHold + { + get => this.InternalReserveHold?.ExpandedObject; + set => this.InternalReserveHold = SetExpandableFieldObject(value, this.InternalReserveHold); + } + + [JsonProperty("reserve_hold")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_hold")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalReserveHold { get; set; } + #endregion + + #region Expandable ReservePlan + + /// + /// (ID of the Plan) + /// The ReservePlan ID this ReserveRelease is associated with. This field is only populated + /// if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled + /// ReservedHold expiry. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string ReservePlanId + { + get => this.InternalReservePlan?.Id; + set => this.InternalReservePlan = SetExpandableFieldId(value, this.InternalReservePlan); + } + + /// + /// (Expanded) + /// The ReservePlan ID this ReserveRelease is associated with. This field is only populated + /// if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled + /// ReservedHold expiry. + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Plan ReservePlan + { + get => this.InternalReservePlan?.ExpandedObject; + set => this.InternalReservePlan = SetExpandableFieldObject(value, this.InternalReservePlan); + } + + [JsonProperty("reserve_plan")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_plan")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalReservePlan { get; set; } + #endregion + + [JsonProperty("source_transaction")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("source_transaction")] +#endif + public ReleaseSourceTransaction SourceTransaction { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs b/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs new file mode 100644 index 0000000000..a7ddeabf4f --- /dev/null +++ b/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs @@ -0,0 +1,107 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using Newtonsoft.Json; + using Stripe.Infrastructure; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + +#if NET6_0_OR_GREATER + [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] +#endif + public class ReleaseSourceTransaction : StripeEntity + { + #region Expandable Dispute + + /// + /// (ID of the Dispute) + /// The ID of the dispute. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string DisputeId + { + get => this.InternalDispute?.Id; + set => this.InternalDispute = SetExpandableFieldId(value, this.InternalDispute); + } + + /// + /// (Expanded) + /// The ID of the dispute. + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Dispute Dispute + { + get => this.InternalDispute?.ExpandedObject; + set => this.InternalDispute = SetExpandableFieldObject(value, this.InternalDispute); + } + + [JsonProperty("dispute")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("dispute")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalDispute { get; set; } + #endregion + + #region Expandable Refund + + /// + /// (ID of the Refund) + /// The ID of the refund. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public string RefundId + { + get => this.InternalRefund?.Id; + set => this.InternalRefund = SetExpandableFieldId(value, this.InternalRefund); + } + + /// + /// (Expanded) + /// The ID of the refund. + /// + /// For more information, see the expand documentation. + /// + [JsonIgnore] +#if NET6_0_OR_GREATER + [STJS.JsonIgnore] +#endif + public Refund Refund + { + get => this.InternalRefund?.ExpandedObject; + set => this.InternalRefund = SetExpandableFieldObject(value, this.InternalRefund); + } + + [JsonProperty("refund")] + [JsonConverter(typeof(ExpandableFieldConverter))] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("refund")] + [STJS.JsonConverter(typeof(STJExpandableFieldConverter))] +#endif + internal ExpandableField InternalRefund { get; set; } + #endregion + + /// + /// The type of source transaction. + /// One of: dispute, or refund. + /// + [JsonProperty("type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("type")] +#endif + public string Type { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Reviews/Review.cs b/src/Stripe.net/Entities/Reviews/Review.cs index 12ccfd82d8..088e97afdb 100644 --- a/src/Stripe.net/Entities/Reviews/Review.cs +++ b/src/Stripe.net/Entities/Reviews/Review.cs @@ -12,7 +12,7 @@ namespace Stripe /// Reviews can be used to supplement automated fraud detection with human expertise. /// /// Learn more about Radar and reviewing payments here. + /// href="https://docs.stripe.com/radar/reviews">here. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs index 92e3cc3be9..6b56f734f3 100644 --- a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs +++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs @@ -42,7 +42,7 @@ public class SetupAttempt : StripeEntity, IHasId, IHasObject /// /// (ID of the Application) /// The value of application + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application">application /// on the SetupIntent at the time of this confirmation. /// [JsonIgnore] @@ -58,7 +58,7 @@ public string ApplicationId /// /// (Expanded) /// The value of application + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application">application /// on the SetupIntent at the time of this confirmation. /// /// For more information, see the expand documentation. @@ -113,7 +113,7 @@ public Application Application /// /// (ID of the Customer) /// The value of customer + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer">customer /// on the SetupIntent at the time of this confirmation. /// [JsonIgnore] @@ -129,7 +129,7 @@ public string CustomerId /// /// (Expanded) /// The value of customer + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer">customer /// on the SetupIntent at the time of this confirmation. /// /// For more information, see the expand documentation. @@ -155,7 +155,7 @@ public Customer Customer /// /// The value of customer_account + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer_account">customer_account /// on the SetupIntent at the time of this confirmation. /// [JsonProperty("customer_account")] @@ -195,7 +195,7 @@ public Customer Customer /// /// (ID of the Account) /// The value of on_behalf_of + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of">on_behalf_of /// on the SetupIntent at the time of this confirmation. /// [JsonIgnore] @@ -211,7 +211,7 @@ public string OnBehalfOfId /// /// (Expanded) /// The value of on_behalf_of + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of">on_behalf_of /// on the SetupIntent at the time of this confirmation. /// /// For more information, see the expand documentation. @@ -345,7 +345,7 @@ public SetupIntent SetupIntent /// /// The value of usage + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage">usage /// on the SetupIntent at the time of this confirmation, one of off_session or /// on_session. /// diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs index d4671d8dfa..e405952105 100644 --- a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs +++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs @@ -14,14 +14,14 @@ public class SetupAttemptPaymentMethodDetailsIdeal : StripeEntity /// The customer's bank. Can be one of abn_amro, asn_bank, bunq, - /// buut, finom, handelsbanken, ing, knab, + /// buut, finom, handelsbanken, ing, knab, mollie, /// moneyou, n26, nn, rabobank, regiobank, /// revolut, sns_bank, triodos_bank, van_lanschot, or /// yoursafe. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER @@ -33,8 +33,9 @@ public class SetupAttemptPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A, /// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, - /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, - /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U. + /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, + /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or + /// TRIONL2U. /// [JsonProperty("bic")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs index 05c14e0f81..bc03caff56 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs @@ -13,8 +13,8 @@ namespace Stripe /// A SetupIntent guides you through the process of setting up and saving a customer's /// payment credentials for future payments. For example, you can use a SetupIntent to set /// up and save your customer's card without immediately collecting a payment. Later, you - /// can use PaymentIntents to - /// drive the payment flow. + /// can use PaymentIntents to drive the + /// payment flow. /// /// Create a SetupIntent when you're ready to collect your customer's payment credentials. /// Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. The @@ -30,10 +30,10 @@ namespace Stripe /// Authentication during payment method collection to streamline later off-session payments. If you /// use the SetupIntent with a Customer, it + /// href="https://api.stripe.com#setup_intent_object-customer">Customer, it /// automatically attaches the resulting payment method to that Customer after successful /// setup. We recommend using SetupIntents or setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// on PaymentIntents to save payment methods to prevent saving invalid or unoptimized /// payment methods. /// @@ -377,7 +377,7 @@ public Mandate Mandate #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -487,7 +487,7 @@ public PaymentMethod PaymentMethod /// /// Information about the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration used for this Setup Intent. /// [JsonProperty("payment_method_configuration_details")] @@ -558,7 +558,7 @@ public Mandate SingleUseMandate #endregion /// - /// Status of this + /// Status of this /// SetupIntent, one of requires_payment_method, requires_confirmation, /// requires_action, processing, canceled, or succeeded. /// One of: canceled, processing, requires_action, diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs index c4a5b81352..144342e146 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs @@ -13,7 +13,7 @@ public class SetupIntentAutomaticPaymentMethods : StripeEntityconfirm this SetupIntent, + /// href="https://docs.stripe.com/api/setup_intents/confirm">confirm this SetupIntent, /// you may be required to provide a return_url to redirect customers back to your /// site after they authenticate or complete the setup. /// One of: always, or never. diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs index 1c298ac3e7..03f8781ad4 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs @@ -33,11 +33,11 @@ public class SetupIntentPaymentMethodOptionsCard : StripeEntity /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs b/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs index 9c19eca253..4837a490c3 100644 --- a/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs +++ b/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs @@ -12,7 +12,7 @@ namespace Stripe /// /// Shipping rates describe the price of shipping presented to your customers and applied to /// a purchase. For more information, see Charge for + /// href="https://docs.stripe.com/payments/during-payment/charge-shipping">Charge for /// shipping. /// #if NET6_0_OR_GREATER @@ -95,7 +95,7 @@ public class ShippingRate : StripeEntity, IHasId, IHasMetadata, IH public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -120,7 +120,7 @@ public class ShippingRate : StripeEntity, IHasId, IHasMetadata, IH /// /// (ID of the TaxCode) - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// [JsonIgnore] @@ -135,7 +135,7 @@ public string TaxCodeId /// /// (Expanded) - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// /// For more information, see the expand documentation. diff --git a/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs b/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs index 271946988a..d6d50a4ac6 100644 --- a/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs +++ b/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs @@ -9,7 +9,7 @@ namespace Stripe.Sigma #endif /// - /// If you have scheduled a Sigma + /// If you have scheduled a Sigma /// query, you'll receive a sigma.scheduled_query_run.created webhook each time /// the query runs. The webhook contains a ScheduledQueryRun object, which you can /// use to retrieve the query results. diff --git a/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs b/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs index 8e6a979e30..68551070c8 100644 --- a/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs +++ b/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs @@ -101,12 +101,12 @@ public class SourceMandateNotification : StripeEntity /// customers. /// /// Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt - /// the PaymentMethods API. This + /// href="https://docs.stripe.com/api/sources">Sources API. We recommend that you adopt + /// the PaymentMethods API. This /// newer API provides access to our latest features and payment method types. /// - /// Related guides: Sources API and Sources & Customers. + /// Related guides: Sources API and Sources & Customers. /// [JsonProperty("source")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Sources/Source.cs b/src/Stripe.net/Entities/Sources/Source.cs index 282eb0dfa5..3f6956eb73 100644 --- a/src/Stripe.net/Entities/Sources/Source.cs +++ b/src/Stripe.net/Entities/Sources/Source.cs @@ -16,12 +16,12 @@ namespace Stripe /// customers. /// /// Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt - /// the PaymentMethods API. This + /// href="https://docs.stripe.com/api/sources">Sources API. We recommend that you adopt + /// the PaymentMethods API. This /// newer API provides access to our latest features and payment method types. /// - /// Related guides: Sources API and Sources & Customers. + /// Related guides: Sources API and Sources & Customers. /// public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IPaymentSource { @@ -208,7 +208,7 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -316,7 +316,7 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP /// multibanco, klarna, p24, sepa_debit, sofort, /// three_d_secure, or wechat. An additional hash is included on the source /// with a name matching this value. It contains additional information specific to the payment method used. + /// href="https://docs.stripe.com/sources">payment method used. /// One of: ach_credit_transfer, ach_debit, acss_debit, alipay, /// au_becs_debit, bancontact, card, card_present, eps, /// giropay, ideal, klarna, multibanco, p24, diff --git a/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs b/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs index 7ce857b7ea..fc33e9eaed 100644 --- a/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs +++ b/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs @@ -143,7 +143,7 @@ public List Discounts #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -155,11 +155,11 @@ public List Discounts /// /// You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and - /// is backwards compatible to simplify your migration. + /// href="https://api.stripe.com#prices">Prices API. It replaces the Plans API and is + /// backwards compatible to simplify your migration. /// /// Plans define the base price, currency, and billing cycle for recurring purchases of - /// products. Products help you track + /// products. Products help you track /// inventory or provisioning, and plans help you track pricing. Different physical goods or /// levels of service should be represented by products, and pricing options should be /// represented by plans. This approach lets you change prices without having to change your @@ -169,9 +169,9 @@ public List Discounts /// $100/year, €9/month, and €90/year. /// /// Related guides: Set up a + /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a /// subscription and more about products and prices. + /// href="https://docs.stripe.com/products-prices/overview">products and prices. /// [JsonProperty("plan")] #if NET6_0_OR_GREATER @@ -182,7 +182,7 @@ public List Discounts /// /// Prices define the unit cost, currency, and (optional) billing cycle for both recurring /// and one-time purchases of products. Products help you track inventory or + /// href="https://api.stripe.com#products">Products help you track inventory or /// provisioning, and prices help you track payment terms. Different physical goods or /// levels of service should be represented by products, and pricing options should be /// represented by prices. This approach lets you change prices without having to change @@ -192,10 +192,10 @@ public List Discounts /// $100/year, and €9 once. /// /// Related guides: Set up a - /// subscription, create an + /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a + /// subscription, create an /// invoice, and more about products and prices. + /// href="https://docs.stripe.com/products-prices/overview">products and prices. /// [JsonProperty("price")] #if NET6_0_OR_GREATER @@ -204,7 +204,7 @@ public List Discounts public Price Price { get; set; } /// - /// The quantity of the plan + /// The quantity of the plan /// to which the customer should be subscribed. /// [JsonProperty("quantity")] diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs index b67b6f7453..180c4a4c16 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedule.cs @@ -14,7 +14,7 @@ namespace Stripe /// by predefining expected changes. /// /// Related guide: Subscription + /// href="https://docs.stripe.com/billing/subscriptions/subscription-schedules">Subscription /// schedules. /// #if NET6_0_OR_GREATER @@ -239,7 +239,7 @@ public Customer Customer public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -292,7 +292,7 @@ public Customer Customer /// The present status of the subscription schedule. Possible values are not_started, /// active, completed, released, and canceled. You can read more /// about the different states in our behavior + /// href="https://docs.stripe.com/billing/subscriptions/subscription-schedules">behavior /// guide. /// One of: active, canceled, completed, not_started, or /// released. diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettings.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettings.cs index 35459e069a..cf7b584740 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettings.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionScheduleDefaultSettings.cs @@ -34,7 +34,7 @@ public class SubscriptionScheduleDefaultSettings : StripeEntityautomatic then the billing cycle anchor is automatically modified /// as needed when entering the phase. For more information, see the billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhase.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhase.cs index ae847793b2..ec476823ca 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhase.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhase.cs @@ -46,7 +46,7 @@ public class SubscriptionSchedulePhase : StripeEntity /// billing cycle anchor of the subscription is set to the start of the phase when entering /// the phase. If automatic then the billing cycle anchor is automatically modified /// as needed when entering the phase. For more information, see the billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] @@ -197,7 +197,7 @@ public PaymentMethod DefaultPaymentMethod public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a phase. Metadata on a schedule's phase will update the underlying /// subscription's metadata when the phase is entered. Updating the underlying /// subscription's metadata directly will not affect the current phase's @@ -255,7 +255,7 @@ public Account OnBehalfOf /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItem.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItem.cs index 16ec2b348e..b814d8dbcb 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItem.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItem.cs @@ -23,7 +23,7 @@ public class SubscriptionSchedulePhaseAddInvoiceItem : StripeEntity Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseItem.cs b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseItem.cs index 2e6d113cba..397bd7119b 100644 --- a/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseItem.cs +++ b/src/Stripe.net/Entities/SubscriptionSchedules/SubscriptionSchedulePhaseItem.cs @@ -34,7 +34,7 @@ public class SubscriptionSchedulePhaseItem : StripeEntity Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an item. Metadata on this item will update the underlying subscription item's /// metadata when the phase is entered. /// diff --git a/src/Stripe.net/Entities/Subscriptions/Subscription.cs b/src/Stripe.net/Entities/Subscriptions/Subscription.cs index 197ad5bbad..78c94ca2f0 100644 --- a/src/Stripe.net/Entities/Subscriptions/Subscription.cs +++ b/src/Stripe.net/Entities/Subscriptions/Subscription.cs @@ -13,7 +13,7 @@ namespace Stripe /// /// Subscriptions allow you to charge a customer on a recurring basis. /// - /// Related guide: Creating + /// Related guide: Creating /// subscriptions. /// #if NET6_0_OR_GREATER @@ -112,7 +112,7 @@ public Application Application /// /// The reference point that aligns future billing cycle dates. It + /// href="https://docs.stripe.com/subscriptions/billing-cycle">billing cycle dates. It /// sets the day of week for week intervals, the day of month for month and /// year intervals, and the month of year for year intervals. The timestamp is /// in UTC format. @@ -284,7 +284,7 @@ public Customer Customer #endregion /// - /// ID of the account who owns the subscription. + /// ID of the account representing the customer who owns the subscription. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -310,9 +310,9 @@ public Customer Customer /// ID of the default payment method for the subscription. It must belong to the customer /// associated with the subscription. This takes precedence over default_source. If /// neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -329,9 +329,9 @@ public string DefaultPaymentMethodId /// ID of the default payment method for the subscription. It must belong to the customer /// associated with the subscription. This takes precedence over default_source. If /// neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// /// For more information, see the expand documentation. /// @@ -362,9 +362,9 @@ public PaymentMethod DefaultPaymentMethod /// associated with the subscription and be in a chargeable state. If /// default_payment_method is also set, default_payment_method will take /// precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonIgnore] #if NET6_0_OR_GREATER @@ -382,9 +382,9 @@ public string DefaultSourceId /// associated with the subscription and be in a chargeable state. If /// default_payment_method is also set, default_payment_method will take /// precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// /// For more information, see the expand documentation. /// @@ -557,7 +557,7 @@ public Invoice LatestInvoice public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -585,7 +585,7 @@ public Invoice LatestInvoice /// (ID of the Account) /// The account (if any) the charge was made on behalf of for charges associated with this /// subscription. See the Connect + /// href="https://docs.stripe.com/connect/subscriptions#on-behalf-of">Connect /// documentation for details. /// [JsonIgnore] @@ -602,7 +602,7 @@ public string OnBehalfOfId /// (Expanded) /// The account (if any) the charge was made on behalf of for charges associated with this /// subscription. See the Connect + /// href="https://docs.stripe.com/connect/subscriptions#on-behalf-of">Connect /// documentation for details. /// /// For more information, see the expand documentation. @@ -629,7 +629,7 @@ public Account OnBehalfOf /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] @@ -649,7 +649,7 @@ public Account OnBehalfOf /// /// Specifies an interval for how often to bill for any pending invoice items. It is - /// analogous to calling Create an + /// analogous to calling Create an /// invoice for the given subscription at the specified interval. /// [JsonProperty("pending_invoice_item_interval")] @@ -662,11 +662,11 @@ public Account OnBehalfOf /// /// (ID of the SetupIntent) - /// You can use this SetupIntent to + /// You can use this SetupIntent to /// collect user authentication when creating a subscription without immediate payment or /// updating a subscription's payment method, allowing you to optimize for off-session /// payments. Learn more in the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication#scenario-2">SCA /// Migration Guide. /// [JsonIgnore] @@ -681,11 +681,11 @@ public string PendingSetupIntentId /// /// (Expanded) - /// You can use this SetupIntent to + /// You can use this SetupIntent to /// collect user authentication when creating a subscription without immediate payment or /// updating a subscription's payment method, allowing you to optimize for off-session /// payments. Learn more in the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication#scenario-2">SCA /// Migration Guide. /// /// For more information, see the expand documentation. @@ -711,7 +711,7 @@ public SetupIntent PendingSetupIntent /// /// If specified, pending updates + /// href="https://docs.stripe.com/billing/subscriptions/pending-updates">pending updates /// that will be applied to the subscription once the latest_invoice has been paid. /// [JsonProperty("pending_update")] @@ -797,11 +797,11 @@ public SubscriptionSchedule Schedule /// active when the trial period is over. /// /// A subscription can only enter a paused status when + /// href="https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment">when /// a trial ends without a payment method. A paused subscription doesn't generate /// invoices and can be resumed after your customer adds their payment method. The /// paused status is different from pausing + /// href="https://docs.stripe.com/billing/subscriptions/pause-payment">pausing /// collection, which still generates invoices and leaves the subscription's status /// unchanged. /// diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs index ee590d25f0..55b799a2ef 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs @@ -33,7 +33,7 @@ public class SubscriptionPaymentSettings : StripeEntityid_bank_transfer, ideal, jp_credit_transfer, kakao_pay, /// klarna, konbini, kr_card, link, multibanco, /// naver_pay, nz_bank_account, p24, payco, paynow, - /// paypal, pix, promptpay, revolut_pay, + /// paypal, payto, pix, promptpay, revolut_pay, /// sepa_credit_transfer, sepa_debit, sofort, stripe_balance, /// swish, upi, us_bank_account, or wechat_pay. /// diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptions.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptions.cs index c36d6d2bfa..1fe030d34e 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptions.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptions.cs @@ -68,6 +68,16 @@ public class SubscriptionPaymentSettingsPaymentMethodOptions : StripeEntity + /// This sub-hash contains details about the PayTo payment method options to pass to + /// invoices created by the subscription. + /// + [JsonProperty("payto")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payto")] +#endif + public SubscriptionPaymentSettingsPaymentMethodOptionsPayto Payto { get; set; } + /// /// This sub-hash contains details about the Pix payment method options to pass to invoices /// created by the subscription. diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCard.cs index 126be9dc90..95fda206f8 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCard.cs @@ -30,10 +30,10 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsCard : StripeEntity< /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. Read our guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPayto.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPayto.cs new file mode 100644 index 0000000000..269b6205c4 --- /dev/null +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPayto.cs @@ -0,0 +1,17 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class SubscriptionPaymentSettingsPaymentMethodOptionsPayto : StripeEntity + { + [JsonProperty("mandate_options")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("mandate_options")] +#endif + public SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptions MandateOptions { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs new file mode 100644 index 0000000000..ff13cc0ef1 --- /dev/null +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs @@ -0,0 +1,44 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptions : StripeEntity + { + /// + /// The maximum amount that can be collected in a single invoice. If you don't specify a + /// maximum, then there is no limit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// Only maximum is supported. + /// One of: fixed, or maximum. + /// + [JsonProperty("amount_type")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount_type")] +#endif + public string AmountType { get; set; } + + /// + /// The purpose for which payments are made. Has a default value based on your merchant + /// category code. + /// One of: dependant_support, government, loan, mortgage, + /// other, pension, personal, retail, salary, tax, + /// or utility. + /// + [JsonProperty("purpose")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("purpose")] +#endif + public string Purpose { get; set; } + } +} diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPendingUpdate.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPendingUpdate.cs index 93ffd50faf..27a93517b7 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPendingUpdate.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPendingUpdate.cs @@ -71,7 +71,7 @@ public class SubscriptionPendingUpdate : StripeEntity /// Indicates if a plan's trial_period_days should be applied to the subscription. /// Setting trial_end per subscription is preferred, and this defaults to /// false. Setting this flag to true together with trial_end is not - /// allowed. See Using trial + /// allowed. See Using trial /// periods on subscriptions to learn more. /// [JsonProperty("trial_from_plan")] diff --git a/src/Stripe.net/Entities/Tax/Associations/Association.cs b/src/Stripe.net/Entities/Tax/Associations/Association.cs index 090e2f3767..2ca6ee3295 100644 --- a/src/Stripe.net/Entities/Tax/Associations/Association.cs +++ b/src/Stripe.net/Entities/Tax/Associations/Association.cs @@ -32,7 +32,7 @@ public class Association : StripeEntity, IHasId, IHasObject public string Object { get; set; } /// - /// The Tax Calculation + /// The Tax Calculation /// that was included in PaymentIntent. /// [JsonProperty("calculation")] @@ -42,7 +42,7 @@ public class Association : StripeEntity, IHasId, IHasObject public string Calculation { get; set; } /// - /// The PaymentIntent that + /// The PaymentIntent that /// this Tax Association is tracking. /// [JsonProperty("payment_intent")] diff --git a/src/Stripe.net/Entities/Tax/Associations/AssociationTaxTransactionAttemptCommitted.cs b/src/Stripe.net/Entities/Tax/Associations/AssociationTaxTransactionAttemptCommitted.cs index 93cbf366fd..2fd1a3bc83 100644 --- a/src/Stripe.net/Entities/Tax/Associations/AssociationTaxTransactionAttemptCommitted.cs +++ b/src/Stripe.net/Entities/Tax/Associations/AssociationTaxTransactionAttemptCommitted.cs @@ -9,7 +9,7 @@ namespace Stripe.Tax public class AssociationTaxTransactionAttemptCommitted : StripeEntity { /// - /// The Tax Transaction. + /// The Tax Transaction. /// [JsonProperty("transaction")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItem.cs b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItem.cs index 6af3810465..f1b26cdc9f 100644 --- a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItem.cs +++ b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItem.cs @@ -29,7 +29,7 @@ public class CalculationLineItem : StripeEntity, IHasId, IH /// /// The line item amount in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were /// calculated on top of this amount. /// @@ -41,7 +41,7 @@ public class CalculationLineItem : StripeEntity, IHasId, IH /// /// The amount of tax calculated for this line item, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_tax")] #if NET6_0_OR_GREATER @@ -60,7 +60,7 @@ public class CalculationLineItem : StripeEntity, IHasId, IH public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -71,7 +71,7 @@ public class CalculationLineItem : StripeEntity, IHasId, IH public Dictionary Metadata { get; set; } /// - /// The ID of an existing Product. + /// The ID of an existing Product. /// [JsonProperty("product")] #if NET6_0_OR_GREATER @@ -119,7 +119,7 @@ public class CalculationLineItem : StripeEntity, IHasId, IH public List TaxBreakdown { get; set; } /// - /// The tax code ID used for this + /// The tax code ID used for this /// resource. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdown.cs b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdown.cs index 619f1b65c0..53dab0f147 100644 --- a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdown.cs +++ b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdown.cs @@ -10,7 +10,7 @@ public class CalculationLineItemTaxBreakdown : StripeEntity /// The amount of tax, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -62,7 +62,7 @@ public class CalculationLineItemTaxBreakdown : StripeEntity /// The amount on which tax is calculated, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("taxable_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Calculations/Calculation.cs b/src/Stripe.net/Entities/Tax/Calculations/Calculation.cs index a1cdb4e51a..fd3b00b0e1 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/Calculation.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/Calculation.cs @@ -12,7 +12,7 @@ namespace Stripe.Tax /// /// A Tax Calculation allows you to calculate the tax to collect from your customer. /// - /// Related guide: Calculate tax in your custom + /// Related guide: Calculate tax in your custom /// payment flow. /// public class Calculation : StripeEntity, IHasId, IHasObject @@ -37,7 +37,7 @@ public class Calculation : StripeEntity, IHasId, IHasObject /// /// Total amount after taxes in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_total")] #if NET6_0_OR_GREATER @@ -58,7 +58,7 @@ public class Calculation : StripeEntity, IHasId, IHasObject /// /// The ID of an existing Customer used for the resource. + /// href="https://docs.stripe.com/api/customers/object">Customer used for the resource. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCost.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCost.cs index 8f8fd81b53..0e5d0d1a79 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCost.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCost.cs @@ -11,7 +11,7 @@ public class CalculationShippingCost : StripeEntity { /// /// The shipping amount in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were /// calculated on top of this amount. /// @@ -23,7 +23,7 @@ public class CalculationShippingCost : StripeEntity /// /// The amount of tax calculated for shipping, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_tax")] #if NET6_0_OR_GREATER @@ -33,7 +33,7 @@ public class CalculationShippingCost : StripeEntity /// /// The ID of an existing ShippingRate. + /// href="https://docs.stripe.com/api/shipping_rates/object">ShippingRate. /// [JsonProperty("shipping_rate")] #if NET6_0_OR_GREATER @@ -62,7 +62,7 @@ public class CalculationShippingCost : StripeEntity public List TaxBreakdown { get; set; } /// - /// The tax code ID used for + /// The tax code ID used for /// shipping. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdown.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdown.cs index 8e970a5641..fed0f64e64 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdown.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdown.cs @@ -10,7 +10,7 @@ public class CalculationShippingCostTaxBreakdown : StripeEntity /// The amount of tax, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -62,7 +62,7 @@ public class CalculationShippingCostTaxBreakdown : StripeEntity /// The amount on which tax is calculated, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("taxable_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdown.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdown.cs index 08f234798b..289e224c4a 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdown.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdown.cs @@ -10,7 +10,7 @@ public class CalculationTaxBreakdown : StripeEntity { /// /// The amount of tax, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -50,7 +50,7 @@ public class CalculationTaxBreakdown : StripeEntity /// /// The amount on which tax is calculated, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("taxable_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdownTaxRateDetails.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdownTaxRateDetails.cs index db0714078a..c80e92e7b9 100644 --- a/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdownTaxRateDetails.cs +++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationTaxBreakdownTaxRateDetails.cs @@ -52,7 +52,8 @@ public class CalculationTaxBreakdownTaxRateDetails : StripeEntity - /// State, county, province, or region. + /// State, county, province, or region (ISO 3166-2). /// [JsonProperty("state")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tax/Registrations/Registration.cs b/src/Stripe.net/Entities/Tax/Registrations/Registration.cs index 5d1ff601d5..b1e9ee0658 100644 --- a/src/Stripe.net/Entities/Tax/Registrations/Registration.cs +++ b/src/Stripe.net/Entities/Tax/Registrations/Registration.cs @@ -11,13 +11,13 @@ namespace Stripe.Tax /// /// A Tax Registration lets us know that your business is registered to collect tax /// on payments within a region, enabling you to automatically collect tax. + /// href="https://docs.stripe.com/tax">automatically collect tax. /// /// Stripe doesn't register on your behalf with the relevant authorities when you create a /// Tax Registration object. For more information on how to register to collect tax, - /// see our guide. + /// see our guide. /// - /// Related guide: Using the + /// Related guide: Using the /// Registrations API. /// public class Registration : StripeEntity, IHasId, IHasObject diff --git a/src/Stripe.net/Entities/Tax/Settings/Settings.cs b/src/Stripe.net/Entities/Tax/Settings/Settings.cs index 3073e4ebcd..c76af91c69 100644 --- a/src/Stripe.net/Entities/Tax/Settings/Settings.cs +++ b/src/Stripe.net/Entities/Tax/Settings/Settings.cs @@ -10,7 +10,7 @@ namespace Stripe.Tax /// You can use Tax Settings to manage configurations used by Stripe Tax /// calculations. /// - /// Related guide: Using the Settings + /// Related guide: Using the Settings /// API. /// public class Settings : StripeEntity, IHasObject diff --git a/src/Stripe.net/Entities/Tax/TransactionLineItems/TransactionLineItem.cs b/src/Stripe.net/Entities/Tax/TransactionLineItems/TransactionLineItem.cs index 05d3a9a932..2d9cd41699 100644 --- a/src/Stripe.net/Entities/Tax/TransactionLineItems/TransactionLineItem.cs +++ b/src/Stripe.net/Entities/Tax/TransactionLineItems/TransactionLineItem.cs @@ -29,7 +29,7 @@ public class TransactionLineItem : StripeEntity, IHasId, IH /// /// The line item amount in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were /// calculated on top of this amount. /// @@ -41,7 +41,7 @@ public class TransactionLineItem : StripeEntity, IHasId, IH /// /// The amount of tax calculated for this line item, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_tax")] #if NET6_0_OR_GREATER @@ -60,7 +60,7 @@ public class TransactionLineItem : StripeEntity, IHasId, IH public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -71,7 +71,7 @@ public class TransactionLineItem : StripeEntity, IHasId, IH public Dictionary Metadata { get; set; } /// - /// The ID of an existing Product. + /// The ID of an existing Product. /// [JsonProperty("product")] #if NET6_0_OR_GREATER @@ -119,7 +119,7 @@ public class TransactionLineItem : StripeEntity, IHasId, IH public string TaxBehavior { get; set; } /// - /// The tax code ID used for this + /// The tax code ID used for this /// resource. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Entities/Tax/Transactions/Transaction.cs b/src/Stripe.net/Entities/Tax/Transactions/Transaction.cs index da0e1c0c0d..f94deffef9 100644 --- a/src/Stripe.net/Entities/Tax/Transactions/Transaction.cs +++ b/src/Stripe.net/Entities/Tax/Transactions/Transaction.cs @@ -12,7 +12,7 @@ namespace Stripe.Tax /// /// A Tax Transaction records the tax collected from or refunded to your customer. /// - /// Related guide: Calculate + /// Related guide: Calculate /// tax in your custom payment flow. /// public class Transaction : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -59,7 +59,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas /// /// The ID of an existing Customer used for the resource. + /// href="https://docs.stripe.com/api/customers/object">Customer used for the resource. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -93,7 +93,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCost.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCost.cs index 301c06c7a2..0ccf633f4e 100644 --- a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCost.cs +++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCost.cs @@ -11,7 +11,7 @@ public class TransactionShippingCost : StripeEntity { /// /// The shipping amount in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were /// calculated on top of this amount. /// @@ -23,7 +23,7 @@ public class TransactionShippingCost : StripeEntity /// /// The amount of tax calculated for shipping, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_tax")] #if NET6_0_OR_GREATER @@ -33,7 +33,7 @@ public class TransactionShippingCost : StripeEntity /// /// The ID of an existing ShippingRate. + /// href="https://docs.stripe.com/api/shipping_rates/object">ShippingRate. /// [JsonProperty("shipping_rate")] #if NET6_0_OR_GREATER @@ -63,7 +63,7 @@ public class TransactionShippingCost : StripeEntity public List TaxBreakdown { get; set; } /// - /// The tax code ID used for + /// The tax code ID used for /// shipping. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdown.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdown.cs index 067acad462..785bb52ed0 100644 --- a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdown.cs +++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdown.cs @@ -10,7 +10,7 @@ public class TransactionShippingCostTaxBreakdown : StripeEntity /// The amount of tax, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -62,7 +62,7 @@ public class TransactionShippingCostTaxBreakdown : StripeEntity /// The amount on which tax is calculated, in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("taxable_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/TaxIds/TaxId.cs b/src/Stripe.net/Entities/TaxIds/TaxId.cs index 98806b1ec9..61b94f943a 100644 --- a/src/Stripe.net/Entities/TaxIds/TaxId.cs +++ b/src/Stripe.net/Entities/TaxIds/TaxId.cs @@ -10,12 +10,12 @@ namespace Stripe /// /// You can add one or multiple tax IDs to a customer or account. Customer and + /// href="https://docs.stripe.com/api/customers">customer or account. Customer and /// account tax IDs get displayed on related invoices and credit notes. /// - /// Related guides: Customer tax + /// Related guides: Customer tax /// identification numbers, Account tax IDs. + /// href="https://docs.stripe.com/invoicing/connect#account-tax-ids">Account tax IDs. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -102,7 +102,7 @@ public Customer Customer #endregion /// - /// ID of the account. + /// ID of the Account representing the customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/TaxIds/TaxIdOwner.cs b/src/Stripe.net/Entities/TaxIds/TaxIdOwner.cs index fb342df4ce..6a32fe8192 100644 --- a/src/Stripe.net/Entities/TaxIds/TaxIdOwner.cs +++ b/src/Stripe.net/Entities/TaxIds/TaxIdOwner.cs @@ -136,7 +136,8 @@ public Customer Customer #endregion /// - /// The account being referenced when type is customer. + /// The Account representing the customer being referenced when type is + /// customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/TaxRates/TaxRate.cs b/src/Stripe.net/Entities/TaxRates/TaxRate.cs index 40c5abd7aa..3071f3d20a 100644 --- a/src/Stripe.net/Entities/TaxRates/TaxRate.cs +++ b/src/Stripe.net/Entities/TaxRates/TaxRate.cs @@ -156,7 +156,7 @@ public class TaxRate : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Terminal/ConnectionTokens/ConnectionToken.cs b/src/Stripe.net/Entities/Terminal/ConnectionTokens/ConnectionToken.cs index 8294b947d5..8aaee3acbe 100644 --- a/src/Stripe.net/Entities/Terminal/ConnectionTokens/ConnectionToken.cs +++ b/src/Stripe.net/Entities/Terminal/ConnectionTokens/ConnectionToken.cs @@ -9,7 +9,7 @@ namespace Stripe.Terminal /// /// A Connection Token is used by the Stripe Terminal SDK to connect to a reader. /// - /// Related guide: Fleet + /// Related guide: Fleet /// management. /// public class ConnectionToken : StripeEntity, IHasObject diff --git a/src/Stripe.net/Entities/Terminal/Locations/Location.cs b/src/Stripe.net/Entities/Terminal/Locations/Location.cs index ed2a7443f3..11aa6d7392 100644 --- a/src/Stripe.net/Entities/Terminal/Locations/Location.cs +++ b/src/Stripe.net/Entities/Terminal/Locations/Location.cs @@ -10,7 +10,7 @@ namespace Stripe.Terminal /// /// A Location represents a grouping of readers. /// - /// Related guide: Fleet + /// Related guide: Fleet /// management. /// public class Location : StripeEntity, IHasId, IHasMetadata, IHasObject @@ -108,7 +108,7 @@ public class Location : StripeEntity, IHasId, IHasMetadata, IHasObject public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Terminal/Readers/Reader.cs b/src/Stripe.net/Entities/Terminal/Readers/Reader.cs index f6dc32f7f1..bdcf24bf00 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/Reader.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/Reader.cs @@ -13,7 +13,7 @@ namespace Stripe.Terminal /// A Reader represents a physical device for accepting payment details. /// /// Related guide: Connecting to a + /// href="https://docs.stripe.com/terminal/payments/connect-reader">Connecting to a /// reader. /// #if NET6_0_OR_GREATER @@ -98,7 +98,9 @@ public class Reader : StripeEntity, IHasId, IHasMetadata, IHasObject public string Label { get; set; } /// - /// The last time this reader reported to Stripe backend. + /// The last time this reader reported to Stripe backend. Timestamp is measured in + /// milliseconds since the Unix epoch. Unlike most other Stripe timestamp fields which use + /// seconds, this field uses milliseconds. /// [JsonProperty("last_seen_at")] [JsonConverter(typeof(UnixDateTimeConverter))] @@ -160,7 +162,7 @@ public Location Location #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectInputs.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectInputs.cs index 34c97a0fc8..8c1f5d4d88 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectInputs.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectInputs.cs @@ -19,7 +19,7 @@ public class ReaderActionCollectInputs : StripeEntity public List Inputs { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs index 400f3d27ea..c2018d4a9c 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs @@ -73,12 +73,12 @@ public PaymentIntent PaymentIntent /// /// PaymentMethod objects represent your customer's payment instruments. You can use them - /// with PaymentIntents to + /// with PaymentIntents to /// collect payments or save them to Customer objects to store instrument details for future /// payments. /// - /// Related guides: Payment - /// Methods and More + /// Related guides: Payment + /// Methods and More /// Payment Scenarios. /// [JsonProperty("payment_method")] diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs index 35150f0686..bb39e9e0ef 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs @@ -73,7 +73,7 @@ public Charge Charge #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCart.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCart.cs index da26070caf..f87008884a 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCart.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCart.cs @@ -31,7 +31,7 @@ public class ReaderActionSetReaderDisplayCart : StripeEntity /// Tax amount for the entire cart. A positive integer in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("tax")] #if NET6_0_OR_GREATER @@ -41,7 +41,7 @@ public class ReaderActionSetReaderDisplayCart : StripeEntity /// Total amount for the entire cart, including tax. A positive integer in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("total")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCartLineItem.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCartLineItem.cs index aee697d64f..a0ab1709ec 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCartLineItem.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionSetReaderDisplayCartLineItem.cs @@ -10,7 +10,7 @@ public class ReaderActionSetReaderDisplayCartLineItem : StripeEntity /// The amount of the line item. A positive integer in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Tokens/Token.cs b/src/Stripe.net/Entities/Tokens/Token.cs index eb5352e95c..bb002a4ef9 100644 --- a/src/Stripe.net/Entities/Tokens/Token.cs +++ b/src/Stripe.net/Entities/Tokens/Token.cs @@ -12,7 +12,7 @@ namespace Stripe /// Tokenization is the process Stripe uses to collect sensitive card or bank account /// details, or personally identifiable information (PII), directly from your customers in a /// secure manner. A token representing this information is returned to your server to use. - /// Use our recommended payments integrations + /// Use our recommended payments integrations /// to perform this process on the client-side. This guarantees that no sensitive card data /// touches your server, and allows your integration to operate in a PCI-compliant way. /// @@ -23,9 +23,9 @@ namespace Stripe /// sent directly to Stripe, so we can't determine how it's handled or stored. /// /// You can't store or use tokens more than once. To store card or bank account information - /// for later use, create Customer + /// for later use, create Customer /// objects or External accounts. Radar, our integrated solution for automatic + /// href="https://docs.stripe.com/radar">Radar, our integrated solution for automatic /// fraud protection, performs best with integrations that use client-side tokenization. /// public class Token : StripeEntity, IHasId, IHasObject @@ -69,7 +69,7 @@ public class Token : StripeEntity, IHasId, IHasObject /// can also store multiple debit cards on a recipient in order to transfer to those cards /// later. /// - /// Related guide: Card payments with + /// Related guide: Card payments with /// Sources. /// [JsonProperty("card")] diff --git a/src/Stripe.net/Entities/Topups/Topup.cs b/src/Stripe.net/Entities/Topups/Topup.cs index e2754310ba..704130a771 100644 --- a/src/Stripe.net/Entities/Topups/Topup.cs +++ b/src/Stripe.net/Entities/Topups/Topup.cs @@ -13,7 +13,7 @@ namespace Stripe /// To top up your Stripe balance, you create a top-up object. You can retrieve individual /// top-ups, as well as list all top-ups. Top-ups are identified by a unique, random ID. /// - /// Related guide: Topping up your + /// Related guide: Topping up your /// platform account. /// #if NET6_0_OR_GREATER @@ -137,7 +137,7 @@ public BalanceTransaction BalanceTransaction /// /// Error code explaining reason for top-up failure if available (see the errors section for a list of codes). + /// href="https://docs.stripe.com/api#errors">the errors section for a list of codes). /// [JsonProperty("failure_code")] #if NET6_0_OR_GREATER @@ -165,7 +165,7 @@ public BalanceTransaction BalanceTransaction public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/TransferReversals/TransferReversal.cs b/src/Stripe.net/Entities/TransferReversals/TransferReversal.cs index 3a11dc23e2..bc8c382fb4 100644 --- a/src/Stripe.net/Entities/TransferReversals/TransferReversal.cs +++ b/src/Stripe.net/Entities/TransferReversals/TransferReversal.cs @@ -10,7 +10,7 @@ namespace Stripe #endif /// - /// Stripe Connect platforms can reverse + /// Stripe Connect platforms can reverse /// transfers made to a connected account, either entirely or partially, and can also /// specify whether to refund any related application fees. Transfer reversals add to the /// platform's balance and subtract from the destination account's balance. @@ -18,11 +18,11 @@ namespace Stripe /// Reversing a transfer that was made for a destination charge is /// allowed only up to the amount of the charge. It is possible to reverse a transfer_group + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">transfer_group /// transfer only if the destination account has enough balance to cover the reversal. /// /// Related guide: Reverse + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#reverse-transfers">Reverse /// transfers. /// #if NET6_0_OR_GREATER @@ -162,7 +162,7 @@ public Refund DestinationPaymentRefund #endregion /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Transfers/Transfer.cs b/src/Stripe.net/Entities/Transfers/Transfer.cs index 7e8c081efc..b0415296bb 100644 --- a/src/Stripe.net/Entities/Transfers/Transfer.cs +++ b/src/Stripe.net/Entities/Transfers/Transfer.cs @@ -15,12 +15,12 @@ namespace Stripe /// /// Before April 6, 2017, transfers also represented movement of funds from a Stripe account /// to a card or bank account. This behavior has since been split out into a Payout object, with corresponding - /// payout endpoints. For more information, read about the transfer/payout split. + /// href="https://api.stripe.com#payout_object">Payout object, with corresponding payout + /// endpoints. For more information, read about the transfer/payout split. /// /// Related guide: Creating separate + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">Creating separate /// charges and transfers. /// #if NET6_0_OR_GREATER @@ -241,7 +241,7 @@ public Charge DestinationPayment public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -325,7 +325,7 @@ public Charge SourceTransaction /// /// A string that identifies this transaction as part of a group. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect /// documentation for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Entities/Treasury/CreditReversals/CreditReversal.cs b/src/Stripe.net/Entities/Treasury/CreditReversals/CreditReversal.cs index 0de64ad359..bba6609d8b 100644 --- a/src/Stripe.net/Entities/Treasury/CreditReversals/CreditReversal.cs +++ b/src/Stripe.net/Entities/Treasury/CreditReversals/CreditReversal.cs @@ -11,8 +11,8 @@ namespace Stripe.Treasury /// /// You can reverse some ReceivedCredits depending on - /// their network and source flow. Reversing a ReceivedCredit leads to the creation of a new + /// href="https://api.stripe.com#received_credits">ReceivedCredits depending on their + /// network and source flow. Reversing a ReceivedCredit leads to the creation of a new /// object known as a CreditReversal. /// #if NET6_0_OR_GREATER @@ -79,7 +79,7 @@ public class CreditReversal : StripeEntity, IHasId, IHasMetadata public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// @@ -100,7 +100,7 @@ public class CreditReversal : StripeEntity, IHasId, IHasMetadata public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/DebitReversals/DebitReversal.cs b/src/Stripe.net/Entities/Treasury/DebitReversals/DebitReversal.cs index 0d730f9f85..41d7ac22f6 100644 --- a/src/Stripe.net/Entities/Treasury/DebitReversals/DebitReversal.cs +++ b/src/Stripe.net/Entities/Treasury/DebitReversals/DebitReversal.cs @@ -10,10 +10,9 @@ namespace Stripe.Treasury #endif /// - /// You can reverse some ReceivedDebits depending on their - /// network and source flow. Reversing a ReceivedDebit leads to the creation of a new object - /// known as a DebitReversal. + /// You can reverse some ReceivedDebits + /// depending on their network and source flow. Reversing a ReceivedDebit leads to the + /// creation of a new object known as a DebitReversal. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -79,7 +78,7 @@ public class DebitReversal : StripeEntity, IHasId, IHasMetadata, public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// @@ -109,7 +108,7 @@ public class DebitReversal : StripeEntity, IHasId, IHasMetadata, public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs index 1011c06890..89db8c3142 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs @@ -126,7 +126,7 @@ public class FinancialAccount : StripeEntity, IHasId, IHasMeta public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransfer.cs b/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransfer.cs index 17935374ae..35a1ce6160 100644 --- a/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransfer.cs +++ b/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransfer.cs @@ -13,7 +13,7 @@ namespace Stripe.Treasury /// Use InboundTransfers /// to add funds to your FinancialAccount via a + /// href="https://api.stripe.com#financial_accounts">FinancialAccount via a /// PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. /// /// Related guide: , IHasId, IHasMetada public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// @@ -138,7 +138,7 @@ public class InboundTransfer : StripeEntity, IHasId, IHasMetada public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransferOriginPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransferOriginPaymentMethodDetailsUsBankAccount.cs index 23da87aa45..5eed6b1cd5 100644 --- a/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransferOriginPaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/Treasury/InboundTransfers/InboundTransferOriginPaymentMethodDetailsUsBankAccount.cs @@ -103,7 +103,7 @@ public Mandate Mandate /// /// The network rails used. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// [JsonProperty("network")] diff --git a/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPayment.cs b/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPayment.cs index 64045b8350..1d219652ba 100644 --- a/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPayment.cs +++ b/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPayment.cs @@ -13,9 +13,9 @@ namespace Stripe.Treasury /// Use OutboundPayments /// to send funds to another party's external bank account or FinancialAccount. To send - /// money to an account belonging to the same user, use an OutboundTransfer. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. To send money to + /// an account belonging to the same user, use an OutboundTransfer. /// /// Simulate OutboundPayment state changes with the /// /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be @@ -89,7 +89,7 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada public string Currency { get; set; } /// - /// ID of the customer to whom an + /// ID of the customer to whom an /// OutboundPayment is sent. /// [JsonProperty("customer")] @@ -156,7 +156,7 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// @@ -177,7 +177,7 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDetailsUsBankAccount.cs index af7749cb3a..a9b636dc0b 100644 --- a/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDetailsUsBankAccount.cs @@ -103,7 +103,7 @@ public Mandate Mandate /// /// The network rails used. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// One of: ach, or us_domestic_wire. /// diff --git a/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransfer.cs b/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransfer.cs index 60a6c44cb3..8f6cbe9041 100644 --- a/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransfer.cs +++ b/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransfer.cs @@ -13,11 +13,11 @@ namespace Stripe.Treasury /// Use OutboundTransfers /// to transfer funds from a FinancialAccount to a - /// PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You - /// can send funds over ACH rails or through a domestic wire transfer to a user's own - /// external bank account. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount to a PaymentMethod + /// belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can + /// send funds over ACH rails or through a domestic wire transfer to a user's own external + /// bank account. /// /// Simulate OutboundTransfer state changes with the /// /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be @@ -135,7 +135,7 @@ public class OutboundTransfer : StripeEntity, IHasId, IHasMeta public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// @@ -156,7 +156,7 @@ public class OutboundTransfer : StripeEntity, IHasId, IHasMeta public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDetailsUsBankAccount.cs index 883232db4f..fe42e916be 100644 --- a/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDetailsUsBankAccount.cs +++ b/src/Stripe.net/Entities/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodDetailsUsBankAccount.cs @@ -103,7 +103,7 @@ public Mandate Mandate /// /// The network rails used. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// One of: ach, or us_domestic_wire. /// diff --git a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCredit.cs b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCredit.cs index 3ad3da71f4..cccf76a5b1 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCredit.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCredit.cs @@ -10,8 +10,8 @@ namespace Stripe.Treasury /// /// ReceivedCredits represent funds sent to a FinancialAccount (for example, - /// via ACH or wire). These money movements are not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount (for example, via + /// ACH or wire). These money movements are not initiated from the FinancialAccount. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -98,7 +98,7 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// diff --git a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditInitiatingPaymentMethodDetails.cs b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditInitiatingPaymentMethodDetails.cs index e5754c0b5c..0dcf9d6b6a 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditInitiatingPaymentMethodDetails.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditInitiatingPaymentMethodDetails.cs @@ -31,7 +31,7 @@ public class ReceivedCreditInitiatingPaymentMethodDetails : StripeEntity /// Set when type is issuing_card. This is an Issuing Card ID. + /// href="https://api.stripe.com#issuing_cards">Issuing Card ID. /// [JsonProperty("issuing_card")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlows.cs b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlows.cs index 2f05060454..6cbad70676 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlows.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlows.cs @@ -19,8 +19,7 @@ public class ReceivedCreditLinkedFlows : StripeEntity /// /// Set if the ReceivedCredit was created due to an Issuing Authorization - /// object. + /// href="https://api.stripe.com#issuing_authorizations">Issuing Authorization object. /// [JsonProperty("issuing_authorization")] #if NET6_0_OR_GREATER @@ -30,7 +29,7 @@ public class ReceivedCreditLinkedFlows : StripeEntity /// /// Set if the ReceivedCredit is also viewable as an Issuing transaction object. + /// href="https://api.stripe.com#issuing_transactions">Issuing transaction object. /// [JsonProperty("issuing_transaction")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlowsSourceFlowDetails.cs b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlowsSourceFlowDetails.cs index 7586676369..6c1dc66491 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlowsSourceFlowDetails.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedCredits/ReceivedCreditLinkedFlowsSourceFlowDetails.cs @@ -10,8 +10,8 @@ public class ReceivedCreditLinkedFlowsSourceFlowDetails : StripeEntity /// You can reverse some ReceivedCredits depending on - /// their network and source flow. Reversing a ReceivedCredit leads to the creation of a new + /// href="https://api.stripe.com#received_credits">ReceivedCredits depending on their + /// network and source flow. Reversing a ReceivedCredit leads to the creation of a new /// object known as a CreditReversal. /// [JsonProperty("credit_reversal")] @@ -24,9 +24,9 @@ public class ReceivedCreditLinkedFlowsSourceFlowDetails : StripeEntityOutboundPayments /// to send funds to another party's external bank account or FinancialAccount. To send - /// money to an account belonging to the same user, use an OutboundTransfer. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. To send money to + /// an account belonging to the same user, use an OutboundTransfer. /// /// Simulate OutboundPayment state changes with the /// /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be @@ -46,11 +46,11 @@ public class ReceivedCreditLinkedFlowsSourceFlowDetails : StripeEntityOutboundTransfers /// to transfer funds from a FinancialAccount to a - /// PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You - /// can send funds over ACH rails or through a domestic wire transfer to a user's own - /// external bank account. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount to a PaymentMethod + /// belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can + /// send funds over ACH rails or through a domestic wire transfer to a user's own external + /// bank account. /// /// Simulate OutboundTransfer state changes with the /// /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be @@ -74,7 +74,7 @@ public class ReceivedCreditLinkedFlowsSourceFlowDetails : StripeEntityvarying /// schedules, depending on your country and industry. /// - /// Related guide: Receiving payouts. + /// Related guide: Receiving payouts. /// [JsonProperty("payout")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebit.cs b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebit.cs index efaf2c2982..f31d45e6e6 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebit.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebit.cs @@ -10,8 +10,8 @@ namespace Stripe.Treasury /// /// ReceivedDebits represent funds pulled from a FinancialAccount. These are - /// not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. These are not + /// initiated from the FinancialAccount. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] @@ -98,7 +98,7 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject public string FinancialAccount { get; set; } /// - /// A hosted + /// A hosted /// transaction receipt URL that is provided when money movement is considered regulated /// under Stripe's money transmission licenses. /// diff --git a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitInitiatingPaymentMethodDetails.cs b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitInitiatingPaymentMethodDetails.cs index 078aee4bdc..ec97e09224 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitInitiatingPaymentMethodDetails.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitInitiatingPaymentMethodDetails.cs @@ -31,7 +31,7 @@ public class ReceivedDebitInitiatingPaymentMethodDetails : StripeEntity /// Set when type is issuing_card. This is an Issuing Card ID. + /// href="https://api.stripe.com#issuing_cards">Issuing Card ID. /// [JsonProperty("issuing_card")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitLinkedFlows.cs b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitLinkedFlows.cs index fde8de9439..fb33e56fac 100644 --- a/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitLinkedFlows.cs +++ b/src/Stripe.net/Entities/Treasury/ReceivedDebits/ReceivedDebitLinkedFlows.cs @@ -28,8 +28,7 @@ public class ReceivedDebitLinkedFlows : StripeEntity /// /// Set if the ReceivedDebit was created due to an Issuing Authorization - /// object. + /// href="https://api.stripe.com#issuing_authorizations">Issuing Authorization object. /// [JsonProperty("issuing_authorization")] #if NET6_0_OR_GREATER @@ -39,7 +38,7 @@ public class ReceivedDebitLinkedFlows : StripeEntity /// /// Set if the ReceivedDebit is also viewable as an Issuing Dispute object. + /// href="https://api.stripe.com#issuing_disputes">Issuing Dispute object. /// [JsonProperty("issuing_transaction")] #if NET6_0_OR_GREATER @@ -49,7 +48,7 @@ public class ReceivedDebitLinkedFlows : StripeEntity /// /// Set if the ReceivedDebit was created due to a Payout object. + /// href="https://api.stripe.com#payouts">Payout object. /// [JsonProperty("payout")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntry.cs b/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntry.cs index d2f188eab2..cef68eedc9 100644 --- a/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntry.cs +++ b/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntry.cs @@ -10,7 +10,7 @@ namespace Stripe.Treasury /// /// TransactionEntries represent individual units of money movements within a single Transaction. + /// href="https://api.stripe.com#transactions">Transaction. /// #if NET6_0_OR_GREATER [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] diff --git a/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntryFlowDetails.cs b/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntryFlowDetails.cs index 250cd5f94a..2db61e07be 100644 --- a/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntryFlowDetails.cs +++ b/src/Stripe.net/Entities/Treasury/TransactionEntries/TransactionEntryFlowDetails.cs @@ -10,8 +10,8 @@ public class TransactionEntryFlowDetails : StripeEntity /// You can reverse some ReceivedCredits depending on - /// their network and source flow. Reversing a ReceivedCredit leads to the creation of a new + /// href="https://api.stripe.com#received_credits">ReceivedCredits depending on their + /// network and source flow. Reversing a ReceivedCredit leads to the creation of a new /// object known as a CreditReversal. /// [JsonProperty("credit_reversal")] @@ -21,10 +21,9 @@ public class TransactionEntryFlowDetails : StripeEntity - /// You can reverse some ReceivedDebits depending on their - /// network and source flow. Reversing a ReceivedDebit leads to the creation of a new object - /// known as a DebitReversal. + /// You can reverse some ReceivedDebits + /// depending on their network and source flow. Reversing a ReceivedDebit leads to the + /// creation of a new object known as a DebitReversal. /// [JsonProperty("debit_reversal")] #if NET6_0_OR_GREATER @@ -36,7 +35,7 @@ public class TransactionEntryFlowDetails : StripeEntityInboundTransfers /// to add funds to your FinancialAccount via a + /// href="https://api.stripe.com#financial_accounts">FinancialAccount via a /// PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. /// /// Related guide: - /// When an issued card is used to make a + /// When an issued card is used to make a /// purchase, an Issuing Authorization object is created. Authorizations must + /// href="https://docs.stripe.com/issuing/purchases/authorizations">Authorizations must /// be approved for the purchase to be completed successfully. /// - /// Related guide: Issued + /// Related guide: Issued /// card authorizations. /// [JsonProperty("issuing_authorization")] @@ -68,9 +67,9 @@ public class TransactionEntryFlowDetails : StripeEntityOutboundPayments /// to send funds to another party's external bank account or FinancialAccount. To send - /// money to an account belonging to the same user, use an OutboundTransfer. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. To send money to + /// an account belonging to the same user, use an OutboundTransfer. /// /// Simulate OutboundPayment state changes with the /// /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be @@ -90,11 +89,11 @@ public class TransactionEntryFlowDetails : StripeEntityOutboundTransfers /// to transfer funds from a FinancialAccount to a - /// PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You - /// can send funds over ACH rails or through a domestic wire transfer to a user's own - /// external bank account. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount to a PaymentMethod + /// belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can + /// send funds over ACH rails or through a domestic wire transfer to a user's own external + /// bank account. /// /// Simulate OutboundTransfer state changes with the /// /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be @@ -112,8 +111,8 @@ public class TransactionEntryFlowDetails : StripeEntity /// ReceivedCredits represent funds sent to a FinancialAccount (for example, - /// via ACH or wire). These money movements are not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount (for example, via + /// ACH or wire). These money movements are not initiated from the FinancialAccount. /// [JsonProperty("received_credit")] #if NET6_0_OR_GREATER @@ -123,8 +122,8 @@ public class TransactionEntryFlowDetails : StripeEntity /// ReceivedDebits represent funds pulled from a FinancialAccount. These are - /// not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. These are not + /// initiated from the FinancialAccount. /// [JsonProperty("received_debit")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Treasury/Transactions/Transaction.cs b/src/Stripe.net/Entities/Treasury/Transactions/Transaction.cs index 0b8e766eb4..b08ac676e0 100644 --- a/src/Stripe.net/Entities/Treasury/Transactions/Transaction.cs +++ b/src/Stripe.net/Entities/Treasury/Transactions/Transaction.cs @@ -10,7 +10,7 @@ namespace Stripe.Treasury /// /// Transactions represent changes to a FinancialAccount's balance. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount's balance. /// public class Transaction : StripeEntity, IHasId, IHasObject { diff --git a/src/Stripe.net/Entities/Treasury/Transactions/TransactionFlowDetails.cs b/src/Stripe.net/Entities/Treasury/Transactions/TransactionFlowDetails.cs index 1cec6a2892..24ef2c96a9 100644 --- a/src/Stripe.net/Entities/Treasury/Transactions/TransactionFlowDetails.cs +++ b/src/Stripe.net/Entities/Treasury/Transactions/TransactionFlowDetails.cs @@ -10,8 +10,8 @@ public class TransactionFlowDetails : StripeEntity { /// /// You can reverse some ReceivedCredits depending on - /// their network and source flow. Reversing a ReceivedCredit leads to the creation of a new + /// href="https://api.stripe.com#received_credits">ReceivedCredits depending on their + /// network and source flow. Reversing a ReceivedCredit leads to the creation of a new /// object known as a CreditReversal. /// [JsonProperty("credit_reversal")] @@ -21,10 +21,9 @@ public class TransactionFlowDetails : StripeEntity public CreditReversal CreditReversal { get; set; } /// - /// You can reverse some ReceivedDebits depending on their - /// network and source flow. Reversing a ReceivedDebit leads to the creation of a new object - /// known as a DebitReversal. + /// You can reverse some ReceivedDebits + /// depending on their network and source flow. Reversing a ReceivedDebit leads to the + /// creation of a new object known as a DebitReversal. /// [JsonProperty("debit_reversal")] #if NET6_0_OR_GREATER @@ -36,7 +35,7 @@ public class TransactionFlowDetails : StripeEntity /// Use InboundTransfers /// to add funds to your FinancialAccount via a + /// href="https://api.stripe.com#financial_accounts">FinancialAccount via a /// PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. /// /// Related guide: public InboundTransfer InboundTransfer { get; set; } /// - /// When an issued card is used to make a + /// When an issued card is used to make a /// purchase, an Issuing Authorization object is created. Authorizations must + /// href="https://docs.stripe.com/issuing/purchases/authorizations">Authorizations must /// be approved for the purchase to be completed successfully. /// - /// Related guide: Issued + /// Related guide: Issued /// card authorizations. /// [JsonProperty("issuing_authorization")] @@ -68,9 +67,9 @@ public class TransactionFlowDetails : StripeEntity /// Use OutboundPayments /// to send funds to another party's external bank account or FinancialAccount. To send - /// money to an account belonging to the same user, use an OutboundTransfer. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. To send money to + /// an account belonging to the same user, use an OutboundTransfer. /// /// Simulate OutboundPayment state changes with the /// /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be @@ -90,11 +89,11 @@ public class TransactionFlowDetails : StripeEntity /// Use OutboundTransfers /// to transfer funds from a FinancialAccount to a - /// PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You - /// can send funds over ACH rails or through a domestic wire transfer to a user's own - /// external bank account. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount to a PaymentMethod + /// belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can + /// send funds over ACH rails or through a domestic wire transfer to a user's own external + /// bank account. /// /// Simulate OutboundTransfer state changes with the /// /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be @@ -112,8 +111,8 @@ public class TransactionFlowDetails : StripeEntity /// /// ReceivedCredits represent funds sent to a FinancialAccount (for example, - /// via ACH or wire). These money movements are not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount (for example, via + /// ACH or wire). These money movements are not initiated from the FinancialAccount. /// [JsonProperty("received_credit")] #if NET6_0_OR_GREATER @@ -123,8 +122,8 @@ public class TransactionFlowDetails : StripeEntity /// /// ReceivedDebits represent funds pulled from a FinancialAccount. These are - /// not initiated from the FinancialAccount. + /// href="https://api.stripe.com#financial_accounts">FinancialAccount. These are not + /// initiated from the FinancialAccount. /// [JsonProperty("received_debit")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs index 8dc80761a6..3cab62e0c0 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLink.cs @@ -8,9 +8,8 @@ namespace Stripe.V2.Core #endif /// - /// AccountLinks are the means by which a Merchant grants an Account permission to access - /// Stripe-hosted applications, such as Recipient Onboarding. This API is only available for - /// users enrolled in the public preview for Accounts v2. + /// Account Links let a platform create a temporary, single-use URL that an account can use + /// to access a Stripe-hosted flow for collecting or updating required information. /// public class AccountLink : StripeEntity, IHasObject { @@ -25,7 +24,7 @@ public class AccountLink : StripeEntity, IHasObject public string Object { get; set; } /// - /// The ID of the Account the link was created for. + /// The ID of the connected account this Account Link applies to. /// [JsonProperty("account")] #if NET6_0_OR_GREATER @@ -34,7 +33,7 @@ public class AccountLink : StripeEntity, IHasObject public string Account { get; set; } /// - /// The timestamp at which this AccountLink was created. + /// The timestamp at which this Account Link was created. /// [JsonProperty("created")] #if NET6_0_OR_GREATER @@ -43,7 +42,7 @@ public class AccountLink : StripeEntity, IHasObject public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; /// - /// The timestamp at which this AccountLink will expire. + /// The timestamp at which this Account Link will expire. /// [JsonProperty("expires_at")] #if NET6_0_OR_GREATER @@ -62,7 +61,7 @@ public class AccountLink : StripeEntity, IHasObject public bool Livemode { get; set; } /// - /// The URL for the AccountLink. + /// The URL at which the account can access the Stripe-hosted flow. /// [JsonProperty("url")] #if NET6_0_OR_GREATER @@ -71,7 +70,7 @@ public class AccountLink : StripeEntity, IHasObject public string Url { get; set; } /// - /// The use case of AccountLink the user is requesting. + /// Hash containing usage options. /// [JsonProperty("use_case")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCase.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCase.cs index 2b7a78e7d7..806bbfff74 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCase.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCase.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountLinkUseCase : StripeEntity { /// - /// Open Enum. The type of AccountLink the user is requesting. + /// Open Enum. The type of Account Link the user is requesting. /// One of: account_onboarding, or account_update. /// [JsonProperty("type")] @@ -19,7 +19,8 @@ public class AccountLinkUseCase : StripeEntity public string Type { get; set; } /// - /// Indicates that the AccountLink provided should onboard an account. + /// Hash containing configuration options for an Account Link object that onboards a new + /// account. /// [JsonProperty("account_onboarding")] #if NET6_0_OR_GREATER @@ -28,7 +29,8 @@ public class AccountLinkUseCase : StripeEntity public AccountLinkUseCaseAccountOnboarding AccountOnboarding { get; set; } /// - /// Indicates that the AccountLink provided should update a previously onboarded account. + /// Hash containing configuration options for an Account Link that updates an existing + /// account. /// [JsonProperty("account_update")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdate.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdate.cs index 7fe1c94d5f..9048e21dcf 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdate.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdate.cs @@ -32,13 +32,13 @@ public class AccountLinkUseCaseAccountUpdate : StripeEntity Configurations { get; set; } /// - /// The URL the user will be redirected to if the AccountLink is expired, has been used, or - /// is otherwise invalid. The URL you specify should attempt to generate a new AccountLink - /// with the same parameters used to create the original AccountLink, then redirect the user - /// to the new AccountLink’s URL so they can continue the flow. If a new AccountLink cannot - /// be generated or the redirect fails you should display a useful error to the user. Please - /// make sure to implement authentication before redirecting the user in case this URL is - /// leaked to a third party. + /// The URL the user will be redirected to if the Account Link is expired, has been used, or + /// is otherwise invalid. The URL you specify should attempt to generate a new Account Link + /// with the same parameters used to create the original Account Link, then redirect the + /// user to the new Account Link URL so they can continue the flow. Make sure to + /// authenticate the user before redirecting to the new Account Link, in case the URL leaks + /// to a third party. If a new Account Link can't be generated, or if the redirect fails, + /// you should display a useful error to the user. /// [JsonProperty("refresh_url")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdateCollectionOptions.cs b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdateCollectionOptions.cs index c04cd19381..c2f15113de 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdateCollectionOptions.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountLinks/AccountLinkUseCaseAccountUpdateCollectionOptions.cs @@ -11,8 +11,7 @@ public class AccountLinkUseCaseAccountUpdateCollectionOptions : StripeEntity /// Specifies whether the platform collects only currently_due requirements /// (currently_due) or both currently_due and eventually_due requirements - /// (eventually_due). If you don’t specify collection_options, the default value is - /// currently_due. + /// (eventually_due). The default value is currently_due. /// One of: currently_due, or eventually_due. /// [JsonProperty("fields")] diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPerson.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPerson.cs index fb21623590..b6e32b2206 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPerson.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPerson.cs @@ -9,7 +9,9 @@ namespace Stripe.V2.Core #endif /// - /// Person retrieval response schema. + /// A Person represents an individual associated with an Account's identity (for example, an + /// owner, director, executive, or representative). Use Persons to provide and update + /// identity information for verification and compliance. /// public class AccountPerson : StripeEntity, IHasId, IHasMetadata, IHasObject { diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalAddress.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalAddress.cs index 876fbc68c9..1cf459f461 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalAddress.cs @@ -73,7 +73,7 @@ public class AccountPersonAdditionalAddress : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAddress.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAddress.cs index 3e51ef6e43..c3ca8b2014 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAddress.cs @@ -64,7 +64,7 @@ public class AccountPersonAddress : StripeEntity public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonIdNumber.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonIdNumber.cs index 36652dc128..3929656e16 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonIdNumber.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonIdNumber.cs @@ -10,13 +10,21 @@ public class AccountPersonIdNumber : StripeEntity { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs index 94d2f12aee..52259b7264 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountPersonRelationship : StripeEntity { /// - /// Whether the individual is an authorizer of the Account’s legal entity. + /// Whether the individual is an authorizer of the Account's identity. /// [JsonProperty("authorizer")] #if NET6_0_OR_GREATER @@ -18,9 +18,9 @@ public class AccountPersonRelationship : StripeEntity public bool? Authorizer { get; set; } /// - /// Whether the individual is a director of the Account’s legal entity. Directors are - /// typically members of the governing board of the company, or responsible for ensuring the - /// company meets its regulatory obligations. + /// Whether the individual is a director of the Account's identity. Directors are typically + /// members of the governing board of the company or are responsible for making sure that + /// the company meets its regulatory obligations. /// [JsonProperty("director")] #if NET6_0_OR_GREATER @@ -39,7 +39,7 @@ public class AccountPersonRelationship : StripeEntity public bool? Executive { get; set; } /// - /// Whether the individual is the legal guardian of the Account’s representative. + /// Whether the individual is the legal guardian of the Account's representative. /// [JsonProperty("legal_guardian")] #if NET6_0_OR_GREATER @@ -48,7 +48,7 @@ public class AccountPersonRelationship : StripeEntity public bool? LegalGuardian { get; set; } /// - /// Whether the individual is an owner of the Account’s legal entity. + /// Whether the individual is an owner of the Account's identity. /// [JsonProperty("owner")] #if NET6_0_OR_GREATER @@ -57,7 +57,7 @@ public class AccountPersonRelationship : StripeEntity public bool? Owner { get; set; } /// - /// The percent owned by the individual of the Account’s legal entity. + /// The percentage of the Account's identity that the individual owns. /// [JsonProperty("percent_ownership")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKana.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKana.cs index 741b958943..edc989c679 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKana.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKana.cs @@ -64,7 +64,7 @@ public class AccountPersonScriptAddressesKana : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKanji.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKanji.cs index 663ef13d15..d6f47ce8f2 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKanji.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonScriptAddressesKanji.cs @@ -64,7 +64,7 @@ public class AccountPersonScriptAddressesKanji : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs b/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs index 2c6e315a29..1f40df8a54 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/Account.cs @@ -35,8 +35,7 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject public string Object { get; set; } /// - /// Filter only accounts that have all of the configurations specified. If omitted, returns - /// all accounts regardless of which configurations they have. + /// The configurations that have been applied to this account. /// One of: customer, merchant, recipient, or storer. /// [JsonProperty("applied_configurations")] @@ -46,7 +45,7 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject public List AppliedConfigurations { get; set; } /// - /// A value indicating if the Account has been closed. + /// Indicates whether the account has been closed. /// [JsonProperty("closed")] #if NET6_0_OR_GREATER @@ -55,8 +54,10 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject public bool? Closed { get; set; } /// - /// An Account Configuration which allows the Account to take on a key persona across Stripe - /// products. + /// An Account represents a company, individual, or other entity that a user interacts with. + /// Accounts store identity information and one or more configurations that enable + /// product-specific capabilities. You can assign configurations at creation or add them + /// later. /// [JsonProperty("configuration")] #if NET6_0_OR_GREATER @@ -96,7 +97,7 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject public string Dashboard { get; set; } /// - /// Default values to be used on Account Configurations. + /// Default values for settings shared across Account configurations. /// [JsonProperty("defaults")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfiguration.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfiguration.cs index d8d3727b43..bf140c2c77 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfiguration.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfiguration.cs @@ -18,9 +18,11 @@ public class AccountConfiguration : StripeEntity public AccountConfigurationCustomer Customer { get; set; } /// - /// The Merchant configuration allows the Account to act as a connected account and collect - /// payments facilitated by a Connect platform. You can add this configuration to your - /// connected accounts only if you’ve completed onboarding as a Connect platform. + /// Enables the Account to act as a connected account and collect payments facilitated by a + /// Connect platform. You must onboard your platform to Connect before you can add this + /// configuration to your connected accounts. Utilize this configuration when the Account + /// will be the Merchant of Record, like with Direct charges or Destination Charges with + /// on_behalf_of set. /// [JsonProperty("merchant")] #if NET6_0_OR_GREATER @@ -29,7 +31,9 @@ public class AccountConfiguration : StripeEntity public AccountConfigurationMerchant Merchant { get; set; } /// - /// The Recipient Configuration allows the Account to receive funds. + /// The Recipient Configuration allows the Account to receive funds. Utilize this + /// configuration if the Account will not be the Merchant of Record, like with Separate + /// Charges & Transfers, or Destination Charges without on_behalf_of set. /// [JsonProperty("recipient")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomer.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomer.cs index 379f0a278b..a0a6e5c15a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomer.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomer.cs @@ -9,8 +9,10 @@ namespace Stripe.V2.Core public class AccountConfigurationCustomer : StripeEntity { /// - /// Represents the state of the configuration, and can be updated to deactivate or re-apply - /// a configuration. + /// Indicates whether the customer configuration is active. You can deactivate or reactivate + /// the customer configuration by updating this property. Deactivating the configuration by + /// setting this value to false will unrequest all capabilities within the configuration. It + /// will not delete any of the configuration's other properties. /// [JsonProperty("applied")] #if NET6_0_OR_GREATER @@ -19,9 +21,9 @@ public class AccountConfigurationCustomer : StripeEntity - /// Automatic indirect tax settings to be used when automatic tax calculation is enabled on - /// the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if - /// automatic tax calculation is possible given the current customer location information. + /// Settings for automatic indirect tax calculation on the customer's invoices, + /// subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax + /// calculation is available for the customer account's location. /// [JsonProperty("automatic_indirect_tax")] #if NET6_0_OR_GREATER @@ -30,8 +32,7 @@ public class AccountConfigurationCustomer : StripeEntity - /// Billing settings - default settings used for this customer in Billing flows such as - /// Invoices and Subscriptions. + /// Default Billing settings for the customer account, used in Invoices and Subscriptions. /// [JsonProperty("billing")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs index c3e5953769..bfd0fff32a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerAutomaticIndirectTax.cs @@ -9,9 +9,8 @@ namespace Stripe.V2.Core public class AccountConfigurationCustomerAutomaticIndirectTax : StripeEntity { /// - /// Describes the customer's tax exemption status, which is none, exempt, or - /// reverse. When set to reverse, invoice and receipt PDFs include the following - /// text: “Reverse charge”. + /// The customer account's tax exemption status: none, exempt, or + /// reverse. When reverse, invoice and receipt PDFs include "Reverse charge". /// One of: exempt, none, or reverse. /// [JsonProperty("exempt")] @@ -30,10 +29,9 @@ public class AccountConfigurationCustomerAutomaticIndirectTax : StripeEntity - /// The identified - /// tax location of the customer. Will only be rendered if the automatic_indirect_tax - /// feature is requested and active. + /// The customer account's identified tax location, derived from location_source. + /// Only rendered if the automatic_indirect_tax feature is requested and + /// active. /// [JsonProperty("location")] #if NET6_0_OR_GREATER @@ -42,8 +40,8 @@ public class AccountConfigurationCustomerAutomaticIndirectTax : StripeEntity - /// The data source used to identify the customer's tax location. Will only be used for - /// automatic tax calculation on the customer's Invoices and Subscriptions. + /// Data source used to identify the customer account's tax location. Defaults to + /// identity_address. Used for automatic indirect tax calculation. /// One of: identity_address, ip_address, payment_method, or /// shipping_address. /// diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBilling.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBilling.cs index 5d271de173..e0076da150 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBilling.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBilling.cs @@ -9,8 +9,8 @@ namespace Stripe.V2.Core public class AccountConfigurationCustomerBilling : StripeEntity { /// - /// ID of a payment method that’s attached to the customer, to be used as the customer’s - /// default payment method for invoices and subscriptions. + /// ID of a PaymentMethod attached to the customer account to use as the default for + /// invoices and subscriptions. /// [JsonProperty("default_payment_method")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class AccountConfigurationCustomerBilling : StripeEntity - /// Default settings used on invoices for this customer. + /// Default invoice settings for the customer account. /// [JsonProperty("invoice")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs index 0863e19f5b..e1aa110926 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs @@ -20,7 +20,7 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity CustomFields { get; set; } /// - /// Default footer to be displayed on invoices for this customer. + /// Default invoice footer. /// [JsonProperty("footer")] #if NET6_0_OR_GREATER @@ -29,7 +29,7 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity - /// The sequence to be used on the customer's next invoice. Defaults to 1. + /// Sequence number to use on the customer account's next invoice. Defaults to 1. /// [JsonProperty("next_sequence")] #if NET6_0_OR_GREATER @@ -38,8 +38,8 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity - /// The prefix for the customer used to generate unique invoice numbers. Must be 3–12 - /// uppercase letters or numbers. + /// Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or + /// numbers. /// [JsonProperty("prefix")] #if NET6_0_OR_GREATER @@ -48,7 +48,7 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity - /// Default options for invoice PDF rendering for this customer. + /// Default invoice PDF rendering options. /// [JsonProperty("rendering")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoiceRendering.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoiceRendering.cs index c3186a2887..c7da3c9d9a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoiceRendering.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoiceRendering.cs @@ -9,10 +9,9 @@ namespace Stripe.V2.Core public class AccountConfigurationCustomerBillingInvoiceRendering : StripeEntity { /// - /// How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. - /// One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include - /// inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will - /// exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. + /// Indicates whether displayed line item prices and amounts on invoice PDFs include + /// inclusive tax amounts. Must be either include_inclusive_tax or + /// exclude_tax. /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax.cs index b4e4daeff9..4b57a40096 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationCustomerCapabilitiesAutomaticIndirectTax : Stri public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchant.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchant.cs index 5cb2fdefe3..1fbe049046 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchant.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchant.cs @@ -9,8 +9,9 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchant : StripeEntity { /// - /// Represents the state of the configuration, and can be updated to deactivate or re-apply - /// a configuration. + /// Indicates whether the merchant configuration is active. You can deactivate or reactivate + /// the merchant configuration by updating this property. Deactivating the configuration by + /// setting this value to false doesn't delete the configuration's properties. /// [JsonProperty("applied")] #if NET6_0_OR_GREATER @@ -19,7 +20,7 @@ public class AccountConfigurationMerchant : StripeEntity - /// Settings used for Bacs debit payments. + /// Settings for Bacs Direct Debit payments. /// [JsonProperty("bacs_debit_payments")] #if NET6_0_OR_GREATER @@ -65,8 +66,8 @@ public class AccountConfigurationMerchant : StripeEntity - /// The merchant category code for the merchant. MCCs are used to classify businesses based - /// on the goods or services they provide. + /// The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the + /// goods or services they provide. /// [JsonProperty("mcc")] #if NET6_0_OR_GREATER @@ -84,7 +85,7 @@ public class AccountConfigurationMerchant : StripeEntity - /// Settings used for SEPA debit payments. + /// Settings for SEPA Direct Debit payments. /// [JsonProperty("sepa_debit_payments")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantBacsDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantBacsDebitPayments.cs index c65788092c..1f6297ba24 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantBacsDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantBacsDebitPayments.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantBacsDebitPayments : StripeEntity { /// - /// Display name for Bacs debit payments. + /// Display name for Bacs Direct Debit payments. /// [JsonProperty("display_name")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class AccountConfigurationMerchantBacsDebitPayments : StripeEntity - /// Service user number for Bacs debit payments. + /// Service User Number (SUN) for Bacs Direct Debit payments. /// [JsonProperty("service_user_number")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAchDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAchDebitPayments.cs index 0f75d1b5db..427e6f4e37 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAchDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAchDebitPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAchDebitPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAchDebitPayments : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAcssDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAcssDebitPayments.cs index c90593d5a9..acbc2dddc2 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAcssDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAcssDebitPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAcssDebitPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAcssDebitPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAffirmPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAffirmPayments.cs index 1650299ece..eaa86c1fd9 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAffirmPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAffirmPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAffirmPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAffirmPayments : StripeEnti public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments.cs index cb17349281..1e276f5cf6 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAfterpayClearpayPayments : public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAlmaPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAlmaPayments.cs index 5750a23946..a3f7b2906a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAlmaPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAlmaPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAlmaPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAlmaPayments : StripeEntity public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAmazonPayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAmazonPayPayments.cs index ddb04ec896..8474ac4f5f 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAmazonPayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAmazonPayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAmazonPayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAmazonPayPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments.cs index 229a898ae0..c8fe769a3c 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesAuBecsDebitPayments : Strip public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBacsDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBacsDebitPayments.cs index a614045798..b24c9de169 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBacsDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBacsDebitPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesBacsDebitPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesBacsDebitPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBancontactPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBancontactPayments.cs index 70b1aa7421..0204a798fe 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBancontactPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBancontactPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesBancontactPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesBancontactPayments : Stripe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBlikPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBlikPayments.cs index e64a8d43d1..c4c16d4cff 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBlikPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBlikPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesBlikPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesBlikPayments : StripeEntity public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBoletoPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBoletoPayments.cs index 1320f008c7..48c6d8598b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBoletoPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesBoletoPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesBoletoPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesBoletoPayments : StripeEnti public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCardPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCardPayments.cs index c4f0a2dd16..61a7e108bf 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCardPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCardPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesCardPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesCardPayments : StripeEntity public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCartesBancairesPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCartesBancairesPayments.cs index de0a999de4..c4bd9521ea 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCartesBancairesPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCartesBancairesPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesCartesBancairesPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesCartesBancairesPayments : S public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCashappPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCashappPayments.cs index c5f1436e8d..ec79753f2a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCashappPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesCashappPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesCashappPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesCashappPayments : StripeEnt public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesEpsPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesEpsPayments.cs index 09c931971f..500f384416 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesEpsPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesEpsPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesEpsPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesEpsPayments : StripeEntity< public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesFpxPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesFpxPayments.cs index f9209d4c60..3177ae5497 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesFpxPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesFpxPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesFpxPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesFpxPayments : StripeEntity< public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGbBankTransferPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGbBankTransferPayments.cs index faf7258a2f..91feb685b5 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGbBankTransferPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGbBankTransferPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesGbBankTransferPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesGbBankTransferPayments : St public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGrabpayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGrabpayPayments.cs index 58f0ed923b..d05f3ffd37 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGrabpayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesGrabpayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesGrabpayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesGrabpayPayments : StripeEnt public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesIdealPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesIdealPayments.cs index 3c9645e1aa..a542447c13 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesIdealPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesIdealPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesIdealPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesIdealPayments : StripeEntit public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJcbPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJcbPayments.cs index cd1c3e39a7..9502224795 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJcbPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJcbPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesJcbPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesJcbPayments : StripeEntity< public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJpBankTransferPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJpBankTransferPayments.cs index 8457d9845a..ea7473a56a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJpBankTransferPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesJpBankTransferPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesJpBankTransferPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesJpBankTransferPayments : St public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKakaoPayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKakaoPayPayments.cs index 4fa01128f3..c375e19d8b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKakaoPayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKakaoPayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesKakaoPayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesKakaoPayPayments : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKlarnaPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKlarnaPayments.cs index a83a48d2d4..f7f132ab88 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKlarnaPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKlarnaPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesKlarnaPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesKlarnaPayments : StripeEnti public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKonbiniPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKonbiniPayments.cs index e2557e8a42..13ef5141c3 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKonbiniPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKonbiniPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesKonbiniPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesKonbiniPayments : StripeEnt public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKrCardPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKrCardPayments.cs index 2f25899865..c8638f5d76 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKrCardPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesKrCardPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesKrCardPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesKrCardPayments : StripeEnti public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesLinkPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesLinkPayments.cs index efbf35d944..b26d7e2572 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesLinkPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesLinkPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesLinkPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesLinkPayments : StripeEntity public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMobilepayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMobilepayPayments.cs index 33e61965c0..ec8a0a4f4f 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMobilepayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMobilepayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesMobilepayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesMobilepayPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMultibancoPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMultibancoPayments.cs index 1fe6756906..daa059aed1 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMultibancoPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMultibancoPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesMultibancoPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesMultibancoPayments : Stripe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMxBankTransferPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMxBankTransferPayments.cs index ecde7da0d0..fa625ad22d 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMxBankTransferPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesMxBankTransferPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesMxBankTransferPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesMxBankTransferPayments : St public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesNaverPayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesNaverPayPayments.cs index d2f9eae794..80a3e544ce 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesNaverPayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesNaverPayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesNaverPayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesNaverPayPayments : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesOxxoPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesOxxoPayments.cs index fe2fa5e57c..8cc5456acf 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesOxxoPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesOxxoPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesOxxoPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesOxxoPayments : StripeEntity public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesP24Payments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesP24Payments.cs index 44905141c5..e2fb68be25 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesP24Payments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesP24Payments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesP24Payments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesP24Payments : StripeEntity< public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPayByBankPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPayByBankPayments.cs index 87ea27a19c..cf59cf720c 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPayByBankPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPayByBankPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesPayByBankPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesPayByBankPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaycoPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaycoPayments.cs index d2f0fd18f4..5054fd1941 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaycoPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaycoPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesPaycoPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesPaycoPayments : StripeEntit public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaynowPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaynowPayments.cs index 490494a5a9..5795e9d4b2 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaynowPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPaynowPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesPaynowPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesPaynowPayments : StripeEnti public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPromptpayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPromptpayPayments.cs index b2b1af9cc7..7098a295d9 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPromptpayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesPromptpayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesPromptpayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesPromptpayPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesRevolutPayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesRevolutPayPayments.cs index 07a1eec353..e14793511b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesRevolutPayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesRevolutPayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesRevolutPayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesRevolutPayPayments : Stripe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSamsungPayPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSamsungPayPayments.cs index 5e9d74652b..70daa0a3e3 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSamsungPayPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSamsungPayPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesSamsungPayPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesSamsungPayPayments : Stripe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments.cs index b3285617f2..6b275e6946 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesSepaBankTransferPayments : public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaDebitPayments.cs index 60bb66147f..9dae4dfe4c 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSepaDebitPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesSepaDebitPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesSepaDebitPayments : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs index 6f158af7cf..31c5f20cdf 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalance.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesStripeBalance : StripeEntity { /// - /// Allows the account to do payouts using their Stripe Balance (/v1/balance). + /// Enables this Account to complete payouts from their Stripe Balance (/v1/balance). /// [JsonProperty("payouts")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs index 90773f2a4a..4fe4d59515 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesStripeBalancePayouts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesStripeBalancePayouts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesStripeBalancePayouts : Stri public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSwishPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSwishPayments.cs index 0c0b9b5426..e7011e638f 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSwishPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesSwishPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesSwishPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesSwishPayments : StripeEntit public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesTwintPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesTwintPayments.cs index 91fb1b23b0..31fd5671ec 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesTwintPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesTwintPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesTwintPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesTwintPayments : StripeEntit public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesUsBankTransferPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesUsBankTransferPayments.cs index d5e5643f1f..ede3ae4d06 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesUsBankTransferPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesUsBankTransferPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesUsBankTransferPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesUsBankTransferPayments : St public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesZipPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesZipPayments.cs index 4d330a7ec6..0cc104c17f 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesZipPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCapabilitiesZipPayments.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantCapabilitiesZipPayments : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationMerchantCapabilitiesZipPayments : StripeEntity< public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSepaDebitPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSepaDebitPayments.cs index 0008905a13..05dca33a7a 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSepaDebitPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSepaDebitPayments.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationMerchantSepaDebitPayments : StripeEntity { /// - /// Creditor ID for SEPA debit payments. + /// Creditor ID for SEPA Direct Debit payments. /// [JsonProperty("creditor_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSupportAddress.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSupportAddress.cs index 1dcbe29e3a..c51f4526c8 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSupportAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantSupportAddress.cs @@ -64,7 +64,7 @@ public class AccountConfigurationMerchantSupportAddress : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipient.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipient.cs index cc1829c604..e36fdd7fa1 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipient.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipient.cs @@ -9,8 +9,10 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipient : StripeEntity { /// - /// Represents the state of the configuration, and can be updated to deactivate or re-apply - /// a configuration. + /// Indicates whether the recipient configuration is active. You can deactivate or + /// reactivate the recipient configuration by updating this property. Deactivating the + /// configuration by setting this value to false unrequest all capabilities within the + /// configuration. It will not delete any of the configuration's other properties. /// [JsonProperty("applied")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs index 3cd363bbff..21baac8abb 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilities.cs @@ -18,7 +18,7 @@ public class AccountConfigurationRecipientCapabilities : StripeEntity - /// Capability that enable OutboundPayments to a debit card linked to this Account. + /// Enables this Account to receive OutboundPayments to a linked debit card. /// [JsonProperty("cards")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsLocal.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsLocal.cs index a5ddcd8acf..4445b3216b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsLocal.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsLocal.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesBankAccountsLocal : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationRecipientCapabilitiesBankAccountsLocal : Stripe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsWire.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsWire.cs index 9d77aba596..2f0ab443d2 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsWire.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesBankAccountsWire.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesBankAccountsWire : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationRecipientCapabilitiesBankAccountsWire : StripeE public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesCards.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesCards.cs index 8bc4696386..d2c6dc212e 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesCards.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesCards.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesCards : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationRecipientCapabilitiesCards : StripeEntity - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs index c8f68d0f14..56854bee09 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalance.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesStripeBalance : StripeEntity { /// - /// Allows the account to do payouts using their Stripe Balance (/v1/balance). + /// Enables this Account to complete payouts from their Stripe Balance (/v1/balance). /// [JsonProperty("payouts")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class AccountConfigurationRecipientCapabilitiesStripeBalance : StripeEnti public AccountConfigurationRecipientCapabilitiesStripeBalancePayouts Payouts { get; set; } /// - /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance). + /// Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). /// [JsonProperty("stripe_transfers")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs index d0294132e8..6cc7f417e4 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalancePayouts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesStripeBalancePayouts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationRecipientCapabilitiesStripeBalancePayouts : Str public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers.cs index 1ca0d27b04..f625bd0057 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfers : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfe public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs index c83a523cfa..5627684685 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationRecipientDefaultOutboundDestination.cs @@ -19,26 +19,31 @@ public class AccountConfigurationRecipientDefaultOutboundDestination : StripeEnt /// /// Closed Enum. The payout method type of the default outbound destination. - /// One of: at_bank_account, au_bank_account, ba_bank_account, - /// be_bank_account, bg_bank_account, bj_bank_account, - /// bs_bank_account, card, ca_bank_account, ch_bank_account, - /// ci_bank_account, crypto_wallet, cy_bank_account, - /// cz_bank_account, de_bank_account, dk_bank_account, - /// ec_bank_account, ee_bank_account, es_bank_account, - /// et_bank_account, fi_bank_account, fr_bank_account, - /// gb_bank_account, gr_bank_account, hr_bank_account, + /// One of: al_bank_account, am_bank_account, at_bank_account, + /// au_bank_account, ba_bank_account, be_bank_account, + /// bg_bank_account, bj_bank_account, bn_bank_account, + /// bs_bank_account, bw_bank_account, card, ca_bank_account, + /// ch_bank_account, ci_bank_account, crypto_wallet, + /// cy_bank_account, cz_bank_account, de_bank_account, + /// dk_bank_account, dz_bank_account, ec_bank_account, + /// ee_bank_account, es_bank_account, et_bank_account, + /// fi_bank_account, fr_bank_account, gb_bank_account, + /// gr_bank_account, gy_bank_account, hr_bank_account, /// hu_bank_account, id_bank_account, ie_bank_account, /// il_bank_account, in_bank_account, is_bank_account, - /// it_bank_account, ke_bank_account, li_bank_account, - /// lt_bank_account, lu_bank_account, lv_bank_account, - /// mn_bank_account, mt_bank_account, mu_bank_account, - /// mx_bank_account, na_bank_account, nl_bank_account, - /// no_bank_account, nz_bank_account, pa_bank_account, + /// it_bank_account, jm_bank_account, jo_bank_account, + /// ke_bank_account, kw_bank_account, li_bank_account, + /// lk_bank_account, lt_bank_account, lu_bank_account, + /// lv_bank_account, ma_bank_account, mn_bank_account, + /// mt_bank_account, mu_bank_account, mx_bank_account, + /// na_bank_account, nl_bank_account, no_bank_account, + /// nz_bank_account, om_bank_account, pa_bank_account, /// ph_bank_account, pl_bank_account, pt_bank_account, /// ro_bank_account, rs_bank_account, se_bank_account, /// sg_bank_account, si_bank_account, sk_bank_account, /// sn_bank_account, sv_bank_account, tn_bank_account, - /// tr_bank_account, us_bank_account, or za_bank_account. + /// tr_bank_account, tz_bank_account, us_bank_account, or + /// za_bank_account. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorer.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorer.cs index 8228131b33..dc1b205f69 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorer.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorer.cs @@ -9,8 +9,8 @@ namespace Stripe.V2.Core public class AccountConfigurationStorer : StripeEntity { /// - /// Represents the state of the configuration, and can be updated to deactivate or re-apply - /// a configuration. + /// Indicates whether the storer configuration is active. You cannot deactivate (or + /// reactivate) the storer configuration by updating this property. /// [JsonProperty("applied")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilities.cs index 3010a12385..189ab1daf4 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilities.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilities.cs @@ -27,7 +27,7 @@ public class AccountConfigurationStorerCapabilities : StripeEntity - /// Can pull funds from an external source, owned by yourself, to a FinancialAccount. + /// Hash containing capabilities related to InboundTransfers. /// [JsonProperty("inbound_transfers")] #if NET6_0_OR_GREATER @@ -36,7 +36,8 @@ public class AccountConfigurationStorerCapabilities : StripeEntity - /// Can send funds from a FinancialAccount to a destination owned by someone else. + /// Hash containing capabilities related to OutboundPayments. /// [JsonProperty("outbound_payments")] #if NET6_0_OR_GREATER @@ -45,7 +46,8 @@ public class AccountConfigurationStorerCapabilities : StripeEntity - /// Can send funds from a FinancialAccount to a destination owned by yourself. + /// Hash containing capabilities related to OutboundTransfers. /// [JsonProperty("outbound_transfers")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts.cs index 60cda59d3c..74d7dddecf 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesFinancialAddressesBankAccount public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur.cs index 030ef8433d..281fd679db 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesEur : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp.cs index 92ebcb5769..5309eb71d6 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesGbp : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd.cs index bf2d5bfa66..86cdbf9aa5 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesHoldsCurrenciesUsd : StripeEn public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfers.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfers.cs index e2fabd738c..7bdccd727d 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfers.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfers.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesInboundTransfers : StripeEntity { /// - /// Can pull funds from an external bank account, owned by yourself, to a FinancialAccount. + /// Can pull funds into a FinancialAccount from an external bank account owned by the user. /// [JsonProperty("bank_accounts")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts.cs index 10dfa7a5f9..9bbbccc58e 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesInboundTransfersBankAccounts public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPayments.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPayments.cs index 4339ce5fca..9cb01e8218 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPayments.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPayments.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundPayments : StripeEntity { /// - /// Can send funds from a FinancialAccount to a bank account, owned by someone else. + /// Can send funds from a FinancialAccount to a bank account owned by a different entity. /// [JsonProperty("bank_accounts")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class AccountConfigurationStorerCapabilitiesOutboundPayments : StripeEnti public AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts BankAccounts { get; set; } /// - /// Can send funds from a FinancialAccount to a debit card, owned by someone else. + /// Can send funds from a FinancialAccount to a debit card owned by a different entity. /// [JsonProperty("cards")] #if NET6_0_OR_GREATER @@ -27,8 +27,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundPayments : StripeEnti public AccountConfigurationStorerCapabilitiesOutboundPaymentsCards Cards { get; set; } /// - /// Can send funds from a FinancialAccount to another FinancialAccount, owned by someone - /// else. + /// Can send funds from a FinancialAccount to a FinancialAccount owned by a different + /// entity. /// [JsonProperty("financial_accounts")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts.cs index 292d978841..35cbecad70 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundPaymentsBankAccounts public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsCards.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsCards.cs index 51a2e6422f..168cf1cbff 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsCards.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsCards.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundPaymentsCards : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundPaymentsCards : Strip public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAccounts.cs index a2657f568c..3395ea9e92 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundPaymentsFinancialAcco public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfers.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfers.cs index 72163aebb4..ad3e4affbb 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfers.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfers.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundTransfers : StripeEntity { /// - /// Can send funds from a FinancialAccount, to a bank account, owned by yourself. + /// Can send funds from a FinancialAccount to a bank account belonging to the same user. /// [JsonProperty("bank_accounts")] #if NET6_0_OR_GREATER @@ -18,7 +18,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundTransfers : StripeEnt public AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts BankAccounts { get; set; } /// - /// Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself. + /// Can send funds from a FinancialAccount to another FinancialAccount belonging to the same + /// user. /// [JsonProperty("financial_accounts")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts.cs index 2788653cb7..a9bcc611d5 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundTransfersBankAccounts public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAccounts.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAccounts.cs index 603eada6ab..c8e2343ec7 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAccounts.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAccounts.cs @@ -9,15 +9,6 @@ namespace Stripe.V2.Core public class AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAccounts : StripeEntity { - /// - /// Whether the Capability has been requested. - /// - [JsonProperty("requested")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("requested")] -#endif - public bool Requested { get; set; } - /// /// The status of the Capability. /// One of: active, pending, restricted, or unsupported. @@ -29,8 +20,8 @@ public class AccountConfigurationStorerCapabilitiesOutboundTransfersFinancialAcc public string Status { get; set; } /// - /// Additional details regarding the status of the Capability. status_details will be - /// empty if the Capability's status is active. + /// Additional details about the capability's status. This value is empty when status + /// is active. /// [JsonProperty("status_details")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsProfile.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsProfile.cs index ed14684481..bc1e9980eb 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsProfile.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsProfile.cs @@ -18,7 +18,7 @@ public class AccountDefaultsProfile : StripeEntity public string BusinessUrl { get; set; } /// - /// The company’s legal name. + /// The customer-facing business name. /// [JsonProperty("doing_business_as")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsResponsibilities.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsResponsibilities.cs index 525a2bb8b7..0658152c00 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsResponsibilities.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountDefaultsResponsibilities.cs @@ -9,8 +9,8 @@ namespace Stripe.V2.Core public class AccountDefaultsResponsibilities : StripeEntity { /// - /// A value indicating the responsible payer of a bundle of Stripe fees for pricing-control - /// eligible products on this Account. + /// Indicates whether the platform or connected account is responsible for paying Stripe + /// fees for pricing-control-eligible products. /// One of: application, application_custom, application_express, or /// stripe. /// @@ -21,8 +21,7 @@ public class AccountDefaultsResponsibilities : StripeEntity - /// A value indicating who is responsible for losses when this Account can’t pay back - /// negative balances from payments. + /// A value indicating responsibility for collecting requirements on this account. /// One of: application, or stripe. /// [JsonProperty("losses_collector")] diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntry.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntry.cs index d456863a8c..f82fca2476 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntry.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountFutureRequirementsEntry.cs @@ -10,8 +10,8 @@ namespace Stripe.V2.Core public class AccountFutureRequirementsEntry : StripeEntity { /// - /// Whether the responsibility is with the integrator or with Stripe (to review info, to - /// wait for some condition, etc.) to action the requirement. + /// Indicates whether the platform or Stripe is currently responsible for taking action on + /// the requirement. Value can be user or stripe. /// One of: stripe, or user. /// [JsonProperty("awaiting_action_from")] diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs index 27b0cf6306..84d9fdf6ec 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs @@ -37,8 +37,8 @@ public class AccountIdentityBusinessDetails : StripeEntity - /// An estimated upper bound of employees, contractors, vendors, etc. currently working for - /// the business. + /// Estimated maximum number of workers currently engaged by the business (including + /// employees, contractors, and vendors). /// [JsonProperty("estimated_worker_count")] #if NET6_0_OR_GREATER @@ -56,7 +56,8 @@ public class AccountIdentityBusinessDetails : StripeEntity IdNumbers { get; set; } /// - /// An estimate of the monthly revenue of the business. + /// An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil + /// and India. /// [JsonProperty("monthly_estimated_revenue")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAddress.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAddress.cs index 4163476b76..9a4b500d33 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAddress.cs @@ -64,7 +64,7 @@ public class AccountIdentityBusinessDetailsAddress : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenue.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenue.cs index 11df813277..767dafdcb9 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenue.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenue.cs @@ -9,13 +9,13 @@ namespace Stripe.V2.Core public class AccountIdentityBusinessDetailsAnnualRevenue : StripeEntity { /// - /// A non-negative integer representing the amount in the smallest currency unit. + /// Annual revenue amount in minor currency units (for example, '123' for 1.23 USD). /// [JsonProperty("amount")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountIdentityBusinessDetailsAnnualRevenueAmount Amount { get; set; } /// /// The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenueAmount.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenueAmount.cs new file mode 100644 index 0000000000..32d51ceaaf --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsAnnualRevenueAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityBusinessDetailsAnnualRevenueAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsIdNumber.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsIdNumber.cs index 540b55925a..e17da42765 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsIdNumber.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsIdNumber.cs @@ -20,20 +20,27 @@ public class AccountIdentityBusinessDetailsIdNumber : StripeEntity /// Open Enum. The ID number type of a business entity. /// One of: ae_crn, ae_vat, ao_nif, ar_cuit, at_fn, - /// au_abn, au_acn, au_in, az_tin, bd_etin, - /// be_cbe, bg_uic, br_cnpj, ca_cn, ca_crarr, - /// ca_neq, ca_rid, ch_chid, ch_uid, cr_cpj, - /// cr_nite, cy_tic, cz_ico, de_hrn, de_vat, - /// dk_cvr, do_rcn, ee_rk, es_cif, fi_yt, - /// fr_siren, fr_vat, gb_crn, gi_crn, gr_gemi, - /// gt_nit, hk_br, hk_cr, hk_mbs, hu_cjs, ie_crn, - /// it_rea, it_vat, jp_cn, kz_bin, li_uid, - /// lt_ccrn, lu_rcs, lv_urn, mt_crn, mx_rfc, - /// my_brn, my_coid, my_sst, mz_nuit, nl_kvk, - /// no_orgnr, nz_bn, pe_ruc, pk_ntn, pl_regon, - /// pt_vat, ro_cui, sa_crn, sa_tin, se_orgnr, - /// sg_uen, si_msp, sk_ico, th_crn, th_prn, - /// th_tin, or us_ein. + /// at_stn, at_vat, au_abn, au_acn, au_in, az_tin, + /// bd_etin, be_cbe, be_vat, bg_uic, bg_vat, + /// br_cnpj, ca_cn, ca_crarr, ca_gst_hst, ca_neq, + /// ca_rid, ch_chid, ch_uid, cr_cpj, cr_nite, + /// cy_he, cy_tic, cy_vat, cz_ico, cz_vat, de_hrn, + /// de_stn, de_vat, dk_cvr, dk_vat, do_rcn, ee_rk, + /// ee_vat, es_cif, es_vat, fi_vat, fi_yt, fr_rna, + /// fr_siren, fr_vat, gb_crn, gi_crn, gr_afm, + /// gr_gemi, gr_vat, gt_nit, hk_br, hk_cr, hr_mbs, + /// hr_oib, hr_vat, hu_cjs, hu_tin, hu_vat, + /// ie_crn, ie_trn, ie_vat, it_rea, it_vat, jp_cn, + /// kz_bin, li_uid, lt_ccrn, lt_vat, lu_nif, + /// lu_rcs, lu_vat, lv_urn, lv_vat, mt_crn, + /// mt_tin, mt_vat, mx_rfc, my_brn, my_coid, + /// my_itn, my_sst, mz_nuit, nl_kvk, nl_rsin, + /// nl_vat, no_orgnr, nz_bn, nz_ird, pe_ruc, + /// pk_ntn, pl_nip, pl_regon, pl_vat, pt_vat, + /// ro_cui, ro_orc, ro_vat, sa_crn, sa_tin, + /// se_orgnr, se_vat, sg_uen, si_msp, si_tin, + /// si_vat, sk_dic, sk_ico, sk_vat, th_crn, + /// th_prn, th_tin, or us_ein. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenue.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenue.cs index 3119d7da3c..50684d17d2 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenue.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenue.cs @@ -9,12 +9,13 @@ namespace Stripe.V2.Core public class AccountIdentityBusinessDetailsMonthlyEstimatedRevenue : StripeEntity { /// - /// A non-negative integer representing the amount in the smallest currency unit. + /// Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 + /// USD). /// [JsonProperty("amount")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountIdentityBusinessDetailsMonthlyEstimatedRevenueAmount Amount { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenueAmount.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenueAmount.cs new file mode 100644 index 0000000000..18c61f4bb4 --- /dev/null +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsMonthlyEstimatedRevenueAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountIdentityBusinessDetailsMonthlyEstimatedRevenueAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKana.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKana.cs index c53353b13e..2343abb70e 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKana.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKana.cs @@ -64,7 +64,7 @@ public class AccountIdentityBusinessDetailsScriptAddressesKana : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKanji.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKanji.cs index 38f32eb9bb..6be1fe4d3c 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKanji.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetailsScriptAddressesKanji.cs @@ -64,7 +64,7 @@ public class AccountIdentityBusinessDetailsScriptAddressesKanji : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalAddress.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalAddress.cs index 2a1f483837..bf37ba9a42 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalAddress.cs @@ -73,7 +73,7 @@ public class AccountIdentityIndividualAdditionalAddress : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAddress.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAddress.cs index da6bcd85c3..c9ac0f1c34 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAddress.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAddress.cs @@ -64,7 +64,7 @@ public class AccountIdentityIndividualAddress : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualIdNumber.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualIdNumber.cs index 013dcf0f63..846eb11df9 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualIdNumber.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualIdNumber.cs @@ -10,13 +10,21 @@ public class AccountIdentityIndividualIdNumber : StripeEntity /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs index 7e08ecf5cd..7ddee561c3 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountIdentityIndividualRelationship : StripeEntity { /// - /// Whether the individual is an authorizer of the Account’s legal entity. + /// Whether the individual is an authorizer of the Account's identity. /// [JsonProperty("authorizer")] #if NET6_0_OR_GREATER @@ -18,9 +18,9 @@ public class AccountIdentityIndividualRelationship : StripeEntity - /// Whether the individual is a director of the Account’s legal entity. Directors are - /// typically members of the governing board of the company, or responsible for ensuring the - /// company meets its regulatory obligations. + /// Whether the individual is a director of the Account's identity. Directors are typically + /// members of the governing board of the company or are responsible for making sure that + /// the company meets its regulatory obligations. /// [JsonProperty("director")] #if NET6_0_OR_GREATER @@ -39,7 +39,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity - /// Whether the individual is the legal guardian of the Account’s representative. + /// Whether the individual is the legal guardian of the Account's representative. /// [JsonProperty("legal_guardian")] #if NET6_0_OR_GREATER @@ -48,7 +48,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity - /// Whether the individual is an owner of the Account’s legal entity. + /// Whether the individual is an owner of the Account's identity. /// [JsonProperty("owner")] #if NET6_0_OR_GREATER @@ -57,7 +57,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity - /// The percent owned by the individual of the Account’s legal entity. + /// The percentage of the Account's identity that the individual owns. /// [JsonProperty("percent_ownership")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKana.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKana.cs index 3552bd2b1a..c153c40157 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKana.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKana.cs @@ -64,7 +64,7 @@ public class AccountIdentityIndividualScriptAddressesKana : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKanji.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKanji.cs index 4904b33207..c440121372 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKanji.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualScriptAddressesKanji.cs @@ -64,7 +64,7 @@ public class AccountIdentityIndividualScriptAddressesKanji : StripeEntity - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntry.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntry.cs index 1653725308..869b2a672e 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntry.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsEntry.cs @@ -10,8 +10,8 @@ namespace Stripe.V2.Core public class AccountRequirementsEntry : StripeEntity { /// - /// Whether the responsibility is with the integrator or with Stripe (to review info, to - /// wait for some condition, etc.) to action the requirement. + /// Indicates whether the platform or Stripe is currently responsible for taking action on + /// the requirement. Value can be user or stripe. /// One of: stripe, or user. /// [JsonProperty("awaiting_action_from")] diff --git a/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs b/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs index 189a20e6d0..12e3501df1 100644 --- a/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs +++ b/src/Stripe.net/Entities/V2/Core/Vault/UsBankAccounts/UsBankAccount.cs @@ -79,6 +79,15 @@ public class UsBankAccount : StripeEntity, IHasId, IHasObject #endif public string FedwireRoutingNumber { get; set; } + /// + /// The ID of the Financial Connections Account used to create the bank account. + /// + [JsonProperty("financial_connections_account")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financial_connections_account")] +#endif + public string FinancialConnectionsAccount { get; set; } + /// /// The last 4 digits of the account number. /// diff --git a/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs index a79740a90a..bf1fa3f38e 100644 --- a/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs +++ b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodeposits.cs @@ -26,7 +26,7 @@ public class FinancialAddressGeneratedMicrodeposits : StripeEntity Amounts { get; set; } + public List Amounts { get; set; } /// /// Has the value true if the object exists in live mode or the value false if diff --git a/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodepositsAmount.cs b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodepositsAmount.cs new file mode 100644 index 0000000000..d41cc533cc --- /dev/null +++ b/src/Stripe.net/Entities/V2/FinancialAddressGeneratedMicrodeposits/FinancialAddressGeneratedMicrodepositsAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2 +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class FinancialAddressGeneratedMicrodepositsAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs index 39aac9b782..654f373ea7 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/Adjustment.cs @@ -48,7 +48,7 @@ public class Adjustment : StripeEntity, IHasId, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AdjustmentAmount Amount { get; set; } /// /// Time at which the object was created. Represented as a RFC 3339 date & time UTC diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/AdjustmentAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/AdjustmentAmount.cs new file mode 100644 index 0000000000..5173c0d452 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Adjustments/AdjustmentAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AdjustmentAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalance.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalance.cs index 0327e4b662..0e723ccfd4 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalance.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalance.cs @@ -16,7 +16,7 @@ public class FinancialAccountBalance : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("available")] #endif - public Dictionary Available { get; set; } + public Dictionary Available { get; set; } /// /// Balance of inbound funds that will later transition to the available balance. @@ -25,7 +25,7 @@ public class FinancialAccountBalance : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("inbound_pending")] #endif - public Dictionary InboundPending { get; set; } + public Dictionary InboundPending { get; set; } /// /// Balance of funds that are being used for a pending outbound money movement. @@ -34,6 +34,6 @@ public class FinancialAccountBalance : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("outbound_pending")] #endif - public Dictionary OutboundPending { get; set; } + public Dictionary OutboundPending { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceAvailable.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceAvailable.cs new file mode 100644 index 0000000000..6326007886 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceAvailable.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class FinancialAccountBalanceAvailable : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceInboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceInboundPending.cs new file mode 100644 index 0000000000..37d63037ff --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceInboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class FinancialAccountBalanceInboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceOutboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceOutboundPending.cs new file mode 100644 index 0000000000..4f516dec2e --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/FinancialAccounts/FinancialAccountBalanceOutboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class FinancialAccountBalanceOutboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs index 6c9f92cf38..6153255949 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransfer.cs @@ -40,7 +40,7 @@ public class InboundTransfer : StripeEntity, IHasId, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public InboundTransferAmount Amount { get; set; } /// /// Creation time of the InboundTransfer. Represented as a RFC 3339 date & time UTC diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferAmount.cs new file mode 100644 index 0000000000..0c985c1344 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InboundTransferAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFrom.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFrom.cs index 96bfea4d34..d22b7e2ada 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFrom.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFrom.cs @@ -15,7 +15,7 @@ public class InboundTransferFrom : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("debited")] #endif - public V2.Amount Debited { get; set; } + public InboundTransferFromDebited Debited { get; set; } /// /// The Payment Method object used to create the InboundTransfer. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFromDebited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFromDebited.cs new file mode 100644 index 0000000000..f310acb1ef --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferFromDebited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InboundTransferFromDebited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferTo.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferTo.cs index 43a8f8da06..b2c6a122f9 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferTo.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferTo.cs @@ -15,7 +15,7 @@ public class InboundTransferTo : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("credited")] #endif - public V2.Amount Credited { get; set; } + public InboundTransferToCredited Credited { get; set; } /// /// The FinancialAccount that funds will land in. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferToCredited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferToCredited.cs new file mode 100644 index 0000000000..f01185632a --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/InboundTransfers/InboundTransferToCredited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InboundTransferToCredited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs index 0d2cef6899..10490a950f 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuote.cs @@ -40,7 +40,7 @@ public class OutboundPaymentQuote : StripeEntity, IHasId, #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundPaymentQuoteAmount Amount { get; set; } /// /// Time at which the OutboundPaymentQuote was created. Represented as a RFC 3339 date & diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteAmount.cs new file mode 100644 index 0000000000..851de2fa88 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentQuoteAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs index 3356efb772..b2fa55f37e 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFee.cs @@ -15,7 +15,7 @@ public class OutboundPaymentQuoteEstimatedFee : StripeEntity /// The fee type. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFeeAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFeeAmount.cs new file mode 100644 index 0000000000..1507b25952 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteEstimatedFeeAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentQuoteEstimatedFeeAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFrom.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFrom.cs index 2748d062fc..1914db22b6 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFrom.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFrom.cs @@ -15,7 +15,7 @@ public class OutboundPaymentQuoteFrom : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("debited")] #endif - public V2.Amount Debited { get; set; } + public OutboundPaymentQuoteFromDebited Debited { get; set; } /// /// The FinancialAccount that funds were pulled from. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFromDebited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFromDebited.cs new file mode 100644 index 0000000000..2f97f62389 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteFromDebited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentQuoteFromDebited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteTo.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteTo.cs index 9a974f4cb1..c558257e7d 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteTo.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteTo.cs @@ -15,7 +15,7 @@ public class OutboundPaymentQuoteTo : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("credited")] #endif - public V2.Amount Credited { get; set; } + public OutboundPaymentQuoteToCredited Credited { get; set; } /// /// The payout method which the OutboundPayment uses to send payout. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteToCredited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteToCredited.cs new file mode 100644 index 0000000000..3ea3f84e39 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteToCredited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentQuoteToCredited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs index e05bbc2f81..2d2927a6f8 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs @@ -40,7 +40,7 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundPaymentAmount Amount { get; set; } /// /// Returns true if the OutboundPayment can be canceled, and false otherwise. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentAmount.cs new file mode 100644 index 0000000000..92030279b2 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFrom.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFrom.cs index 5738f5cc84..56bc82b1e0 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFrom.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFrom.cs @@ -15,7 +15,7 @@ public class OutboundPaymentFrom : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("debited")] #endif - public V2.Amount Debited { get; set; } + public OutboundPaymentFromDebited Debited { get; set; } /// /// The FinancialAccount that funds were pulled from. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFromDebited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFromDebited.cs new file mode 100644 index 0000000000..27c0a913da --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentFromDebited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentFromDebited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentTo.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentTo.cs index a090338234..11369bca2c 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentTo.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentTo.cs @@ -15,7 +15,7 @@ public class OutboundPaymentTo : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("credited")] #endif - public V2.Amount Credited { get; set; } + public OutboundPaymentToCredited Credited { get; set; } /// /// The payout method which the OutboundPayment uses to send payout. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentToCredited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentToCredited.cs new file mode 100644 index 0000000000..f5f22ad86a --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentToCredited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentToCredited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs index da24b4348f..dc0bd41013 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransfer.cs @@ -40,7 +40,7 @@ public class OutboundTransfer : StripeEntity, IHasId, IHasMeta #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundTransferAmount Amount { get; set; } /// /// Returns true if the OutboundTransfer can be canceled, and false otherwise. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferAmount.cs new file mode 100644 index 0000000000..6dc642b9a0 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundTransferAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFrom.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFrom.cs index 61f6017368..6615f7d6e9 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFrom.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFrom.cs @@ -15,7 +15,7 @@ public class OutboundTransferFrom : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("debited")] #endif - public V2.Amount Debited { get; set; } + public OutboundTransferFromDebited Debited { get; set; } /// /// The FinancialAccount that funds were pulled from. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFromDebited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFromDebited.cs new file mode 100644 index 0000000000..17fcf3f492 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferFromDebited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundTransferFromDebited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferTo.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferTo.cs index 7ada61f9ef..a664f9de6e 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferTo.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferTo.cs @@ -15,7 +15,7 @@ public class OutboundTransferTo : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("credited")] #endif - public V2.Amount Credited { get; set; } + public OutboundTransferToCredited Credited { get; set; } /// /// The payout method which the OutboundTransfer uses to send payout. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferToCredited.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferToCredited.cs new file mode 100644 index 0000000000..4fdf13d1f5 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferToCredited.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundTransferToCredited : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodBankAccount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodBankAccount.cs index 72e8c96229..d154944360 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodBankAccount.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/PayoutMethods/PayoutMethodBankAccount.cs @@ -59,6 +59,15 @@ public class PayoutMethodBankAccount : StripeEntity #endif public List EnabledDeliveryOptions { get; set; } + /// + /// The ID of the Financial Connections Account used to create the bank account. + /// + [JsonProperty("financial_connections_account")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("financial_connections_account")] +#endif + public string FinancialConnectionsAccount { get; set; } + /// /// The last 4 digits of the account number. /// diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs index 18ce5b0b0e..0d7dc118d5 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCredit.cs @@ -39,7 +39,7 @@ public class ReceivedCredit : StripeEntity, IHasId, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public ReceivedCreditAmount Amount { get; set; } /// /// This object stores details about the originating Stripe transaction that resulted in the diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditAmount.cs new file mode 100644 index 0000000000..01296762fc --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ReceivedCreditAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs index fdc0da8a37..c4112089e6 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedCredits/ReceivedCreditBalanceTransfer.cs @@ -19,7 +19,8 @@ public class ReceivedCreditBalanceTransfer : StripeEntity /// Open Enum. The type of Stripe Money Movement that originated the ReceivedCredit. - /// One of: outbound_payment, outbound_transfer, or payout_v1. + /// One of: outbound_payment, outbound_transfer, transfer, or + /// payout_v1. /// [JsonProperty("type")] #if NET6_0_OR_GREATER @@ -53,5 +54,14 @@ public class ReceivedCreditBalanceTransfer : StripeEntity + /// The ID of the v1 transfer object that originated the ReceivedCredit. + /// + [JsonProperty("transfer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("transfer")] +#endif + public string Transfer { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs index 74c5c80501..866bb9081f 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebit.cs @@ -38,7 +38,7 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public ReceivedDebitAmount Amount { get; set; } /// /// This object stores details about the originating banking transaction that resulted in @@ -127,7 +127,7 @@ public class ReceivedDebit : StripeEntity, IHasId, IHasObject public ReceivedDebitStatusTransitions StatusTransitions { get; set; } /// - /// Open Enum. The type of the ReceivedDebit. + /// Open enum, the type of the received debit. /// One of: bank_transfer, or external_debit. /// [JsonProperty("type")] diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitAmount.cs new file mode 100644 index 0000000000..073e1cfa5e --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/ReceivedDebits/ReceivedDebitAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ReceivedDebitAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpact.cs b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpact.cs index e303c02b47..1cd25892e8 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpact.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpact.cs @@ -15,7 +15,7 @@ public class TransactionEntryBalanceImpact : StripeEntity /// Impact to the inbound_pending balance. @@ -24,7 +24,7 @@ public class TransactionEntryBalanceImpact : StripeEntity /// Impact to the outbound_pending balance. @@ -33,6 +33,6 @@ public class TransactionEntryBalanceImpact : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactInboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactInboundPending.cs new file mode 100644 index 0000000000..6fbba64e14 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactInboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionEntryBalanceImpactInboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactOutboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactOutboundPending.cs new file mode 100644 index 0000000000..53baec0624 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/TransactionEntries/TransactionEntryBalanceImpactOutboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionEntryBalanceImpactOutboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs index 3934d21634..fc985f04ea 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/Transaction.cs @@ -42,7 +42,7 @@ public class Transaction : StripeEntity, IHasId, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public TransactionAmount Amount { get; set; } /// /// The delta to the FinancialAccount's balance. The balance_impact for the Transaction is diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionAmount.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionAmount.cs new file mode 100644 index 0000000000..b814f83751 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionAmount.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionAmount : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpact.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpact.cs index 80c989204d..d538d06a6d 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpact.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpact.cs @@ -15,7 +15,7 @@ public class TransactionBalanceImpact : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("available")] #endif - public V2.Amount Available { get; set; } + public TransactionBalanceImpactAvailable Available { get; set; } /// /// Impact to the inbound_pending balance. @@ -24,7 +24,7 @@ public class TransactionBalanceImpact : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("inbound_pending")] #endif - public V2.Amount InboundPending { get; set; } + public TransactionBalanceImpactInboundPending InboundPending { get; set; } /// /// Impact to the outbound_pending balance. @@ -33,6 +33,6 @@ public class TransactionBalanceImpact : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("outbound_pending")] #endif - public V2.Amount OutboundPending { get; set; } + public TransactionBalanceImpactOutboundPending OutboundPending { get; set; } } } diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactAvailable.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactAvailable.cs new file mode 100644 index 0000000000..374c251df4 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactAvailable.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionBalanceImpactAvailable : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactInboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactInboundPending.cs new file mode 100644 index 0000000000..8d4f094023 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactInboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionBalanceImpactInboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactOutboundPending.cs b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactOutboundPending.cs new file mode 100644 index 0000000000..5a3ae73275 --- /dev/null +++ b/src/Stripe.net/Entities/V2/MoneyManagement/Transactions/TransactionBalanceImpactOutboundPending.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class TransactionBalanceImpactOutboundPending : StripeEntity + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Entities/WebhookEndpoints/WebhookEndpoint.cs b/src/Stripe.net/Entities/WebhookEndpoints/WebhookEndpoint.cs index 996b54b618..f6e675fab5 100644 --- a/src/Stripe.net/Entities/WebhookEndpoints/WebhookEndpoint.cs +++ b/src/Stripe.net/Entities/WebhookEndpoints/WebhookEndpoint.cs @@ -110,7 +110,7 @@ public class WebhookEndpoint : StripeEntity, IHasId, IHasMetada public bool Livemode { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// diff --git a/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEvent.cs b/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEvent.cs new file mode 100644 index 0000000000..609dafe523 --- /dev/null +++ b/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEvent.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.Events +{ + using System.Threading.Tasks; + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// Occurs when a PayoutMethod is created. + /// + public class V2MoneyManagementPayoutMethodCreatedEvent : V2.Core.Event + { + /// + /// Object containing the reference to API resource relevant to the event. + /// + [JsonProperty("related_object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("related_object")] +#endif + + public V2.Core.EventRelatedObject RelatedObject { get; set; } + + /// + /// Asynchronously retrieves the related object from the API. Make an API request on every + /// call. + /// + public Task FetchRelatedObjectAsync() + { + return this.FetchRelatedObjectAsync(this.RelatedObject); + } + + /// + /// Retrieves the related object from the API. Make an API request on every call. + /// + public V2.MoneyManagement.PayoutMethod FetchRelatedObject() + { + return this.FetchRelatedObject(this.RelatedObject); + } + } +} diff --git a/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEventNotification.cs b/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEventNotification.cs new file mode 100644 index 0000000000..20442bf5ba --- /dev/null +++ b/src/Stripe.net/Events/V2MoneyManagementPayoutMethodCreatedEventNotification.cs @@ -0,0 +1,53 @@ +// File generated from our OpenAPI spec +namespace Stripe.Events +{ + using System.Threading.Tasks; + using Newtonsoft.Json; + using Stripe.V2; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + /// + /// Occurs when a PayoutMethod is created. + /// + public class V2MoneyManagementPayoutMethodCreatedEventNotification : V2.Core.EventNotification + { + /// + /// Object containing the reference to API resource relevant to the event. + /// + [JsonProperty("related_object")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("related_object")] +#endif + + public V2.Core.EventNotificationRelatedObject RelatedObject { get; set; } + + /// + /// Asynchronously retrieves the related object from the API. Make an API request on every + /// call. + /// + public Task FetchRelatedObjectAsync() + { + return this.FetchRelatedObjectAsync(this.RelatedObject); + } + + /// + /// Retrieves the related object from the API. Make an API request on every call. + /// + public V2.MoneyManagement.PayoutMethod FetchRelatedObject() + { + return this.FetchRelatedObject(this.RelatedObject); + } + + public V2MoneyManagementPayoutMethodCreatedEvent FetchEvent() + { + return this.FetchEvent(); + } + + public Task FetchEventAsync() + { + return this.FetchEventAsync(); + } + } +} diff --git a/src/Stripe.net/Exceptions/V2/RateLimitException.cs b/src/Stripe.net/Exceptions/V2/ControlledByAlternateResourceException.cs similarity index 59% rename from src/Stripe.net/Exceptions/V2/RateLimitException.cs rename to src/Stripe.net/Exceptions/V2/ControlledByAlternateResourceException.cs index 7428b94f83..adba4a06ee 100644 --- a/src/Stripe.net/Exceptions/V2/RateLimitException.cs +++ b/src/Stripe.net/Exceptions/V2/ControlledByAlternateResourceException.cs @@ -4,9 +4,9 @@ namespace Stripe.V2 using System.Net; using Newtonsoft.Json.Linq; - public class RateLimitException : StripeException + public class ControlledByAlternateResourceException : StripeException { - private RateLimitException( + private ControlledByAlternateResourceException( HttpStatusCode httpStatusCode, StripeError stripeError, string message) @@ -14,12 +14,12 @@ private RateLimitException( { } - internal static RateLimitException Parse( + internal static ControlledByAlternateResourceException Parse( HttpStatusCode httpStatusCode, JToken body) { var stripeError = StripeError.FromJson(body); - return new RateLimitException(httpStatusCode, stripeError, stripeError.Message); + return new ControlledByAlternateResourceException(httpStatusCode, stripeError, stripeError.Message); } } } \ No newline at end of file diff --git a/src/Stripe.net/Infrastructure/Public/StripeException.cs b/src/Stripe.net/Infrastructure/Public/StripeException.cs index 99bc07d2ae..aeea502ae4 100644 --- a/src/Stripe.net/Infrastructure/Public/StripeException.cs +++ b/src/Stripe.net/Infrastructure/Public/StripeException.cs @@ -59,6 +59,10 @@ internal static StripeException ParseV2Exception(string type, StripeResponse res ret = Stripe.V2.BlockedByStripeException.Parse(httpStatusCode, body); break; + case "controlled_by_alternate_resource": + ret = Stripe.V2.ControlledByAlternateResourceException.Parse(httpStatusCode, body); + break; + case "controlled_by_dashboard": ret = Stripe.V2.ControlledByDashboardException.Parse(httpStatusCode, body); break; @@ -95,10 +99,6 @@ internal static StripeException ParseV2Exception(string type, StripeResponse res ret = Stripe.V2.QuotaExceededException.Parse(httpStatusCode, body); break; - case "rate_limit": - ret = Stripe.V2.RateLimitException.Parse(httpStatusCode, body); - break; - case "recipient_not_notifiable": ret = Stripe.V2.RecipientNotNotifiableException.Parse(httpStatusCode, body); break; diff --git a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs index 9b6600ae9c..72f07697d9 100644 --- a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs +++ b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs @@ -165,6 +165,9 @@ public static class StripeTypeRegistry { "refund", typeof(Refund) }, { "reporting.report_run", typeof(Reporting.ReportRun) }, { "reporting.report_type", typeof(Reporting.ReportType) }, + { "reserve.hold", typeof(Reserve.Hold) }, + { "reserve.plan", typeof(Reserve.Plan) }, + { "reserve.release", typeof(Reserve.Release) }, { "reserve_transaction", typeof(ReserveTransaction) }, { "review", typeof(Review) }, { "scheduled_query_run", typeof(Sigma.ScheduledQueryRun) }, @@ -478,6 +481,10 @@ public static class StripeTypeRegistry "v2.money_management.outbound_transfer.updated", typeof( Events.V2MoneyManagementOutboundTransferUpdatedEvent) }, + { + "v2.money_management.payout_method.created", typeof( + Events.V2MoneyManagementPayoutMethodCreatedEvent) + }, { "v2.money_management.payout_method.updated", typeof( Events.V2MoneyManagementPayoutMethodUpdatedEvent) @@ -714,6 +721,10 @@ public static class StripeTypeRegistry "v2.money_management.outbound_transfer.updated", typeof( Events.V2MoneyManagementOutboundTransferUpdatedEventNotification) }, + { + "v2.money_management.payout_method.created", typeof( + Events.V2MoneyManagementPayoutMethodCreatedEventNotification) + }, { "v2.money_management.payout_method.updated", typeof( Events.V2MoneyManagementPayoutMethodUpdatedEventNotification) diff --git a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountCreateOptions.cs b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountCreateOptions.cs index f7a1ff9b0f..4919f3a6ed 100644 --- a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountCreateOptions.cs +++ b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountCreateOptions.cs @@ -21,7 +21,7 @@ public class AccountExternalAccountCreateOptions : BaseOptions, IHasMetadata public bool? DefaultForCurrency { get; set; } /// - /// A token, like the ones returned by Stripe.js or + /// A token, like the ones returned by Stripe.js or /// a dictionary containing a user's external account details (with the options shown /// below). Please refer to full documentation instead. @@ -35,7 +35,7 @@ public class AccountExternalAccountCreateOptions : BaseOptions, IHasMetadata public AnyOf ExternalAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs index 07f925ff63..94842c4a66 100644 --- a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs +++ b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountExternalAccountDocumentsBankAccountOwnershipVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountUpdateOptions.cs b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountUpdateOptions.cs index 354ba24e52..6e1fbaec66 100644 --- a/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/AccountExternalAccounts/AccountExternalAccountUpdateOptions.cs @@ -131,7 +131,7 @@ public class AccountExternalAccountUpdateOptions : BaseOptions, IHasMetadata public string ExpYear { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/AccountNotices/AccountNoticeUpdateOptions.cs b/src/Stripe.net/Services/AccountNotices/AccountNoticeUpdateOptions.cs index d84567fe45..dd55d9a994 100644 --- a/src/Stripe.net/Services/AccountNotices/AccountNoticeUpdateOptions.cs +++ b/src/Stripe.net/Services/AccountNotices/AccountNoticeUpdateOptions.cs @@ -21,7 +21,7 @@ public class AccountNoticeUpdateOptions : BaseOptions, IHasMetadata public AccountNoticeEmailOptions Email { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs index a3feb5dbd2..3f114ffa50 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs @@ -181,7 +181,7 @@ public class AccountPersonCreateOptions : BaseOptions, IHasMetadata public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsCompanyAuthorizationOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsCompanyAuthorizationOptions.cs index 7c74aec4bc..9cd06b3497 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsCompanyAuthorizationOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsCompanyAuthorizationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountPersonDocumentsCompanyAuthorizationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsPassportOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsPassportOptions.cs index ddbe761237..85bcaf3a49 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsPassportOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsPassportOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountPersonDocumentsPassportOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsVisaOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsVisaOptions.cs index 02430d47f4..160286234a 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsVisaOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonDocumentsVisaOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountPersonDocumentsVisaOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs index c9a7c9449e..f9853f3da5 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs @@ -181,7 +181,7 @@ public class AccountPersonUpdateOptions : BaseOptions, IHasMetadata public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationAdditionalDocumentOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationAdditionalDocumentOptions.cs index 73ded0f35b..319b846de7 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationAdditionalDocumentOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationAdditionalDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class AccountPersonVerificationAdditionalDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class AccountPersonVerificationAdditionalDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationDocumentOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationDocumentOptions.cs index a7668082ca..ce4e5dca1d 100644 --- a/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/AccountPersons/AccountPersonVerificationDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class AccountPersonVerificationDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class AccountPersonVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Accounts/AccountCompanyVerificationDocumentOptions.cs b/src/Stripe.net/Services/Accounts/AccountCompanyVerificationDocumentOptions.cs index de5c994c8d..f497ca2671 100644 --- a/src/Stripe.net/Services/Accounts/AccountCompanyVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountCompanyVerificationDocumentOptions.cs @@ -9,11 +9,10 @@ namespace Stripe public class AccountCompanyVerificationDocumentOptions : INestedOptions { /// - /// The back of a document returned by a file upload with a purpose - /// value of additional_verification. The uploaded file needs to be a color image - /// (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in - /// size. + /// The back of a document returned by a file + /// upload with a purpose value of additional_verification. The uploaded + /// file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF + /// format, and less than 10 MB in size. /// [JsonProperty("back")] #if NET6_0_OR_GREATER @@ -22,11 +21,10 @@ public class AccountCompanyVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of a document returned by a file upload with a purpose - /// value of additional_verification. The uploaded file needs to be a color image - /// (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in - /// size. + /// The front of a document returned by a file + /// upload with a purpose value of additional_verification. The uploaded + /// file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF + /// format, and less than 10 MB in size. /// [JsonProperty("front")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountControllerApplicationOptions.cs b/src/Stripe.net/Services/Accounts/AccountControllerApplicationOptions.cs index ffe0892877..bf91c24c62 100644 --- a/src/Stripe.net/Services/Accounts/AccountControllerApplicationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountControllerApplicationOptions.cs @@ -10,7 +10,7 @@ public class AccountControllerApplicationOptions : INestedOptions { /// /// Whether the controller is liable for losses on this account. For details, see Understanding Connect Account + /// href="https://docs.stripe.com/connect/account-balances">Understanding Connect Account /// Balances. /// [JsonProperty("loss_liable")] diff --git a/src/Stripe.net/Services/Accounts/AccountCreateOptions.cs b/src/Stripe.net/Services/Accounts/AccountCreateOptions.cs index 8e6424fdc3..a270134fd7 100644 --- a/src/Stripe.net/Services/Accounts/AccountCreateOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountCreateOptions.cs @@ -11,7 +11,7 @@ namespace Stripe public class AccountCreateOptions : BaseOptions, IHasMetadata { /// - /// An account token, used to + /// An account token, used to /// securely provide details to the account. /// [JsonProperty("account_token")] @@ -186,7 +186,7 @@ public class AccountCreateOptions : BaseOptions, IHasMetadata public AccountIndividualOptions Individual { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsBankAccountOwnershipVerificationOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsBankAccountOwnershipVerificationOptions.cs index 4aac3a8df5..9d3bc0bc5d 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsBankAccountOwnershipVerificationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsBankAccountOwnershipVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsBankAccountOwnershipVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyLicenseOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyLicenseOptions.cs index de42013e87..f436e40a5d 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyLicenseOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyLicenseOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsCompanyLicenseOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMemorandumOfAssociationOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMemorandumOfAssociationOptions.cs index 1665d97d45..b4eadcec5f 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMemorandumOfAssociationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMemorandumOfAssociationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsCompanyMemorandumOfAssociationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMinisterialDecreeOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMinisterialDecreeOptions.cs index 204840bfaa..e93eb47c27 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMinisterialDecreeOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyMinisterialDecreeOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsCompanyMinisterialDecreeOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyRegistrationVerificationOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyRegistrationVerificationOptions.cs index f79d860b96..9f098e145b 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyRegistrationVerificationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyRegistrationVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsCompanyRegistrationVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyTaxIdVerificationOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyTaxIdVerificationOptions.cs index 3d700be618..dc5b00b94d 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyTaxIdVerificationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsCompanyTaxIdVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsCompanyTaxIdVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfAddressOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfAddressOptions.cs index 8f17234612..47e4e05977 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfAddressOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfAddressOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class AccountDocumentsProofOfAddressOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationOptions.cs index af8510cd3e..c838c34f4a 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationOptions.cs @@ -10,14 +10,22 @@ namespace Stripe public class AccountDocumentsProofOfRegistrationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("files")] #endif public List Files { get; set; } + + /// + /// Information regarding the person signing the document if applicable. + /// + [JsonProperty("signer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("signer")] +#endif + public AccountDocumentsProofOfRegistrationSignerOptions Signer { get; set; } } } diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationSignerOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationSignerOptions.cs new file mode 100644 index 0000000000..8c72bd7dd1 --- /dev/null +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfRegistrationSignerOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountDocumentsProofOfRegistrationSignerOptions : INestedOptions + { + /// + /// The token of the person signing the document, if applicable. + /// + [JsonProperty("person")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("person")] +#endif + public string Person { get; set; } + } +} diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipOptions.cs index a64be73b41..215241a1a7 100644 --- a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipOptions.cs @@ -10,14 +10,22 @@ namespace Stripe public class AccountDocumentsProofOfUltimateBeneficialOwnershipOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("files")] #endif public List Files { get; set; } + + /// + /// Information regarding the person signing the document if applicable. + /// + [JsonProperty("signer")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("signer")] +#endif + public AccountDocumentsProofOfUltimateBeneficialOwnershipSignerOptions Signer { get; set; } } } diff --git a/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipSignerOptions.cs b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipSignerOptions.cs new file mode 100644 index 0000000000..17c5419ee7 --- /dev/null +++ b/src/Stripe.net/Services/Accounts/AccountDocumentsProofOfUltimateBeneficialOwnershipSignerOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountDocumentsProofOfUltimateBeneficialOwnershipSignerOptions : INestedOptions + { + /// + /// The token of the person signing the document, if applicable. + /// + [JsonProperty("person")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("person")] +#endif + public string Person { get; set; } + } +} diff --git a/src/Stripe.net/Services/Accounts/AccountGroupsOptions.cs b/src/Stripe.net/Services/Accounts/AccountGroupsOptions.cs index 4f5ad8a0a0..bb451efae7 100644 --- a/src/Stripe.net/Services/Accounts/AccountGroupsOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountGroupsOptions.cs @@ -11,7 +11,7 @@ public class AccountGroupsOptions : INestedOptions /// /// The group the account is in to determine their payments pricing, and null if the account /// is on customized pricing. See the Platform pricing + /// href="https://docs.stripe.com/connect/platform-pricing-tools">See the Platform pricing /// tool documentation for details. /// [JsonProperty("payments_pricing")] diff --git a/src/Stripe.net/Services/Accounts/AccountIndividualOptions.cs b/src/Stripe.net/Services/Accounts/AccountIndividualOptions.cs index 8a86ff5805..32276c1aae 100644 --- a/src/Stripe.net/Services/Accounts/AccountIndividualOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountIndividualOptions.cs @@ -163,7 +163,7 @@ public class AccountIndividualOptions : INestedOptions, IHasMetadata public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Accounts/AccountIndividualVerificationAdditionalDocumentOptions.cs b/src/Stripe.net/Services/Accounts/AccountIndividualVerificationAdditionalDocumentOptions.cs index 2cc82a3691..d89e8c044e 100644 --- a/src/Stripe.net/Services/Accounts/AccountIndividualVerificationAdditionalDocumentOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountIndividualVerificationAdditionalDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class AccountIndividualVerificationAdditionalDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class AccountIndividualVerificationAdditionalDocumentOptions : INestedOpt public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Accounts/AccountIndividualVerificationDocumentOptions.cs b/src/Stripe.net/Services/Accounts/AccountIndividualVerificationDocumentOptions.cs index e5ab42a0c4..88813c7151 100644 --- a/src/Stripe.net/Services/Accounts/AccountIndividualVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountIndividualVerificationDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class AccountIndividualVerificationDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class AccountIndividualVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Accounts/AccountRiskControlsOptions.cs b/src/Stripe.net/Services/Accounts/AccountRiskControlsOptions.cs index 986d4ed737..fe8c697f8a 100644 --- a/src/Stripe.net/Services/Accounts/AccountRiskControlsOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountRiskControlsOptions.cs @@ -10,7 +10,7 @@ public class AccountRiskControlsOptions : INestedOptions { /// /// Represents the risk control status of charges. Please see this + /// href="https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts">this /// page for more details. /// [JsonProperty("charges")] @@ -21,7 +21,7 @@ public class AccountRiskControlsOptions : INestedOptions /// /// Represents the risk control status of payouts. Please see this + /// href="https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts">this /// page for more details. /// [JsonProperty("payouts")] diff --git a/src/Stripe.net/Services/Accounts/AccountUpdateOptions.cs b/src/Stripe.net/Services/Accounts/AccountUpdateOptions.cs index 848e561def..f647441be5 100644 --- a/src/Stripe.net/Services/Accounts/AccountUpdateOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountUpdateOptions.cs @@ -11,7 +11,7 @@ namespace Stripe public class AccountUpdateOptions : BaseOptions, IHasMetadata { /// - /// An account token, used to + /// An account token, used to /// securely provide details to the account. /// [JsonProperty("account_token")] @@ -161,7 +161,7 @@ public class AccountUpdateOptions : BaseOptions, IHasMetadata public AccountIndividualOptions Individual { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundCreateOptions.cs b/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundCreateOptions.cs index 07e16a1c87..b793681a4b 100644 --- a/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundCreateOptions.cs +++ b/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundCreateOptions.cs @@ -20,7 +20,7 @@ public class ApplicationFeeRefundCreateOptions : BaseOptions, IHasMetadata public long? Amount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundUpdateOptions.cs b/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundUpdateOptions.cs index 0e55e9761f..166c107d53 100644 --- a/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundUpdateOptions.cs +++ b/src/Stripe.net/Services/ApplicationFeeRefunds/ApplicationFeeRefundUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class ApplicationFeeRefundUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/BankAccounts/BankAccountDocumentsBankAccountOwnershipVerificationOptions.cs b/src/Stripe.net/Services/BankAccounts/BankAccountDocumentsBankAccountOwnershipVerificationOptions.cs index f44274c84c..dfef789609 100644 --- a/src/Stripe.net/Services/BankAccounts/BankAccountDocumentsBankAccountOwnershipVerificationOptions.cs +++ b/src/Stripe.net/Services/BankAccounts/BankAccountDocumentsBankAccountOwnershipVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class BankAccountDocumentsBankAccountOwnershipVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs b/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs index bfd1c2cc91..08a901b58f 100644 --- a/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs @@ -50,7 +50,7 @@ public class BankAccountUpdateOptions : BaseOptions, IHasMetadata public BankAccountDocumentsOptions Documents { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryGetOptions.cs b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryGetOptions.cs index c9e07075ef..855ab193d0 100644 --- a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryGetOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryGetOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.Billing public class CreditBalanceSummaryGetOptions : BaseOptions { /// - /// The customer for which to fetch credit balance summary. + /// The customer whose credit balance summary you're retrieving. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class CreditBalanceSummaryGetOptions : BaseOptions public string Customer { get; set; } /// - /// The account for which to fetch credit balance summary. + /// The account representing the customer whose credit balance summary you're retrieving. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionListOptions.cs b/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionListOptions.cs index 5f8438f989..8ad61c4fb5 100644 --- a/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionListOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditBalanceTransactions/CreditBalanceTransactionListOptions.cs @@ -18,7 +18,7 @@ public class CreditBalanceTransactionListOptions : ListOptions public string CreditGrant { get; set; } /// - /// The customer for which to fetch credit balance transactions. + /// The customer whose credit balance transactions you're retrieving. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -27,7 +27,8 @@ public class CreditBalanceTransactionListOptions : ListOptions public string Customer { get; set; } /// - /// The account for which to fetch credit balance transactions. + /// The account representing the customer whose credit balance transactions you're + /// retrieving. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs index 1b38129ded..1c8821a451 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantCreateOptions.cs @@ -42,7 +42,7 @@ public class CreditGrantCreateOptions : BaseOptions, IHasMetadata public string Category { get; set; } /// - /// ID of the customer to receive the billing credits. + /// ID of the customer receiving the billing credits. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -51,7 +51,7 @@ public class CreditGrantCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// ID of the account to receive the billing credits. + /// ID of the account representing the customer receiving the billing credits. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantListOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantListOptions.cs index 395e94ce7a..a57332a0fa 100644 --- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantListOptions.cs +++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantListOptions.cs @@ -18,7 +18,7 @@ public class CreditGrantListOptions : ListOptions public string Customer { get; set; } /// - /// Only return credit grants for this account. + /// Only return credit grants for this account representing the customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs index 458f0505b4..7a15120562 100644 --- a/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs +++ b/src/Stripe.net/Services/Billing/MeterEvents/MeterEventCreateOptions.cs @@ -38,7 +38,7 @@ public class MeterEventCreateOptions : BaseOptions /// customer_mapping.event_payload_key (default is stripe_customer_id) and /// value_settings.event_payload_key (default is value). Read more about the /// payload. + /// href="https://docs.stripe.com/billing/subscriptions/usage-based/meters/configure#meter-configuration-attributes">payload. /// [JsonProperty("payload")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationCreateOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationCreateOptions.cs index 51fd093d3b..fb00703523 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationCreateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationCreateOptions.cs @@ -21,7 +21,7 @@ public class ConfigurationCreateOptions : BaseOptions, IHasMetadata /// /// The default URL to redirect customers to when they click on the portal's link to return /// to your website. This can be overriden + /// href="https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url">overriden /// when creating the session. /// [JsonProperty("default_return_url")] @@ -52,7 +52,7 @@ public class ConfigurationCreateOptions : BaseOptions, IHasMetadata public ConfigurationLoginPageOptions LoginPage { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs index 5d0ebd6148..ae7f29e67d 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs @@ -9,6 +9,20 @@ namespace Stripe.BillingPortal public class ConfigurationFeaturesSubscriptionUpdateOptions : INestedOptions { + /// + /// Determines the value to use for the billing cycle anchor on subscription updates. Valid + /// values are now or unchanged, and the default value is unchanged. + /// Setting the value to now resets the subscription's billing cycle anchor to the + /// current time (in UTC). For more information, see the billing cycle documentation. + /// One of: now, or unchanged. + /// + [JsonProperty("billing_cycle_anchor")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("billing_cycle_anchor")] +#endif + public string BillingCycleAnchor { get; set; } + /// /// The types of subscription updates that are supported. When empty, subscriptions are not /// updateable. diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationLoginPageOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationLoginPageOptions.cs index a8665a9159..21c6fd9368 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationLoginPageOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationLoginPageOptions.cs @@ -10,7 +10,7 @@ public class ConfigurationLoginPageOptions : INestedOptions { /// /// Set to true to generate a shareable URL login_page.url + /// href="https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-login_page-url">login_page.url /// that will take your customers to a hosted login page for the customer portal. /// /// Set to false to deactivate the login_page.url. diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationUpdateOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationUpdateOptions.cs index edb3f09f69..33a6a46030 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationUpdateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationUpdateOptions.cs @@ -30,7 +30,7 @@ public class ConfigurationUpdateOptions : BaseOptions, IHasMetadata /// /// The default URL to redirect customers to when they click on the portal's link to return /// to your website. This can be overriden + /// href="https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url">overriden /// when creating the session. /// [JsonProperty("default_return_url")] @@ -61,7 +61,7 @@ public class ConfigurationUpdateOptions : BaseOptions, IHasMetadata public ConfigurationLoginPageOptions LoginPage { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/BillingPortal/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/BillingPortal/Sessions/SessionCreateOptions.cs index 8f9c60d18b..15ec619cab 100644 --- a/src/Stripe.net/Services/BillingPortal/Sessions/SessionCreateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Sessions/SessionCreateOptions.cs @@ -10,7 +10,7 @@ public class SessionCreateOptions : BaseOptions { /// /// The ID of an existing configuration to + /// href="https://docs.stripe.com/api/customer_portal/configuration">configuration to /// use for this session, describing its functionality and features. If not specified, the /// session uses the default configuration. /// @@ -40,7 +40,7 @@ public class SessionCreateOptions : BaseOptions /// /// Information about a specific flow for the customer to go through. See the docs to learn + /// href="https://docs.stripe.com/customer-management/portal-deep-links">docs to learn /// more about using customer portal deep links and flows. /// [JsonProperty("flow_data")] @@ -70,9 +70,9 @@ public class SessionCreateOptions : BaseOptions /// The on_behalf_of account to use for this session. When specified, only /// subscriptions and invoices with this on_behalf_of account appear in the portal. /// For more information, see the docs. + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant">docs. /// Use the Accounts + /// href="https://docs.stripe.com/api/accounts/object#account_object-settings-branding">Accounts /// API to modify the on_behalf_of account's branding settings, which the portal /// displays. /// diff --git a/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmItemOptions.cs b/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmItemOptions.cs index 3274e2d588..c3bd53bd5d 100644 --- a/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmItemOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmItemOptions.cs @@ -10,7 +10,7 @@ public class SessionFlowDataSubscriptionUpdateConfirmItemOptions : INestedOption { /// /// The ID of the subscription + /// href="https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id">subscription /// item to be updated. /// [JsonProperty("id")] @@ -22,7 +22,7 @@ public class SessionFlowDataSubscriptionUpdateConfirmItemOptions : INestedOption /// /// The price the customer should subscribe to through this flow. The price must also be /// included in the configuration's features.subscription_update.products. + /// href="https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products">features.subscription_update.products. /// [JsonProperty("price")] #if NET6_0_OR_GREATER @@ -31,7 +31,7 @@ public class SessionFlowDataSubscriptionUpdateConfirmItemOptions : INestedOption public string Price { get; set; } /// - /// Quantity for this item + /// Quantity for this item /// that the customer should subscribe to through this flow. /// [JsonProperty("quantity")] diff --git a/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmOptions.cs b/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmOptions.cs index fe4514694e..6c3a5d8e02 100644 --- a/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Sessions/SessionFlowDataSubscriptionUpdateConfirmOptions.cs @@ -19,7 +19,7 @@ public class SessionFlowDataSubscriptionUpdateConfirmOptions : INestedOptions public List Discounts { get; set; } /// - /// The subscription item to be + /// The subscription item to be /// updated through this flow. Currently, only up to one may be specified and subscriptions /// with multiple items are not updatable. /// diff --git a/src/Stripe.net/Services/Capital/FinancingSummaries/FinancingSummaryService.cs b/src/Stripe.net/Services/Capital/FinancingSummaries/FinancingSummaryService.cs index e92688133f..69857a0293 100644 --- a/src/Stripe.net/Services/Capital/FinancingSummaries/FinancingSummaryService.cs +++ b/src/Stripe.net/Services/Capital/FinancingSummaries/FinancingSummaryService.cs @@ -24,8 +24,7 @@ public FinancingSummaryService(IStripeClient client) } /// - ///

Retrieve the financing state for the account that was authenticated in the - /// request.

. + ///

Retrieve the financing summary object for the account.

. ///
public virtual FinancingSummary Get(RequestOptions requestOptions = null) { @@ -33,8 +32,7 @@ public virtual FinancingSummary Get(RequestOptions requestOptions = null) } /// - ///

Retrieve the financing state for the account that was authenticated in the - /// request.

. + ///

Retrieve the financing summary object for the account.

. ///
public virtual Task GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -42,8 +40,7 @@ public virtual Task GetAsync(RequestOptions requestOptions = n } /// - ///

Retrieve the financing state for the account that was authenticated in the - /// request.

. + ///

Retrieve the financing summary object for the account.

. ///
public virtual FinancingSummary Get(FinancingSummaryGetOptions options, RequestOptions requestOptions = null) { @@ -51,8 +48,7 @@ public virtual FinancingSummary Get(FinancingSummaryGetOptions options, RequestO } /// - ///

Retrieve the financing state for the account that was authenticated in the - /// request.

. + ///

Retrieve the financing summary object for the account.

. ///
public virtual Task GetAsync(FinancingSummaryGetOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/Cards/CardDocumentsBankAccountOwnershipVerificationOptions.cs b/src/Stripe.net/Services/Cards/CardDocumentsBankAccountOwnershipVerificationOptions.cs index 4fc48b5c2d..4cacfeedc3 100644 --- a/src/Stripe.net/Services/Cards/CardDocumentsBankAccountOwnershipVerificationOptions.cs +++ b/src/Stripe.net/Services/Cards/CardDocumentsBankAccountOwnershipVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class CardDocumentsBankAccountOwnershipVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Cards/CardUpdateOptions.cs b/src/Stripe.net/Services/Cards/CardUpdateOptions.cs index a009aa279c..57b50d5114 100644 --- a/src/Stripe.net/Services/Cards/CardUpdateOptions.cs +++ b/src/Stripe.net/Services/Cards/CardUpdateOptions.cs @@ -102,7 +102,7 @@ public class CardUpdateOptions : BaseOptions, IHasMetadata public long? ExpYear { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Charges/ChargeCaptureOptions.cs b/src/Stripe.net/Services/Charges/ChargeCaptureOptions.cs index ed4763adcc..bade578d68 100644 --- a/src/Stripe.net/Services/Charges/ChargeCaptureOptions.cs +++ b/src/Stripe.net/Services/Charges/ChargeCaptureOptions.cs @@ -93,7 +93,7 @@ public class ChargeCaptureOptions : BaseOptions /// /// An optional dictionary including the account to automatically transfer to as part of a - /// destination charge. See + /// destination charge. See /// the Connect documentation for details. /// [JsonProperty("transfer_data")] @@ -105,7 +105,7 @@ public class ChargeCaptureOptions : BaseOptions /// /// A string that identifies this transaction as part of a group. transfer_group may /// only be provided if it has not been set. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect /// documentation for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/Charges/ChargeCreateOptions.cs b/src/Stripe.net/Services/Charges/ChargeCreateOptions.cs index 9811574aa8..2b86d449c5 100644 --- a/src/Stripe.net/Services/Charges/ChargeCreateOptions.cs +++ b/src/Stripe.net/Services/Charges/ChargeCreateOptions.cs @@ -12,10 +12,10 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata { /// /// Amount intended to be collected by this payment. A positive integer representing how - /// much to charge in the smallest + /// much to charge in the smallest /// currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal /// currency). The minimum amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// @@ -30,7 +30,7 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// to the application owner's Stripe account. The request must be made with an OAuth key or /// the Stripe-Account header in order to take an application fee. For more /// information, see the application fees documentation. + /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">documentation. /// [JsonProperty("application_fee_amount")] #if NET6_0_OR_GREATER @@ -41,9 +41,9 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// Whether to immediately capture the charge. Defaults to true. When false, /// the charge issues an authorization (or pre-authorization), and will need to be captured later. Uncaptured charges + /// href="https://api.stripe.com#capture_charge">captured later. Uncaptured charges /// expire after a set number of days (7 by default). For more information, see the authorizing charges and settling + /// href="https://docs.stripe.com/charges/placing-a-hold">authorizing charges and settling /// later documentation. /// [JsonProperty("capture")] @@ -103,7 +103,7 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata public ChargeLevel3Options Level3 { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -115,9 +115,10 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata public Dictionary Metadata { get; set; } /// - /// The Stripe account ID for which these funds are intended. Automatically set if you use - /// the destination parameter. For details, see Creating + /// The Stripe account ID for which these funds are intended. You can specify the business + /// of record as the connected account using the on_behalf_of attribute on the + /// charge. For details, see Creating /// Separate Charges and Transfers. /// [JsonProperty("on_behalf_of")] @@ -128,7 +129,7 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] @@ -139,10 +140,10 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// The email address to which this charge's receipt will be sent. The receipt + /// href="https://docs.stripe.com/dashboard/receipts">receipt will be sent. The receipt /// will not be sent until the charge is paid, and no receipts will be sent for test mode /// charges. If this charge is for a Customer, the email address + /// href="https://docs.stripe.com/api/customers/object">Customer, the email address /// specified here will override the customer's email address. If receipt_email is /// specified for a charge in live mode, a receipt will be sent regardless of your email settings. @@ -164,15 +165,15 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// A payment source to be charged. This can be the ID of a card (i.e., credit or debit card), a bank account, a source, a token, or a connected + /// href="https://docs.stripe.com/api#cards">card (i.e., credit or debit card), a bank account, a source, a token, or a connected /// account. For certain sources---namely, cards, bank accounts, and attached sources---you must also pass the ID of + /// href="https://docs.stripe.com/api#cards">cards, bank accounts, and attached sources---you must also pass the ID of /// the associated customer. /// [JsonProperty("source")] @@ -214,7 +215,7 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// An optional dictionary including the account to automatically transfer to as part of a - /// destination charge. See + /// destination charge. See /// the Connect documentation for details. /// [JsonProperty("transfer_data")] @@ -225,7 +226,7 @@ public class ChargeCreateOptions : BaseOptions, IHasMetadata /// /// A string that identifies this transaction as part of a group. For details, see Grouping + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Grouping /// transactions. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/Charges/ChargeRadarOptionsOptions.cs b/src/Stripe.net/Services/Charges/ChargeRadarOptionsOptions.cs index e59c86dc95..13aade97c2 100644 --- a/src/Stripe.net/Services/Charges/ChargeRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/Charges/ChargeRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class ChargeRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/Charges/ChargeUpdateOptions.cs b/src/Stripe.net/Services/Charges/ChargeUpdateOptions.cs index 1b4a360512..0e103ea90d 100644 --- a/src/Stripe.net/Services/Charges/ChargeUpdateOptions.cs +++ b/src/Stripe.net/Services/Charges/ChargeUpdateOptions.cs @@ -51,7 +51,7 @@ public class ChargeUpdateOptions : BaseOptions, IHasMetadata public ChargeFraudDetailsOptions FraudDetails { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -93,7 +93,7 @@ public class ChargeUpdateOptions : BaseOptions, IHasMetadata /// /// A string that identifies this transaction as part of a group. transfer_group may /// only be provided if it has not been set. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect /// documentation for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs index 045bd35c11..6ed71e4794 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs @@ -135,13 +135,13 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// recently saved card payment method will be used to prefill the email, name, card /// details, and billing address on the Checkout page. In subscription mode, the /// customer’s default + /// href="https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method">default /// payment method will be used if it’s a card, otherwise the most recently saved card /// will be used. A valid billing address, billing name and billing email are required on /// the payment method for Checkout to prefill the customer's card details. /// /// If the Customer already has a valid email set, + /// href="https://docs.stripe.com/api/customers/object#customer_object-email">email set, /// the email will be prefilled and not editable in Checkout. If the Customer does not have /// a valid email, Checkout will set the email entered during the session on the /// Customer. @@ -151,7 +151,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// create a new Customer object based on information provided during the payment flow. /// /// You can set payment_intent_data.setup_future_usage + /// href="https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage">payment_intent_data.setup_future_usage /// to have Checkout automatically attach the payment method to the Customer you pass in for /// future reuse. /// @@ -172,14 +172,14 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// /// Configure whether a Checkout Session creates a Customer during Session confirmation. + /// href="https://docs.stripe.com/api/customers">Customer during Session confirmation. /// /// When a Customer is not created, you can still retrieve email, address, and other /// customer data entered in Checkout with customer_details. + /// href="https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-customer_details">customer_details. /// /// Sessions that don't create Customers instead are grouped by guest customers in + /// href="https://docs.stripe.com/payments/checkout/guest-customers">guest customers in /// the Dashboard. Promotion codes limited to first time customers will return invalid for /// these Sessions. /// @@ -272,7 +272,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// /// A list of items the customer is purchasing. Use this parameter to pass one-time or - /// recurring Prices. The parameter is + /// recurring Prices. The parameter is /// required for payment and subscription mode. /// /// For payment mode, there is a maximum of 100 line items, however it is recommended @@ -305,7 +305,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata public string Locale { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -333,7 +333,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// You can configure Checkout to collect your customers' business names, individual names, /// or both. Each name field can be either required or optional. /// - /// If a Customer is created or + /// If a Customer is created or /// provided, the names can be saved to the Customer object as well. /// [JsonProperty("name_collection")] @@ -345,7 +345,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// /// A list of optional items the customer can add to their order at checkout. Use this /// parameter to pass one-time or recurring Prices. + /// href="https://docs.stripe.com/api/prices">Prices. /// /// There is a maximum of 10 optional items allowed on a Checkout Session, and the existing /// limits on the number of line items allowed on a Checkout Session apply to the combined @@ -395,7 +395,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// /// If you'd like information on how to collect a payment method outside of Checkout, read /// the guide on configuring subscriptions with a free + /// href="https://docs.stripe.com/payments/checkout/free-trials">subscriptions with a free /// trial. /// One of: always, or if_required. /// @@ -440,7 +440,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// You can omit this attribute to manage your payment methods from the Stripe Dashboard. See /// Dynamic + /// href="https://docs.stripe.com/payments/payment-methods/integration-options#using-dynamic-payment-methods">Dynamic /// Payment Methods for more details. /// /// Read more about the supported payment methods and their requirements in our collecting phone numbers + /// href="https://docs.stripe.com/payments/checkout/phone-numbers">collecting phone numbers /// with Checkout. /// [JsonProperty("phone_number_collection")] @@ -499,7 +499,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// /// This parameter applies to ui_mode: embedded. Learn more about the redirect + /// href="https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form">redirect /// behavior of embedded sessions. Defaults to always. /// One of: always, if_required, or never. /// @@ -587,7 +587,7 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// The URL to which Stripe should send customers when payment or setup is complete. This /// parameter is not allowed if ui_mode is embedded or custom. If you'd like /// to use information from the successful Checkout Session on your page, read the guide on - /// customizing your + /// customizing your /// success page. /// [JsonProperty("success_url")] diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountCouponDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountCouponDataOptions.cs index 7fab3235f5..a26b2431df 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountCouponDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountCouponDataOptions.cs @@ -41,7 +41,7 @@ public class SessionDiscountCouponDataOptions : INestedOptions, IHasMetadata public string Duration { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountOptions.cs index edbe8c94c7..786aa00e8e 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionDiscountOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.Checkout public class SessionDiscountOptions : INestedOptions { /// - /// The ID of the Coupon to apply to this + /// The ID of the Coupon to apply to this /// Session. One of coupon or coupon_data is required when updating discounts. /// [JsonProperty("coupon")] @@ -19,7 +19,7 @@ public class SessionDiscountOptions : INestedOptions public string Coupon { get; set; } /// - /// Data used to generate a new Coupon + /// Data used to generate a new Coupon /// object inline. One of coupon or coupon_data is required when updating /// discounts. /// diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataOptions.cs index a54b2a2b29..e7bfdfa92e 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataOptions.cs @@ -56,7 +56,7 @@ public class SessionInvoiceCreationInvoiceDataOptions : INestedOptions, IHasMeta public SessionInvoiceCreationInvoiceDataIssuerOptions Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemOptions.cs index ebb554d0ad..79e7b0103e 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemOptions.cs @@ -20,7 +20,7 @@ public class SessionLineItemOptions : INestedOptions, IHasMetadata, IHasId public SessionLineItemAdjustableQuantityOptions AdjustableQuantity { get; set; } /// - /// The tax rates that will be applied + /// The tax rates that will be applied /// to this line item depending on the customer's billing/shipping address. We currently /// support the following countries: US, GB, AU, and all countries in the EU. /// @@ -40,7 +40,7 @@ public class SessionLineItemOptions : INestedOptions, IHasMetadata, IHasId public string Id { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -52,8 +52,8 @@ public class SessionLineItemOptions : INestedOptions, IHasMetadata, IHasId public Dictionary Metadata { get; set; } /// - /// The ID of the Price or Plan object. One of price or + /// The ID of the Price or Plan object. One of price or /// price_data is required. /// [JsonProperty("price")] @@ -63,7 +63,7 @@ public class SessionLineItemOptions : INestedOptions, IHasMetadata, IHasId public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required when creating a new /// line item. /// @@ -84,7 +84,7 @@ public class SessionLineItemOptions : INestedOptions, IHasMetadata, IHasId public long? Quantity { get; set; } /// - /// The tax rates which apply to this + /// The tax rates which apply to this /// line item. /// [JsonProperty("tax_rates")] diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataOptions.cs index 82897c9fca..0dbfcfdf58 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataOptions.cs @@ -51,7 +51,7 @@ public class SessionLineItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataProductDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataProductDataOptions.cs index bb37737b4c..a245435be8 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataProductDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionLineItemPriceDataProductDataOptions.cs @@ -31,7 +31,7 @@ public class SessionLineItemPriceDataProductDataOptions : INestedOptions, IHasMe public List Images { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -52,7 +52,7 @@ public class SessionLineItemPriceDataProductDataOptions : INestedOptions, IHasMe public string Name { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionOptionalItemOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionOptionalItemOptions.cs index d55bc68b3b..1413ad5614 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionOptionalItemOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionOptionalItemOptions.cs @@ -19,8 +19,8 @@ public class SessionOptionalItemOptions : INestedOptions public SessionOptionalItemAdjustableQuantityOptions AdjustableQuantity { get; set; } /// - /// The ID of the Price or Plan object. + /// The ID of the Price or Plan object. /// [JsonProperty("price")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentDataOptions.cs index 0f5718bb22..ff103aff5f 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentDataOptions.cs @@ -14,7 +14,7 @@ public class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -43,7 +43,7 @@ public class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -79,7 +79,7 @@ public class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata /// /// Indicates that you intend to make future + /// href="https://docs.stripe.com/payments/payment-intents#future-usage">make future /// payments with the payment method collected by this Checkout Session. /// /// When setting this to on_session, Checkout will show a notice to the customer that @@ -147,7 +147,7 @@ public class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata /// /// The parameters used to automatically create a Transfer when the payment succeeds. For /// more information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("transfer_data")] @@ -159,7 +159,7 @@ public class SessionPaymentIntentDataOptions : INestedOptions, IHasMetadata /// /// A string that identifies the resulting payment as part of a group. See the /// PaymentIntents use case for + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">use case for /// connected accounts for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs index 1c83111678..5fe580c483 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs @@ -85,11 +85,11 @@ public class SessionPaymentMethodOptionsCardOptions : INestedOptions /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs index 5fe37f684e..86bb635657 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs @@ -19,7 +19,7 @@ public class SessionPaymentMethodOptionsPaypalOptions : INestedOptions public string CaptureMethod { get; set; } /// - /// Preferred locale + /// Preferred locale /// of the PayPal checkout page that the customer is redirected to. /// One of: cs-CZ, da-DK, de-AT, de-DE, de-LU, /// el-GR, en-GB, en-US, es-ES, fi-FI, fr-BE, diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionSetupIntentDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSetupIntentDataOptions.cs index c75fd508d3..94d5ab63f0 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionSetupIntentDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSetupIntentDataOptions.cs @@ -19,7 +19,7 @@ public class SessionSetupIntentDataOptions : INestedOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionShippingOptionShippingRateDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionShippingOptionShippingRateDataOptions.cs index 2087600ea1..50299ce7b2 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionShippingOptionShippingRateDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionShippingOptionShippingRateDataOptions.cs @@ -40,7 +40,7 @@ public class SessionShippingOptionShippingRateDataOptions : INestedOptions, IHas public SessionShippingOptionShippingRateDataFixedAmountOptions FixedAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -63,7 +63,7 @@ public class SessionShippingOptionShippingRateDataOptions : INestedOptions, IHas public string TaxBehavior { get; set; } /// - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs index e2aa7467d7..fa37ec23c2 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionSubscriptionDataOptions.cs @@ -59,7 +59,7 @@ public class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata /// /// The subscription's description, meant to be displayable to the customer. Use this field /// to optionally store an explanation of the subscription for rendering in the customer portal. + /// href="https://docs.stripe.com/customer-management">customer portal. /// [JsonProperty("description")] #if NET6_0_OR_GREATER @@ -77,7 +77,7 @@ public class SessionSubscriptionDataOptions : INestedOptions, IHasMetadata public SessionSubscriptionDataInvoiceSettingsOptions InvoiceSettings { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionUpdateOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionUpdateOptions.cs index 0d18039830..645ad5c07a 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionUpdateOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionUpdateOptions.cs @@ -71,7 +71,7 @@ public class SessionUpdateOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Climate/Orders/OrderCreateOptions.cs b/src/Stripe.net/Services/Climate/Orders/OrderCreateOptions.cs index cf1c4e0b72..46d89adeb6 100644 --- a/src/Stripe.net/Services/Climate/Orders/OrderCreateOptions.cs +++ b/src/Stripe.net/Services/Climate/Orders/OrderCreateOptions.cs @@ -42,7 +42,7 @@ public class OrderCreateOptions : BaseOptions, IHasMetadata public string Currency { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Climate/Orders/OrderUpdateOptions.cs b/src/Stripe.net/Services/Climate/Orders/OrderUpdateOptions.cs index 9635747f4f..a9411d8ad9 100644 --- a/src/Stripe.net/Services/Climate/Orders/OrderUpdateOptions.cs +++ b/src/Stripe.net/Services/Climate/Orders/OrderUpdateOptions.cs @@ -20,7 +20,7 @@ public class OrderUpdateOptions : BaseOptions, IHasMetadata public OrderBeneficiaryOptions Beneficiary { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Coupons/CouponCreateOptions.cs b/src/Stripe.net/Services/Coupons/CouponCreateOptions.cs index 6bf03d8d19..535be02338 100644 --- a/src/Stripe.net/Services/Coupons/CouponCreateOptions.cs +++ b/src/Stripe.net/Services/Coupons/CouponCreateOptions.cs @@ -96,7 +96,7 @@ public class CouponCreateOptions : BaseOptions, IHasId, IHasMetadata public long? MaxRedemptions { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Coupons/CouponUpdateOptions.cs b/src/Stripe.net/Services/Coupons/CouponUpdateOptions.cs index 8b1105a80c..ab2e0f4d53 100644 --- a/src/Stripe.net/Services/Coupons/CouponUpdateOptions.cs +++ b/src/Stripe.net/Services/Coupons/CouponUpdateOptions.cs @@ -22,7 +22,7 @@ public class CouponUpdateOptions : BaseOptions, IHasMetadata public Dictionary CurrencyOptions { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CreditNotePreviewLines/CreditNotePreviewLinesListOptions.cs b/src/Stripe.net/Services/CreditNotePreviewLines/CreditNotePreviewLinesListOptions.cs index c5066e0766..8b9918ca01 100644 --- a/src/Stripe.net/Services/CreditNotePreviewLines/CreditNotePreviewLinesListOptions.cs +++ b/src/Stripe.net/Services/CreditNotePreviewLines/CreditNotePreviewLinesListOptions.cs @@ -85,7 +85,7 @@ public class CreditNotePreviewLinesListOptions : ListOptions, IHasMetadata public string Memo { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs b/src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs index 51fe4331d8..7184e356b3 100644 --- a/src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs +++ b/src/Stripe.net/Services/CreditNotes/CreditNoteCreateOptions.cs @@ -85,7 +85,7 @@ public class CreditNoteCreateOptions : BaseOptions, IHasMetadata public string Memo { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs b/src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs index e8346e3262..aed8f7fb18 100644 --- a/src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs +++ b/src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs @@ -31,7 +31,8 @@ public class CreditNoteListOptions : ListOptions public string Customer { get; set; } /// - /// Only return credit notes for the account specified by this account ID. + /// Only return credit notes for the account representing the customer specified by this + /// account ID. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/CreditNotes/CreditNotePreviewOptions.cs b/src/Stripe.net/Services/CreditNotes/CreditNotePreviewOptions.cs index 84eced1d3d..847592375c 100644 --- a/src/Stripe.net/Services/CreditNotes/CreditNotePreviewOptions.cs +++ b/src/Stripe.net/Services/CreditNotes/CreditNotePreviewOptions.cs @@ -85,7 +85,7 @@ public class CreditNotePreviewOptions : BaseOptions, IHasMetadata public string Memo { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CreditNotes/CreditNoteUpdateOptions.cs b/src/Stripe.net/Services/CreditNotes/CreditNoteUpdateOptions.cs index 24caabd151..4b8a93538f 100644 --- a/src/Stripe.net/Services/CreditNotes/CreditNoteUpdateOptions.cs +++ b/src/Stripe.net/Services/CreditNotes/CreditNoteUpdateOptions.cs @@ -19,7 +19,7 @@ public class CreditNoteUpdateOptions : BaseOptions, IHasMetadata public string Memo { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionCreateOptions.cs b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionCreateOptions.cs index 0980b65f80..9c9c61b50e 100644 --- a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionCreateOptions.cs +++ b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionCreateOptions.cs @@ -23,7 +23,7 @@ public class CustomerBalanceTransactionCreateOptions : BaseOptions, IHasMetadata /// Three-letter ISO currency /// code, in lowercase. Must be a supported /// currency. Specifies the invoice_credit_balance + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance">invoice_credit_balance /// that this transaction will apply to. If the customer's currency is not set, it /// will be updated to this value. /// @@ -43,7 +43,7 @@ public class CustomerBalanceTransactionCreateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs index 0251ef05b3..f8f9f2a841 100644 --- a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs +++ b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs @@ -21,5 +21,14 @@ public class CustomerBalanceTransactionListOptions : ListOptions [STJS.JsonConverter(typeof(STJAnyOfConverter))] #endif public AnyOf Created { get; set; } + + /// + /// Only return transactions that are related to the specified invoice. + /// + [JsonProperty("invoice")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("invoice")] +#endif + public string Invoice { get; set; } } } diff --git a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionUpdateOptions.cs b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionUpdateOptions.cs index fbc5e7f5ed..17916f88b0 100644 --- a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionUpdateOptions.cs +++ b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionUpdateOptions.cs @@ -19,7 +19,7 @@ public class CustomerBalanceTransactionUpdateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceCreateOptions.cs b/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceCreateOptions.cs index 5db96273c2..814aa7c93b 100644 --- a/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceCreateOptions.cs +++ b/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceCreateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class CustomerPaymentSourceCreateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -22,7 +22,7 @@ public class CustomerPaymentSourceCreateOptions : BaseOptions, IHasMetadata public Dictionary Metadata { get; set; } /// - /// Please refer to full documentation instead. + /// Please refer to full documentation instead. /// [JsonProperty("source")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceUpdateOptions.cs b/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceUpdateOptions.cs index 509a8b93f4..3193cab379 100644 --- a/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceUpdateOptions.cs +++ b/src/Stripe.net/Services/CustomerPaymentSources/CustomerPaymentSourceUpdateOptions.cs @@ -102,7 +102,7 @@ public class CustomerPaymentSourceUpdateOptions : BaseOptions, IHasMetadata public string ExpYear { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Customers/CustomerCashBalanceSettingsOptions.cs b/src/Stripe.net/Services/Customers/CustomerCashBalanceSettingsOptions.cs index 4508d099bf..e30490ee70 100644 --- a/src/Stripe.net/Services/Customers/CustomerCashBalanceSettingsOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerCashBalanceSettingsOptions.cs @@ -12,7 +12,7 @@ public class CustomerCashBalanceSettingsOptions : INestedOptions /// Controls how funds transferred by the customer are applied to payment intents and /// invoices. Valid options are automatic, manual, or merchant_default. /// For more information about these reconciliation modes, see Reconciliation. + /// href="https://docs.stripe.com/payments/customer-balance/reconciliation">Reconciliation. /// One of: automatic, manual, or merchant_default. /// [JsonProperty("reconciliation_mode")] diff --git a/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs b/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs index 611d7edad8..e6bf3bf4be 100644 --- a/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs @@ -11,7 +11,9 @@ namespace Stripe public class CustomerCreateOptions : BaseOptions, IHasMetadata { /// - /// The customer's address. + /// The customer's address. Learn about country-specific + /// requirements for calculating tax. /// [JsonProperty("address")] #if NET6_0_OR_GREATER @@ -98,7 +100,7 @@ public class CustomerCreateOptions : BaseOptions, IHasMetadata public CustomerInvoiceSettingsOptions InvoiceSettings { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs b/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs index 595e1c5329..91e76a06da 100644 --- a/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs @@ -11,7 +11,9 @@ namespace Stripe public class CustomerUpdateOptions : BaseOptions, IHasMetadata { /// - /// The customer's address. + /// The customer's address. Learn about country-specific + /// requirements for calculating tax. /// [JsonProperty("address")] #if NET6_0_OR_GREATER @@ -51,14 +53,14 @@ public class CustomerUpdateOptions : BaseOptions, IHasMetadata /// /// If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// parameter. /// /// Provide the ID of a payment source already attached to this customer to make it this /// customer's default payment source. /// /// If you want to add a new payment source and make it the default, see the source + /// href="https://docs.stripe.com/api/customers/update#update_customer-source">source /// property. /// [JsonProperty("default_source")] @@ -116,7 +118,7 @@ public class CustomerUpdateOptions : BaseOptions, IHasMetadata public CustomerInvoiceSettingsOptions InvoiceSettings { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs b/src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs index 390596ecd1..2657bb9c5b 100644 --- a/src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs +++ b/src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs @@ -32,7 +32,7 @@ public class DisputeUpdateOptions : BaseOptions, IHasMetadata public string IntendedSubmissionMethod { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Events/EventUtility.cs b/src/Stripe.net/Services/Events/EventUtility.cs index d31d381ae0..657800cc77 100644 --- a/src/Stripe.net/Services/Events/EventUtility.cs +++ b/src/Stripe.net/Services/Events/EventUtility.cs @@ -218,7 +218,14 @@ private static bool IsSignaturePresent(string signature, IEnumerable sig return signatures.Any(key => StringUtils.SecureEquals(key, signature)); } - private static string ComputeSignature(string secret, string timestamp, string payload) + /// + /// Computes the signature for a given payload. + /// + /// The webhook endpoint's signing secret. + /// The timestamp of the payload. + /// The payload to compute the signature for. + /// The computed signature. + public static string ComputeSignature(string secret, string timestamp, string payload) { var secretBytes = SafeUTF8.GetBytes(secret); var payloadBytes = SafeUTF8.GetBytes($"{timestamp}.{payload}"); diff --git a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountCreateOptions.cs b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountCreateOptions.cs index 81c34a6691..a8615ea9f1 100644 --- a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountCreateOptions.cs +++ b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountCreateOptions.cs @@ -22,7 +22,7 @@ public class ExternalAccountCreateOptions : BaseOptions, IHasMetadata /// /// Either a token, like the ones returned by Stripe.js, or a dictionary containing a user’s + /// href="https://docs.stripe.com/js">Stripe.js, or a dictionary containing a user’s /// external account details (with the options shown below). /// [JsonProperty("external_account")] @@ -34,7 +34,7 @@ public class ExternalAccountCreateOptions : BaseOptions, IHasMetadata public AnyOf ExternalAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs index ca5d7bbcad..1f1039e505 100644 --- a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs +++ b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountDocumentsBankAccountOwnershipVerificationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class ExternalAccountDocumentsBankAccountOwnershipVerificationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs index 6b16c03136..0b6006dce6 100644 --- a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs @@ -131,7 +131,7 @@ public class ExternalAccountUpdateOptions : BaseOptions, IHasMetadata public string ExpYear { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/FileLinks/FileLinkCreateOptions.cs b/src/Stripe.net/Services/FileLinks/FileLinkCreateOptions.cs index 7b5790dbbf..f5bfeac3f2 100644 --- a/src/Stripe.net/Services/FileLinks/FileLinkCreateOptions.cs +++ b/src/Stripe.net/Services/FileLinks/FileLinkCreateOptions.cs @@ -38,7 +38,7 @@ public class FileLinkCreateOptions : BaseOptions, IHasMetadata public string File { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/FileLinks/FileLinkUpdateOptions.cs b/src/Stripe.net/Services/FileLinks/FileLinkUpdateOptions.cs index f830e191af..5590f295d6 100644 --- a/src/Stripe.net/Services/FileLinks/FileLinkUpdateOptions.cs +++ b/src/Stripe.net/Services/FileLinks/FileLinkUpdateOptions.cs @@ -24,7 +24,7 @@ public class FileLinkUpdateOptions : BaseOptions, IHasMetadata public DateTime? ExpiresAt { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Files/FileCreateOptions.cs b/src/Stripe.net/Services/Files/FileCreateOptions.cs index be96d6720e..9dfc810809 100644 --- a/src/Stripe.net/Services/Files/FileCreateOptions.cs +++ b/src/Stripe.net/Services/Files/FileCreateOptions.cs @@ -20,7 +20,7 @@ public class FileCreateOptions : BaseOptions /// /// Optional parameters that automatically create a file link for the newly created file. + /// href="https://api.stripe.com#file_links">file link for the newly created file. /// [JsonProperty("file_link_data")] #if NET6_0_OR_GREATER @@ -29,7 +29,7 @@ public class FileCreateOptions : BaseOptions public FileFileLinkDataOptions FileLinkData { get; set; } /// - /// The purpose of the + /// The purpose of the /// uploaded file. /// One of: account_requirement, additional_verification, /// business_icon, business_logo, customer_signature, diff --git a/src/Stripe.net/Services/Files/FileFileLinkDataOptions.cs b/src/Stripe.net/Services/Files/FileFileLinkDataOptions.cs index 1a57e8f694..a222f7b6dc 100644 --- a/src/Stripe.net/Services/Files/FileFileLinkDataOptions.cs +++ b/src/Stripe.net/Services/Files/FileFileLinkDataOptions.cs @@ -37,7 +37,7 @@ public class FileFileLinkDataOptions : INestedOptions, IHasMetadata public DateTime? ExpiresAt { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/FinancialConnections/Accounts/AccountAccountHolderOptions.cs b/src/Stripe.net/Services/FinancialConnections/Accounts/AccountAccountHolderOptions.cs index 7ede98640c..6de73628eb 100644 --- a/src/Stripe.net/Services/FinancialConnections/Accounts/AccountAccountHolderOptions.cs +++ b/src/Stripe.net/Services/FinancialConnections/Accounts/AccountAccountHolderOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.FinancialConnections public class AccountAccountHolderOptions : INestedOptions { /// - /// The ID of the Stripe account whose accounts will be retrieved. + /// The ID of the Stripe account whose accounts you will retrieve. /// [JsonProperty("account")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class AccountAccountHolderOptions : INestedOptions public string Account { get; set; } /// - /// The ID of the Stripe customer whose accounts will be retrieved. + /// The ID of the Stripe customer whose accounts you will retrieve. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -27,7 +27,7 @@ public class AccountAccountHolderOptions : INestedOptions public string Customer { get; set; } /// - /// The Account ID of the Stripe customer whose accounts will be retrieved. + /// The ID of the Account representing a customer whose accounts you will retrieve. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionAccountHolderOptions.cs b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionAccountHolderOptions.cs index 6a65248c3d..19c30fee53 100644 --- a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionAccountHolderOptions.cs +++ b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionAccountHolderOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.FinancialConnections public class SessionAccountHolderOptions : INestedOptions { /// - /// The ID of the Stripe account whose accounts will be retrieved. Should only be present if + /// The ID of the Stripe account whose accounts you will retrieve. Only available when /// type is account. /// [JsonProperty("account")] @@ -19,8 +19,8 @@ public class SessionAccountHolderOptions : INestedOptions public string Account { get; set; } /// - /// The ID of the Stripe customer whose accounts will be retrieved. Should only be present - /// if type is customer. + /// The ID of the Stripe customer whose accounts you will retrieve. Only available when + /// type is customer. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -29,8 +29,8 @@ public class SessionAccountHolderOptions : INestedOptions public string Customer { get; set; } /// - /// The ID of the Stripe customer Account whose accounts will be retrieved. Should only be - /// present if type is customer. + /// The ID of Account representing a customer whose accounts you will retrieve. Only + /// available when type is customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs b/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs index 2895ced1cf..98a711649d 100644 --- a/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs +++ b/src/Stripe.net/Services/Forwarding/Requests/RequestCreateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Forwarding public class RequestCreateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionCreateOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionCreateOptions.cs index a7bf452ad0..a2b2edd848 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionCreateOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionCreateOptions.cs @@ -20,7 +20,7 @@ public class VerificationSessionCreateOptions : BaseOptions, IHasMetadata public string ClientReferenceId { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -59,7 +59,7 @@ public class VerificationSessionCreateOptions : BaseOptions, IHasMetadata public string RelatedCustomer { get; set; } /// - /// Token referencing a Customer Account resource. + /// The ID of the Account representing a customer. /// [JsonProperty("related_customer_account")] #if NET6_0_OR_GREATER @@ -86,7 +86,7 @@ public class VerificationSessionCreateOptions : BaseOptions, IHasMetadata public string ReturnUrl { get; set; } /// - /// The type of verification + /// The type of verification /// check to be performed. You must provide a type if not passing /// verification_flow. /// One of: document, or id_number. diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionListOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionListOptions.cs index 4444ff3eed..1ece78483d 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionListOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionListOptions.cs @@ -31,12 +31,18 @@ public class VerificationSessionListOptions : ListOptions #endif public AnyOf Created { get; set; } + /// + /// Customer ID. + /// [JsonProperty("related_customer")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("related_customer")] #endif public string RelatedCustomer { get; set; } + /// + /// The ID of the Account representing a customer. + /// [JsonProperty("related_customer_account")] #if NET6_0_OR_GREATER [STJS.JsonPropertyName("related_customer_account")] @@ -45,7 +51,7 @@ public class VerificationSessionListOptions : ListOptions /// /// Only return VerificationSessions with this status. Learn more about the lifecycle + /// href="https://docs.stripe.com/identity/how-sessions-work">Learn more about the lifecycle /// of sessions. /// One of: canceled, processing, requires_input, or verified. /// diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs index a1ad94f4eb..11c9ccbeaa 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs @@ -23,7 +23,7 @@ public class VerificationSessionOptionsDocumentOptions : INestedOptions /// /// Collect an ID number and perform an ID number + /// href="https://docs.stripe.com/identity/verification-checks?type=id-number">ID number /// check with the document’s extracted name and date of birth. /// [JsonProperty("require_id_number")] @@ -44,9 +44,9 @@ public class VerificationSessionOptionsDocumentOptions : INestedOptions /// /// Capture a face image and perform a selfie check + /// href="https://docs.stripe.com/identity/verification-checks?type=selfie">selfie check /// comparing a photo ID and a picture of your user’s face. Learn more. + /// href="https://docs.stripe.com/identity/selfie">Learn more. /// [JsonProperty("require_matching_selfie")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsOptions.cs index f6d7f02da0..855fd26294 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsOptions.cs @@ -10,7 +10,7 @@ public class VerificationSessionOptionsOptions : INestedOptions { /// /// Options that apply to the document + /// href="https://docs.stripe.com/identity/verification-checks?type=document">document /// check. /// [JsonProperty("document")] diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionUpdateOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionUpdateOptions.cs index 209dc1751b..4fbcb88736 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionUpdateOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Identity public class VerificationSessionUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -40,7 +40,7 @@ public class VerificationSessionUpdateOptions : BaseOptions, IHasMetadata public VerificationSessionProvidedDetailsOptions ProvidedDetails { get; set; } /// - /// The type of verification + /// The type of verification /// check to be performed. /// One of: document, or id_number. /// diff --git a/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs b/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs index 811eb4576a..a6ee1472e2 100644 --- a/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs +++ b/src/Stripe.net/Services/InvoiceItems/InvoiceItemCreateOptions.cs @@ -32,7 +32,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public string Currency { get; set; } /// - /// The ID of the customer who will be billed when this invoice item is billed. + /// The ID of the customer to bill for this invoice item. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -41,7 +41,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// The ID of the account who will be billed when this invoice item is billed. + /// The ID of the account representing the customer to bill for this invoice item. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -104,7 +104,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public List Margins { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -118,9 +118,9 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata /// /// The period associated with this invoice item. When set to different values, the period /// will be rendered on the invoice. If you have Stripe Revenue Recognition + /// href="https://docs.stripe.com/revenue-recognition">Stripe Revenue Recognition /// enabled, the period will be used to recognize and defer revenue. See the Revenue + /// href="https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing">Revenue /// Recognition documentation for details. /// [JsonProperty("period")] @@ -130,7 +130,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public InvoiceItemPeriodOptions Period { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -172,7 +172,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or @@ -186,7 +186,7 @@ public class InvoiceItemCreateOptions : BaseOptions, IHasMetadata public string TaxBehavior { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs b/src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs index d660b0418f..d523cc11b4 100644 --- a/src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs +++ b/src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs @@ -22,8 +22,8 @@ public class InvoiceItemListOptions : ListOptions public AnyOf Created { get; set; } /// - /// The identifier of the customer whose invoice items to return. If none is provided, all - /// invoice items will be returned. + /// The identifier of the customer whose invoice items to return. If none is provided, + /// returns all invoice items. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -32,8 +32,8 @@ public class InvoiceItemListOptions : ListOptions public string Customer { get; set; } /// - /// The identifier of the account whose invoice items to return. If none is provided, all - /// invoice items will be returned. + /// The identifier of the account representing the customer whose invoice items to return. + /// If none is provided, returns all invoice items. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/InvoiceItems/InvoiceItemPriceDataOptions.cs b/src/Stripe.net/Services/InvoiceItems/InvoiceItemPriceDataOptions.cs index 3342f8edb1..03d762394c 100644 --- a/src/Stripe.net/Services/InvoiceItems/InvoiceItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/InvoiceItems/InvoiceItemPriceDataOptions.cs @@ -31,7 +31,7 @@ public class InvoiceItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/InvoiceItems/InvoiceItemUpdateOptions.cs b/src/Stripe.net/Services/InvoiceItems/InvoiceItemUpdateOptions.cs index 2961924569..7d23c5f0e8 100644 --- a/src/Stripe.net/Services/InvoiceItems/InvoiceItemUpdateOptions.cs +++ b/src/Stripe.net/Services/InvoiceItems/InvoiceItemUpdateOptions.cs @@ -63,7 +63,7 @@ public class InvoiceItemUpdateOptions : BaseOptions, IHasMetadata public List Margins { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -77,9 +77,9 @@ public class InvoiceItemUpdateOptions : BaseOptions, IHasMetadata /// /// The period associated with this invoice item. When set to different values, the period /// will be rendered on the invoice. If you have Stripe Revenue Recognition + /// href="https://docs.stripe.com/revenue-recognition">Stripe Revenue Recognition /// enabled, the period will be used to recognize and defer revenue. See the Revenue + /// href="https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing">Revenue /// Recognition documentation for details. /// [JsonProperty("period")] @@ -89,7 +89,7 @@ public class InvoiceItemUpdateOptions : BaseOptions, IHasMetadata public InvoiceItemPeriodOptions Period { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -118,7 +118,7 @@ public class InvoiceItemUpdateOptions : BaseOptions, IHasMetadata /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or @@ -132,7 +132,7 @@ public class InvoiceItemUpdateOptions : BaseOptions, IHasMetadata public string TaxBehavior { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataOptions.cs b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataOptions.cs index 9892e2bd2c..175b77be57 100644 --- a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataOptions.cs @@ -42,7 +42,7 @@ public class InvoiceLineItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataProductDataOptions.cs b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataProductDataOptions.cs index 0ac5c7fe54..1095266ed4 100644 --- a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataProductDataOptions.cs +++ b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemPriceDataProductDataOptions.cs @@ -31,7 +31,7 @@ public class InvoiceLineItemPriceDataProductDataOptions : INestedOptions, IHasMe public List Images { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -52,7 +52,7 @@ public class InvoiceLineItemPriceDataProductDataOptions : INestedOptions, IHasMe public string Name { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemUpdateOptions.cs b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemUpdateOptions.cs index d4f2ff4ac0..7203b648e3 100644 --- a/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemUpdateOptions.cs +++ b/src/Stripe.net/Services/InvoiceLineItems/InvoiceLineItemUpdateOptions.cs @@ -63,11 +63,11 @@ public class InvoiceLineItemUpdateOptions : BaseOptions, IHasMetadata public List Margins { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. For type=subscription + /// href="https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type">type=subscription /// line items, the incoming metadata specified on the request is directly used to set this /// value, in contrast to type=invoiceitem line @@ -82,9 +82,9 @@ public class InvoiceLineItemUpdateOptions : BaseOptions, IHasMetadata /// /// The period associated with this invoice item. When set to different values, the period /// will be rendered on the invoice. If you have Stripe Revenue Recognition + /// href="https://docs.stripe.com/revenue-recognition">Stripe Revenue Recognition /// enabled, the period will be used to recognize and defer revenue. See the Revenue + /// href="https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing">Revenue /// Recognition documentation for details. /// [JsonProperty("period")] @@ -94,7 +94,7 @@ public class InvoiceLineItemUpdateOptions : BaseOptions, IHasMetadata public InvoiceLineItemPeriodOptions Period { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -125,10 +125,10 @@ public class InvoiceLineItemUpdateOptions : BaseOptions, IHasMetadata /// A list of up to 10 tax amounts for this line item. This can be useful if you calculate /// taxes on your own or use a third-party to calculate them. You cannot set tax amounts if /// any line item has tax_rates + /// href="https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates">tax_rates /// or if the invoice has default_tax_rates - /// or uses automatic tax. Pass an empty + /// href="https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates">default_tax_rates + /// or uses automatic tax. Pass an empty /// string to remove previously defined tax amounts. /// [JsonProperty("tax_amounts")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceAddLinesOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceAddLinesOptions.cs index 5dcf77af81..b5ecc90427 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceAddLinesOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceAddLinesOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class InvoiceAddLinesOptions : BaseOptions { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Invoices/InvoiceAutomaticTaxOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceAutomaticTaxOptions.cs index 2bc7526b30..498083829b 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceAutomaticTaxOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceAutomaticTaxOptions.cs @@ -11,7 +11,7 @@ public class InvoiceAutomaticTaxOptions : INestedOptions /// /// Whether Stripe automatically computes tax on this invoice. Note that incompatible /// invoice items (invoice items with manually specified tax rates, negative amounts, or + /// href="https://docs.stripe.com/api/tax_rates">tax rates, negative amounts, or /// tax_behavior=unspecified) cannot be added to automatic tax invoices. /// [JsonProperty("enabled")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs index d815efe8d7..f692d9dc17 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCreateOptions.cs @@ -36,7 +36,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata /// to the application owner's Stripe account. The request must be made with an OAuth key or /// the Stripe-Account header in order to take an application fee. For more information, see /// the application fees documentation. + /// href="https://docs.stripe.com/billing/invoices/connect#collecting-fees">documentation. /// [JsonProperty("application_fee_amount")] #if NET6_0_OR_GREATER @@ -46,7 +46,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata /// /// Controls whether Stripe performs automatic + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">automatic /// collection of the invoice. If false, the invoice's state doesn't /// automatically advance without an explicit action. Defaults to false. /// @@ -110,7 +110,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata public List CustomFields { get; set; } /// - /// The ID of the customer who will be billed. + /// The ID of the customer to bill. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -119,7 +119,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// The ID of the account who will be billed. + /// The ID of the account to bill. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -235,7 +235,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata /// /// Revise an existing invoice. The new invoice will be created in status=draft. See - /// the revision + /// the revision /// documentation for more details. /// [JsonProperty("from_invoice")] @@ -255,7 +255,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata public InvoiceIssuerOptions Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -283,7 +283,7 @@ public class InvoiceCreateOptions : BaseOptions, IHasMetadata /// /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// [JsonProperty("on_behalf_of")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceCreatePreviewOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCreatePreviewOptions.cs index 1a5bdf3328..b1e76df229 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCreatePreviewOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCreatePreviewOptions.cs @@ -20,7 +20,7 @@ public class InvoiceCreatePreviewOptions : BaseOptions /// /// The identifier of the billing cadence for which you’d like to retrieve the upcoming - /// invoice.Cannot be provided when subscription, schedule, + /// invoice. Cannot be provided when subscription, schedule, /// subscription_details or schedule_details are provided. /// [JsonProperty("billing_cadence")] @@ -40,7 +40,7 @@ public class InvoiceCreatePreviewOptions : BaseOptions public string Currency { get; set; } /// - /// The identifier of the customer whose upcoming invoice you'd like to retrieve. If + /// The identifier of the customer whose upcoming invoice you're retrieving. If /// automatic_tax is enabled then one of customer, customer_details, /// subscription, or schedule must be set. /// @@ -51,9 +51,10 @@ public class InvoiceCreatePreviewOptions : BaseOptions public string Customer { get; set; } /// - /// The identifier of the account whose upcoming invoice you'd like to retrieve. If - /// automatic_tax is enabled then one of customer, customer_account, - /// customer_details, subscription, or schedule must be set. + /// The identifier of the account representing the customer whose upcoming invoice you're + /// retrieving. If automatic_tax is enabled then one of customer, + /// customer_account, customer_details, subscription, or + /// schedule must be set. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -106,7 +107,7 @@ public class InvoiceCreatePreviewOptions : BaseOptions /// /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// [JsonProperty("on_behalf_of")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs index 96ccaf8ead..a26d59da52 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs @@ -10,7 +10,9 @@ namespace Stripe public class InvoiceCustomerDetailsOptions : INestedOptions { /// - /// The customer's address. + /// The customer's address. Learn about country-specific + /// requirements for calculating tax. /// [JsonProperty("address")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Invoices/InvoiceFinalizeOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceFinalizeOptions.cs index 9dd92e1684..fdef07e3fe 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceFinalizeOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceFinalizeOptions.cs @@ -10,7 +10,7 @@ public class InvoiceFinalizeOptions : BaseOptions { /// /// Controls whether Stripe performs automatic + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">automatic /// collection of the invoice. If false, the invoice's state doesn't /// automatically advance without an explicit action. /// diff --git a/src/Stripe.net/Services/Invoices/InvoiceLineOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceLineOptions.cs index fbb16900bb..d17ae899c3 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceLineOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceLineOptions.cs @@ -93,11 +93,11 @@ public class InvoiceLineOptions : INestedOptions, IHasMetadata, IHasId public List Margins { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. For type=subscription + /// href="https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type">type=subscription /// line items, the incoming metadata specified on the request is directly used to set this /// value, in contrast to type=invoiceitem line @@ -112,9 +112,9 @@ public class InvoiceLineOptions : INestedOptions, IHasMetadata, IHasId /// /// The period associated with this invoice item. When set to different values, the period /// will be rendered on the invoice. If you have Stripe Revenue Recognition + /// href="https://docs.stripe.com/revenue-recognition">Stripe Revenue Recognition /// enabled, the period will be used to recognize and defer revenue. See the Revenue + /// href="https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing">Revenue /// Recognition documentation for details. /// [JsonProperty("period")] @@ -124,7 +124,7 @@ public class InvoiceLineOptions : INestedOptions, IHasMetadata, IHasId public InvoiceLinePeriodOptions Period { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -155,10 +155,10 @@ public class InvoiceLineOptions : INestedOptions, IHasMetadata, IHasId /// A list of up to 10 tax amounts for this line item. This can be useful if you calculate /// taxes on your own or use a third-party to calculate them. You cannot set tax amounts if /// any line item has tax_rates + /// href="https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates">tax_rates /// or if the invoice has default_tax_rates - /// or uses automatic tax. Pass an empty + /// href="https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates">default_tax_rates + /// or uses automatic tax. Pass an empty /// string to remove previously defined tax amounts. /// [JsonProperty("tax_amounts")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataOptions.cs index f6150f0846..c39ff475e2 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataOptions.cs @@ -42,7 +42,7 @@ public class InvoiceLinePriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataProductDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataProductDataOptions.cs index 0573c7291d..4dd19ecb41 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataProductDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceLinePriceDataProductDataOptions.cs @@ -31,7 +31,7 @@ public class InvoiceLinePriceDataProductDataOptions : INestedOptions, IHasMetada public List Images { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -52,7 +52,7 @@ public class InvoiceLinePriceDataProductDataOptions : INestedOptions, IHasMetada public string Name { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Invoices/InvoiceListOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceListOptions.cs index 318a333792..3066a9552e 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceListOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceListOptions.cs @@ -42,7 +42,8 @@ public class InvoiceListOptions : ListOptions public string Customer { get; set; } /// - /// Only return invoices for the account specified by this account ID. + /// Only return invoices for the account representing the customer specified by this account + /// ID. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -61,7 +62,7 @@ public class InvoiceListOptions : ListOptions /// /// The status of the invoice, one of draft, open, paid, /// uncollectible, or void. Learn + /// href="https://docs.stripe.com/billing/invoices/workflow#workflow-overview">Learn /// more. /// One of: draft, open, paid, uncollectible, or void. /// diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentRecordDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentRecordDataOptions.cs index ed39ed336c..2a21b7a239 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentRecordDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentRecordDataOptions.cs @@ -30,7 +30,7 @@ public class InvoicePaymentRecordDataOptions : INestedOptions, IHasMetadata public string Currency { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs index 4f73f01a5e..27359c35c3 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs @@ -43,7 +43,7 @@ public class InvoicePaymentSettingsOptions : INestedOptions /// id_bank_transfer, ideal, jp_credit_transfer, kakao_pay, /// klarna, konbini, kr_card, link, multibanco, /// naver_pay, nz_bank_account, p24, payco, paynow, - /// paypal, pix, promptpay, revolut_pay, + /// paypal, payto, pix, promptpay, revolut_pay, /// sepa_credit_transfer, sepa_debit, sofort, stripe_balance, /// swish, upi, us_bank_account, or wechat_pay. /// diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs index e02c086715..163a0a74bf 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCardOptions.cs @@ -12,7 +12,7 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCardOptions : INestedOpti /// Installment configuration for payments attempted on this invoice. /// /// For more information, see the installments integration guide. + /// href="https://docs.stripe.com/payments/installments">installments integration guide. /// [JsonProperty("installments")] #if NET6_0_OR_GREATER @@ -23,10 +23,10 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCardOptions : INestedOpti /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. Read our guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsOptions.cs index 9901b8f6d6..8679fbe57b 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsOptions.cs @@ -68,6 +68,16 @@ public class InvoicePaymentSettingsPaymentMethodOptionsOptions : INestedOptions #endif public InvoicePaymentSettingsPaymentMethodOptionsKonbiniOptions Konbini { get; set; } + /// + /// If paying by payto, this sub-hash contains details about the PayTo payment method + /// options to pass to the invoice’s PaymentIntent. + /// + [JsonProperty("payto")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payto")] +#endif + public InvoicePaymentSettingsPaymentMethodOptionsPaytoOptions Payto { get; set; } + /// /// If paying by pix, this sub-hash contains details about the Pix payment method /// options to pass to the invoice’s PaymentIntent. diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs new file mode 100644 index 0000000000..2ee1f7c92a --- /dev/null +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs @@ -0,0 +1,34 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions : INestedOptions + { + /// + /// The maximum amount that can be collected in a single invoice. If you don't specify a + /// maximum, then there is no limit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// The purpose for which payments are made. Has a default value based on your merchant + /// category code. + /// One of: dependant_support, government, loan, mortgage, + /// other, pension, personal, retail, salary, tax, + /// or utility. + /// + [JsonProperty("purpose")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("purpose")] +#endif + public string Purpose { get; set; } + } +} diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoOptions.cs new file mode 100644 index 0000000000..9d2ab820b6 --- /dev/null +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InvoicePaymentSettingsPaymentMethodOptionsPaytoOptions : INestedOptions + { + /// + /// Additional fields for Mandate creation. + /// + [JsonProperty("mandate_options")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("mandate_options")] +#endif + public InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions MandateOptions { get; set; } + } +} diff --git a/src/Stripe.net/Services/Invoices/InvoiceRemoveLinesOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceRemoveLinesOptions.cs index 065693e2e0..fb77848944 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceRemoveLinesOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceRemoveLinesOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class InvoiceRemoveLinesOptions : BaseOptions { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsAmendmentItemActionAddOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsAmendmentItemActionAddOptions.cs index 132a3d0d21..6c09846c98 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsAmendmentItemActionAddOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsAmendmentItemActionAddOptions.cs @@ -20,7 +20,7 @@ public class InvoiceScheduleDetailsAmendmentItemActionAddOptions : INestedOption public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemOptions.cs index fac06b2ec2..8377859ce9 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemOptions.cs @@ -19,7 +19,7 @@ public class InvoiceScheduleDetailsPhaseAddInvoiceItemOptions : INestedOptions, public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -51,7 +51,7 @@ public class InvoiceScheduleDetailsPhaseAddInvoiceItemOptions : INestedOptions, public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemPriceDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemPriceDataOptions.cs index 8580a64dfe..6383f956c3 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseAddInvoiceItemPriceDataOptions.cs @@ -31,7 +31,7 @@ public class InvoiceScheduleDetailsPhaseAddInvoiceItemPriceDataOptions : INested /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemBillingThresholdsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemBillingThresholdsOptions.cs index d7b15b3f94..864b763213 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemBillingThresholdsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemBillingThresholdsOptions.cs @@ -11,7 +11,7 @@ public class InvoiceScheduleDetailsPhaseItemBillingThresholdsOptions : INestedOp /// /// Number of units that meets the billing threshold to advance the subscription to a new /// billing period (e.g., it takes 10 $5 units to meet a $50 monetary + /// href="https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte">monetary /// threshold). /// [JsonProperty("usage_gte")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemOptions.cs index 34a16699af..1ab2ec27f0 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemOptions.cs @@ -29,7 +29,7 @@ public class InvoiceScheduleDetailsPhaseItemOptions : INestedOptions, IHasMetada public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a configuration item. Metadata on a configuration item will update the /// underlying subscription item's metadata when the phase is entered, adding new /// keys and replacing existing keys. Individual keys in the subscription item's @@ -64,7 +64,7 @@ public class InvoiceScheduleDetailsPhaseItemOptions : INestedOptions, IHasMetada public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -84,9 +84,9 @@ public class InvoiceScheduleDetailsPhaseItemOptions : INestedOptions, IHasMetada public long? Quantity { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemPriceDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemPriceDataOptions.cs index a4a9b59285..494a30d1e9 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseItemPriceDataOptions.cs @@ -40,7 +40,7 @@ public class InvoiceScheduleDetailsPhaseItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs index 00d02102ee..90483225e8 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceScheduleDetailsPhaseOptions.cs @@ -49,7 +49,7 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata /// automatic to automatically change it if needed. Cannot be set to /// phase_start if this phase specifies a trial. For more information, see the /// billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] @@ -105,11 +105,11 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata public string DefaultPaymentMethod { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will set the Subscription's default_tax_rates, + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates, /// which means they will be the Invoice's default_tax_rates + /// href="https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates">default_tax_rates /// for any Invoices issued by the Subscription during this Phase. /// [JsonProperty("default_tax_rates")] @@ -150,8 +150,8 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata public InvoiceScheduleDetailsPhaseDurationOptions Duration { get; set; } /// - /// The date at which this phase of the subscription schedule ends. If set, - /// iterations must not be set. + /// The date at which this phase of the subscription schedule ends. If set, duration + /// must not be set. /// [JsonProperty("end_date")] [JsonConverter(typeof(AnyOfConverter))] @@ -181,7 +181,7 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a phase. Metadata on a schedule's phase will update the underlying /// subscription's metadata when the phase is entered, adding new keys and replacing /// existing keys in the subscription's metadata. Individual keys in the @@ -209,7 +209,7 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] @@ -220,10 +220,10 @@ public class InvoiceScheduleDetailsPhaseOptions : INestedOptions, IHasMetadata /// /// Controls whether the subscription schedule should create prorations when + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when /// transitioning to this phase if there is a difference in billing configuration. It's /// different from the request-level proration_behavior + /// href="https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior">proration_behavior /// parameter which controls what happens if the update request affects the billing /// configuration (item price, quantity, etc.) of the current phase. /// One of: always_invoice, create_prorations, or none. diff --git a/src/Stripe.net/Services/Invoices/InvoiceShippingCostShippingRateDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceShippingCostShippingRateDataOptions.cs index 3fc65c17cb..dc15b224bd 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceShippingCostShippingRateDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceShippingCostShippingRateDataOptions.cs @@ -40,7 +40,7 @@ public class InvoiceShippingCostShippingRateDataOptions : INestedOptions, IHasMe public InvoiceShippingCostShippingRateDataFixedAmountOptions FixedAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -63,7 +63,7 @@ public class InvoiceShippingCostShippingRateDataOptions : INestedOptions, IHasMe public string TaxBehavior { get; set; } /// - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemBillingThresholdsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemBillingThresholdsOptions.cs index 442591b03f..6ed5061ec8 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemBillingThresholdsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemBillingThresholdsOptions.cs @@ -11,7 +11,7 @@ public class InvoiceSubscriptionDetailsItemBillingThresholdsOptions : INestedOpt /// /// Number of units that meets the billing threshold to advance the subscription to a new /// billing period (e.g., it takes 10 $5 units to meet a $50 monetary + /// href="https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte">monetary /// threshold). /// [JsonProperty("usage_gte")] diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs index 5bc05564d7..bbb90e203b 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemOptions.cs @@ -58,7 +58,7 @@ public class InvoiceSubscriptionDetailsItemOptions : INestedOptions, IHasId, IHa public string Id { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -90,7 +90,7 @@ public class InvoiceSubscriptionDetailsItemOptions : INestedOptions, IHasId, IHa public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] @@ -109,9 +109,9 @@ public class InvoiceSubscriptionDetailsItemOptions : INestedOptions, IHasId, IHa public long? Quantity { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemPriceDataOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemPriceDataOptions.cs index ffd627552a..bfd7cc2139 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsItemPriceDataOptions.cs @@ -40,7 +40,7 @@ public class InvoiceSubscriptionDetailsItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs index cd87bf4266..0f250a9842 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceSubscriptionDetailsOptions.cs @@ -13,7 +13,7 @@ public class InvoiceSubscriptionDetailsOptions : INestedOptions { /// /// For new subscriptions, a future timestamp to anchor the subscription's billing cycle. This is + /// href="https://docs.stripe.com/subscriptions/billing-cycle">billing cycle. This is /// used to determine the date of the first full invoice, and, for plans with month /// or year intervals, the day of the month for subsequent invoices. For existing /// subscriptions, the value can only be set to now or unchanged. @@ -108,7 +108,7 @@ public class InvoiceSubscriptionDetailsOptions : INestedOptions /// /// Determines how to handle prorations when the + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when the /// billing cycle changes (e.g., when switching plans, resetting /// billing_cycle_anchor=now, or starting a trial), or if an item's quantity /// changes. The default value is create_prorations. diff --git a/src/Stripe.net/Services/Invoices/InvoiceUpdateLinesOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceUpdateLinesOptions.cs index 52dcfd7f11..1ba8ff68ed 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceUpdateLinesOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceUpdateLinesOptions.cs @@ -10,11 +10,11 @@ namespace Stripe public class InvoiceUpdateLinesOptions : BaseOptions { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. For type=subscription + /// href="https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type">type=subscription /// line items, the incoming metadata specified on the request is directly used to set this /// value, in contrast to type=invoiceitem line diff --git a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs index e688aab13f..dcc7cd3cae 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceUpdateOptions.cs @@ -36,7 +36,7 @@ public class InvoiceUpdateOptions : BaseOptions, IHasMetadata /// to the application owner's Stripe account. The request must be made with an OAuth key or /// the Stripe-Account header in order to take an application fee. For more information, see /// the application fees documentation. + /// href="https://docs.stripe.com/billing/invoices/connect#collecting-fees">documentation. /// [JsonProperty("application_fee_amount")] #if NET6_0_OR_GREATER @@ -46,7 +46,7 @@ public class InvoiceUpdateOptions : BaseOptions, IHasMetadata /// /// Controls whether Stripe performs automatic + /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">automatic /// collection of the invoice. /// [JsonProperty("auto_advance")] @@ -218,7 +218,7 @@ public class InvoiceUpdateOptions : BaseOptions, IHasMetadata public InvoiceIssuerOptions Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -246,7 +246,7 @@ public class InvoiceUpdateOptions : BaseOptions, IHasMetadata /// /// The account (if any) for which the funds of the invoice payment are intended. If set, /// the invoice will be presented with the branding and support information of the specified - /// account. See the Invoices + /// account. See the Invoices /// with Connect documentation for details. /// [JsonProperty("on_behalf_of")] diff --git a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationApproveOptions.cs b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationApproveOptions.cs index a812d63609..49e8c26ff2 100644 --- a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationApproveOptions.cs +++ b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationApproveOptions.cs @@ -13,7 +13,7 @@ public class AuthorizationApproveOptions : BaseOptions, IHasMetadata /// If the authorization's pending_request.is_amount_controllable property is /// true, you may provide this value to control how much to hold for the /// authorization. Must be positive (use decline to + /// href="https://docs.stripe.com/api/issuing/authorizations/decline">decline to /// decline an authorization request). /// [JsonProperty("amount")] @@ -23,7 +23,7 @@ public class AuthorizationApproveOptions : BaseOptions, IHasMetadata public long? Amount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationDeclineOptions.cs b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationDeclineOptions.cs index d406146619..bf68dfebfe 100644 --- a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationDeclineOptions.cs +++ b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationDeclineOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing public class AuthorizationDeclineOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationUpdateOptions.cs index 219fe69869..896a58a2d8 100644 --- a/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Authorizations/AuthorizationUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing public class AuthorizationUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs index db3a159731..3d72304e4f 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs @@ -46,7 +46,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata public CardholderIndividualOptions Individual { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -74,7 +74,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata /// format already. This is required for all cardholders who will be creating EU cards. /// While phone number is optional if the cardholder will not be creating EU cards, note /// that this cardholder will not be eligible for 3DS without a phone number. See the 3D Secure + /// href="https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied">3D Secure /// documentation for more details. /// [JsonProperty("phone_number")] @@ -86,7 +86,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata /// /// The cardholder’s preferred locales (languages), ordered by preference. Locales can be /// de, en, es, fr, or it. This changes the language of - /// the 3D Secure flow and one-time + /// the 3D Secure flow and one-time /// password messages sent to the cardholder. /// One of: de, en, es, fr, or it. /// @@ -98,7 +98,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata /// /// Rules that control spending across this cardholder's cards. Refer to our documentation for + /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for /// more details. /// [JsonProperty("spending_controls")] @@ -120,7 +120,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata /// /// One of individual or company. See Choose a cardholder + /// href="https://docs.stripe.com/issuing/other/choose-cardholder">Choose a cardholder /// type for more details. /// One of: company, or individual. /// diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderIndividualVerificationDocumentOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderIndividualVerificationDocumentOptions.cs index db3d47ef0b..95a09107ba 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderIndividualVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderIndividualVerificationDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.Issuing public class CardholderIndividualVerificationDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonProperty("back")] @@ -19,7 +19,7 @@ public class CardholderIndividualVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. /// [JsonProperty("front")] diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs index e876cfc29a..ef59663b53 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs @@ -11,7 +11,7 @@ public class CardholderSpendingControlsOptions : INestedOptions { /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, @@ -180,7 +180,7 @@ public class CardholderSpendingControlsOptions : INestedOptions /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs index c59d829d10..43da92162b 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs @@ -20,7 +20,7 @@ public class CardholderSpendingControlsSpendingLimitOptions : INestedOptions /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// this limit applies to. Omitting this field will apply the limit to all categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs index 220b607d10..bdc319a6bb 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs @@ -46,7 +46,7 @@ public class CardholderUpdateOptions : BaseOptions, IHasMetadata public CardholderIndividualOptions Individual { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -59,7 +59,7 @@ public class CardholderUpdateOptions : BaseOptions, IHasMetadata /// /// The cardholder's phone number. This is required for all cardholders who will be creating - /// EU cards. See the 3D Secure + /// EU cards. See the 3D Secure /// documentation for more details. /// [JsonProperty("phone_number")] @@ -71,7 +71,7 @@ public class CardholderUpdateOptions : BaseOptions, IHasMetadata /// /// The cardholder’s preferred locales (languages), ordered by preference. Locales can be /// de, en, es, fr, or it. This changes the language of - /// the 3D Secure flow and one-time + /// the 3D Secure flow and one-time /// password messages sent to the cardholder. /// One of: de, en, es, fr, or it. /// @@ -83,7 +83,7 @@ public class CardholderUpdateOptions : BaseOptions, IHasMetadata /// /// Rules that control spending across this cardholder's cards. Refer to our documentation for + /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for /// more details. /// [JsonProperty("spending_controls")] diff --git a/src/Stripe.net/Services/Issuing/Cards/CardCreateOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardCreateOptions.cs index 159d5db7f0..69ea6435a6 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardCreateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardCreateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing public class CardCreateOptions : BaseOptions, IHasMetadata { /// - /// The Cardholder + /// The Cardholder /// object with which the card will be associated. /// [JsonProperty("cardholder")] @@ -61,7 +61,7 @@ public class CardCreateOptions : BaseOptions, IHasMetadata public string FinancialAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -130,7 +130,7 @@ public class CardCreateOptions : BaseOptions, IHasMetadata /// /// Rules that control spending for this card. Refer to our documentation for + /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for /// more details. /// [JsonProperty("spending_controls")] diff --git a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs index 16b1e13a88..6aed214e2c 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs @@ -11,7 +11,7 @@ public class CardSpendingControlsOptions : INestedOptions { /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, @@ -180,7 +180,7 @@ public class CardSpendingControlsOptions : INestedOptions /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, diff --git a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs index be19eb293a..4367a06ea6 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs @@ -20,7 +20,7 @@ public class CardSpendingControlsSpendingLimitOptions : INestedOptions /// /// Array of strings containing categories + /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories /// this limit applies to. Omitting this field will apply the limit to all categories. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Services/Issuing/Cards/CardUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardUpdateOptions.cs index a1ff6de337..de1d0fcd30 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardUpdateOptions.cs @@ -20,7 +20,7 @@ public class CardUpdateOptions : BaseOptions, IHasMetadata public string CancellationReason { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -57,7 +57,7 @@ public class CardUpdateOptions : BaseOptions, IHasMetadata /// /// Rules that control spending for this card. Refer to our documentation for + /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for /// more details. /// [JsonProperty("spending_controls")] diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCorrectOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCorrectOptions.cs index 8fabf9d1e1..e3af72ea32 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCorrectOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCorrectOptions.cs @@ -50,7 +50,7 @@ public class CreditUnderwritingRecordCorrectOptions : BaseOptions, IHasMetadata public CreditUnderwritingRecordDecisionOptions Decision { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -64,7 +64,7 @@ public class CreditUnderwritingRecordCorrectOptions : BaseOptions, IHasMetadata /// /// File containing regulatory reporting data for the decision. Required if you are subject /// to this reporting + /// href="https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions">reporting /// requirement. Optional if previously provided and no changes are needed. /// [JsonProperty("regulatory_reporting_file")] diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromApplicationOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromApplicationOptions.cs index b38cb9931e..adf20b72ae 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromApplicationOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromApplicationOptions.cs @@ -28,7 +28,7 @@ public class CreditUnderwritingRecordCreateFromApplicationOptions : BaseOptions, public CreditUnderwritingRecordCreditUserOptions CreditUser { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromProactiveReviewOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromProactiveReviewOptions.cs index b65dfc8a28..3dfc21b07d 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromProactiveReviewOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordCreateFromProactiveReviewOptions.cs @@ -41,7 +41,7 @@ public class CreditUnderwritingRecordCreateFromProactiveReviewOptions : BaseOpti public CreditUnderwritingRecordDecisionOptions Decision { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -55,7 +55,7 @@ public class CreditUnderwritingRecordCreateFromProactiveReviewOptions : BaseOpti /// /// File containing regulatory reporting data for the decision. Required if you are subject /// to this reporting + /// href="https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions">reporting /// requirement. /// [JsonProperty("regulatory_reporting_file")] diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApprovedOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApprovedOptions.cs index 064cc8d82c..05a485a95d 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApprovedOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApprovedOptions.cs @@ -10,7 +10,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitApprovedOptions : INeste { /// /// The credit approved, in the currency of the account and smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreasedOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreasedOptions.cs index ee507a84e5..95ef2aed3a 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreasedOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreasedOptions.cs @@ -11,7 +11,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitDecreasedOptions : INest { /// /// The credit approved, in the currency of the account and smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionOptions.cs index 8214ae7aff..9c3d283853 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionOptions.cs @@ -20,7 +20,7 @@ public class CreditUnderwritingRecordDecisionOptions : INestedOptions /// /// Details about the credit limit approved. An approved credit limit is required before you /// can set a credit_limit_amount in the CreditPolicy API. + /// href="https://docs.stripe.com/api/issuing/credit_policy/">CreditPolicy API. /// [JsonProperty("credit_limit_approved")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordReportDecisionOptions.cs b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordReportDecisionOptions.cs index 91046e88e2..1615155b85 100644 --- a/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordReportDecisionOptions.cs +++ b/src/Stripe.net/Services/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordReportDecisionOptions.cs @@ -32,7 +32,7 @@ public class CreditUnderwritingRecordReportDecisionOptions : BaseOptions, IHasMe public CreditUnderwritingRecordDecisionOptions Decision { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -46,7 +46,7 @@ public class CreditUnderwritingRecordReportDecisionOptions : BaseOptions, IHasMe /// /// File containing regulatory reporting data for the decision. Required if you are subject /// to this reporting + /// href="https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions">reporting /// requirement. /// [JsonProperty("regulatory_reporting_file")] diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeCreateOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeCreateOptions.cs index 692c079dc7..add6d3e425 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeCreateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeCreateOptions.cs @@ -11,7 +11,7 @@ public class DisputeCreateOptions : BaseOptions, IHasMetadata { /// /// The dispute amount in the card's currency and in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// not set, defaults to the full transaction amount. /// [JsonProperty("amount")] @@ -30,7 +30,7 @@ public class DisputeCreateOptions : BaseOptions, IHasMetadata public DisputeEvidenceOptions Evidence { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeSubmitOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeSubmitOptions.cs index 466cba6b2c..2de6d9959f 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeSubmitOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeSubmitOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing public class DisputeSubmitOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeUpdateOptions.cs index 07216afa8b..cefc5c2aef 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeUpdateOptions.cs @@ -11,7 +11,7 @@ public class DisputeUpdateOptions : BaseOptions, IHasMetadata { /// /// The dispute amount in the card's currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -29,7 +29,7 @@ public class DisputeUpdateOptions : BaseOptions, IHasMetadata public DisputeEvidenceOptions Evidence { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignCreateOptions.cs b/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignCreateOptions.cs index 7686e01a91..d54cfd01b0 100644 --- a/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignCreateOptions.cs +++ b/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignCreateOptions.cs @@ -39,7 +39,7 @@ public class PersonalizationDesignCreateOptions : BaseOptions, IHasMetadata public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignUpdateOptions.cs b/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignUpdateOptions.cs index ca5de498f7..76e329c9b5 100644 --- a/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/PersonalizationDesigns/PersonalizationDesignUpdateOptions.cs @@ -39,7 +39,7 @@ public class PersonalizationDesignUpdateOptions : BaseOptions, IHasMetadata public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Issuing/Transactions/TransactionUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Transactions/TransactionUpdateOptions.cs index 2d687c6943..627b93e533 100644 --- a/src/Stripe.net/Services/Issuing/Transactions/TransactionUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Transactions/TransactionUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Issuing public class TransactionUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Mandates/MandateListOptions.cs b/src/Stripe.net/Services/Mandates/MandateListOptions.cs index 83781108b7..be8bb966ec 100644 --- a/src/Stripe.net/Services/Mandates/MandateListOptions.cs +++ b/src/Stripe.net/Services/Mandates/MandateListOptions.cs @@ -10,7 +10,7 @@ public class MandateListOptions : ListOptions { /// /// The Stripe account ID that the mandates are intended for. Learn more about the use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts payments. /// [JsonProperty("on_behalf_of")] diff --git a/src/Stripe.net/Services/Margins/MarginCreateOptions.cs b/src/Stripe.net/Services/Margins/MarginCreateOptions.cs index c298778759..5b5312cf55 100644 --- a/src/Stripe.net/Services/Margins/MarginCreateOptions.cs +++ b/src/Stripe.net/Services/Margins/MarginCreateOptions.cs @@ -20,7 +20,7 @@ public class MarginCreateOptions : BaseOptions, IHasMetadata public bool? Active { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Margins/MarginUpdateOptions.cs b/src/Stripe.net/Services/Margins/MarginUpdateOptions.cs index 3cd5480933..392fd15527 100644 --- a/src/Stripe.net/Services/Margins/MarginUpdateOptions.cs +++ b/src/Stripe.net/Services/Margins/MarginUpdateOptions.cs @@ -20,7 +20,7 @@ public class MarginUpdateOptions : BaseOptions, IHasMetadata public bool? Active { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Orders/OrderCreateOptions.cs b/src/Stripe.net/Services/Orders/OrderCreateOptions.cs index 4ca4f70f42..5dd89c8442 100644 --- a/src/Stripe.net/Services/Orders/OrderCreateOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderCreateOptions.cs @@ -86,7 +86,7 @@ public class OrderCreateOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Orders/OrderLineItemPriceDataOptions.cs b/src/Stripe.net/Services/Orders/OrderLineItemPriceDataOptions.cs index 2df80a09e8..fdd65a6ab4 100644 --- a/src/Stripe.net/Services/Orders/OrderLineItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderLineItemPriceDataOptions.cs @@ -34,7 +34,7 @@ public class OrderLineItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Orders/OrderLineItemProductDataOptions.cs b/src/Stripe.net/Services/Orders/OrderLineItemProductDataOptions.cs index 929779ec31..28921665ac 100644 --- a/src/Stripe.net/Services/Orders/OrderLineItemProductDataOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderLineItemProductDataOptions.cs @@ -47,7 +47,7 @@ public class OrderLineItemProductDataOptions : INestedOptions, IHasId, IHasMetad public List Images { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -86,7 +86,7 @@ public class OrderLineItemProductDataOptions : INestedOptions, IHasId, IHasMetad public bool? Shippable { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Orders/OrderPaymentSettingsOptions.cs b/src/Stripe.net/Services/Orders/OrderPaymentSettingsOptions.cs index 8f7a91dde6..082398a018 100644 --- a/src/Stripe.net/Services/Orders/OrderPaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderPaymentSettingsOptions.cs @@ -29,7 +29,7 @@ public class OrderPaymentSettingsOptions : INestedOptions public OrderPaymentSettingsPaymentMethodOptionsOptions PaymentMethodOptions { get; set; } /// - /// The list of payment + /// The list of payment /// method types to provide to the order's PaymentIntent. Do not include this attribute /// if you prefer to manage your payment methods from the Stripe Dashboard. diff --git a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayOptions.cs b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayOptions.cs index 0b699fe9d7..44c060123c 100644 --- a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayOptions.cs @@ -40,16 +40,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpayOptions : I /// Indicates that you intend to make future payments with the payment method. /// /// Providing this parameter will attach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the order's Customer, if present, after the order's PaymentIntent is /// confirmed and any required actions from the user are complete. If no Customer was /// provided, the payment method can still be attached to a Customer + /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer /// after the transaction completes. /// /// When processing card payments, Stripe also uses setup_future_usage to dynamically /// optimize your payment flow and comply with regional legislation and network rules, such - /// as SCA. + /// as SCA. /// /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to diff --git a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsCardOptions.cs index ec2f9bcebd..1d425a765a 100644 --- a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsCardOptions.cs @@ -22,16 +22,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsCardOptions : INestedOption /// Indicates that you intend to make future payments with the payment method. /// /// Providing this parameter will attach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the order's Customer, if present, after the order's PaymentIntent is /// confirmed and any required actions from the user are complete. If no Customer was /// provided, the payment method can still be attached to a Customer + /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer /// after the transaction completes. /// /// When processing card payments, Stripe also uses setup_future_usage to dynamically /// optimize your payment flow and comply with regional legislation and network rules, such - /// as SCA. + /// as SCA. /// /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to diff --git a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsPaypalOptions.cs b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsPaypalOptions.cs index ebab224f5e..9b70635d48 100644 --- a/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsPaypalOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsPaypalOptions.cs @@ -28,7 +28,7 @@ public class OrderPaymentSettingsPaymentMethodOptionsPaypalOptions : INestedOpti public List LineItems { get; set; } /// - /// Preferred locale + /// Preferred locale /// of the PayPal checkout page that the customer is redirected to. /// One of: cs-CZ, da-DK, de-AT, de-DE, de-LU, /// el-GR, en-GB, en-US, es-ES, fi-FI, fr-BE, diff --git a/src/Stripe.net/Services/Orders/OrderShippingCostShippingRateDataOptions.cs b/src/Stripe.net/Services/Orders/OrderShippingCostShippingRateDataOptions.cs index eaa129f8df..897dbfd524 100644 --- a/src/Stripe.net/Services/Orders/OrderShippingCostShippingRateDataOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderShippingCostShippingRateDataOptions.cs @@ -40,7 +40,7 @@ public class OrderShippingCostShippingRateDataOptions : INestedOptions, IHasMeta public OrderShippingCostShippingRateDataFixedAmountOptions FixedAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -63,7 +63,7 @@ public class OrderShippingCostShippingRateDataOptions : INestedOptions, IHasMeta public string TaxBehavior { get; set; } /// - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Services/Orders/OrderUpdateOptions.cs b/src/Stripe.net/Services/Orders/OrderUpdateOptions.cs index 62e10221f8..8f7061a8da 100644 --- a/src/Stripe.net/Services/Orders/OrderUpdateOptions.cs +++ b/src/Stripe.net/Services/Orders/OrderUpdateOptions.cs @@ -87,7 +87,7 @@ public class OrderUpdateOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemOptions.cs index 1612a3f8f4..d232c2f22f 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemOptions.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions { /// /// The discount applied on this line item represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than 0. /// /// This field is mutually exclusive with the amount_details[discount_amount] field. @@ -72,7 +72,7 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions /// /// The unit cost of the line item represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L3 rates. An integer greater than or equal to 0. /// [JsonProperty("unit_cost")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemTaxOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemTaxOptions.cs index 90a83a67ed..e93bc99513 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemTaxOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsLineItemTaxOptions.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsLineItemTaxOptions : INestedOptions { /// /// The total amount of tax on a single line item represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L3 rates. An integer greater than or equal to 0. /// /// This field is mutually exclusive with the amount_details[tax][total_tax_amount] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsOptions.cs index 60abaf463f..3559cf3465 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsOptions.cs @@ -11,7 +11,7 @@ public class PaymentIntentAmountDetailsOptions : INestedOptions { /// /// The total discount applied on the transaction represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than 0. /// /// This field is mutually exclusive with the @@ -25,7 +25,7 @@ public class PaymentIntentAmountDetailsOptions : INestedOptions /// /// A list of line items, each containing information about a product in the PaymentIntent. - /// There is a maximum of 100 line items. + /// There is a maximum of 200 line items. /// [JsonProperty("line_items")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsShippingOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsShippingOptions.cs index b64e732b13..028cb52eef 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsShippingOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsShippingOptions.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsShippingOptions : INestedOptions { /// /// If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An /// integer greater than or equal to 0. /// [JsonProperty("amount")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsTaxOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsTaxOptions.cs index 267eb32b0c..e48342308e 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsTaxOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAmountDetailsTaxOptions.cs @@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsTaxOptions : INestedOptions { /// /// The total amount of tax on the transaction represented in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// Required for L2 rates. An integer greater than or equal to 0. /// /// This field is mutually exclusive with the diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentApplyCustomerBalanceOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentApplyCustomerBalanceOptions.cs index 3e31f73d9d..aae66803eb 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentApplyCustomerBalanceOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentApplyCustomerBalanceOptions.cs @@ -14,7 +14,7 @@ public class PaymentIntentApplyCustomerBalanceOptions : BaseOptions /// applied regardless of this parameter. /// /// A positive integer representing how much to charge in the smallest currency unit (for + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (for /// example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). /// The maximum amount is the amount of the PaymentIntent. /// diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAutomaticPaymentMethodsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAutomaticPaymentMethodsOptions.cs index 880c75f483..1241f7279b 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentAutomaticPaymentMethodsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentAutomaticPaymentMethodsOptions.cs @@ -13,7 +13,7 @@ public class PaymentIntentAutomaticPaymentMethodsOptions : INestedOptions /// /// Redirect-based payment methods may require your customer to be redirected to a payment /// method's app or site for authentication or additional steps. To confirm this + /// href="https://docs.stripe.com/api/payment_intents/confirm">confirm this /// PaymentIntent, you may be required to provide a return_url to redirect customers /// back to your site after they authenticate or complete the payment. /// One of: always, or never. diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCaptureOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCaptureOptions.cs index 7aa958add7..1ec6699e1f 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCaptureOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCaptureOptions.cs @@ -33,7 +33,7 @@ public class PaymentIntentCaptureOptions : BaseOptions, IHasMetadata /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -46,7 +46,7 @@ public class PaymentIntentCaptureOptions : BaseOptions, IHasMetadata /// Defaults to true. When capturing a PaymentIntent, setting final_capture to /// false notifies Stripe to not release the remaining uncaptured funds to make sure /// that they're captured in future requests. You can only use this setting when multicapture is available for + /// href="https://docs.stripe.com/payments/multicapture">multicapture is available for /// PaymentIntents. /// [JsonProperty("final_capture")] @@ -65,7 +65,7 @@ public class PaymentIntentCaptureOptions : BaseOptions, IHasMetadata public PaymentIntentHooksOptions Hooks { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -117,7 +117,7 @@ public class PaymentIntentCaptureOptions : BaseOptions, IHasMetadata /// /// The parameters that you can use to automatically create a transfer after the payment is /// captured. Learn more about the use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("transfer_data")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs index 031f1d9b0f..bf2dc1bd15 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs @@ -23,7 +23,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -65,7 +65,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// Set to true to fail the payment attempt if the PaymentIntent transitions into /// requires_action. This parameter is intended for simpler integrations that do not /// handle customer actions, like saving cards + /// href="https://docs.stripe.com/payments/save-card-without-authentication">saving cards /// without authentication. /// [JsonProperty("error_on_requires_action")] @@ -133,7 +133,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// Set to true to indicate that the customer isn't in your checkout flow during this /// payment attempt and can't authenticate. Use this parameter in scenarios where you /// collect card details and charge them + /// href="https://docs.stripe.com/payments/cards/charging-saved-cards">charge them /// later. /// [JsonProperty("off_session")] @@ -153,11 +153,11 @@ public class PaymentIntentConfirmOptions : BaseOptions /// /// ID of the payment method (a PaymentMethod, Card, or compatible + /// href="https://docs.stripe.com/payments/payment-methods/transitioning#compatibility">compatible /// Source object) to attach to this PaymentIntent. If the payment method is attached to /// a Customer, it must match the customer that is - /// set on this PaymentIntent. + /// href="https://api.stripe.com#create_payment_intent-customer">customer that is set on + /// this PaymentIntent. /// [JsonProperty("payment_method")] #if NET6_0_OR_GREATER @@ -168,7 +168,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// /// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod /// will appear in the payment_method + /// href="https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method">payment_method /// property on the PaymentIntent. /// [JsonProperty("payment_method_data")] @@ -201,7 +201,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// /// Options to configure Radar. Learn more about Radar Sessions. + /// href="https://docs.stripe.com/radar/radar-session">Radar Sessions. /// [JsonProperty("radar_options")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs index 1f7bb710b9..51a11c76a1 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs @@ -12,10 +12,10 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// Amount intended to be collected by this PaymentIntent. A positive integer representing /// how much to charge in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum /// amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// @@ -39,7 +39,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -71,10 +71,10 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// Set to true to attempt to confirm this + /// href="https://docs.stripe.com/api/payment_intents/confirm">confirm this /// PaymentIntent immediately. This parameter defaults to false. When creating /// and confirming a PaymentIntent at the same time, you can also provide the parameters - /// available in the Confirm + /// available in the Confirm /// API. /// [JsonProperty("confirm")] @@ -124,7 +124,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// Payment methods attached to other Customers cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Customer after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -139,12 +139,13 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// ID of the Account this PaymentIntent belongs to, if one exists. + /// ID of the Account representing the customer that this PaymentIntent belongs to, if one + /// exists. /// /// Payment methods attached to other Accounts cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Account after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -171,9 +172,9 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// Set to true to fail the payment attempt if the PaymentIntent transitions into /// requires_action. Use this parameter for simpler integrations that don't handle /// customer actions, such as saving cards + /// href="https://docs.stripe.com/payments/save-card-without-authentication">saving cards /// without authentication. This parameter can only be used with confirm=true. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm">confirm=true. /// [JsonProperty("error_on_requires_action")] #if NET6_0_OR_GREATER @@ -223,7 +224,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// ID of the mandate that's used for this payment. This parameter can only be used with confirm=true. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm">confirm=true. /// [JsonProperty("mandate")] #if NET6_0_OR_GREATER @@ -234,7 +235,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// This hash contains details about the Mandate to create. This parameter can only be used /// with confirm=true. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm">confirm=true. /// [JsonProperty("mandate_data")] #if NET6_0_OR_GREATER @@ -243,7 +244,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata public PaymentIntentMandateDataOptions MandateData { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -258,9 +259,9 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// Set to true to indicate that the customer isn't in your checkout flow during this /// payment attempt and can't authenticate. Use this parameter in scenarios where you /// collect card details and charge them + /// href="https://docs.stripe.com/payments/cards/charging-saved-cards">charge them /// later. This parameter can only be used with confirm=true. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm">confirm=true. /// [JsonProperty("off_session")] #if NET6_0_OR_GREATER @@ -270,7 +271,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// The Stripe account ID that these funds are intended for. Learn more about the use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("on_behalf_of")] @@ -290,7 +291,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// ID of the payment method (a PaymentMethod, Card, or compatible + /// href="https://docs.stripe.com/payments/payment-methods#compatibility">compatible /// Source object) to attach to this PaymentIntent. /// /// If you don't provide the payment_method parameter or the source parameter @@ -298,7 +299,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// customer.default_source to improve migration for users of the Charges API. We /// recommend that you explicitly provide the payment_method moving forward. If the /// payment method is attached to a Customer, you must also provide the ID of that Customer - /// as the customer + /// as the customer /// parameter of this PaymentIntent. end. /// [JsonProperty("payment_method")] @@ -309,7 +310,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// The ID of the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration to use with this PaymentIntent. /// [JsonProperty("payment_method_configuration")] @@ -321,7 +322,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod /// will appear in the payment_method + /// href="https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method">payment_method /// property on the PaymentIntent. /// [JsonProperty("payment_method_data")] @@ -354,7 +355,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// Options to configure Radar. Learn more about Radar Sessions. + /// href="https://docs.stripe.com/radar/radar-session">Radar Sessions. /// [JsonProperty("radar_options")] #if NET6_0_OR_GREATER @@ -378,7 +379,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// payment on the payment method's app or site. If you'd prefer to redirect to a mobile /// application, you can alternatively supply an application URI scheme. This parameter can /// only be used with confirm=true. + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm">confirm=true. /// [JsonProperty("return_url")] #if NET6_0_OR_GREATER @@ -464,7 +465,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// The parameters that you can use to automatically create a Transfer. Learn more about the - /// use case for connected + /// use case for connected /// accounts. /// [JsonProperty("transfer_data")] @@ -475,7 +476,7 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata /// /// A string that identifies the resulting payment as part of a group. Learn more about the - /// use case for + /// use case for /// connected accounts. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentDecrementAuthorizationOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentDecrementAuthorizationOptions.cs index d18ef54abd..07aa74b95c 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentDecrementAuthorizationOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentDecrementAuthorizationOptions.cs @@ -25,7 +25,7 @@ public class PaymentIntentDecrementAuthorizationOptions : BaseOptions, IHasMetad /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -53,7 +53,7 @@ public class PaymentIntentDecrementAuthorizationOptions : BaseOptions, IHasMetad public PaymentIntentHooksOptions Hooks { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -66,7 +66,7 @@ public class PaymentIntentDecrementAuthorizationOptions : BaseOptions, IHasMetad /// /// The parameters used to automatically create a transfer after the payment is captured. - /// Learn more about the use + /// Learn more about the use /// case for connected accounts. /// [JsonProperty("transfer_data")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentHooksInputsTaxOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentHooksInputsTaxOptions.cs index da581e6405..4018cd18e2 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentHooksInputsTaxOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentHooksInputsTaxOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentIntentHooksInputsTaxOptions : INestedOptions { /// - /// The TaxCalculation id. + /// The TaxCalculation id. /// [JsonProperty("calculation")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentIncrementAuthorizationOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentIncrementAuthorizationOptions.cs index 9e6772abc9..9721200c2d 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentIncrementAuthorizationOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentIncrementAuthorizationOptions.cs @@ -33,7 +33,7 @@ public class PaymentIntentIncrementAuthorizationOptions : BaseOptions, IHasMetad /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -61,7 +61,7 @@ public class PaymentIntentIncrementAuthorizationOptions : BaseOptions, IHasMetad public PaymentIntentHooksOptions Hooks { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -105,7 +105,7 @@ public class PaymentIntentIncrementAuthorizationOptions : BaseOptions, IHasMetad /// /// The parameters used to automatically create a transfer after the payment is captured. - /// Learn more about the use + /// Learn more about the use /// case for connected accounts. /// [JsonProperty("transfer_data")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentListOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentListOptions.cs index 891d677e9e..99f6beae71 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentListOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentListOptions.cs @@ -33,7 +33,8 @@ public class PaymentIntentListOptions : ListOptions public string Customer { get; set; } /// - /// Only return PaymentIntents for the account that this ID specifies. + /// Only return PaymentIntents for the account representing the customer that this ID + /// specifies. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataIdealOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataIdealOptions.cs index c0c3e0e8fe..010fd2b9fb 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataIdealOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataIdealOptions.cs @@ -12,9 +12,9 @@ public class PaymentIntentPaymentMethodDataIdealOptions : INestedOptions /// The customer's bank. Only use this parameter for existing customers. Don't use it for /// new customers. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataOptions.cs index 53bede0841..535dd09995 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataOptions.cs @@ -323,7 +323,7 @@ public class PaymentIntentPaymentMethodDataOptions : INestedOptions, IHasMetadat public PaymentIntentPaymentMethodDataMbWayOptions MbWay { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -486,7 +486,7 @@ public class PaymentIntentPaymentMethodDataOptions : INestedOptions, IHasMetadat /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataRadarOptionsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataRadarOptionsOptions.cs index f1380156af..4d3f29fcf1 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodDataRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentIntentPaymentMethodDataRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs index a311544877..0a70cdd46a 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs @@ -39,7 +39,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// Installment configuration for payments attempted on this PaymentIntent. /// /// For more information, see the installments integration guide. + /// href="https://docs.stripe.com/payments/installments">installments integration guide. /// [JsonProperty("installments")] #if NET6_0_OR_GREATER @@ -82,7 +82,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// Request ability to decrement the + /// href="https://docs.stripe.com/payments/decremental-authorization">decrement the /// authorization for this PaymentIntent. /// One of: if_available, or never. /// @@ -94,7 +94,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// Request ability to capture beyond the + /// href="https://docs.stripe.com/payments/extended-authorization">capture beyond the /// standard authorization validity window for this PaymentIntent. /// One of: if_available, or never. /// @@ -106,7 +106,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// Request ability to increment the + /// href="https://docs.stripe.com/payments/incremental-authorization">increment the /// authorization for this PaymentIntent. /// One of: if_available, or never. /// @@ -117,7 +117,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions public string RequestIncrementalAuthorization { get; set; } /// - /// Request ability to make multiple + /// Request ability to make multiple /// captures for this PaymentIntent. /// One of: if_available, or never. /// @@ -129,7 +129,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// Request ability to overcapture for this + /// href="https://docs.stripe.com/payments/overcapture">overcapture for this /// PaymentIntent. /// One of: if_available, or never. /// @@ -152,11 +152,11 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresentOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresentOptions.cs index b79c11d158..e552426c51 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresentOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresentOptions.cs @@ -27,7 +27,7 @@ public class PaymentIntentPaymentMethodOptionsCardPresentOptions : INestedOption /// /// Request ability to capture this payment beyond the standard authorization + /// href="https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity">authorization /// validity window. /// [JsonProperty("request_extended_authorization")] @@ -38,10 +38,10 @@ public class PaymentIntentPaymentMethodOptionsCardPresentOptions : INestedOption /// /// Request ability to increment + /// href="https://docs.stripe.com/terminal/features/incremental-authorizations">increment /// this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported - /// in the Confirm + /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported">incremental_authorization_supported + /// in the Confirm /// response to verify support. /// [JsonProperty("request_incremental_authorization_support")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs index 958892954a..d629025f6e 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs @@ -28,7 +28,7 @@ public class PaymentIntentPaymentMethodOptionsPaypalOptions : INestedOptions public List LineItems { get; set; } /// - /// Preferred locale + /// Preferred locale /// of the PayPal checkout page that the customer is redirected to. /// One of: cs-CZ, da-DK, de-AT, de-DE, de-LU, /// el-GR, en-GB, en-US, es-ES, fi-FI, fr-BE, diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentRadarOptionsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentRadarOptionsOptions.cs index 665d230e3b..455b2a23ec 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentIntentRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentTransferDataOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentTransferDataOptions.cs index 931f0d6319..ee2c0396e6 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentTransferDataOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentTransferDataOptions.cs @@ -14,7 +14,7 @@ public class PaymentIntentTransferDataOptions : INestedOptions /// transferred. /// /// If you intend to collect a fee and you need a more robust reporting experience, using application_fee_amount + /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount">application_fee_amount /// might be a better fit for your integration. /// [JsonProperty("amount")] diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs index 9e5678742c..36616d2466 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs @@ -12,10 +12,10 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// /// Amount intended to be collected by this PaymentIntent. A positive integer representing /// how much to charge in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum /// amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// @@ -39,7 +39,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// payment and transferred to the application owner's Stripe account. The amount of the /// application fee collected will be capped at the total amount captured. For more /// information, see the PaymentIntents use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("application_fee_amount")] @@ -75,7 +75,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// Payment methods attached to other Customers cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Customer after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -90,12 +90,13 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// ID of the Account this PaymentIntent belongs to, if one exists. + /// ID of the Account representing the customer that this PaymentIntent belongs to, if one + /// exists. /// /// Payment methods attached to other Accounts cannot be used with this PaymentIntent. /// /// If setup_future_usage + /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage /// is set and this PaymentIntent's payment method is not card_present, then the /// payment method attaches to the Account after the PaymentIntent has been confirmed and /// any required actions from the user are complete. If the payment method is @@ -168,7 +169,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata public PaymentIntentMandateDataOptions MandateData { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -196,7 +197,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// /// The ID of the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration to use with this PaymentIntent. /// [JsonProperty("payment_method_configuration")] @@ -208,7 +209,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// /// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod /// will appear in the payment_method + /// href="https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method">payment_method /// property on the PaymentIntent. /// [JsonProperty("payment_method_data")] @@ -322,7 +323,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// /// Use this parameter to automatically create a Transfer when the payment succeeds. Learn - /// more about the use case + /// more about the use case /// for connected accounts. /// [JsonProperty("transfer_data")] @@ -334,7 +335,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// /// A string that identifies the resulting payment as part of a group. You can only provide /// transfer_group if it hasn't been set. Learn more about the use case for connected + /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected /// accounts. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkAfterCompletionRedirectOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkAfterCompletionRedirectOptions.cs index 1af03a3beb..132a209221 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkAfterCompletionRedirectOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkAfterCompletionRedirectOptions.cs @@ -11,7 +11,7 @@ public class PaymentLinkAfterCompletionRedirectOptions : INestedOptions /// /// The URL the customer will be redirected to after the purchase is complete. You can embed /// {CHECKOUT_SESSION_ID} into the URL to have the id of the completed checkout + /// href="https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-id">checkout /// session included. /// [JsonProperty("url")] diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs index b849688279..95c77f3044 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs @@ -109,9 +109,9 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata public PaymentLinkCustomTextOptions CustomText { get; set; } /// - /// Configures whether checkout + /// Configures whether checkout /// sessions created by this payment link create a Customer. + /// href="https://docs.stripe.com/api/customers">Customer. /// One of: always, or if_required. /// [JsonProperty("customer_creation")] @@ -150,12 +150,12 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. Metadata /// associated with this Payment Link will automatically be copied to checkout sessions created by + /// href="https://docs.stripe.com/api/checkout/sessions">checkout sessions created by /// this payment link. /// [JsonProperty("metadata")] @@ -185,7 +185,7 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// /// A list of optional items the customer can add to their order at checkout. Use this /// parameter to pass one-time or recurring Prices. There is a maximum of 10 optional + /// href="https://docs.stripe.com/api/prices">Prices. There is a maximum of 10 optional /// items allowed on a payment link, and the existing limits on the number of line items /// allowed on a payment link apply to the combined number of line items and optional items. /// There is a maximum of 20 combined line items and optional items. @@ -215,7 +215,7 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// Can only be set in subscription mode. Defaults to always. /// /// If you'd like information on how to collect a payment method outside of Checkout, read - /// the guide on configuring + /// the guide on configuring /// subscriptions with a free trial. /// One of: always, or if_required. /// @@ -230,7 +230,7 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// will dynamically show relevant payment methods from your payment method settings /// (20+ payment methods supported). + /// href="https://docs.stripe.com/payments/payment-methods/integration-options#payment-method-product-support">supported). /// One of: affirm, afterpay_clearpay, alipay, alma, /// au_becs_debit, bacs_debit, bancontact, billie, blik, /// boleto, card, cashapp, eps, fpx, giropay, @@ -278,7 +278,7 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// /// The shipping rate options to apply to checkout sessions created by + /// href="https://docs.stripe.com/api/checkout/sessions">checkout sessions created by /// this payment link. /// [JsonProperty("shipping_options")] @@ -291,7 +291,7 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// Describes the type of transaction being performed in order to customize relevant text on /// the page, such as the submit button. Changing this value will also affect the hostname /// in the url + /// href="https://docs.stripe.com/api/payment_links/payment_links/object#url">url /// property (example: donate.stripe.com). /// One of: auto, book, donate, pay, or subscribe. /// diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataOptions.cs index 073ec417d2..acf7810cdd 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataOptions.cs @@ -56,7 +56,7 @@ public class PaymentLinkInvoiceCreationInvoiceDataOptions : INestedOptions, IHas public PaymentLinkInvoiceCreationInvoiceDataIssuerOptions Issuer { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs index 9d3e22c23a..734e3393f0 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemOptions.cs @@ -28,8 +28,8 @@ public class PaymentLinkLineItemOptions : INestedOptions, IHasId public string Id { get; set; } /// - /// The ID of the Price or Plan object. One of price or + /// The ID of the Price or Plan object. One of price or /// price_data is required. /// [JsonProperty("price")] @@ -39,7 +39,7 @@ public class PaymentLinkLineItemOptions : INestedOptions, IHasId public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs index 7b30933c1c..cc45e2f499 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataOptions.cs @@ -51,7 +51,7 @@ public class PaymentLinkLineItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs index 7cf9d31944..1e9f854fd5 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkLineItemPriceDataProductDataOptions.cs @@ -31,7 +31,7 @@ public class PaymentLinkLineItemPriceDataProductDataOptions : INestedOptions, IH public List Images { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -52,7 +52,7 @@ public class PaymentLinkLineItemPriceDataProductDataOptions : INestedOptions, IH public string Name { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkOptionalItemOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkOptionalItemOptions.cs index 4c107d22c1..afb7f1269f 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkOptionalItemOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkOptionalItemOptions.cs @@ -19,8 +19,8 @@ public class PaymentLinkOptionalItemOptions : INestedOptions public PaymentLinkOptionalItemAdjustableQuantityOptions AdjustableQuantity { get; set; } /// - /// The ID of the Price or Plan object. + /// The ID of the Price or Plan object. /// [JsonProperty("price")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkPaymentIntentDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkPaymentIntentDataOptions.cs index 46dd7374b1..5903c72338 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkPaymentIntentDataOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkPaymentIntentDataOptions.cs @@ -29,9 +29,9 @@ public class PaymentLinkPaymentIntentDataOptions : INestedOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that will + /// Set of key-value pairs that will /// declaratively set metadata on Payment Intents generated from + /// href="https://docs.stripe.com/api/payment_intents">Payment Intents generated from /// this payment link. Unlike object-level metadata, this field is declarative. Updates will /// clear prior values. /// @@ -43,7 +43,7 @@ public class PaymentLinkPaymentIntentDataOptions : INestedOptions, IHasMetadata /// /// Indicates that you intend to make future + /// href="https://docs.stripe.com/payments/payment-intents#future-usage">make future /// payments with the payment method collected by this Checkout Session. /// /// When setting this to on_session, Checkout will show a notice to the customer that @@ -102,7 +102,7 @@ public class PaymentLinkPaymentIntentDataOptions : INestedOptions, IHasMetadata /// /// A string that identifies the resulting payment as part of a group. See the /// PaymentIntents use case for + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">use case for /// connected accounts for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkSubscriptionDataOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkSubscriptionDataOptions.cs index 44f551d4d7..2a27f04270 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkSubscriptionDataOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkSubscriptionDataOptions.cs @@ -30,9 +30,9 @@ public class PaymentLinkSubscriptionDataOptions : INestedOptions, IHasMetadata public PaymentLinkSubscriptionDataInvoiceSettingsOptions InvoiceSettings { get; set; } /// - /// Set of key-value pairs that will + /// Set of key-value pairs that will /// declaratively set metadata on Subscriptions generated from this + /// href="https://docs.stripe.com/api/subscriptions">Subscriptions generated from this /// payment link. Unlike object-level metadata, this field is declarative. Updates will /// clear prior values. /// diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs index fb6b5259b8..21f0360f6a 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs @@ -76,9 +76,9 @@ public class PaymentLinkUpdateOptions : BaseOptions, IHasMetadata public PaymentLinkCustomTextOptions CustomText { get; set; } /// - /// Configures whether checkout + /// Configures whether checkout /// sessions created by this payment link create a Customer. + /// href="https://docs.stripe.com/api/customers">Customer. /// One of: always, or if_required. /// [JsonProperty("customer_creation")] @@ -117,12 +117,12 @@ public class PaymentLinkUpdateOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. Metadata /// associated with this Payment Link will automatically be copied to checkout sessions created by + /// href="https://docs.stripe.com/api/checkout/sessions">checkout sessions created by /// this payment link. /// [JsonProperty("metadata")] @@ -159,7 +159,7 @@ public class PaymentLinkUpdateOptions : BaseOptions, IHasMetadata /// Can only be set in subscription mode. Defaults to always. /// /// If you'd like information on how to collect a payment method outside of Checkout, read - /// the guide on configuring + /// the guide on configuring /// subscriptions with a free trial. /// One of: always, or if_required. /// @@ -223,7 +223,7 @@ public class PaymentLinkUpdateOptions : BaseOptions, IHasMetadata /// Describes the type of transaction being performed in order to customize relevant text on /// the page, such as the submit button. Changing this value will also affect the hostname /// in the url + /// href="https://docs.stripe.com/api/payment_links/payment_links/object#url">url /// property (example: donate.stripe.com). /// One of: auto, book, donate, pay, or subscribe. /// diff --git a/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationCreateOptions.cs b/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationCreateOptions.cs index 86ae371746..ceec3f85ca 100644 --- a/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationCreateOptions.cs @@ -10,7 +10,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions { /// /// Canadian pre-authorized debit payments, check this page for more details like + /// href="https://docs.stripe.com/payments/acss-debit">page for more details like /// country availability. /// [JsonProperty("acss_debit")] @@ -23,7 +23,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Affirm gives your customers a way to split /// purchases over a series of payments. Depending on the purchase, they can pay with four /// interest-free payments (Split Pay) or pay over a longer term (Installments), which might - /// include interest. Check this page + /// include interest. Check this page /// for more details like country availability. /// [JsonProperty("affirm")] @@ -34,7 +34,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Afterpay gives your customers a way to pay for purchases in installments, check this page for more details like + /// href="https://docs.stripe.com/payments/afterpay-clearpay">page for more details like /// country availability. Afterpay is particularly popular among businesses selling fashion, /// beauty, and sports products. /// @@ -49,7 +49,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Alipay users can pay on the web or on a mobile device using login credentials or their /// Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments /// using the customer's login credentials. Check this page for more details. + /// href="https://docs.stripe.com/payments/alipay">page for more details. /// [JsonProperty("alipay")] #if NET6_0_OR_GREATER @@ -82,7 +82,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or /// macOS Sierra. There are no additional fees to process Apple Pay payments, and the pricing is the same as other card transactions. - /// Check this page for more details. + /// Check this page for more details. /// [JsonProperty("apple_pay")] #if NET6_0_OR_GREATER @@ -103,7 +103,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit /// payments from customers with an Australian bank account. Check this page for more details. + /// href="https://docs.stripe.com/payments/au-becs-debit">page for more details. /// [JsonProperty("au_becs_debit")] #if NET6_0_OR_GREATER @@ -114,7 +114,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK /// bank account, check this page for more + /// href="https://docs.stripe.com/payments/payment-methods/bacs-debit">page for more /// details. /// [JsonProperty("bacs_debit")] @@ -125,10 +125,10 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Bancontact is the most popular online payment method in Belgium, with over 15 million - /// cards in circulation. Customers use + /// cards in circulation. Customers use /// a Bancontact card or mobile app linked to a Belgian bank account to make online payments /// that are secure, guaranteed, and confirmed immediately. Check this page for more details. + /// href="https://docs.stripe.com/payments/bancontact">page for more details. /// [JsonProperty("bancontact")] #if NET6_0_OR_GREATER @@ -152,11 +152,11 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationBillieOptions Billie { get; set; } /// - /// BLIK is a single + /// BLIK is a single /// use payment method that requires customers to authenticate their payments. When /// customers want to pay online using BLIK, they request a six-digit code from their /// banking application and enter it into the payment collection form. Check this page for more details. + /// href="https://docs.stripe.com/payments/blik">page for more details. /// [JsonProperty("blik")] #if NET6_0_OR_GREATER @@ -166,7 +166,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Boleto is an official (regulated by the Central Bank of Brazil) payment method in - /// Brazil. Check this page for more + /// Brazil. Check this page for more /// details. /// [JsonProperty("boleto")] @@ -189,7 +189,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Cartes Bancaires is France's local card network. More than 95% of these cards are /// co-branded with either Visa or Mastercard, meaning you can process these cards over /// either Cartes Bancaires or the Visa or Mastercard networks. Check this page for more details. + /// href="https://docs.stripe.com/payments/cartes-bancaires">page for more details. /// [JsonProperty("cartes_bancaires")] #if NET6_0_OR_GREATER @@ -200,7 +200,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Cash App is a popular consumer app in the US that allows customers to bank, invest, /// send, and receive money using their digital wallet. Check this page for more details. + /// href="https://docs.stripe.com/payments/cash-app-pay">page for more details. /// [JsonProperty("cashapp")] #if NET6_0_OR_GREATER @@ -209,7 +209,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationCashappOptions Cashapp { get; set; } /// - /// Stablecoin payments + /// Stablecoin payments /// enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom /// and Metamask. /// @@ -220,9 +220,9 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationCryptoOptions Crypto { get; set; } /// - /// Uses a customer’s cash + /// Uses a customer’s cash /// balance for the payment. The cash balance can be funded via a bank transfer. Check - /// this page for more + /// this page for more /// details. /// [JsonProperty("customer_balance")] @@ -235,7 +235,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// EPS is an Austria-based payment method that allows customers to complete transactions /// online using their bank credentials. EPS is supported by all Austrian banks and is /// accepted by over 80% of Austrian online retailers. Check this page for more details. + /// href="https://docs.stripe.com/payments/eps">page for more details. /// [JsonProperty("eps")] #if NET6_0_OR_GREATER @@ -250,7 +250,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// institutions are members of the PayNet Group, which owns and operates FPX. It is one of /// the most popular online payment methods in Malaysia, with nearly 90 million transactions /// in 2018 according to BNM. Check this page for more details. + /// href="https://docs.stripe.com/payments/fpx">page for more details. /// [JsonProperty("fpx")] #if NET6_0_OR_GREATER @@ -262,7 +262,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly /// offered by employers for their employees to purchase prepared food and beverages on /// working days. Check this page for more + /// href="https://docs.stripe.com/payments/benefits/fr-meal-vouchers">page for more /// details. /// [JsonProperty("fr_meal_voucher_conecs")] @@ -277,7 +277,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// with funds debited from their bank account. Depending on their bank, customers confirm /// payments on giropay using a second factor of authentication or a PIN. giropay accounts /// for 10% of online checkouts in Germany. Check this page for more details. + /// href="https://docs.stripe.com/payments/giropay">page for more details. /// [JsonProperty("giropay")] #if NET6_0_OR_GREATER @@ -290,7 +290,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// debit card saved to their Google Account, including those from Google Play, YouTube, /// Chrome, or an Android device. Use the Google Pay API to request any credit or debit card /// stored in your customer's Google account. Check this page for more details. + /// href="https://docs.stripe.com/google-pay">page for more details. /// [JsonProperty("google_pay")] #if NET6_0_OR_GREATER @@ -299,7 +299,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationGooglePayOptions GooglePay { get; set; } /// - /// GoPay is a single + /// GoPay is a single /// use digital wallet payment method popular in Indonesia. When paying with GoPay, /// customers authenticate and approve payments using the Gojek app. Desktop checkout is /// performed by scanning a QR code. When checking out on mobile, customers are redirected @@ -315,7 +315,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// GrabPay is a payment method developed by Grab. GrabPay is a digital /// wallet - customers maintain a balance in their wallets that they pay out with. Check - /// this page for more details. + /// this page for more details. /// [JsonProperty("grabpay")] #if NET6_0_OR_GREATER @@ -338,7 +338,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// transactions online using their bank credentials. All major Dutch banks are members of /// Currence, the scheme that operates iDEAL, making it the most popular online payment /// method in the Netherlands with a share of online transactions close to 55%. Check this - /// page for more details. + /// page for more details. /// [JsonProperty("ideal")] #if NET6_0_OR_GREATER @@ -371,11 +371,11 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Klarna gives customers a range of payment options + /// href="https://docs.stripe.com/payments/klarna#payment-options">payment options /// during checkout. Available payment options vary depending on the customer's billing /// address and the transaction amount. These payment options make it convenient for /// customers to purchase items in all price ranges. Check this page for more details. + /// href="https://docs.stripe.com/payments/klarna">page for more details. /// [JsonProperty("klarna")] #if NET6_0_OR_GREATER @@ -385,7 +385,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Konbini allows customers in Japan to pay for bills and online purchases at convenience - /// stores with cash. Check this page + /// stores with cash. Check this page /// for more details. /// [JsonProperty("konbini")] @@ -404,7 +404,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationKrCardOptions KrCard { get; set; } /// - /// Link is a payment method network. + /// Link is a payment method network. /// With Link, users save their payment details once, then reuse that information to pay /// with one click for any business on the network. /// @@ -417,7 +417,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// MB WAY is the most popular wallet in Portugal. After entering their phone number in your /// checkout, customers approve the payment directly in their MB WAY app. Check this page for more details. + /// href="https://docs.stripe.com/payments/mb-way">page for more details. /// [JsonProperty("mb_way")] #if NET6_0_OR_GREATER @@ -427,11 +427,11 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// MobilePay is a single-use card wallet + /// href="https://docs.stripe.com/payments/payment-methods#usage">single-use card wallet /// payment method used in Denmark and Finland. It allows customers to authenticate + /// href="https://docs.stripe.com/payments/payment-methods#customer-actions">authenticate /// and approve payments using the MobilePay app. Check this page for more details. + /// href="https://docs.stripe.com/payments/mobilepay">page for more details. /// [JsonProperty("mobilepay")] #if NET6_0_OR_GREATER @@ -471,7 +471,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct /// debit payments from customers with a New Zeland bank account. Check this page for more details. + /// href="https://docs.stripe.com/payments/nz-bank-account">page for more details. /// [JsonProperty("nz_bank_account")] #if NET6_0_OR_GREATER @@ -483,7 +483,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// OXXO is a Mexican chain of convenience stores with thousands of locations across Latin /// America and represents nearly 20% of online transactions in Mexico. OXXO allows /// customers to pay bills and online purchases in-store with cash. Check this page for more details. + /// href="https://docs.stripe.com/payments/oxxo">page for more details. /// [JsonProperty("oxxo")] #if NET6_0_OR_GREATER @@ -495,7 +495,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Przelewy24 is a Poland-based payment method aggregator that allows customers to complete /// transactions online using bank transfers and other methods. Bank transfers account for /// 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with - /// over 165 banks. Check this page for + /// over 165 banks. Check this page for /// more details. /// [JsonProperty("p24")] @@ -538,7 +538,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// PayNow is a Singapore-based payment method that allows customers to make a payment using /// their preferred app from participating banks and participating non-bank financial - /// institutions. Check this page for + /// institutions. Check this page for /// more details. /// [JsonProperty("paynow")] @@ -550,7 +550,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// PayPal, a digital wallet popular with customers in Europe, allows your customers /// worldwide to pay using their PayPal account. Check this page for more details. + /// href="https://docs.stripe.com/payments/paypal">page for more details. /// [JsonProperty("paypal")] #if NET6_0_OR_GREATER @@ -593,7 +593,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// PromptPay is a Thailand-based payment method that allows customers to make a payment /// using their preferred app from participating banks. Check this page for more details. + /// href="https://docs.stripe.com/payments/promptpay">page for more details. /// [JsonProperty("promptpay")] #if NET6_0_OR_GREATER @@ -655,7 +655,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Payments Area (SEPA) is an initiative of the European Union to simplify payments /// within and across member countries. SEPA established and enforced banking standards to /// allow for the direct debiting of every EUR-denominated bank account within the SEPA - /// region, check this page for + /// region, check this page for /// more details. /// [JsonProperty("sepa_debit")] @@ -665,7 +665,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationSepaDebitOptions SepaDebit { get; set; } /// - /// ShopeePay is a single + /// ShopeePay is a single /// use digital wallet payment method popular in Indonesia. When paying with GoPay, /// customers authenticate and approve payments using the Shopee app. Desktop checkout is /// performed by scanning a QR code. When checking out on mobile, customers are redirected @@ -682,7 +682,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// href="https://stripe.com/docs/payments/payment-intents">Payment Intents API—a single /// integration path for creating payments using any supported method—to accept Sofort payments from customers. Check this page for more details. + /// href="https://docs.stripe.com/payments/sofort">page for more details. /// [JsonProperty("sofort")] #if NET6_0_OR_GREATER @@ -691,11 +691,11 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions public PaymentMethodConfigurationSofortOptions Sofort { get; set; } /// - /// Swish is a real-time payment + /// Swish is a real-time payment /// method popular in Sweden. It allows customers to authenticate + /// href="https://docs.stripe.com/payments/payment-methods#customer-actions">authenticate /// and approve payments using the Swish mobile app and the Swedish BankID mobile app. - /// Check this page for more details. + /// Check this page for more details. /// [JsonProperty("swish")] #if NET6_0_OR_GREATER @@ -718,7 +718,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// Stripe users in the United States can accept ACH direct debit payments from customers /// with a US bank account using the Automated Clearing House (ACH) payments system operated /// by Nacha. Check this page for more details. + /// href="https://docs.stripe.com/payments/ach-direct-debit">page for more details. /// [JsonProperty("us_bank_account")] #if NET6_0_OR_GREATER @@ -731,7 +731,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// active users. Chinese consumers can use WeChat Pay to pay for goods and services inside /// of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, /// e-commerce, travel, online education, and food/nutrition. Check this page for more details. + /// href="https://docs.stripe.com/payments/wechat-pay">page for more details. /// [JsonProperty("wechat_pay")] #if NET6_0_OR_GREATER @@ -741,7 +741,7 @@ public class PaymentMethodConfigurationCreateOptions : BaseOptions /// /// Zip gives your customers a way to split purchases over a series of payments. Check this - /// page for more details like country + /// page for more details like country /// availability. /// [JsonProperty("zip")] diff --git a/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationUpdateOptions.cs b/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationUpdateOptions.cs index a1651f2c87..f7b964d992 100644 --- a/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentMethodConfigurations/PaymentMethodConfigurationUpdateOptions.cs @@ -10,7 +10,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions { /// /// Canadian pre-authorized debit payments, check this page for more details like + /// href="https://docs.stripe.com/payments/acss-debit">page for more details like /// country availability. /// [JsonProperty("acss_debit")] @@ -32,7 +32,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Affirm gives your customers a way to split /// purchases over a series of payments. Depending on the purchase, they can pay with four /// interest-free payments (Split Pay) or pay over a longer term (Installments), which might - /// include interest. Check this page + /// include interest. Check this page /// for more details like country availability. /// [JsonProperty("affirm")] @@ -43,7 +43,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Afterpay gives your customers a way to pay for purchases in installments, check this page for more details like + /// href="https://docs.stripe.com/payments/afterpay-clearpay">page for more details like /// country availability. Afterpay is particularly popular among businesses selling fashion, /// beauty, and sports products. /// @@ -58,7 +58,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Alipay users can pay on the web or on a mobile device using login credentials or their /// Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments /// using the customer's login credentials. Check this page for more details. + /// href="https://docs.stripe.com/payments/alipay">page for more details. /// [JsonProperty("alipay")] #if NET6_0_OR_GREATER @@ -91,7 +91,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or /// macOS Sierra. There are no additional fees to process Apple Pay payments, and the pricing is the same as other card transactions. - /// Check this page for more details. + /// Check this page for more details. /// [JsonProperty("apple_pay")] #if NET6_0_OR_GREATER @@ -112,7 +112,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit /// payments from customers with an Australian bank account. Check this page for more details. + /// href="https://docs.stripe.com/payments/au-becs-debit">page for more details. /// [JsonProperty("au_becs_debit")] #if NET6_0_OR_GREATER @@ -123,7 +123,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK /// bank account, check this page for more + /// href="https://docs.stripe.com/payments/payment-methods/bacs-debit">page for more /// details. /// [JsonProperty("bacs_debit")] @@ -134,10 +134,10 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Bancontact is the most popular online payment method in Belgium, with over 15 million - /// cards in circulation. Customers use + /// cards in circulation. Customers use /// a Bancontact card or mobile app linked to a Belgian bank account to make online payments /// that are secure, guaranteed, and confirmed immediately. Check this page for more details. + /// href="https://docs.stripe.com/payments/bancontact">page for more details. /// [JsonProperty("bancontact")] #if NET6_0_OR_GREATER @@ -161,11 +161,11 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationBillieOptions Billie { get; set; } /// - /// BLIK is a single + /// BLIK is a single /// use payment method that requires customers to authenticate their payments. When /// customers want to pay online using BLIK, they request a six-digit code from their /// banking application and enter it into the payment collection form. Check this page for more details. + /// href="https://docs.stripe.com/payments/blik">page for more details. /// [JsonProperty("blik")] #if NET6_0_OR_GREATER @@ -175,7 +175,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Boleto is an official (regulated by the Central Bank of Brazil) payment method in - /// Brazil. Check this page for more + /// Brazil. Check this page for more /// details. /// [JsonProperty("boleto")] @@ -198,7 +198,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Cartes Bancaires is France's local card network. More than 95% of these cards are /// co-branded with either Visa or Mastercard, meaning you can process these cards over /// either Cartes Bancaires or the Visa or Mastercard networks. Check this page for more details. + /// href="https://docs.stripe.com/payments/cartes-bancaires">page for more details. /// [JsonProperty("cartes_bancaires")] #if NET6_0_OR_GREATER @@ -209,7 +209,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Cash App is a popular consumer app in the US that allows customers to bank, invest, /// send, and receive money using their digital wallet. Check this page for more details. + /// href="https://docs.stripe.com/payments/cash-app-pay">page for more details. /// [JsonProperty("cashapp")] #if NET6_0_OR_GREATER @@ -218,7 +218,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationCashappOptions Cashapp { get; set; } /// - /// Stablecoin payments + /// Stablecoin payments /// enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom /// and Metamask. /// @@ -229,9 +229,9 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationCryptoOptions Crypto { get; set; } /// - /// Uses a customer’s cash + /// Uses a customer’s cash /// balance for the payment. The cash balance can be funded via a bank transfer. Check - /// this page for more + /// this page for more /// details. /// [JsonProperty("customer_balance")] @@ -244,7 +244,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// EPS is an Austria-based payment method that allows customers to complete transactions /// online using their bank credentials. EPS is supported by all Austrian banks and is /// accepted by over 80% of Austrian online retailers. Check this page for more details. + /// href="https://docs.stripe.com/payments/eps">page for more details. /// [JsonProperty("eps")] #if NET6_0_OR_GREATER @@ -259,7 +259,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// institutions are members of the PayNet Group, which owns and operates FPX. It is one of /// the most popular online payment methods in Malaysia, with nearly 90 million transactions /// in 2018 according to BNM. Check this page for more details. + /// href="https://docs.stripe.com/payments/fpx">page for more details. /// [JsonProperty("fpx")] #if NET6_0_OR_GREATER @@ -271,7 +271,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly /// offered by employers for their employees to purchase prepared food and beverages on /// working days. Check this page for more + /// href="https://docs.stripe.com/payments/benefits/fr-meal-vouchers">page for more /// details. /// [JsonProperty("fr_meal_voucher_conecs")] @@ -286,7 +286,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// with funds debited from their bank account. Depending on their bank, customers confirm /// payments on giropay using a second factor of authentication or a PIN. giropay accounts /// for 10% of online checkouts in Germany. Check this page for more details. + /// href="https://docs.stripe.com/payments/giropay">page for more details. /// [JsonProperty("giropay")] #if NET6_0_OR_GREATER @@ -299,7 +299,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// debit card saved to their Google Account, including those from Google Play, YouTube, /// Chrome, or an Android device. Use the Google Pay API to request any credit or debit card /// stored in your customer's Google account. Check this page for more details. + /// href="https://docs.stripe.com/google-pay">page for more details. /// [JsonProperty("google_pay")] #if NET6_0_OR_GREATER @@ -308,7 +308,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationGooglePayOptions GooglePay { get; set; } /// - /// GoPay is a single + /// GoPay is a single /// use digital wallet payment method popular in Indonesia. When paying with GoPay, /// customers authenticate and approve payments using the Gojek app. Desktop checkout is /// performed by scanning a QR code. When checking out on mobile, customers are redirected @@ -324,7 +324,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// GrabPay is a payment method developed by Grab. GrabPay is a digital /// wallet - customers maintain a balance in their wallets that they pay out with. Check - /// this page for more details. + /// this page for more details. /// [JsonProperty("grabpay")] #if NET6_0_OR_GREATER @@ -347,7 +347,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// transactions online using their bank credentials. All major Dutch banks are members of /// Currence, the scheme that operates iDEAL, making it the most popular online payment /// method in the Netherlands with a share of online transactions close to 55%. Check this - /// page for more details. + /// page for more details. /// [JsonProperty("ideal")] #if NET6_0_OR_GREATER @@ -380,11 +380,11 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Klarna gives customers a range of payment options + /// href="https://docs.stripe.com/payments/klarna#payment-options">payment options /// during checkout. Available payment options vary depending on the customer's billing /// address and the transaction amount. These payment options make it convenient for /// customers to purchase items in all price ranges. Check this page for more details. + /// href="https://docs.stripe.com/payments/klarna">page for more details. /// [JsonProperty("klarna")] #if NET6_0_OR_GREATER @@ -394,7 +394,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Konbini allows customers in Japan to pay for bills and online purchases at convenience - /// stores with cash. Check this page + /// stores with cash. Check this page /// for more details. /// [JsonProperty("konbini")] @@ -413,7 +413,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationKrCardOptions KrCard { get; set; } /// - /// Link is a payment method network. + /// Link is a payment method network. /// With Link, users save their payment details once, then reuse that information to pay /// with one click for any business on the network. /// @@ -426,7 +426,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// MB WAY is the most popular wallet in Portugal. After entering their phone number in your /// checkout, customers approve the payment directly in their MB WAY app. Check this page for more details. + /// href="https://docs.stripe.com/payments/mb-way">page for more details. /// [JsonProperty("mb_way")] #if NET6_0_OR_GREATER @@ -436,11 +436,11 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// MobilePay is a single-use card wallet + /// href="https://docs.stripe.com/payments/payment-methods#usage">single-use card wallet /// payment method used in Denmark and Finland. It allows customers to authenticate + /// href="https://docs.stripe.com/payments/payment-methods#customer-actions">authenticate /// and approve payments using the MobilePay app. Check this page for more details. + /// href="https://docs.stripe.com/payments/mobilepay">page for more details. /// [JsonProperty("mobilepay")] #if NET6_0_OR_GREATER @@ -480,7 +480,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct /// debit payments from customers with a New Zeland bank account. Check this page for more details. + /// href="https://docs.stripe.com/payments/nz-bank-account">page for more details. /// [JsonProperty("nz_bank_account")] #if NET6_0_OR_GREATER @@ -492,7 +492,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// OXXO is a Mexican chain of convenience stores with thousands of locations across Latin /// America and represents nearly 20% of online transactions in Mexico. OXXO allows /// customers to pay bills and online purchases in-store with cash. Check this page for more details. + /// href="https://docs.stripe.com/payments/oxxo">page for more details. /// [JsonProperty("oxxo")] #if NET6_0_OR_GREATER @@ -504,7 +504,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Przelewy24 is a Poland-based payment method aggregator that allows customers to complete /// transactions online using bank transfers and other methods. Bank transfers account for /// 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with - /// over 165 banks. Check this page for + /// over 165 banks. Check this page for /// more details. /// [JsonProperty("p24")] @@ -538,7 +538,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// PayNow is a Singapore-based payment method that allows customers to make a payment using /// their preferred app from participating banks and participating non-bank financial - /// institutions. Check this page for + /// institutions. Check this page for /// more details. /// [JsonProperty("paynow")] @@ -550,7 +550,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// PayPal, a digital wallet popular with customers in Europe, allows your customers /// worldwide to pay using their PayPal account. Check this page for more details. + /// href="https://docs.stripe.com/payments/paypal">page for more details. /// [JsonProperty("paypal")] #if NET6_0_OR_GREATER @@ -593,7 +593,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// PromptPay is a Thailand-based payment method that allows customers to make a payment /// using their preferred app from participating banks. Check this page for more details. + /// href="https://docs.stripe.com/payments/promptpay">page for more details. /// [JsonProperty("promptpay")] #if NET6_0_OR_GREATER @@ -655,7 +655,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Payments Area (SEPA) is an initiative of the European Union to simplify payments /// within and across member countries. SEPA established and enforced banking standards to /// allow for the direct debiting of every EUR-denominated bank account within the SEPA - /// region, check this page for + /// region, check this page for /// more details. /// [JsonProperty("sepa_debit")] @@ -665,7 +665,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationSepaDebitOptions SepaDebit { get; set; } /// - /// ShopeePay is a single + /// ShopeePay is a single /// use digital wallet payment method popular in Indonesia. When paying with GoPay, /// customers authenticate and approve payments using the Shopee app. Desktop checkout is /// performed by scanning a QR code. When checking out on mobile, customers are redirected @@ -682,7 +682,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// href="https://stripe.com/docs/payments/payment-intents">Payment Intents API—a single /// integration path for creating payments using any supported method—to accept Sofort payments from customers. Check this page for more details. + /// href="https://docs.stripe.com/payments/sofort">page for more details. /// [JsonProperty("sofort")] #if NET6_0_OR_GREATER @@ -691,11 +691,11 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions public PaymentMethodConfigurationSofortOptions Sofort { get; set; } /// - /// Swish is a real-time payment + /// Swish is a real-time payment /// method popular in Sweden. It allows customers to authenticate + /// href="https://docs.stripe.com/payments/payment-methods#customer-actions">authenticate /// and approve payments using the Swish mobile app and the Swedish BankID mobile app. - /// Check this page for more details. + /// Check this page for more details. /// [JsonProperty("swish")] #if NET6_0_OR_GREATER @@ -718,7 +718,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// Stripe users in the United States can accept ACH direct debit payments from customers /// with a US bank account using the Automated Clearing House (ACH) payments system operated /// by Nacha. Check this page for more details. + /// href="https://docs.stripe.com/payments/ach-direct-debit">page for more details. /// [JsonProperty("us_bank_account")] #if NET6_0_OR_GREATER @@ -731,7 +731,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// active users. Chinese consumers can use WeChat Pay to pay for goods and services inside /// of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, /// e-commerce, travel, online education, and food/nutrition. Check this page for more details. + /// href="https://docs.stripe.com/payments/wechat-pay">page for more details. /// [JsonProperty("wechat_pay")] #if NET6_0_OR_GREATER @@ -741,7 +741,7 @@ public class PaymentMethodConfigurationUpdateOptions : BaseOptions /// /// Zip gives your customers a way to split purchases over a series of payments. Check this - /// page for more details like country + /// page for more details like country /// availability. /// [JsonProperty("zip")] diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodAttachOptions.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodAttachOptions.cs index c0be366fa3..e325e3e0ec 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodAttachOptions.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodAttachOptions.cs @@ -18,7 +18,7 @@ public class PaymentMethodAttachOptions : BaseOptions public string Customer { get; set; } /// - /// The ID of the account to which to attach the PaymentMethod. + /// The ID of the Account representing the customer to which to attach the PaymentMethod. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodCreateOptions.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodCreateOptions.cs index 0e1c335344..0fc11e1eed 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodCreateOptions.cs @@ -357,7 +357,7 @@ public class PaymentMethodCreateOptions : BaseOptions, IHasMetadata public PaymentMethodMbWayOptions MbWay { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -529,7 +529,7 @@ public class PaymentMethodCreateOptions : BaseOptions, IHasMetadata /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodIdealOptions.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodIdealOptions.cs index 2b791deff2..a897d7da09 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodIdealOptions.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodIdealOptions.cs @@ -12,9 +12,9 @@ public class PaymentMethodIdealOptions : INestedOptions /// The customer's bank. Only use this parameter for existing customers. Don't use it for /// new customers. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodRadarOptionsOptions.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodRadarOptionsOptions.cs index 86b90fe043..36dcc69add 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class PaymentMethodRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs index 954de19c99..dba38fbca3 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodService.cs @@ -149,10 +149,7 @@ public virtual Task GetAsync(string id, PaymentMethodGetOptions o } /// - ///

Returns a list of PaymentMethods for Treasury flows. If you want to list the - /// PaymentMethods attached to a Customer for payments, you should use the List a Customer’s - /// PaymentMethods API instead.

. + ///

Returns a list of all PaymentMethods.

. ///
public virtual StripeList List(PaymentMethodListOptions options = null, RequestOptions requestOptions = null) { @@ -160,10 +157,7 @@ public virtual StripeList List(PaymentMethodListOptions options = } /// - ///

Returns a list of PaymentMethods for Treasury flows. If you want to list the - /// PaymentMethods attached to a Customer for payments, you should use the List a Customer’s - /// PaymentMethods API instead.

. + ///

Returns a list of all PaymentMethods.

. ///
public virtual Task> ListAsync(PaymentMethodListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -171,10 +165,7 @@ public virtual Task> ListAsync(PaymentMethodListOption } /// - ///

Returns a list of PaymentMethods for Treasury flows. If you want to list the - /// PaymentMethods attached to a Customer for payments, you should use the List a Customer’s - /// PaymentMethods API instead.

. + ///

Returns a list of all PaymentMethods.

. ///
public virtual IEnumerable ListAutoPaging(PaymentMethodListOptions options = null, RequestOptions requestOptions = null) { @@ -182,10 +173,7 @@ public virtual IEnumerable ListAutoPaging(PaymentMethodListOption } /// - ///

Returns a list of PaymentMethods for Treasury flows. If you want to list the - /// PaymentMethods attached to a Customer for payments, you should use the List a Customer’s - /// PaymentMethods API instead.

. + ///

Returns a list of all PaymentMethods.

. ///
public virtual IAsyncEnumerable ListAutoPagingAsync(PaymentMethodListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/PaymentMethods/PaymentMethodUpdateOptions.cs b/src/Stripe.net/Services/PaymentMethods/PaymentMethodUpdateOptions.cs index 0f405b2048..51eaffc379 100644 --- a/src/Stripe.net/Services/PaymentMethods/PaymentMethodUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentMethods/PaymentMethodUpdateOptions.cs @@ -42,7 +42,7 @@ public class PaymentMethodUpdateOptions : BaseOptions, IHasMetadata public PaymentMethodCardOptions Card { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountOptions.cs index 40498c8f74..3ff97ae645 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountOptions.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountOptions : INestedOptions /// /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountRequestedOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountRequestedOptions.cs index d2143db3b8..1bd026b747 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountRequestedOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordAmountRequestedOptions.cs @@ -21,7 +21,7 @@ public class PaymentRecordAmountRequestedOptions : INestedOptions /// /// A positive integer representing the amount in the currency's minor unit. For example, + /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example, /// 100 can represent 1 USD or 100 JPY. /// [JsonProperty("value")] diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptInformationalOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptInformationalOptions.cs index cb7fd5073f..b974caff6a 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptInformationalOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptInformationalOptions.cs @@ -28,7 +28,7 @@ public class PaymentRecordReportPaymentAttemptInformationalOptions : BaseOptions public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptOptions.cs index db9e573be6..c4641888c5 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentAttemptOptions.cs @@ -50,7 +50,7 @@ public class PaymentRecordReportPaymentAttemptOptions : BaseOptions, IHasMetadat public DateTime? InitiatedAt { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentOptions.cs index cb9381b6f5..cc700d7614 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportPaymentOptions.cs @@ -78,7 +78,7 @@ public class PaymentRecordReportPaymentOptions : BaseOptions, IHasMetadata public DateTime? InitiatedAt { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportRefundOptions.cs b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportRefundOptions.cs index 905aa3aa2e..43e65a57b1 100644 --- a/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportRefundOptions.cs +++ b/src/Stripe.net/Services/PaymentRecords/PaymentRecordReportRefundOptions.cs @@ -13,7 +13,7 @@ public class PaymentRecordReportRefundOptions : BaseOptions, IHasMetadata { /// /// A positive integer in the smallest currency unit + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit /// representing how much of this payment to refund. Can refund only up to the remaining, /// unrefunded amount of the payment. /// @@ -35,7 +35,7 @@ public class PaymentRecordReportRefundOptions : BaseOptions, IHasMetadata public DateTime? InitiatedAt { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Payouts/PayoutCreateOptions.cs b/src/Stripe.net/Services/Payouts/PayoutCreateOptions.cs index c67f635aa7..89064d4403 100644 --- a/src/Stripe.net/Services/Payouts/PayoutCreateOptions.cs +++ b/src/Stripe.net/Services/Payouts/PayoutCreateOptions.cs @@ -49,7 +49,7 @@ public class PayoutCreateOptions : BaseOptions, IHasMetadata public string Destination { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Payouts/PayoutReverseOptions.cs b/src/Stripe.net/Services/Payouts/PayoutReverseOptions.cs index 96dac0b073..34c0196775 100644 --- a/src/Stripe.net/Services/Payouts/PayoutReverseOptions.cs +++ b/src/Stripe.net/Services/Payouts/PayoutReverseOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class PayoutReverseOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Payouts/PayoutUpdateOptions.cs b/src/Stripe.net/Services/Payouts/PayoutUpdateOptions.cs index e6580e0549..0f8965d601 100644 --- a/src/Stripe.net/Services/Payouts/PayoutUpdateOptions.cs +++ b/src/Stripe.net/Services/Payouts/PayoutUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class PayoutUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Plans/PlanCreateOptions.cs b/src/Stripe.net/Services/Plans/PlanCreateOptions.cs index 6e0469eb48..6406f56b60 100644 --- a/src/Stripe.net/Services/Plans/PlanCreateOptions.cs +++ b/src/Stripe.net/Services/Plans/PlanCreateOptions.cs @@ -100,7 +100,7 @@ public class PlanCreateOptions : BaseOptions, IHasId, IHasMetadata public long? IntervalCount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -172,7 +172,7 @@ public class PlanCreateOptions : BaseOptions, IHasId, IHasMetadata /// /// Default number of trial days when subscribing a customer to this plan using trial_from_plan=true. + /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true. /// [JsonProperty("trial_period_days")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Plans/PlanProductOptions.cs b/src/Stripe.net/Services/Plans/PlanProductOptions.cs index 69216835f5..61034129d2 100644 --- a/src/Stripe.net/Services/Plans/PlanProductOptions.cs +++ b/src/Stripe.net/Services/Plans/PlanProductOptions.cs @@ -29,7 +29,7 @@ public class PlanProductOptions : INestedOptions, IHasId, IHasMetadata public string Id { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -65,7 +65,7 @@ public class PlanProductOptions : INestedOptions, IHasId, IHasMetadata public string StatementDescriptor { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Plans/PlanUpdateOptions.cs b/src/Stripe.net/Services/Plans/PlanUpdateOptions.cs index 430457ba7f..b0d546c85a 100644 --- a/src/Stripe.net/Services/Plans/PlanUpdateOptions.cs +++ b/src/Stripe.net/Services/Plans/PlanUpdateOptions.cs @@ -19,7 +19,7 @@ public class PlanUpdateOptions : BaseOptions, IHasMetadata public bool? Active { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -51,7 +51,7 @@ public class PlanUpdateOptions : BaseOptions, IHasMetadata /// /// Default number of trial days when subscribing a customer to this plan using trial_from_plan=true. + /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true. /// [JsonProperty("trial_period_days")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Prices/PriceCreateOptions.cs b/src/Stripe.net/Services/Prices/PriceCreateOptions.cs index 358ba946da..1526868dec 100644 --- a/src/Stripe.net/Services/Prices/PriceCreateOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceCreateOptions.cs @@ -77,7 +77,7 @@ public class PriceCreateOptions : BaseOptions, IHasMetadata public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -127,7 +127,7 @@ public class PriceCreateOptions : BaseOptions, IHasMetadata /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Prices/PriceCurrencyOptionsOptions.cs b/src/Stripe.net/Services/Prices/PriceCurrencyOptionsOptions.cs index c522d49265..45190e12a7 100644 --- a/src/Stripe.net/Services/Prices/PriceCurrencyOptionsOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceCurrencyOptionsOptions.cs @@ -21,7 +21,7 @@ public class PriceCurrencyOptionsOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Prices/PriceProductDataOptions.cs b/src/Stripe.net/Services/Prices/PriceProductDataOptions.cs index 88b15646f4..67b32b15a7 100644 --- a/src/Stripe.net/Services/Prices/PriceProductDataOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceProductDataOptions.cs @@ -29,7 +29,7 @@ public class PriceProductDataOptions : INestedOptions, IHasId, IHasMetadata public string Id { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -65,7 +65,7 @@ public class PriceProductDataOptions : INestedOptions, IHasId, IHasMetadata public string StatementDescriptor { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs b/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs index 080e94a405..688e1eb4ef 100644 --- a/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs @@ -41,7 +41,7 @@ public class PriceRecurringOptions : INestedOptions /// /// Default number of trial days when subscribing a customer to this price using trial_from_plan=true. + /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true. /// [JsonProperty("trial_period_days")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Prices/PriceUpdateOptions.cs b/src/Stripe.net/Services/Prices/PriceUpdateOptions.cs index a02261f485..64144a8f52 100644 --- a/src/Stripe.net/Services/Prices/PriceUpdateOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceUpdateOptions.cs @@ -40,7 +40,7 @@ public class PriceUpdateOptions : BaseOptions, IHasMetadata public string LookupKey { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -72,7 +72,7 @@ public class PriceUpdateOptions : BaseOptions, IHasMetadata /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/ProductFeatures/ProductFeatureCreateOptions.cs b/src/Stripe.net/Services/ProductFeatures/ProductFeatureCreateOptions.cs index cebbe523e8..239c684a82 100644 --- a/src/Stripe.net/Services/ProductFeatures/ProductFeatureCreateOptions.cs +++ b/src/Stripe.net/Services/ProductFeatures/ProductFeatureCreateOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class ProductFeatureCreateOptions : BaseOptions { /// - /// The ID of the Feature + /// The ID of the Feature /// object attached to this product. /// [JsonProperty("entitlement_feature")] diff --git a/src/Stripe.net/Services/Products/ProductCreateOptions.cs b/src/Stripe.net/Services/Products/ProductCreateOptions.cs index 8089f4db4f..1509074fd1 100644 --- a/src/Stripe.net/Services/Products/ProductCreateOptions.cs +++ b/src/Stripe.net/Services/Products/ProductCreateOptions.cs @@ -19,7 +19,7 @@ public class ProductCreateOptions : BaseOptions, IHasId, IHasMetadata public bool? Active { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object. This Price will be set as the default price for this product. /// [JsonProperty("default_price_data")] @@ -61,7 +61,7 @@ public class ProductCreateOptions : BaseOptions, IHasId, IHasMetadata /// /// A list of up to 15 marketing features for this product. These are displayed in pricing tables. + /// href="https://docs.stripe.com/payments/checkout/pricing-table">pricing tables. /// [JsonProperty("marketing_features")] #if NET6_0_OR_GREATER @@ -70,7 +70,7 @@ public class ProductCreateOptions : BaseOptions, IHasId, IHasMetadata public List MarketingFeatures { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -125,7 +125,7 @@ public class ProductCreateOptions : BaseOptions, IHasId, IHasMetadata public string StatementDescriptor { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Products/ProductDefaultPriceDataCurrencyOptionsOptions.cs b/src/Stripe.net/Services/Products/ProductDefaultPriceDataCurrencyOptionsOptions.cs index 4d7c7e41e2..1f6056d23f 100644 --- a/src/Stripe.net/Services/Products/ProductDefaultPriceDataCurrencyOptionsOptions.cs +++ b/src/Stripe.net/Services/Products/ProductDefaultPriceDataCurrencyOptionsOptions.cs @@ -21,7 +21,7 @@ public class ProductDefaultPriceDataCurrencyOptionsOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Products/ProductDefaultPriceDataOptions.cs b/src/Stripe.net/Services/Products/ProductDefaultPriceDataOptions.cs index 98a5b9993d..b343fb1fdb 100644 --- a/src/Stripe.net/Services/Products/ProductDefaultPriceDataOptions.cs +++ b/src/Stripe.net/Services/Products/ProductDefaultPriceDataOptions.cs @@ -42,7 +42,7 @@ public class ProductDefaultPriceDataOptions : INestedOptions, IHasMetadata public ProductDefaultPriceDataCustomUnitAmountOptions CustomUnitAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -64,7 +64,7 @@ public class ProductDefaultPriceDataOptions : INestedOptions, IHasMetadata /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Products/ProductListOptions.cs b/src/Stripe.net/Services/Products/ProductListOptions.cs index 9c78b37223..d54330d9e5 100644 --- a/src/Stripe.net/Services/Products/ProductListOptions.cs +++ b/src/Stripe.net/Services/Products/ProductListOptions.cs @@ -34,8 +34,8 @@ public class ProductListOptions : ListOptions /// /// Only return products with the given IDs. Cannot be used with starting_after or ending_before. + /// href="https://api.stripe.com#list_products-starting_after">starting_after or ending_before. /// [JsonProperty("ids")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Products/ProductUpdateOptions.cs b/src/Stripe.net/Services/Products/ProductUpdateOptions.cs index a4879d7882..e974ca0efa 100644 --- a/src/Stripe.net/Services/Products/ProductUpdateOptions.cs +++ b/src/Stripe.net/Services/Products/ProductUpdateOptions.cs @@ -19,7 +19,7 @@ public class ProductUpdateOptions : BaseOptions, IHasMetadata public bool? Active { get; set; } /// - /// The ID of the Price object that is the + /// The ID of the Price object that is the /// default price for this product. /// [JsonProperty("default_price")] @@ -51,7 +51,7 @@ public class ProductUpdateOptions : BaseOptions, IHasMetadata /// /// A list of up to 15 marketing features for this product. These are displayed in pricing tables. + /// href="https://docs.stripe.com/payments/checkout/pricing-table">pricing tables. /// [JsonProperty("marketing_features")] #if NET6_0_OR_GREATER @@ -60,7 +60,7 @@ public class ProductUpdateOptions : BaseOptions, IHasMetadata public List MarketingFeatures { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -116,7 +116,7 @@ public class ProductUpdateOptions : BaseOptions, IHasMetadata public string StatementDescriptor { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PromotionCodes/PromotionCodeCreateOptions.cs b/src/Stripe.net/Services/PromotionCodes/PromotionCodeCreateOptions.cs index a5e90b04d3..ccbab14908 100644 --- a/src/Stripe.net/Services/PromotionCodes/PromotionCodeCreateOptions.cs +++ b/src/Stripe.net/Services/PromotionCodes/PromotionCodeCreateOptions.cs @@ -34,8 +34,8 @@ public class PromotionCodeCreateOptions : BaseOptions, IHasMetadata public string Code { get; set; } /// - /// The customer that this promotion code can be used by. If not set, the promotion code can - /// be used by all customers. + /// The customer who can use this promotion code. If not set, all customers can use the + /// promotion code. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -44,8 +44,8 @@ public class PromotionCodeCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// The account that this promotion code can be used by. If not set, the promotion code can - /// be used by all accounts. + /// The account representing the customer who can use this promotion code. If not set, all + /// customers can use the promotion code. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -77,7 +77,7 @@ public class PromotionCodeCreateOptions : BaseOptions, IHasMetadata public long? MaxRedemptions { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/PromotionCodes/PromotionCodeListOptions.cs b/src/Stripe.net/Services/PromotionCodes/PromotionCodeListOptions.cs index 7ea2e5f9b2..ddf6f8dcd9 100644 --- a/src/Stripe.net/Services/PromotionCodes/PromotionCodeListOptions.cs +++ b/src/Stripe.net/Services/PromotionCodes/PromotionCodeListOptions.cs @@ -60,7 +60,8 @@ public class PromotionCodeListOptions : ListOptions public string Customer { get; set; } /// - /// Only return promotion codes that are restricted to this account. + /// Only return promotion codes that are restricted to this account representing the + /// customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/PromotionCodes/PromotionCodeUpdateOptions.cs b/src/Stripe.net/Services/PromotionCodes/PromotionCodeUpdateOptions.cs index 012e18703a..d7d7f2d03b 100644 --- a/src/Stripe.net/Services/PromotionCodes/PromotionCodeUpdateOptions.cs +++ b/src/Stripe.net/Services/PromotionCodes/PromotionCodeUpdateOptions.cs @@ -20,7 +20,7 @@ public class PromotionCodeUpdateOptions : BaseOptions, IHasMetadata public bool? Active { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Quotes/QuoteCreateOptions.cs b/src/Stripe.net/Services/Quotes/QuoteCreateOptions.cs index 25c0a65770..d3c7cacd6f 100644 --- a/src/Stripe.net/Services/Quotes/QuoteCreateOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteCreateOptions.cs @@ -201,7 +201,7 @@ public class QuoteCreateOptions : BaseOptions, IHasMetadata public List Lines { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Quotes/QuoteLineActionAddItemOptions.cs b/src/Stripe.net/Services/Quotes/QuoteLineActionAddItemOptions.cs index 8f67defdd2..6a5ece2746 100644 --- a/src/Stripe.net/Services/Quotes/QuoteLineActionAddItemOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteLineActionAddItemOptions.cs @@ -20,7 +20,7 @@ public class QuoteLineActionAddItemOptions : INestedOptions, IHasMetadata public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Quotes/QuoteLineItemOptions.cs b/src/Stripe.net/Services/Quotes/QuoteLineItemOptions.cs index fe5fcc55fe..4d7574ee68 100644 --- a/src/Stripe.net/Services/Quotes/QuoteLineItemOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteLineItemOptions.cs @@ -37,7 +37,7 @@ public class QuoteLineItemOptions : INestedOptions, IHasId public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] diff --git a/src/Stripe.net/Services/Quotes/QuoteLineItemPriceDataOptions.cs b/src/Stripe.net/Services/Quotes/QuoteLineItemPriceDataOptions.cs index 4725afe25c..f6000c545e 100644 --- a/src/Stripe.net/Services/Quotes/QuoteLineItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteLineItemPriceDataOptions.cs @@ -40,7 +40,7 @@ public class QuoteLineItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Quotes/QuoteListOptions.cs b/src/Stripe.net/Services/Quotes/QuoteListOptions.cs index 1f452afa1b..b5ac6301b9 100644 --- a/src/Stripe.net/Services/Quotes/QuoteListOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteListOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class QuoteListOptions : ListOptions { /// - /// The ID of the customer whose quotes will be retrieved. + /// The ID of the customer whose quotes you're retrieving. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -18,7 +18,7 @@ public class QuoteListOptions : ListOptions public string Customer { get; set; } /// - /// The ID of the account whose quotes will be retrieved. + /// The ID of the account representing the customer whose quotes you're retrieving. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs index b485a3c7c3..06ba3965cc 100644 --- a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOptions.cs @@ -102,7 +102,7 @@ public class QuoteSubscriptionDataOptions : INestedOptions, IHasMetadata public string FromSubscription { get; set; } /// - /// Set of key-value pairs that will set + /// Set of key-value pairs that will set /// metadata on the subscription or subscription schedule when the quote is accepted. If a /// recurring price is included in line_items, this field will be passed to the /// resulting subscription's metadata field. If @@ -128,7 +128,7 @@ public class QuoteSubscriptionDataOptions : INestedOptions, IHasMetadata /// /// Determines how to handle prorations. + /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations. /// When creating a subscription, valid values are create_prorations or none. /// /// When updating a subscription, valid values are create_prorations, none, or @@ -136,7 +136,7 @@ public class QuoteSubscriptionDataOptions : INestedOptions, IHasMetadata /// /// Passing create_prorations will cause proration invoice items to be created when /// applicable. These proration items will only be invoiced immediately under certain + /// href="https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment">certain /// conditions. In order to always invoice immediately for prorations, pass /// always_invoice. /// diff --git a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideOptions.cs b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideOptions.cs index 4ee94e2ba9..2d0e838318 100644 --- a/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideOptions.cs @@ -74,7 +74,7 @@ public class QuoteSubscriptionDataOverrideOptions : INestedOptions /// /// Determines how to handle prorations. + /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations. /// When creating a subscription, valid values are create_prorations or none. /// /// When updating a subscription, valid values are create_prorations, none, or @@ -82,7 +82,7 @@ public class QuoteSubscriptionDataOverrideOptions : INestedOptions /// /// Passing create_prorations will cause proration invoice items to be created when /// applicable. These proration items will only be invoiced immediately under certain + /// href="https://docs.stripe.com/subscriptions/upgrading-downgrading#immediate-payment">certain /// conditions. In order to always invoice immediately for prorations, pass /// always_invoice. /// diff --git a/src/Stripe.net/Services/Quotes/QuoteUpdateOptions.cs b/src/Stripe.net/Services/Quotes/QuoteUpdateOptions.cs index e6b7ab1476..0a9ea9b370 100644 --- a/src/Stripe.net/Services/Quotes/QuoteUpdateOptions.cs +++ b/src/Stripe.net/Services/Quotes/QuoteUpdateOptions.cs @@ -178,7 +178,7 @@ public class QuoteUpdateOptions : BaseOptions, IHasMetadata public List Lines { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs b/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs index 97bf4debe2..5eb9ccb7b4 100644 --- a/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs +++ b/src/Stripe.net/Services/Radar/ValueLists/ValueListCreateOptions.cs @@ -35,7 +35,7 @@ public class ValueListCreateOptions : BaseOptions, IHasMetadata public string ItemType { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Radar/ValueLists/ValueListUpdateOptions.cs b/src/Stripe.net/Services/Radar/ValueLists/ValueListUpdateOptions.cs index 0ed4912cc5..0f508d6488 100644 --- a/src/Stripe.net/Services/Radar/ValueLists/ValueListUpdateOptions.cs +++ b/src/Stripe.net/Services/Radar/ValueLists/ValueListUpdateOptions.cs @@ -19,7 +19,7 @@ public class ValueListUpdateOptions : BaseOptions, IHasMetadata public string Alias { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Refunds/RefundCreateOptions.cs b/src/Stripe.net/Services/Refunds/RefundCreateOptions.cs index b5abcecbd7..9b863bec0b 100644 --- a/src/Stripe.net/Services/Refunds/RefundCreateOptions.cs +++ b/src/Stripe.net/Services/Refunds/RefundCreateOptions.cs @@ -55,7 +55,7 @@ public class RefundCreateOptions : BaseOptions, IHasMetadata public string InstructionsEmail { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -88,7 +88,7 @@ public class RefundCreateOptions : BaseOptions, IHasMetadata /// String indicating the reason for the refund. If set, possible values are /// duplicate, fraudulent, and requested_by_customer. If you believe /// the charge to be fraudulent, specifying fraudulent as the reason will add the - /// associated card and email to your block + /// associated card and email to your block /// lists, and will also help us improve our fraud detection algorithms. /// One of: duplicate, fraudulent, or requested_by_customer. /// diff --git a/src/Stripe.net/Services/Refunds/RefundUpdateOptions.cs b/src/Stripe.net/Services/Refunds/RefundUpdateOptions.cs index 620b86c753..9d29a294a0 100644 --- a/src/Stripe.net/Services/Refunds/RefundUpdateOptions.cs +++ b/src/Stripe.net/Services/Refunds/RefundUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class RefundUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunCreateOptions.cs b/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunCreateOptions.cs index 8d1ce641b1..33348e71b0 100644 --- a/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunCreateOptions.cs +++ b/src/Stripe.net/Services/Reporting/ReportRuns/ReportRunCreateOptions.cs @@ -11,7 +11,7 @@ public class ReportRunCreateOptions : BaseOptions /// /// Parameters specifying how the report should be run. Different Report Types have /// different required and optional parameters, listed in the API Access to Reports + /// href="https://docs.stripe.com/reporting/statements/api">API Access to Reports /// documentation. /// [JsonProperty("parameters")] @@ -22,7 +22,7 @@ public class ReportRunCreateOptions : BaseOptions /// /// The ID of the report type to + /// href="https://docs.stripe.com/reporting/statements/api#report-types">report type to /// run, such as "balance.summary.1". /// [JsonProperty("report_type")] diff --git a/src/Stripe.net/Services/Reserve/Holds/HoldGetOptions.cs b/src/Stripe.net/Services/Reserve/Holds/HoldGetOptions.cs new file mode 100644 index 0000000000..cacf169789 --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Holds/HoldGetOptions.cs @@ -0,0 +1,7 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + public class HoldGetOptions : BaseOptions + { + } +} diff --git a/src/Stripe.net/Services/Reserve/Holds/HoldListOptions.cs b/src/Stripe.net/Services/Reserve/Holds/HoldListOptions.cs new file mode 100644 index 0000000000..f5d40bca7e --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Holds/HoldListOptions.cs @@ -0,0 +1,70 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class HoldListOptions : ListOptions + { + /// + /// Only return ReserveHolds associated with the currency specified by this currency code. + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// Only return ReserveHolds that are releasable. + /// + [JsonProperty("is_releasable")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("is_releasable")] +#endif + public bool? IsReleasable { get; set; } + + /// + /// One of: charge, or standalone. + /// + [JsonProperty("reason")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reason")] +#endif + public string Reason { get; set; } + + /// + /// Only return ReserveHolds associated with the ReservePlan specified by this ReservePlan + /// ID. + /// + [JsonProperty("reserve_plan")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_plan")] +#endif + public string ReservePlan { get; set; } + + /// + /// Only return ReserveHolds associated with the ReserveRelease specified by this + /// ReserveRelease ID. + /// + [JsonProperty("reserve_release")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_release")] +#endif + public string ReserveRelease { get; set; } + + /// + /// Only return ReserveHolds associated with the Charge specified by this source charge ID. + /// + [JsonProperty("source_charge")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("source_charge")] +#endif + public string SourceCharge { get; set; } + } +} diff --git a/src/Stripe.net/Services/Reserve/Holds/HoldService.cs b/src/Stripe.net/Services/Reserve/Holds/HoldService.cs new file mode 100644 index 0000000000..3dab4e172a --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Holds/HoldService.cs @@ -0,0 +1,81 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Collections.Generic; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public class HoldService : Service, + IListable, + IRetrievable + { + public HoldService() + { + } + + internal HoldService(ApiRequestor requestor) + : base(requestor) + { + } + + public HoldService(IStripeClient client) + : base(client) + { + } + + /// + ///

Retrieve a ReserveHold.

. + ///
+ public virtual Hold Get(string id, HoldGetOptions options = null, RequestOptions requestOptions = null) + { + return this.Request(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/holds/{WebUtility.UrlEncode(id)}", options, requestOptions); + } + + /// + ///

Retrieve a ReserveHold.

. + ///
+ public virtual Task GetAsync(string id, HoldGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/holds/{WebUtility.UrlEncode(id)}", options, requestOptions, cancellationToken); + } + + /// + ///

Returns a list of ReserveHolds previously created. The ReserveHolds are returned in + /// sorted order, with the most recent ReserveHolds appearing first.

. + ///
+ public virtual StripeList List(HoldListOptions options = null, RequestOptions requestOptions = null) + { + return this.Request>(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/holds", options, requestOptions); + } + + /// + ///

Returns a list of ReserveHolds previously created. The ReserveHolds are returned in + /// sorted order, with the most recent ReserveHolds appearing first.

. + ///
+ public virtual Task> ListAsync(HoldListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync>(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/holds", options, requestOptions, cancellationToken); + } + + /// + ///

Returns a list of ReserveHolds previously created. The ReserveHolds are returned in + /// sorted order, with the most recent ReserveHolds appearing first.

. + ///
+ public virtual IEnumerable ListAutoPaging(HoldListOptions options = null, RequestOptions requestOptions = null) + { + return this.ListRequestAutoPaging($"/v1/reserve/holds", options, requestOptions); + } + + /// + ///

Returns a list of ReserveHolds previously created. The ReserveHolds are returned in + /// sorted order, with the most recent ReserveHolds appearing first.

. + ///
+ public virtual IAsyncEnumerable ListAutoPagingAsync(HoldListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.ListRequestAutoPagingAsync($"/v1/reserve/holds", options, requestOptions, cancellationToken); + } + } +} diff --git a/src/Stripe.net/Services/Reserve/Plans/PlanGetOptions.cs b/src/Stripe.net/Services/Reserve/Plans/PlanGetOptions.cs new file mode 100644 index 0000000000..0dd5901728 --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Plans/PlanGetOptions.cs @@ -0,0 +1,7 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + public class PlanGetOptions : BaseOptions + { + } +} diff --git a/src/Stripe.net/Services/Reserve/Plans/PlanService.cs b/src/Stripe.net/Services/Reserve/Plans/PlanService.cs new file mode 100644 index 0000000000..47354f776e --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Plans/PlanService.cs @@ -0,0 +1,42 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public class PlanService : Service, IRetrievable + { + public PlanService() + { + } + + internal PlanService(ApiRequestor requestor) + : base(requestor) + { + } + + public PlanService(IStripeClient client) + : base(client) + { + } + + /// + ///

Retrieve a ReservePlan.

. + ///
+ public virtual Plan Get(string id, PlanGetOptions options = null, RequestOptions requestOptions = null) + { + return this.Request(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/plans/{WebUtility.UrlEncode(id)}", options, requestOptions); + } + + /// + ///

Retrieve a ReservePlan.

. + ///
+ public virtual Task GetAsync(string id, PlanGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/plans/{WebUtility.UrlEncode(id)}", options, requestOptions, cancellationToken); + } + } +} diff --git a/src/Stripe.net/Services/Reserve/Releases/ReleaseGetOptions.cs b/src/Stripe.net/Services/Reserve/Releases/ReleaseGetOptions.cs new file mode 100644 index 0000000000..a2b43975ee --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Releases/ReleaseGetOptions.cs @@ -0,0 +1,7 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + public class ReleaseGetOptions : BaseOptions + { + } +} diff --git a/src/Stripe.net/Services/Reserve/Releases/ReleaseListOptions.cs b/src/Stripe.net/Services/Reserve/Releases/ReleaseListOptions.cs new file mode 100644 index 0000000000..2322e6819c --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Releases/ReleaseListOptions.cs @@ -0,0 +1,43 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class ReleaseListOptions : ListOptions + { + /// + /// Only return ReserveReleases associated with the currency specified by this currency + /// code. Three-letter ISO + /// currency code, in lowercase. Must be a supported currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + + /// + /// Only return ReserveReleases associated with the ReserveHold specified by this + /// ReserveHold ID. + /// + [JsonProperty("reserve_hold")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_hold")] +#endif + public string ReserveHold { get; set; } + + /// + /// Only return ReserveReleases associated with the ReservePlan specified by this + /// ReservePlan ID. + /// + [JsonProperty("reserve_plan")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("reserve_plan")] +#endif + public string ReservePlan { get; set; } + } +} diff --git a/src/Stripe.net/Services/Reserve/Releases/ReleaseService.cs b/src/Stripe.net/Services/Reserve/Releases/ReleaseService.cs new file mode 100644 index 0000000000..adbfd91625 --- /dev/null +++ b/src/Stripe.net/Services/Reserve/Releases/ReleaseService.cs @@ -0,0 +1,81 @@ +// File generated from our OpenAPI spec +namespace Stripe.Reserve +{ + using System; + using System.Collections.Generic; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public class ReleaseService : Service, + IListable, + IRetrievable + { + public ReleaseService() + { + } + + internal ReleaseService(ApiRequestor requestor) + : base(requestor) + { + } + + public ReleaseService(IStripeClient client) + : base(client) + { + } + + /// + ///

Retrieve a ReserveRelease.

. + ///
+ public virtual Release Get(string id, ReleaseGetOptions options = null, RequestOptions requestOptions = null) + { + return this.Request(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/releases/{WebUtility.UrlEncode(id)}", options, requestOptions); + } + + /// + ///

Retrieve a ReserveRelease.

. + ///
+ public virtual Task GetAsync(string id, ReleaseGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/releases/{WebUtility.UrlEncode(id)}", options, requestOptions, cancellationToken); + } + + /// + ///

Returns a list of ReserveReleases previously created. The ReserveReleases are + /// returned in sorted order, with the most recent ReserveReleases appearing first.

. + ///
+ public virtual StripeList List(ReleaseListOptions options = null, RequestOptions requestOptions = null) + { + return this.Request>(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/releases", options, requestOptions); + } + + /// + ///

Returns a list of ReserveReleases previously created. The ReserveReleases are + /// returned in sorted order, with the most recent ReserveReleases appearing first.

. + ///
+ public virtual Task> ListAsync(ReleaseListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.RequestAsync>(BaseAddress.Api, HttpMethod.Get, $"/v1/reserve/releases", options, requestOptions, cancellationToken); + } + + /// + ///

Returns a list of ReserveReleases previously created. The ReserveReleases are + /// returned in sorted order, with the most recent ReserveReleases appearing first.

. + ///
+ public virtual IEnumerable ListAutoPaging(ReleaseListOptions options = null, RequestOptions requestOptions = null) + { + return this.ListRequestAutoPaging($"/v1/reserve/releases", options, requestOptions); + } + + /// + ///

Returns a list of ReserveReleases previously created. The ReserveReleases are + /// returned in sorted order, with the most recent ReserveReleases appearing first.

. + ///
+ public virtual IAsyncEnumerable ListAutoPagingAsync(ReleaseListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return this.ListRequestAutoPagingAsync($"/v1/reserve/releases", options, requestOptions, cancellationToken); + } + } +} diff --git a/src/Stripe.net/Services/ReserveService.cs b/src/Stripe.net/Services/ReserveService.cs new file mode 100644 index 0000000000..2b42d376ca --- /dev/null +++ b/src/Stripe.net/Services/ReserveService.cs @@ -0,0 +1,33 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using System; + using System.Threading; + using System.Threading.Tasks; + + public class ReserveService : Service + { + private Reserve.HoldService holds; + private Reserve.PlanService plans; + private Reserve.ReleaseService releases; + + internal ReserveService(ApiRequestor requestor) + : base(requestor) + { + } + + internal ReserveService(IStripeClient client) + : base(client) + { + } + + public virtual Reserve.HoldService Holds => this.holds ??= new Reserve.HoldService( + this.Requestor); + + public virtual Reserve.PlanService Plans => this.plans ??= new Reserve.PlanService( + this.Requestor); + + public virtual Reserve.ReleaseService Releases => this.releases ??= new Reserve.ReleaseService( + this.Requestor); + } +} diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentAutomaticPaymentMethodsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentAutomaticPaymentMethodsOptions.cs index 4d55ba22f9..7fb0cbf2bd 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentAutomaticPaymentMethodsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentAutomaticPaymentMethodsOptions.cs @@ -13,7 +13,7 @@ public class SetupIntentAutomaticPaymentMethodsOptions : INestedOptions /// /// Redirect-based payment methods may require your customer to be redirected to a payment /// method's app or site for authentication or additional steps. To confirm this SetupIntent, + /// href="https://docs.stripe.com/api/setup_intents/confirm">confirm this SetupIntent, /// you may be required to provide a return_url to redirect customers back to your /// site after they authenticate or complete the setup. /// One of: always, or never. diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs index d959d03cd3..d6a71f4280 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentConfirmOptions.cs @@ -45,7 +45,7 @@ public class SetupIntentConfirmOptions : BaseOptions /// /// When included, this hash creates a PaymentMethod that is set as the payment_method + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method">payment_method /// value in the SetupIntent. /// [JsonProperty("payment_method_data")] diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs index 7b604c2f95..ae4b6a7bc7 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs @@ -133,7 +133,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata /// /// This hash contains details about the mandate to create. This parameter can only be used /// with confirm=true. + /// href="https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm">confirm=true. /// [JsonProperty("mandate_data")] #if NET6_0_OR_GREATER @@ -142,7 +142,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata public SetupIntentMandateDataOptions MandateData { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -174,7 +174,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata /// /// The ID of the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration to use with this SetupIntent. /// [JsonProperty("payment_method_configuration")] @@ -185,7 +185,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata /// /// When included, this hash creates a PaymentMethod that is set as the payment_method + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method">payment_method /// value in the SetupIntent. /// [JsonProperty("payment_method_data")] @@ -221,7 +221,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata /// payment on the payment method's app or site. To redirect to a mobile application, you /// can alternatively supply an application URI scheme. This parameter can only be used with /// confirm=true. + /// href="https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm">confirm=true. /// [JsonProperty("return_url")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataIdealOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataIdealOptions.cs index c9c191a84a..60e5ccf095 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataIdealOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataIdealOptions.cs @@ -12,9 +12,9 @@ public class SetupIntentPaymentMethodDataIdealOptions : INestedOptions /// The customer's bank. Only use this parameter for existing customers. Don't use it for /// new customers. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. ///
[JsonProperty("bank")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataOptions.cs index a4d418287a..97d81d13c7 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataOptions.cs @@ -323,7 +323,7 @@ public class SetupIntentPaymentMethodDataOptions : INestedOptions, IHasMetadata public SetupIntentPaymentMethodDataMbWayOptions MbWay { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -486,7 +486,7 @@ public class SetupIntentPaymentMethodDataOptions : INestedOptions, IHasMetadata /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataRadarOptionsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataRadarOptionsOptions.cs index 16473fdfbf..1cd2f0d6fe 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodDataRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class SetupIntentPaymentMethodDataRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsCardOptions.cs index cfb956acb4..7b7216e1f5 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsCardOptions.cs @@ -44,11 +44,11 @@ public class SetupIntentPaymentMethodOptionsCardOptions : INestedOptions /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. If not provided, this value defaults to automatic. Read our /// guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentSingleUseOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentSingleUseOptions.cs index 9c331d5797..96fff49352 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentSingleUseOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentSingleUseOptions.cs @@ -11,10 +11,10 @@ public class SetupIntentSingleUseOptions : INestedOptions /// /// Amount the customer is granting permission to collect later. A positive integer /// representing how much to charge in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum /// amount is $0.50 US or equivalent + /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent /// in charge currency. The amount value supports up to eight digits (e.g., a value of /// 99999999 for a USD charge of $999,999.99). /// diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs index 1cc0f7d30b..4c7850d0e2 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs @@ -97,7 +97,7 @@ public class SetupIntentUpdateOptions : BaseOptions, IHasMetadata public List FlowDirections { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -120,7 +120,7 @@ public class SetupIntentUpdateOptions : BaseOptions, IHasMetadata /// /// The ID of the payment method + /// href="https://docs.stripe.com/api/payment_method_configurations">payment method /// configuration to use with this SetupIntent. /// [JsonProperty("payment_method_configuration")] @@ -131,7 +131,7 @@ public class SetupIntentUpdateOptions : BaseOptions, IHasMetadata /// /// When included, this hash creates a PaymentMethod that is set as the payment_method + /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method">payment_method /// value in the SetupIntent. /// [JsonProperty("payment_method_data")] diff --git a/src/Stripe.net/Services/ShippingRates/ShippingRateCreateOptions.cs b/src/Stripe.net/Services/ShippingRates/ShippingRateCreateOptions.cs index 946f0deb9d..cbdb0e2beb 100644 --- a/src/Stripe.net/Services/ShippingRates/ShippingRateCreateOptions.cs +++ b/src/Stripe.net/Services/ShippingRates/ShippingRateCreateOptions.cs @@ -40,7 +40,7 @@ public class ShippingRateCreateOptions : BaseOptions, IHasMetadata public ShippingRateFixedAmountOptions FixedAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -63,7 +63,7 @@ public class ShippingRateCreateOptions : BaseOptions, IHasMetadata public string TaxBehavior { get; set; } /// - /// A tax code ID. The Shipping tax + /// A tax code ID. The Shipping tax /// code is txcd_92010001. /// [JsonProperty("tax_code")] diff --git a/src/Stripe.net/Services/ShippingRates/ShippingRateUpdateOptions.cs b/src/Stripe.net/Services/ShippingRates/ShippingRateUpdateOptions.cs index d3cf5f4e5b..2bed038214 100644 --- a/src/Stripe.net/Services/ShippingRates/ShippingRateUpdateOptions.cs +++ b/src/Stripe.net/Services/ShippingRates/ShippingRateUpdateOptions.cs @@ -29,7 +29,7 @@ public class ShippingRateUpdateOptions : BaseOptions, IHasMetadata public ShippingRateFixedAmountOptions FixedAmount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Sources/SourceUpdateOptions.cs b/src/Stripe.net/Services/Sources/SourceUpdateOptions.cs index a647c469d5..05d41028d7 100644 --- a/src/Stripe.net/Services/Sources/SourceUpdateOptions.cs +++ b/src/Stripe.net/Services/Sources/SourceUpdateOptions.cs @@ -35,7 +35,7 @@ public class SourceUpdateOptions : BaseOptions, IHasMetadata public SourceMandateOptions Mandate { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs index 1a80f52e64..6c9d29c077 100644 --- a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemCreateOptions.cs @@ -31,7 +31,7 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -47,21 +47,21 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata /// a payment is required but cannot be paid. This allows you to manage scenarios where /// additional user actions are needed to pay a subscription's invoice. For example, SCA /// regulation may require 3DS authentication to complete payment. See the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// Migration Guide for Billing to learn more. This is the default behavior. /// /// Use default_incomplete to transition the subscription to status=past_due /// when payment is required and await explicit confirmation of the invoice's payment /// intent. This allows simpler management of scenarios where additional user actions are /// needed to pay a subscription’s invoice. Such as failed payments, SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// regulation, or collecting a mandate for a bank debit payment method. /// /// Use pending_if_incomplete to update the subscription using pending + /// href="https://docs.stripe.com/billing/subscriptions/pending-updates">pending /// updates. When you use pending_if_incomplete you can only pass the parameters /// supported + /// href="https://docs.stripe.com/billing/pending-updates-reference#supported-attributes">supported /// by pending updates. /// /// Use error_if_incomplete if you want Stripe to return an HTTP 402 status code if a @@ -98,7 +98,7 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -109,7 +109,7 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata /// /// Determines how to handle prorations when the + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when the /// billing cycle changes (e.g., when switching plans, resetting /// billing_cycle_anchor=now, or starting a trial), or if an item's quantity /// changes. The default value is create_prorations. @@ -124,8 +124,7 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata /// /// If set, the proration will be calculated as though the subscription was updated at the /// given time. This can be used to apply the same proration that was previewed with the upcoming invoice - /// endpoint. + /// href="https://api.stripe.com#retrieve_customer_invoice">upcoming invoice endpoint. /// [JsonProperty("proration_date")] [JsonConverter(typeof(UnixDateTimeConverter))] @@ -154,9 +153,9 @@ public class SubscriptionItemCreateOptions : BaseOptions, IHasMetadata public string Subscription { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemDeleteOptions.cs b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemDeleteOptions.cs index 68fa91b190..cf13d23d08 100644 --- a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemDeleteOptions.cs +++ b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemDeleteOptions.cs @@ -22,7 +22,7 @@ public class SubscriptionItemDeleteOptions : BaseOptions /// /// Determines how to handle prorations when the + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when the /// billing cycle changes (e.g., when switching plans, resetting /// billing_cycle_anchor=now, or starting a trial), or if an item's quantity /// changes. The default value is create_prorations. @@ -37,8 +37,7 @@ public class SubscriptionItemDeleteOptions : BaseOptions /// /// If set, the proration will be calculated as though the subscription was updated at the /// given time. This can be used to apply the same proration that was previewed with the upcoming invoice - /// endpoint. + /// href="https://api.stripe.com#retrieve_customer_invoice">upcoming invoice endpoint. /// [JsonProperty("proration_date")] [JsonConverter(typeof(UnixDateTimeConverter))] diff --git a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs index e700fe27d5..4433688ea4 100644 --- a/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs @@ -31,7 +31,7 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -57,21 +57,21 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata /// a payment is required but cannot be paid. This allows you to manage scenarios where /// additional user actions are needed to pay a subscription's invoice. For example, SCA /// regulation may require 3DS authentication to complete payment. See the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// Migration Guide for Billing to learn more. This is the default behavior. /// /// Use default_incomplete to transition the subscription to status=past_due /// when payment is required and await explicit confirmation of the invoice's payment /// intent. This allows simpler management of scenarios where additional user actions are /// needed to pay a subscription’s invoice. Such as failed payments, SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// regulation, or collecting a mandate for a bank debit payment method. /// /// Use pending_if_incomplete to update the subscription using pending + /// href="https://docs.stripe.com/billing/subscriptions/pending-updates">pending /// updates. When you use pending_if_incomplete you can only pass the parameters /// supported + /// href="https://docs.stripe.com/billing/pending-updates-reference#supported-attributes">supported /// by pending updates. /// /// Use error_if_incomplete if you want Stripe to return an HTTP 402 status code if a @@ -110,7 +110,7 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] @@ -121,7 +121,7 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata /// /// Determines how to handle prorations when the + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when the /// billing cycle changes (e.g., when switching plans, resetting /// billing_cycle_anchor=now, or starting a trial), or if an item's quantity /// changes. The default value is create_prorations. @@ -136,8 +136,7 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata /// /// If set, the proration will be calculated as though the subscription was updated at the /// given time. This can be used to apply the same proration that was previewed with the upcoming invoice - /// endpoint. + /// href="https://api.stripe.com#retrieve_customer_invoice">upcoming invoice endpoint. /// [JsonProperty("proration_date")] [JsonConverter(typeof(UnixDateTimeConverter))] @@ -157,9 +156,9 @@ public class SubscriptionItemUpdateOptions : BaseOptions, IHasMetadata public long? Quantity { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleAmendmentItemActionAddOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleAmendmentItemActionAddOptions.cs index ed00ac7ebc..c00caeca85 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleAmendmentItemActionAddOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleAmendmentItemActionAddOptions.cs @@ -20,7 +20,7 @@ public class SubscriptionScheduleAmendmentItemActionAddOptions : INestedOptions, public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs index 053011ae68..7eb939fe43 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleCreateOptions.cs @@ -89,7 +89,7 @@ public class SubscriptionScheduleCreateOptions : BaseOptions, IHasMetadata public string FromSubscription { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsOptions.cs index 5f2fb642dc..786283d0f5 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleDefaultSettingsOptions.cs @@ -36,7 +36,7 @@ public class SubscriptionScheduleDefaultSettingsOptions : INestedOptions /// automatic to automatically change it if needed. Cannot be set to /// phase_start if this phase specifies a trial. For more information, see the /// billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemOptions.cs index 6069ac5437..596be91bf9 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemOptions.cs @@ -19,7 +19,7 @@ public class SubscriptionSchedulePhaseAddInvoiceItemOptions : INestedOptions, IH public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -51,7 +51,7 @@ public class SubscriptionSchedulePhaseAddInvoiceItemOptions : INestedOptions, IH public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemPriceDataOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemPriceDataOptions.cs index a1247b2185..1c1e9c5bca 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseAddInvoiceItemPriceDataOptions.cs @@ -31,7 +31,7 @@ public class SubscriptionSchedulePhaseAddInvoiceItemPriceDataOptions : INestedOp /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemBillingThresholdsOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemBillingThresholdsOptions.cs index 1fb045bd3e..6b75a33d01 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemBillingThresholdsOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemBillingThresholdsOptions.cs @@ -11,7 +11,7 @@ public class SubscriptionSchedulePhaseItemBillingThresholdsOptions : INestedOpti /// /// Number of units that meets the billing threshold to advance the subscription to a new /// billing period (e.g., it takes 10 $5 units to meet a $50 monetary + /// href="https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte">monetary /// threshold). /// [JsonProperty("usage_gte")] diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemOptions.cs index d6f8a115dc..18476304e4 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemOptions.cs @@ -29,7 +29,7 @@ public class SubscriptionSchedulePhaseItemOptions : INestedOptions, IHasMetadata public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a configuration item. Metadata on a configuration item will update the /// underlying subscription item's metadata when the phase is entered, adding new /// keys and replacing existing keys. Individual keys in the subscription item's @@ -64,7 +64,7 @@ public class SubscriptionSchedulePhaseItemOptions : INestedOptions, IHasMetadata public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. /// [JsonProperty("price_data")] @@ -84,9 +84,9 @@ public class SubscriptionSchedulePhaseItemOptions : INestedOptions, IHasMetadata public long? Quantity { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemPriceDataOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemPriceDataOptions.cs index 3928babde9..8f1bca267c 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseItemPriceDataOptions.cs @@ -40,7 +40,7 @@ public class SubscriptionSchedulePhaseItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs index cefad578bf..061b67ba88 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionSchedulePhaseOptions.cs @@ -49,7 +49,7 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata /// automatic to automatically change it if needed. Cannot be set to /// phase_start if this phase specifies a trial. For more information, see the /// billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: automatic, or phase_start. /// [JsonProperty("billing_cycle_anchor")] @@ -105,11 +105,11 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata public string DefaultPaymentMethod { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will set the Subscription's default_tax_rates, + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates, /// which means they will be the Invoice's default_tax_rates + /// href="https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates">default_tax_rates /// for any Invoices issued by the Subscription during this Phase. /// [JsonProperty("default_tax_rates")] @@ -150,8 +150,8 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata public SubscriptionSchedulePhaseDurationOptions Duration { get; set; } /// - /// The date at which this phase of the subscription schedule ends. If set, - /// iterations must not be set. + /// The date at which this phase of the subscription schedule ends. If set, duration + /// must not be set. /// [JsonProperty("end_date")] [JsonConverter(typeof(AnyOfConverter))] @@ -181,7 +181,7 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to a phase. Metadata on a schedule's phase will update the underlying /// subscription's metadata when the phase is entered, adding new keys and replacing /// existing keys in the subscription's metadata. Individual keys in the @@ -209,7 +209,7 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] @@ -220,10 +220,10 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions, IHasMetadata /// /// Controls whether the subscription schedule should create prorations when + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when /// transitioning to this phase if there is a difference in billing configuration. It's /// different from the request-level proration_behavior + /// href="https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior">proration_behavior /// parameter which controls what happens if the update request affects the billing /// configuration (item price, quantity, etc.) of the current phase. /// One of: always_invoice, create_prorations, or none. diff --git a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleUpdateOptions.cs b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleUpdateOptions.cs index e2fdc3b889..4916be0a64 100644 --- a/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleUpdateOptions.cs +++ b/src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleUpdateOptions.cs @@ -47,7 +47,7 @@ public class SubscriptionScheduleUpdateOptions : BaseOptions, IHasMetadata public string EndBehavior { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemOptions.cs index 04566fba0b..cc494bf781 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemOptions.cs @@ -19,7 +19,7 @@ public class SubscriptionAddInvoiceItemOptions : INestedOptions, IHasMetadata public List Discounts { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -51,7 +51,7 @@ public class SubscriptionAddInvoiceItemOptions : INestedOptions, IHasMetadata public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemPriceDataOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemPriceDataOptions.cs index 8fa183767c..4c8e9fee6a 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionAddInvoiceItemPriceDataOptions.cs @@ -31,7 +31,7 @@ public class SubscriptionAddInvoiceItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs index 3afa2e8fbd..77015dbf6a 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs @@ -72,7 +72,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// /// A future timestamp in UTC format to anchor the subscription's billing cycle. The anchor + /// href="https://docs.stripe.com/subscriptions/billing-cycle">billing cycle. The anchor /// is the reference point that aligns future billing cycle dates. It sets the day of week /// for week intervals, the day of month for month and year intervals, /// and the month of year for year intervals. @@ -184,7 +184,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata public string Customer { get; set; } /// - /// The identifier of the account to subscribe. + /// The identifier of the account representing the customer to subscribe. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -206,9 +206,9 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// ID of the default payment method for the subscription. It must belong to the customer /// associated with the subscription. This takes precedence over default_source. If /// neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonProperty("default_payment_method")] #if NET6_0_OR_GREATER @@ -221,9 +221,9 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// associated with the subscription and be in a chargeable state. If /// default_payment_method is also set, default_payment_method will take /// precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonProperty("default_source")] #if NET6_0_OR_GREATER @@ -282,7 +282,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -320,7 +320,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// manage scenarios where additional customer actions are needed to pay a subscription's /// invoice. For example, SCA regulation may require 3DS authentication to complete payment. /// See the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// Migration Guide for Billing to learn more. This is the default behavior. /// /// Use default_incomplete to create Subscriptions with status=incomplete when @@ -328,7 +328,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// to status=active when successfully confirming the PaymentIntent on the first /// invoice. This allows simpler management of scenarios where additional customer actions /// are needed to pay a subscription’s invoice, such as failed payments, SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// regulation, or collecting a mandate for a bank debit payment method. If the /// PaymentIntent is not confirmed within 23 hours Subscriptions transition to /// status=incomplete_expired, which is a terminal state. @@ -338,7 +338,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// 3DS authentication due to SCA regulation and further customer action is needed, this /// parameter doesn't create a Subscription and returns an error instead. This was the /// default behavior for API versions prior to 2019-03-14. See the changelog to learn more. + /// href="https://docs.stripe.com/upgrades#2019-03-14">changelog to learn more. /// /// pending_if_incomplete is only used with updates and cannot be passed when /// creating a Subscription. @@ -365,7 +365,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// /// Specifies an interval for how often to bill for any pending invoice items. It is - /// analogous to calling Create an + /// analogous to calling Create an /// invoice for the given subscription at the specified interval. /// [JsonProperty("pending_invoice_item_interval")] @@ -386,7 +386,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// /// Determines how to handle prorations resulting + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations resulting /// from the billing_cycle_anchor. If no value is passed, the default is /// create_prorations. /// One of: always_invoice, create_prorations, or none. @@ -414,7 +414,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// period of the plan the customer is being subscribed to. The special value now can /// be provided to end the customer's trial immediately. Can be at most two years from /// billing_cycle_anchor. See Using trial periods on + /// href="https://docs.stripe.com/billing/subscriptions/trials">Using trial periods on /// subscriptions to learn more. /// [JsonProperty("trial_end")] @@ -429,7 +429,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// Indicates if a plan's trial_period_days should be applied to the subscription. /// Setting trial_end per subscription is preferred, and this defaults to /// false. Setting this flag to true together with trial_end is not - /// allowed. See Using trial + /// allowed. See Using trial /// periods on subscriptions to learn more. /// [JsonProperty("trial_from_plan")] @@ -441,7 +441,7 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata /// /// Integer representing the number of trial period days before the customer is charged for /// the first time. This will always overwrite any trials that might apply via a subscribed - /// plan. See Using trial + /// plan. See Using trial /// periods on subscriptions to learn more. /// [JsonProperty("trial_period_days")] diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionItemBillingThresholdsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionItemBillingThresholdsOptions.cs index 54ed79ee07..c31c685423 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionItemBillingThresholdsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionItemBillingThresholdsOptions.cs @@ -11,7 +11,7 @@ public class SubscriptionItemBillingThresholdsOptions : INestedOptions /// /// Number of units that meets the billing threshold to advance the subscription to a new /// billing period (e.g., it takes 10 $5 units to meet a $50 monetary + /// href="https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte">monetary /// threshold). /// [JsonProperty("usage_gte")] diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs index e3ff67df15..a2b55d9457 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs @@ -58,7 +58,7 @@ public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata public string Id { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -90,7 +90,7 @@ public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata public string Price { get; set; } /// - /// Data used to generate a new Price + /// Data used to generate a new Price /// object inline. One of price or price_data is required. /// [JsonProperty("price_data")] @@ -109,9 +109,9 @@ public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata public long? Quantity { get; set; } /// - /// A list of Tax Rate ids. These Tax + /// A list of Tax Rate ids. These Tax /// Rates will override the default_tax_rates + /// href="https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates">default_tax_rates /// on the Subscription. When updating, pass an empty string to remove previously-defined /// tax rates. /// diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionItemPriceDataOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionItemPriceDataOptions.cs index 86e0592bb6..1e0cd35269 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionItemPriceDataOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionItemPriceDataOptions.cs @@ -40,7 +40,7 @@ public class SubscriptionItemPriceDataOptions : INestedOptions /// /// Only required if a default + /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default /// tax behavior was not provided in the Stripe Tax settings. Specifies whether the /// price is considered inclusive of taxes or exclusive of taxes. One of inclusive, /// exclusive, or unspecified. Once specified as either inclusive or diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs index fae55ef49b..1bf2c8e4e3 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs @@ -66,7 +66,7 @@ public class SubscriptionListOptions : ListOptions public AnyOf CurrentPeriodStart { get; set; } /// - /// The ID of the customer whose subscriptions will be retrieved. + /// The ID of the customer whose subscriptions you're retrieving. /// [JsonProperty("customer")] #if NET6_0_OR_GREATER @@ -75,7 +75,7 @@ public class SubscriptionListOptions : ListOptions public string Customer { get; set; } /// - /// The ID of the account whose subscriptions will be retrieved. + /// The ID of the account representing the customer whose subscriptions you're retrieving. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER @@ -106,7 +106,7 @@ public class SubscriptionListOptions : ListOptions /// return all canceled subscriptions, including those belonging to deleted customers. Pass /// ended to find subscriptions that are canceled and subscriptions that are expired /// due to incomplete + /// href="https://docs.stripe.com/billing/subscriptions/overview#subscription-statuses">incomplete /// payment. Passing in a value of all will return subscriptions of all statuses. /// If no value is supplied, all subscriptions that have not been canceled are returned. /// One of: active, all, canceled, ended, incomplete, diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs index e702c666bd..e13c9a7481 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs @@ -33,7 +33,7 @@ public class SubscriptionPaymentSettingsOptions : INestedOptions /// id_bank_transfer, ideal, jp_credit_transfer, kakao_pay, /// klarna, konbini, kr_card, link, multibanco, /// naver_pay, nz_bank_account, p24, payco, paynow, - /// paypal, pix, promptpay, revolut_pay, + /// paypal, payto, pix, promptpay, revolut_pay, /// sepa_credit_transfer, sepa_debit, sofort, stripe_balance, /// swish, upi, us_bank_account, or wechat_pay. /// diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCardOptions.cs index 685c2c2810..dec9b23087 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCardOptions.cs @@ -33,10 +33,10 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsCardOptions : INeste /// /// We strongly recommend that you rely on our SCA Engine to automatically prompt your /// customers for authentication based on risk level and other requirements. + /// href="https://docs.stripe.com/strong-customer-authentication">other requirements. /// However, if you wish to request 3D Secure based on logic from your own fraud engine, /// provide this option. Read our guide on manually + /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually /// requesting 3D Secure for more information on how this configuration interacts with /// Radar and our SCA Engine. /// One of: any, automatic, or challenge. diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsOptions.cs index 93bc6efef9..33ffc0d8cf 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsOptions.cs @@ -68,6 +68,16 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsOptions : INestedOpt #endif public SubscriptionPaymentSettingsPaymentMethodOptionsKonbiniOptions Konbini { get; set; } + /// + /// This sub-hash contains details about the PayTo payment method options to pass to the + /// invoice’s PaymentIntent. + /// + [JsonProperty("payto")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("payto")] +#endif + public SubscriptionPaymentSettingsPaymentMethodOptionsPaytoOptions Payto { get; set; } + /// /// This sub-hash contains details about the Pix payment method options to pass to the /// invoice’s PaymentIntent. diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs new file mode 100644 index 0000000000..a91397e880 --- /dev/null +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions.cs @@ -0,0 +1,34 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions : INestedOptions + { + /// + /// The maximum amount that can be collected in a single invoice. If you don't specify a + /// maximum, then there is no limit. + /// + [JsonProperty("amount")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("amount")] +#endif + public long? Amount { get; set; } + + /// + /// The purpose for which payments are made. Has a default value based on your merchant + /// category code. + /// One of: dependant_support, government, loan, mortgage, + /// other, pension, personal, retail, salary, tax, + /// or utility. + /// + [JsonProperty("purpose")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("purpose")] +#endif + public string Purpose { get; set; } + } +} diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoOptions.cs new file mode 100644 index 0000000000..7b4683a289 --- /dev/null +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsPaytoOptions.cs @@ -0,0 +1,20 @@ +// File generated from our OpenAPI spec +namespace Stripe +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class SubscriptionPaymentSettingsPaymentMethodOptionsPaytoOptions : INestedOptions + { + /// + /// Additional fields for Mandate creation. + /// + [JsonProperty("mandate_options")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("mandate_options")] +#endif + public SubscriptionPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsOptions MandateOptions { get; set; } + } +} diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionResumeOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionResumeOptions.cs index bcfc7f5e90..d9179acbe0 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionResumeOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionResumeOptions.cs @@ -14,7 +14,7 @@ public class SubscriptionResumeOptions : BaseOptions /// The billing cycle anchor that applies when the subscription is resumed. Either /// now or unchanged. The default is now. For more information, see the /// billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: now, or unchanged. /// [JsonProperty("billing_cycle_anchor")] @@ -25,7 +25,7 @@ public class SubscriptionResumeOptions : BaseOptions /// /// Determines how to handle prorations resulting + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations resulting /// from the billing_cycle_anchor being unchanged. When the /// billing_cycle_anchor is set to now (default value), no prorations are /// generated. If no value is passed, the default is create_prorations. diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs index e190d8ad24..e72aff434a 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionUpdateOptions.cs @@ -62,7 +62,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// Either now or unchanged. Setting the value to now resets the /// subscription's billing cycle anchor to the current time (in UTC). For more information, /// see the billing cycle documentation. + /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation. /// One of: now, or unchanged. /// [JsonProperty("billing_cycle_anchor")] @@ -152,9 +152,9 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// ID of the default payment method for the subscription. It must belong to the customer /// associated with the subscription. This takes precedence over default_source. If /// neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonProperty("default_payment_method")] #if NET6_0_OR_GREATER @@ -167,9 +167,9 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// associated with the subscription and be in a chargeable state. If /// default_payment_method is also set, default_payment_method will take /// precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method + /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method /// or default_source. + /// href="https://docs.stripe.com/api/customers/object#customer_object-default_source">default_source. /// [JsonProperty("default_source")] #if NET6_0_OR_GREATER @@ -229,7 +229,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata public List Items { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -262,7 +262,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// /// If specified, payment collection for this subscription will be paused. Note that the /// subscription status will be unchanged and will not be updated to paused. Learn - /// more about pausing + /// more about pausing /// collection. /// [JsonProperty("pause_collection")] @@ -276,21 +276,21 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// a payment is required but cannot be paid. This allows you to manage scenarios where /// additional user actions are needed to pay a subscription's invoice. For example, SCA /// regulation may require 3DS authentication to complete payment. See the SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// Migration Guide for Billing to learn more. This is the default behavior. /// /// Use default_incomplete to transition the subscription to status=past_due /// when payment is required and await explicit confirmation of the invoice's payment /// intent. This allows simpler management of scenarios where additional user actions are /// needed to pay a subscription’s invoice. Such as failed payments, SCA + /// href="https://docs.stripe.com/billing/migration/strong-customer-authentication">SCA /// regulation, or collecting a mandate for a bank debit payment method. /// /// Use pending_if_incomplete to update the subscription using pending + /// href="https://docs.stripe.com/billing/subscriptions/pending-updates">pending /// updates. When you use pending_if_incomplete you can only pass the parameters /// supported + /// href="https://docs.stripe.com/billing/pending-updates-reference#supported-attributes">supported /// by pending updates. /// /// Use error_if_incomplete if you want Stripe to return an HTTP 402 status code if a @@ -319,7 +319,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// /// Specifies an interval for how often to bill for any pending invoice items. It is - /// analogous to calling Create an + /// analogous to calling Create an /// invoice for the given subscription at the specified interval. /// [JsonProperty("pending_invoice_item_interval")] @@ -340,7 +340,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// /// Determines how to handle prorations when the + /// href="https://docs.stripe.com/billing/subscriptions/prorations">prorations when the /// billing cycle changes (e.g., when switching plans, resetting /// billing_cycle_anchor=now, or starting a trial), or if an item's quantity /// changes. The default value is create_prorations. @@ -400,7 +400,7 @@ public class SubscriptionUpdateOptions : BaseOptions, IHasMetadata /// Indicates if a plan's trial_period_days should be applied to the subscription. /// Setting trial_end per subscription is preferred, and this defaults to /// false. Setting this flag to true together with trial_end is not - /// allowed. See Using trial + /// allowed. See Using trial /// periods on subscriptions to learn more. /// [JsonProperty("trial_from_plan")] diff --git a/src/Stripe.net/Services/Tax/Associations/AssociationFindOptions.cs b/src/Stripe.net/Services/Tax/Associations/AssociationFindOptions.cs index 82b32b756a..9da42e5160 100644 --- a/src/Stripe.net/Services/Tax/Associations/AssociationFindOptions.cs +++ b/src/Stripe.net/Services/Tax/Associations/AssociationFindOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.Tax public class AssociationFindOptions : BaseOptions { /// - /// Valid PaymentIntent id. + /// Valid PaymentIntent id. /// [JsonProperty("payment_intent")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationLineItemOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationLineItemOptions.cs index 50f32ddf24..be647f65ac 100644 --- a/src/Stripe.net/Services/Tax/Calculations/CalculationLineItemOptions.cs +++ b/src/Stripe.net/Services/Tax/Calculations/CalculationLineItemOptions.cs @@ -11,7 +11,7 @@ public class CalculationLineItemOptions : INestedOptions, IHasMetadata { /// /// A positive integer representing the line item's total price in the smallest currency unit. If + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. If /// tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes are /// calculated on top of this amount. /// @@ -22,7 +22,7 @@ public class CalculationLineItemOptions : INestedOptions, IHasMetadata public long? Amount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -56,7 +56,7 @@ public class CalculationLineItemOptions : INestedOptions, IHasMetadata /// /// A custom identifier for this line item, which must be unique across the line items in /// the calculation. The reference helps identify each line item in exported tax reports. + /// href="https://docs.stripe.com/tax/reports">tax reports. /// [JsonProperty("reference")] #if NET6_0_OR_GREATER @@ -75,7 +75,7 @@ public class CalculationLineItemOptions : INestedOptions, IHasMetadata public string TaxBehavior { get; set; } /// - /// A tax code ID to use for this + /// A tax code ID to use for this /// line item. If not provided, we will use the tax code from the provided product /// param. If neither tax_code nor product is provided, we will use the /// default tax code from your Tax Settings. diff --git a/src/Stripe.net/Services/Tax/Calculations/CalculationShippingCostOptions.cs b/src/Stripe.net/Services/Tax/Calculations/CalculationShippingCostOptions.cs index 9106043be3..6dd52b5437 100644 --- a/src/Stripe.net/Services/Tax/Calculations/CalculationShippingCostOptions.cs +++ b/src/Stripe.net/Services/Tax/Calculations/CalculationShippingCostOptions.cs @@ -10,7 +10,7 @@ public class CalculationShippingCostOptions : INestedOptions { /// /// A positive integer in the smallest currency unit + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit /// representing the shipping charge. If tax_behavior=inclusive, then this amount /// includes taxes. Otherwise, taxes are calculated on top of this amount. /// @@ -21,7 +21,7 @@ public class CalculationShippingCostOptions : INestedOptions public long? Amount { get; set; } /// - /// If provided, the shipping + /// If provided, the shipping /// rate's amount, tax_code and tax_behavior are used. If you /// provide a shipping rate, then you cannot pass the amount, tax_code, or /// tax_behavior parameters. @@ -44,7 +44,7 @@ public class CalculationShippingCostOptions : INestedOptions public string TaxBehavior { get; set; } /// - /// The tax code used to calculate + /// The tax code used to calculate /// tax on shipping. If not provided, the default shipping tax code from your Tax Settings is used. /// diff --git a/src/Stripe.net/Services/Tax/Settings/SettingsDefaultsOptions.cs b/src/Stripe.net/Services/Tax/Settings/SettingsDefaultsOptions.cs index cdf68a0ea6..7697054234 100644 --- a/src/Stripe.net/Services/Tax/Settings/SettingsDefaultsOptions.cs +++ b/src/Stripe.net/Services/Tax/Settings/SettingsDefaultsOptions.cs @@ -23,7 +23,7 @@ public class SettingsDefaultsOptions : INestedOptions public string TaxBehavior { get; set; } /// - /// A tax code ID. + /// A tax code ID. /// [JsonProperty("tax_code")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Transactions/TransactionCreateFromCalculationOptions.cs b/src/Stripe.net/Services/Tax/Transactions/TransactionCreateFromCalculationOptions.cs index b1d83fe304..957ae9944c 100644 --- a/src/Stripe.net/Services/Tax/Transactions/TransactionCreateFromCalculationOptions.cs +++ b/src/Stripe.net/Services/Tax/Transactions/TransactionCreateFromCalculationOptions.cs @@ -21,7 +21,7 @@ public class TransactionCreateFromCalculationOptions : BaseOptions, IHasMetadata public string Calculation { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Tax/Transactions/TransactionCreateReversalOptions.cs b/src/Stripe.net/Services/Tax/Transactions/TransactionCreateReversalOptions.cs index 46bcb1776f..523b368af6 100644 --- a/src/Stripe.net/Services/Tax/Transactions/TransactionCreateReversalOptions.cs +++ b/src/Stripe.net/Services/Tax/Transactions/TransactionCreateReversalOptions.cs @@ -11,7 +11,7 @@ public class TransactionCreateReversalOptions : BaseOptions, IHasMetadata { /// /// A flat amount to reverse across the entire transaction, in the smallest currency unit in + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit in /// negative. This value represents the total amount to refund from the transaction, /// including taxes. /// @@ -31,7 +31,7 @@ public class TransactionCreateReversalOptions : BaseOptions, IHasMetadata public List LineItems { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -65,7 +65,7 @@ public class TransactionCreateReversalOptions : BaseOptions, IHasMetadata /// /// A custom identifier for this reversal, such as myOrder_123-refund_1, which must /// be unique across all transactions. The reference helps identify this reversal - /// transaction in exported tax reports. + /// transaction in exported tax reports. /// [JsonProperty("reference")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tax/Transactions/TransactionLineItemOptions.cs b/src/Stripe.net/Services/Tax/Transactions/TransactionLineItemOptions.cs index 0ebc764f1d..b109098374 100644 --- a/src/Stripe.net/Services/Tax/Transactions/TransactionLineItemOptions.cs +++ b/src/Stripe.net/Services/Tax/Transactions/TransactionLineItemOptions.cs @@ -11,7 +11,7 @@ public class TransactionLineItemOptions : INestedOptions, IHasMetadata { /// /// The amount to reverse, in the smallest currency unit in + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit in /// negative. /// [JsonProperty("amount")] @@ -22,7 +22,7 @@ public class TransactionLineItemOptions : INestedOptions, IHasMetadata /// /// The amount of tax to reverse, in the smallest currency unit in + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit in /// negative. /// [JsonProperty("amount_tax")] @@ -32,7 +32,7 @@ public class TransactionLineItemOptions : INestedOptions, IHasMetadata public long? AmountTax { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. /// @@ -52,7 +52,7 @@ public class TransactionLineItemOptions : INestedOptions, IHasMetadata public string OriginalLineItem { get; set; } /// - /// The quantity reversed. Appears in tax + /// The quantity reversed. Appears in tax /// exports, but does not affect the amount of tax reversed. /// [JsonProperty("quantity")] diff --git a/src/Stripe.net/Services/Tax/Transactions/TransactionShippingCostOptions.cs b/src/Stripe.net/Services/Tax/Transactions/TransactionShippingCostOptions.cs index b8216b8849..cc1d28e9ad 100644 --- a/src/Stripe.net/Services/Tax/Transactions/TransactionShippingCostOptions.cs +++ b/src/Stripe.net/Services/Tax/Transactions/TransactionShippingCostOptions.cs @@ -10,7 +10,7 @@ public class TransactionShippingCostOptions : INestedOptions { /// /// The amount to reverse, in the smallest currency unit in + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit in /// negative. /// [JsonProperty("amount")] @@ -21,7 +21,7 @@ public class TransactionShippingCostOptions : INestedOptions /// /// The amount of tax to reverse, in the smallest currency unit in + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit in /// negative. /// [JsonProperty("amount_tax")] diff --git a/src/Stripe.net/Services/TaxIds/TaxIdOwnerOptions.cs b/src/Stripe.net/Services/TaxIds/TaxIdOwnerOptions.cs index 495290d3b6..6a85f504a4 100644 --- a/src/Stripe.net/Services/TaxIds/TaxIdOwnerOptions.cs +++ b/src/Stripe.net/Services/TaxIds/TaxIdOwnerOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class TaxIdOwnerOptions : INestedOptions { /// - /// Account the tax ID belongs to. Required when type=account. + /// Connected Account the tax ID belongs to. Required when type=account. /// [JsonProperty("account")] #if NET6_0_OR_GREATER @@ -27,8 +27,8 @@ public class TaxIdOwnerOptions : INestedOptions public string Customer { get; set; } /// - /// v2 Account the tax ID belongs to. Can be used in place of customer when - /// type=customer. + /// ID of the Account representing the customer that the tax ID belongs to. Can be used in + /// place of customer when type=customer. /// [JsonProperty("customer_account")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs index b221bd111c..0223faa26a 100644 --- a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs +++ b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs @@ -69,7 +69,7 @@ public class TaxRateCreateOptions : BaseOptions, IHasMetadata public string Jurisdiction { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs index 604f918543..a4e50107ae 100644 --- a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs +++ b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs @@ -60,7 +60,7 @@ public class TaxRateUpdateOptions : BaseOptions, IHasMetadata public string Jurisdiction { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Locations/LocationCreateOptions.cs b/src/Stripe.net/Services/Terminal/Locations/LocationCreateOptions.cs index ddfd488215..087cc71bc1 100644 --- a/src/Stripe.net/Services/Terminal/Locations/LocationCreateOptions.cs +++ b/src/Stripe.net/Services/Terminal/Locations/LocationCreateOptions.cs @@ -75,7 +75,7 @@ public class LocationCreateOptions : BaseOptions, IHasMetadata public string DisplayNameKanji { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs b/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs index 5b3389c893..e60237bcf8 100644 --- a/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs +++ b/src/Stripe.net/Services/Terminal/Locations/LocationUpdateOptions.cs @@ -75,7 +75,7 @@ public class LocationUpdateOptions : BaseOptions, IHasMetadata public string DisplayNameKanji { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderCartLineItemOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderCartLineItemOptions.cs index 7788411dc6..ee6f2826cf 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderCartLineItemOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderCartLineItemOptions.cs @@ -10,7 +10,7 @@ public class ReaderCartLineItemOptions : INestedOptions { /// /// The price of the item in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderCartOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderCartOptions.cs index 8d12dda56c..03ee56aedc 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderCartOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderCartOptions.cs @@ -31,7 +31,7 @@ public class ReaderCartOptions : INestedOptions /// /// The amount of tax in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("tax")] #if NET6_0_OR_GREATER @@ -41,7 +41,7 @@ public class ReaderCartOptions : INestedOptions /// /// Total balance of cart due in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("total")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderCollectInputsOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderCollectInputsOptions.cs index 2ef86947ed..6aa058d67e 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderCollectInputsOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderCollectInputsOptions.cs @@ -19,7 +19,7 @@ public class ReaderCollectInputsOptions : BaseOptions, IHasMetadata public List Inputs { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderCreateOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderCreateOptions.cs index 8c8ec2377d..08083a01b7 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderCreateOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderCreateOptions.cs @@ -29,7 +29,7 @@ public class ReaderCreateOptions : BaseOptions, IHasMetadata public string Location { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderRefundPaymentOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderRefundPaymentOptions.cs index 858e8b9b03..557520be9f 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderRefundPaymentOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderRefundPaymentOptions.cs @@ -29,7 +29,7 @@ public class ReaderRefundPaymentOptions : BaseOptions, IHasMetadata public string Charge { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Terminal/Readers/ReaderUpdateOptions.cs b/src/Stripe.net/Services/Terminal/Readers/ReaderUpdateOptions.cs index 73de028c9d..8642f3bd7b 100644 --- a/src/Stripe.net/Services/Terminal/Readers/ReaderUpdateOptions.cs +++ b/src/Stripe.net/Services/Terminal/Readers/ReaderUpdateOptions.cs @@ -19,7 +19,7 @@ public class ReaderUpdateOptions : BaseOptions, IHasMetadata public string Label { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs index 15bdb0c28e..12cbf0f1d4 100644 --- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenCreateOptions.cs @@ -49,7 +49,7 @@ public class ConfirmationTokenCreateOptions : BaseOptions /// method. /// /// The presence of this property will attach the payment + /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment /// method to the PaymentIntent's Customer, if present, after the PaymentIntent is /// confirmed and any required actions from the user are complete. /// One of: off_session, or on_session. diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataIdealOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataIdealOptions.cs index adcccbd3af..0b3625ead6 100644 --- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataIdealOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataIdealOptions.cs @@ -12,9 +12,9 @@ public class ConfirmationTokenPaymentMethodDataIdealOptions : INestedOptions /// The customer's bank. Only use this parameter for existing customers. Don't use it for /// new customers. /// One of: abn_amro, asn_bank, bunq, buut, finom, - /// handelsbanken, ing, knab, moneyou, n26, nn, - /// rabobank, regiobank, revolut, sns_bank, triodos_bank, - /// van_lanschot, or yoursafe. + /// handelsbanken, ing, knab, mollie, moneyou, + /// n26, nn, rabobank, regiobank, revolut, + /// sns_bank, triodos_bank, van_lanschot, or yoursafe. /// [JsonProperty("bank")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataOptions.cs index 6ce5435f39..d23927984c 100644 --- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataOptions.cs @@ -323,7 +323,7 @@ public class ConfirmationTokenPaymentMethodDataOptions : INestedOptions, IHasMet public ConfirmationTokenPaymentMethodDataMbWayOptions MbWay { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -486,7 +486,7 @@ public class ConfirmationTokenPaymentMethodDataOptions : INestedOptions, IHasMet /// /// Options to configure Radar. See Radar Session for more + /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more /// information. /// [JsonProperty("radar_options")] diff --git a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataRadarOptionsOptions.cs b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataRadarOptionsOptions.cs index 85b70501f3..78c5ae5973 100644 --- a/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataRadarOptionsOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/ConfirmationTokens/ConfirmationTokenPaymentMethodDataRadarOptionsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.TestHelpers public class ConfirmationTokenPaymentMethodDataRadarOptionsOptions : INestedOptions { /// - /// A Radar Session is a snapshot + /// A Radar Session is a snapshot /// of the browser metadata and device details that help Radar make more accurate /// predictions on your payments. /// diff --git a/src/Stripe.net/Services/TestHelpers/Customers/CustomerFundCashBalanceOptions.cs b/src/Stripe.net/Services/TestHelpers/Customers/CustomerFundCashBalanceOptions.cs index 9c1b12493a..04a2d55296 100644 --- a/src/Stripe.net/Services/TestHelpers/Customers/CustomerFundCashBalanceOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Customers/CustomerFundCashBalanceOptions.cs @@ -11,7 +11,7 @@ public class CustomerFundCashBalanceOptions : BaseOptions /// /// Amount to be used for this test cash balance transaction. A positive integer /// representing how much to fund in the smallest currency unit (e.g., + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g., /// 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency). /// [JsonProperty("amount")] @@ -35,7 +35,7 @@ public class CustomerFundCashBalanceOptions : BaseOptions /// A description of the test funding. This simulates free-text references supplied by /// customers when making bank transfers to their cash balance. You can use this to test how /// Stripe's reconciliation + /// href="https://docs.stripe.com/payments/customer-balance/reconciliation">reconciliation /// algorithm applies to different user inputs. /// [JsonProperty("reference")] diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCaptureOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCaptureOptions.cs index e335f00850..26fe6792a2 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCaptureOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCaptureOptions.cs @@ -11,7 +11,7 @@ public class AuthorizationCaptureOptions : BaseOptions /// /// The amount to capture from the authorization. If not provided, the full amount of the /// authorization will be captured. This amount is in the authorization currency and in the - /// smallest currency unit. + /// smallest currency unit. /// [JsonProperty("capture_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCreateOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCreateOptions.cs index 6cfe688cb2..0abf3032bd 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCreateOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationCreateOptions.cs @@ -11,7 +11,7 @@ public class AuthorizationCreateOptions : BaseOptions /// /// The total amount to attempt to authorize. This amount is in the provided currency, or /// defaults to the card's currency, and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER @@ -22,7 +22,7 @@ public class AuthorizationCreateOptions : BaseOptions /// /// Detailed breakdown of amount components. These amounts are denominated in /// currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount_details")] #if NET6_0_OR_GREATER @@ -93,7 +93,7 @@ public class AuthorizationCreateOptions : BaseOptions /// /// If set true, you may provide amount + /// href="https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount">amount /// to control how much to hold for the authorization. /// [JsonProperty("is_amount_controllable")] @@ -104,7 +104,7 @@ public class AuthorizationCreateOptions : BaseOptions /// /// The total amount to attempt to authorize. This amount is in the provided merchant - /// currency, and in the smallest + /// currency, and in the smallest /// currency unit. /// [JsonProperty("merchant_amount")] diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFinalizeAmountOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFinalizeAmountOptions.cs index 528f863ca4..14d0b1a162 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFinalizeAmountOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationFinalizeAmountOptions.cs @@ -11,7 +11,7 @@ public class AuthorizationFinalizeAmountOptions : BaseOptions /// /// The final authorization amount that will be captured by the merchant. This amount is in /// the authorization currency and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("final_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationIncrementOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationIncrementOptions.cs index 1670f8e4ae..73a9948f8f 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationIncrementOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationIncrementOptions.cs @@ -10,7 +10,7 @@ public class AuthorizationIncrementOptions : BaseOptions { /// /// The amount to increment the authorization by. This amount is in the authorization - /// currency and in the smallest + /// currency and in the smallest /// currency unit. /// [JsonProperty("increment_amount")] @@ -21,7 +21,7 @@ public class AuthorizationIncrementOptions : BaseOptions /// /// If set true, you may provide amount + /// href="https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount">amount /// to control how much to hold for the authorization. /// [JsonProperty("is_amount_controllable")] diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationMerchantDataOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationMerchantDataOptions.cs index 761ab5c9ab..099ce14da7 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationMerchantDataOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationMerchantDataOptions.cs @@ -10,7 +10,7 @@ public class AuthorizationMerchantDataOptions : INestedOptions { /// /// A categorization of the seller's type of business. See our merchant categories guide + /// href="https://docs.stripe.com/issuing/merchant-categories">merchant categories guide /// for a list of possible values. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationReverseOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationReverseOptions.cs index 4c1819ac0b..f71f006a85 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationReverseOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationReverseOptions.cs @@ -11,7 +11,7 @@ public class AuthorizationReverseOptions : BaseOptions /// /// The amount to reverse from the authorization. If not provided, the full amount of the /// authorization will be reversed. This amount is in the authorization currency and in the - /// smallest currency unit. + /// smallest currency unit. /// [JsonProperty("reverse_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateForceCaptureOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateForceCaptureOptions.cs index 6daa346d3c..03794b67f6 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateForceCaptureOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateForceCaptureOptions.cs @@ -11,7 +11,7 @@ public class TransactionCreateForceCaptureOptions : BaseOptions /// /// The total amount to attempt to capture. This amount is in the provided currency, or /// defaults to the cards currency, and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateUnlinkedRefundOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateUnlinkedRefundOptions.cs index e5bd8d6d96..e865abdb2c 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateUnlinkedRefundOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionCreateUnlinkedRefundOptions.cs @@ -11,7 +11,7 @@ public class TransactionCreateUnlinkedRefundOptions : BaseOptions /// /// The total amount to attempt to refund. This amount is in the provided currency, or /// defaults to the cards currency, and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionMerchantDataOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionMerchantDataOptions.cs index c8b5db4748..94cba1b23e 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionMerchantDataOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionMerchantDataOptions.cs @@ -10,7 +10,7 @@ public class TransactionMerchantDataOptions : INestedOptions { /// /// A categorization of the seller's type of business. See our merchant categories guide + /// href="https://docs.stripe.com/issuing/merchant-categories">merchant categories guide /// for a list of possible values. /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, /// advertising_services, agricultural_cooperative, diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionRefundOptions.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionRefundOptions.cs index 88b5098b5a..562efcdf56 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionRefundOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionRefundOptions.cs @@ -11,7 +11,7 @@ public class TransactionRefundOptions : BaseOptions /// /// The total amount to attempt to refund. This amount is in the provided currency, or /// defaults to the cards currency, and in the smallest currency unit. + /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. /// [JsonProperty("refund_amount")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditCreateOptions.cs b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditCreateOptions.cs index 761e81658b..0b0da4a2fe 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditCreateOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditCreateOptions.cs @@ -58,7 +58,7 @@ public class ReceivedCreditCreateOptions : BaseOptions /// /// Specifies the network rails to be used. If not set, will default to the PaymentMethod's /// preferred network. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// One of: ach, or us_domestic_wire. /// diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitCreateOptions.cs b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitCreateOptions.cs index 561d4bccfa..75f7b9c623 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitCreateOptions.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitCreateOptions.cs @@ -58,7 +58,7 @@ public class ReceivedDebitCreateOptions : BaseOptions /// /// Specifies the network rails to be used. If not set, will default to the PaymentMethod's /// preferred network. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// [JsonProperty("network")] diff --git a/src/Stripe.net/Services/Tokens/TokenAccountCompanyVerificationDocumentOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountCompanyVerificationDocumentOptions.cs index 061952a3c3..93df755b20 100644 --- a/src/Stripe.net/Services/Tokens/TokenAccountCompanyVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenAccountCompanyVerificationDocumentOptions.cs @@ -9,11 +9,10 @@ namespace Stripe public class TokenAccountCompanyVerificationDocumentOptions : INestedOptions { /// - /// The back of a document returned by a file upload with a purpose - /// value of additional_verification. The uploaded file needs to be a color image - /// (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in - /// size. + /// The back of a document returned by a file + /// upload with a purpose value of additional_verification. The uploaded + /// file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF + /// format, and less than 10 MB in size. /// [JsonProperty("back")] #if NET6_0_OR_GREATER @@ -22,11 +21,10 @@ public class TokenAccountCompanyVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of a document returned by a file upload with a purpose - /// value of additional_verification. The uploaded file needs to be a color image - /// (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in - /// size. + /// The front of a document returned by a file + /// upload with a purpose value of additional_verification. The uploaded + /// file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF + /// format, and less than 10 MB in size. /// [JsonProperty("front")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tokens/TokenAccountIndividualOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountIndividualOptions.cs index fb3daefd35..4c3a2dcaf0 100644 --- a/src/Stripe.net/Services/Tokens/TokenAccountIndividualOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenAccountIndividualOptions.cs @@ -163,7 +163,7 @@ public class TokenAccountIndividualOptions : INestedOptions, IHasMetadata public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationAdditionalDocumentOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationAdditionalDocumentOptions.cs index 39cd345f28..4887ab8818 100644 --- a/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationAdditionalDocumentOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationAdditionalDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class TokenAccountIndividualVerificationAdditionalDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class TokenAccountIndividualVerificationAdditionalDocumentOptions : INest public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationDocumentOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationDocumentOptions.cs index a336bd9f66..b2fe681fb1 100644 --- a/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenAccountIndividualVerificationDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class TokenAccountIndividualVerificationDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class TokenAccountIndividualVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Tokens/TokenBankAccountOptions.cs b/src/Stripe.net/Services/Tokens/TokenBankAccountOptions.cs index 348c30603a..2bf86129f7 100644 --- a/src/Stripe.net/Services/Tokens/TokenBankAccountOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenBankAccountOptions.cs @@ -61,7 +61,7 @@ public class TokenBankAccountOptions : INestedOptions /// /// The currency the bank account is in. This must be a country/currency pairing that Stripe supports.. + /// href="https://docs.stripe.com/payouts">Stripe supports.. /// [JsonProperty("currency")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tokens/TokenCreateOptions.cs b/src/Stripe.net/Services/Tokens/TokenCreateOptions.cs index d553a0d813..9be2f692c6 100644 --- a/src/Stripe.net/Services/Tokens/TokenCreateOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenCreateOptions.cs @@ -45,11 +45,11 @@ public class TokenCreateOptions : BaseOptions /// /// Create a token for the customer, which is owned by the application's account. You can - /// only use this with an OAuth + /// only use this with an OAuth /// access token or Stripe-Account header. Learn + /// href="https://docs.stripe.com/connect/authentication">Stripe-Account header. Learn /// more about cloning saved + /// href="https://docs.stripe.com/connect/cloning-saved-payment-methods">cloning saved /// payment methods. /// [JsonProperty("customer")] diff --git a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsCompanyAuthorizationOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsCompanyAuthorizationOptions.cs index 1655dfe2e8..fb9a80675e 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsCompanyAuthorizationOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsCompanyAuthorizationOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class TokenPersonDocumentsCompanyAuthorizationOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsPassportOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsPassportOptions.cs index 6df85d7720..f522e3c7b3 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsPassportOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsPassportOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class TokenPersonDocumentsPassportOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsVisaOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsVisaOptions.cs index 2f0f1f500d..a3b96e1f14 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonDocumentsVisaOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonDocumentsVisaOptions.cs @@ -10,9 +10,8 @@ namespace Stripe public class TokenPersonDocumentsVisaOptions : INestedOptions { /// - /// One or more document ids returned by a file upload with a purpose - /// value of account_requirement. + /// One or more document ids returned by a file + /// upload with a purpose value of account_requirement. /// [JsonProperty("files")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs index 1d282b8ac6..2d23398c2e 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs @@ -181,7 +181,7 @@ public class TokenPersonOptions : INestedOptions, IHasMetadata public string MaidenName { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Tokens/TokenPersonVerificationAdditionalDocumentOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonVerificationAdditionalDocumentOptions.cs index 7e27cf2bcc..e018b25676 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonVerificationAdditionalDocumentOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonVerificationAdditionalDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class TokenPersonVerificationAdditionalDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class TokenPersonVerificationAdditionalDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Tokens/TokenPersonVerificationDocumentOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonVerificationDocumentOptions.cs index 77f9df7733..f2312dbf95 100644 --- a/src/Stripe.net/Services/Tokens/TokenPersonVerificationDocumentOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenPersonVerificationDocumentOptions.cs @@ -9,7 +9,7 @@ namespace Stripe public class TokenPersonVerificationDocumentOptions : INestedOptions { /// - /// The back of an ID returned by a file + /// The back of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. @@ -21,7 +21,7 @@ public class TokenPersonVerificationDocumentOptions : INestedOptions public string Back { get; set; } /// - /// The front of an ID returned by a file + /// The front of an ID returned by a file /// upload with a purpose value of identity_document. The uploaded file /// needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, /// and less than 10 MB in size. diff --git a/src/Stripe.net/Services/Topups/TopupCreateOptions.cs b/src/Stripe.net/Services/Topups/TopupCreateOptions.cs index f595309d02..50855b4c77 100644 --- a/src/Stripe.net/Services/Topups/TopupCreateOptions.cs +++ b/src/Stripe.net/Services/Topups/TopupCreateOptions.cs @@ -39,7 +39,7 @@ public class TopupCreateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -54,7 +54,7 @@ public class TopupCreateOptions : BaseOptions, IHasMetadata /// The ID of a source to transfer funds from. For most users, this should be left /// unspecified which will use the bank account that was set up in the dashboard for the /// specified currency. In test mode, this can be a test bank token (see Testing Top-ups). + /// href="https://docs.stripe.com/connect/testing#testing-top-ups">Testing Top-ups). /// [JsonProperty("source")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Topups/TopupUpdateOptions.cs b/src/Stripe.net/Services/Topups/TopupUpdateOptions.cs index 8c8e16f3e7..4ab6ed4684 100644 --- a/src/Stripe.net/Services/Topups/TopupUpdateOptions.cs +++ b/src/Stripe.net/Services/Topups/TopupUpdateOptions.cs @@ -19,7 +19,7 @@ public class TopupUpdateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/TransferReversals/TransferReversalCreateOptions.cs b/src/Stripe.net/Services/TransferReversals/TransferReversalCreateOptions.cs index 0208527cad..8d18ed2c3b 100644 --- a/src/Stripe.net/Services/TransferReversals/TransferReversalCreateOptions.cs +++ b/src/Stripe.net/Services/TransferReversals/TransferReversalCreateOptions.cs @@ -32,7 +32,7 @@ public class TransferReversalCreateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/TransferReversals/TransferReversalUpdateOptions.cs b/src/Stripe.net/Services/TransferReversals/TransferReversalUpdateOptions.cs index 8180197067..b0b93171ed 100644 --- a/src/Stripe.net/Services/TransferReversals/TransferReversalUpdateOptions.cs +++ b/src/Stripe.net/Services/TransferReversals/TransferReversalUpdateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe public class TransferReversalUpdateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Transfers/TransferCreateOptions.cs b/src/Stripe.net/Services/Transfers/TransferCreateOptions.cs index efe96d2cf5..6a6cc746dd 100644 --- a/src/Stripe.net/Services/Transfers/TransferCreateOptions.cs +++ b/src/Stripe.net/Services/Transfers/TransferCreateOptions.cs @@ -60,7 +60,7 @@ public class TransferCreateOptions : BaseOptions, IHasMetadata public string FxQuote { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -75,7 +75,7 @@ public class TransferCreateOptions : BaseOptions, IHasMetadata /// You can use this parameter to transfer funds from a charge before they are added to your /// available balance. A pending balance will transfer immediately but the funds will not /// become available until the original charge becomes available. See + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability">See /// the Connect documentation for details. /// [JsonProperty("source_transaction")] @@ -97,7 +97,7 @@ public class TransferCreateOptions : BaseOptions, IHasMetadata /// /// A string that identifies this transaction as part of a group. See the Connect + /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect /// documentation for details. /// [JsonProperty("transfer_group")] diff --git a/src/Stripe.net/Services/Transfers/TransferUpdateOptions.cs b/src/Stripe.net/Services/Transfers/TransferUpdateOptions.cs index 862c538923..71b1f735ff 100644 --- a/src/Stripe.net/Services/Transfers/TransferUpdateOptions.cs +++ b/src/Stripe.net/Services/Transfers/TransferUpdateOptions.cs @@ -19,7 +19,7 @@ public class TransferUpdateOptions : BaseOptions, IHasMetadata public string Description { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/CreditReversals/CreditReversalCreateOptions.cs b/src/Stripe.net/Services/Treasury/CreditReversals/CreditReversalCreateOptions.cs index 2977928f14..98ef1ae842 100644 --- a/src/Stripe.net/Services/Treasury/CreditReversals/CreditReversalCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/CreditReversals/CreditReversalCreateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Treasury public class CreditReversalCreateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/DebitReversals/DebitReversalCreateOptions.cs b/src/Stripe.net/Services/Treasury/DebitReversals/DebitReversalCreateOptions.cs index 7ead8e4805..99a2d0bdeb 100644 --- a/src/Stripe.net/Services/Treasury/DebitReversals/DebitReversalCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/DebitReversals/DebitReversalCreateOptions.cs @@ -10,7 +10,7 @@ namespace Stripe.Treasury public class DebitReversalCreateOptions : BaseOptions, IHasMetadata { /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountCreateOptions.cs b/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountCreateOptions.cs index acdd287458..4fc6ab0cc3 100644 --- a/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountCreateOptions.cs @@ -31,7 +31,7 @@ public class FinancialAccountCreateOptions : BaseOptions, IHasMetadata public FinancialAccountFeaturesOptions Features { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountUpdateOptions.cs b/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountUpdateOptions.cs index 035915ec6c..7b48b6bfac 100644 --- a/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/Treasury/FinancialAccounts/FinancialAccountUpdateOptions.cs @@ -42,7 +42,7 @@ public class FinancialAccountUpdateOptions : BaseOptions, IHasMetadata public FinancialAccountForwardingSettingsOptions ForwardingSettings { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/InboundTransfers/InboundTransferCreateOptions.cs b/src/Stripe.net/Services/Treasury/InboundTransfers/InboundTransferCreateOptions.cs index cd490d3043..1ecfe9a841 100644 --- a/src/Stripe.net/Services/Treasury/InboundTransfers/InboundTransferCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/InboundTransfers/InboundTransferCreateOptions.cs @@ -48,7 +48,7 @@ public class InboundTransferCreateOptions : BaseOptions, IHasMetadata public string FinancialAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -70,7 +70,7 @@ public class InboundTransferCreateOptions : BaseOptions, IHasMetadata /// /// The complete description that appears on your customers' statements. Maximum 10 - /// characters. + /// characters. Can only include -#.$&*, spaces, and alphanumeric characters. /// [JsonProperty("statement_descriptor")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentCreateOptions.cs b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentCreateOptions.cs index a2565c901a..15e6b7e913 100644 --- a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentCreateOptions.cs @@ -96,7 +96,7 @@ public class OutboundPaymentCreateOptions : BaseOptions, IHasMetadata public string FinancialAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -111,7 +111,8 @@ public class OutboundPaymentCreateOptions : BaseOptions, IHasMetadata /// The description that appears on the receiving end for this OutboundPayment (for example, /// bank statement for external bank transfer). Maximum 10 characters for ach /// payments, 140 characters for us_domestic_wire payments, or 500 characters for - /// stripe network transfers. The default value is "payment". + /// stripe network transfers. Can only include -#.$&*, spaces, and alphanumeric + /// characters. The default value is "payment". /// [JsonProperty("statement_descriptor")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDataOptions.cs b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDataOptions.cs index 308d9b384b..c72b9259bd 100644 --- a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDataOptions.cs +++ b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodDataOptions.cs @@ -30,7 +30,7 @@ public class OutboundPaymentDestinationPaymentMethodDataOptions : INestedOptions public string FinancialAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodOptionsUsBankAccountOptions.cs b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodOptionsUsBankAccountOptions.cs index 392f79b950..e892e8ef08 100644 --- a/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodOptionsUsBankAccountOptions.cs +++ b/src/Stripe.net/Services/Treasury/OutboundPayments/OutboundPaymentDestinationPaymentMethodOptionsUsBankAccountOptions.cs @@ -11,7 +11,7 @@ public class OutboundPaymentDestinationPaymentMethodOptionsUsBankAccountOptions /// /// Specifies the network rails to be used. If not set, will default to the PaymentMethod's /// preferred network. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// One of: ach, or us_domestic_wire. /// diff --git a/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferCreateOptions.cs b/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferCreateOptions.cs index 9ccfc4f74e..450614a2f0 100644 --- a/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferCreateOptions.cs +++ b/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferCreateOptions.cs @@ -76,7 +76,7 @@ public class OutboundTransferCreateOptions : BaseOptions, IHasMetadata public string FinancialAccount { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. @@ -99,7 +99,8 @@ public class OutboundTransferCreateOptions : BaseOptions, IHasMetadata /// /// Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 /// characters for ach transfers or 140 characters for us_domestic_wire - /// transfers. The default value is "transfer". + /// transfers. The default value is "transfer". Can only include -#.$&*, spaces, and + /// alphanumeric characters. /// [JsonProperty("statement_descriptor")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodOptionsUsBankAccountOptions.cs b/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodOptionsUsBankAccountOptions.cs index 51a563c839..446a9b208a 100644 --- a/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodOptionsUsBankAccountOptions.cs +++ b/src/Stripe.net/Services/Treasury/OutboundTransfers/OutboundTransferDestinationPaymentMethodOptionsUsBankAccountOptions.cs @@ -11,7 +11,7 @@ public class OutboundTransferDestinationPaymentMethodOptionsUsBankAccountOptions /// /// Specifies the network rails to be used. If not set, will default to the PaymentMethod's /// preferred network. See the docs to learn more + /// href="https://docs.stripe.com/treasury/money-movement/timelines">docs to learn more /// about money movement timelines for each network type. /// One of: ach, or us_domestic_wire. /// diff --git a/src/Stripe.net/Services/V1Services.cs b/src/Stripe.net/Services/V1Services.cs index c6f11a7b8c..bd20b5a1eb 100644 --- a/src/Stripe.net/Services/V1Services.cs +++ b/src/Stripe.net/Services/V1Services.cs @@ -67,6 +67,7 @@ public class V1Services : Service private RadarService radar; private RefundService refunds; private ReportingService reporting; + private ReserveService reserve; private ReviewService reviews; private SetupAttemptService setupAttempts; private SetupIntentService setupIntents; @@ -278,6 +279,9 @@ internal V1Services(IStripeClient client) public virtual ReportingService Reporting => this.reporting ??= new ReportingService( this.Requestor); + public virtual ReserveService Reserve => this.reserve ??= new ReserveService( + this.Requestor); + public virtual ReviewService Reviews => this.reviews ??= new ReviewService( this.Requestor); diff --git a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateCollectionOptionsOptions.cs b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateCollectionOptionsOptions.cs index dd284fd1b9..1b01528356 100644 --- a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateCollectionOptionsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateCollectionOptionsOptions.cs @@ -11,8 +11,7 @@ public class AccountLinkCreateUseCaseAccountUpdateCollectionOptionsOptions : INe /// /// Specifies whether the platform collects only currently_due requirements /// (currently_due) or both currently_due and eventually_due requirements - /// (eventually_due). If you don’t specify collection_options, the default value is - /// currently_due. + /// (eventually_due). The default value is currently_due. /// One of: currently_due, or eventually_due. /// [JsonProperty("fields")] diff --git a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateOptions.cs b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateOptions.cs index 3501d6f61a..120aa75e45 100644 --- a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseAccountUpdateOptions.cs @@ -32,13 +32,13 @@ public class AccountLinkCreateUseCaseAccountUpdateOptions : INestedOptions public List Configurations { get; set; } /// - /// The URL the user will be redirected to if the AccountLink is expired, has been used, or - /// is otherwise invalid. The URL you specify should attempt to generate a new AccountLink - /// with the same parameters used to create the original AccountLink, then redirect the user - /// to the new AccountLink’s URL so they can continue the flow. If a new AccountLink cannot - /// be generated or the redirect fails you should display a useful error to the user. Please - /// make sure to implement authentication before redirecting the user in case this URL is - /// leaked to a third party. + /// The URL the user will be redirected to if the Account Link is expired, has been used, or + /// is otherwise invalid. The URL you specify should attempt to generate a new Account Link + /// with the same parameters used to create the original Account Link, then redirect the + /// user to the new Account Link URL so they can continue the flow. Make sure to + /// authenticate the user before redirecting to the new Account Link, in case the URL leaks + /// to a third party. If a new Account Link can't be generated, or if the redirect fails, + /// you should display a useful error to the user. /// [JsonProperty("refresh_url")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseOptions.cs b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseOptions.cs index 7041336fcf..7661af4192 100644 --- a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkCreateUseCaseOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountLinkCreateUseCaseOptions : INestedOptions { /// - /// Open Enum. The type of AccountLink the user is requesting. + /// Open Enum. The type of Account Link the user is requesting. /// One of: account_onboarding, or account_update. /// [JsonProperty("type")] @@ -19,7 +19,8 @@ public class AccountLinkCreateUseCaseOptions : INestedOptions public string Type { get; set; } /// - /// Indicates that the AccountLink provided should onboard an account. + /// Hash containing configuration options for an Account Link object that onboards a new + /// account. /// [JsonProperty("account_onboarding")] #if NET6_0_OR_GREATER @@ -28,7 +29,8 @@ public class AccountLinkCreateUseCaseOptions : INestedOptions public AccountLinkCreateUseCaseAccountOnboardingOptions AccountOnboarding { get; set; } /// - /// Indicates that the AccountLink provided should update a previously onboarded account. + /// Hash containing configuration options for an Account Link that updates an existing + /// account. /// [JsonProperty("account_update")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkService.cs b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkService.cs index b848dc60f3..b6f826b8fb 100644 --- a/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkService.cs +++ b/src/Stripe.net/Services/V2/Core/AccountLinks/AccountLinkService.cs @@ -19,9 +19,8 @@ internal AccountLinkService(IStripeClient client) } /// - /// Creates an AccountLink object that includes a single-use Stripe URL that the merchant - /// can redirect their user to in order to take them to a Stripe-hosted application such as - /// Recipient Onboarding. + /// Creates an AccountLink object that includes a single-use URL that an account can use to + /// access a Stripe-hosted flow for collecting or updating required information. /// public virtual AccountLink Create(AccountLinkCreateOptions options, RequestOptions requestOptions = null) { @@ -29,9 +28,8 @@ public virtual AccountLink Create(AccountLinkCreateOptions options, RequestOptio } /// - /// Creates an AccountLink object that includes a single-use Stripe URL that the merchant - /// can redirect their user to in order to take them to a Stripe-hosted application such as - /// Recipient Onboarding. + /// Creates an AccountLink object that includes a single-use URL that an account can use to + /// access a Stripe-hosted flow for collecting or updating required information. /// public virtual Task CreateAsync(AccountLinkCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs new file mode 100644 index 0000000000..8a6382b632 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountTokenCreateIdentityBusinessDetailsAnnualRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions.cs index 9c0bf20bcb..08068e14d4 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions.cs @@ -15,7 +15,7 @@ public class AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions : INe #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountTokenCreateIdentityBusinessDetailsAnnualRevenueAmountOptions Amount { get; set; } /// /// The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsIdNumberOptions.cs index a7f855ea33..a7bcaa6951 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsIdNumberOptions.cs @@ -20,20 +20,27 @@ public class AccountTokenCreateIdentityBusinessDetailsIdNumberOptions : INestedO /// /// Open Enum. The ID number type of a business entity. /// One of: ae_crn, ae_vat, ao_nif, ar_cuit, at_fn, - /// au_abn, au_acn, au_in, az_tin, bd_etin, - /// be_cbe, bg_uic, br_cnpj, ca_cn, ca_crarr, - /// ca_neq, ca_rid, ch_chid, ch_uid, cr_cpj, - /// cr_nite, cy_tic, cz_ico, de_hrn, de_vat, - /// dk_cvr, do_rcn, ee_rk, es_cif, fi_yt, - /// fr_siren, fr_vat, gb_crn, gi_crn, gr_gemi, - /// gt_nit, hk_br, hk_cr, hk_mbs, hu_cjs, ie_crn, - /// it_rea, it_vat, jp_cn, kz_bin, li_uid, - /// lt_ccrn, lu_rcs, lv_urn, mt_crn, mx_rfc, - /// my_brn, my_coid, my_sst, mz_nuit, nl_kvk, - /// no_orgnr, nz_bn, pe_ruc, pk_ntn, pl_regon, - /// pt_vat, ro_cui, sa_crn, sa_tin, se_orgnr, - /// sg_uen, si_msp, sk_ico, th_crn, th_prn, - /// th_tin, or us_ein. + /// at_stn, at_vat, au_abn, au_acn, au_in, az_tin, + /// bd_etin, be_cbe, be_vat, bg_uic, bg_vat, + /// br_cnpj, ca_cn, ca_crarr, ca_gst_hst, ca_neq, + /// ca_rid, ch_chid, ch_uid, cr_cpj, cr_nite, + /// cy_he, cy_tic, cy_vat, cz_ico, cz_vat, de_hrn, + /// de_stn, de_vat, dk_cvr, dk_vat, do_rcn, ee_rk, + /// ee_vat, es_cif, es_vat, fi_vat, fi_yt, fr_rna, + /// fr_siren, fr_vat, gb_crn, gi_crn, gr_afm, + /// gr_gemi, gr_vat, gt_nit, hk_br, hk_cr, hr_mbs, + /// hr_oib, hr_vat, hu_cjs, hu_tin, hu_vat, + /// ie_crn, ie_trn, ie_vat, it_rea, it_vat, jp_cn, + /// kz_bin, li_uid, lt_ccrn, lt_vat, lu_nif, + /// lu_rcs, lu_vat, lv_urn, lv_vat, mt_crn, + /// mt_tin, mt_vat, mx_rfc, my_brn, my_coid, + /// my_itn, my_sst, mz_nuit, nl_kvk, nl_rsin, + /// nl_vat, no_orgnr, nz_bn, nz_ird, pe_ruc, + /// pk_ntn, pl_nip, pl_regon, pl_vat, pt_vat, + /// ro_cui, ro_orc, ro_vat, sa_crn, sa_tin, + /// se_orgnr, se_vat, sg_uen, si_msp, si_tin, + /// si_vat, sk_dic, sk_ico, sk_vat, th_crn, + /// th_prn, th_tin, or us_ein. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs new file mode 100644 index 0000000000..98e7513e62 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs index 4c06c1c77a..2177862476 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs @@ -15,6 +15,6 @@ public class AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOpt #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions Amount { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs index 27640baa74..714a7ce940 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityBusinessDetailsOptions.cs @@ -37,8 +37,8 @@ public class AccountTokenCreateIdentityBusinessDetailsOptions : INestedOptions public AccountTokenCreateIdentityBusinessDetailsDocumentsOptions Documents { get; set; } /// - /// An estimated upper bound of employees, contractors, vendors, etc. currently working for - /// the business. + /// Estimated maximum number of workers currently engaged by the business (including + /// employees, contractors, and vendors). /// [JsonProperty("estimated_worker_count")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualAdditionalAddressOptions.cs index fc3401c948..0a88b570b1 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class AccountTokenCreateIdentityIndividualAdditionalAddressOptions : INes public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualIdNumberOptions.cs index 5a46c5a89c..3b107e0fac 100644 --- a/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/AccountTokens/AccountTokenCreateIdentityIndividualIdNumberOptions.cs @@ -10,13 +10,21 @@ public class AccountTokenCreateIdentityIndividualIdNumberOptions : INestedOption { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceOptions.cs index 8d1527e3a6..c84b7c5414 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceOptions.cs @@ -19,7 +19,7 @@ public class AccountCreateConfigurationCustomerBillingInvoiceOptions : INestedOp public List CustomFields { get; set; } /// - /// Default footer to be displayed on invoices for this customer. + /// Default invoice footer. /// [JsonProperty("footer")] #if NET6_0_OR_GREATER @@ -28,7 +28,7 @@ public class AccountCreateConfigurationCustomerBillingInvoiceOptions : INestedOp public string Footer { get; set; } /// - /// The sequence to be used on the customer's next invoice. Defaults to 1. + /// Sequence number to use on the customer account's next invoice. Defaults to 1. /// [JsonProperty("next_sequence")] #if NET6_0_OR_GREATER @@ -37,8 +37,8 @@ public class AccountCreateConfigurationCustomerBillingInvoiceOptions : INestedOp public long? NextSequence { get; set; } /// - /// The prefix for the customer used to generate unique invoice numbers. Must be 3–12 - /// uppercase letters or numbers. + /// Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or + /// numbers. /// [JsonProperty("prefix")] #if NET6_0_OR_GREATER @@ -47,7 +47,7 @@ public class AccountCreateConfigurationCustomerBillingInvoiceOptions : INestedOp public string Prefix { get; set; } /// - /// Default options for invoice PDF rendering for this customer. + /// Default invoice PDF rendering options. /// [JsonProperty("rendering")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceRenderingOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceRenderingOptions.cs index 4e575e0d16..c31c0b9a12 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceRenderingOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingInvoiceRenderingOptions.cs @@ -9,10 +9,9 @@ namespace Stripe.V2.Core public class AccountCreateConfigurationCustomerBillingInvoiceRenderingOptions : INestedOptions { /// - /// How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. - /// One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include - /// inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will - /// exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. + /// Indicates whether displayed line item prices and amounts on invoice PDFs include + /// inclusive tax amounts. Must be either include_inclusive_tax or + /// exclude_tax. /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingOptions.cs index 24191db921..b74aa72e1f 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationCustomerBillingOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountCreateConfigurationCustomerBillingOptions : INestedOptions { /// - /// Default settings used on invoices for this customer. + /// Default invoice settings for the customer account. /// [JsonProperty("invoice")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantBacsDebitPaymentsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantBacsDebitPaymentsOptions.cs index 3585e7a5b3..c5e348733a 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantBacsDebitPaymentsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantBacsDebitPaymentsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountCreateConfigurationMerchantBacsDebitPaymentsOptions : INestedOptions { /// - /// Display name for Bacs debit payments. + /// Display name for Bacs Direct Debit payments. /// [JsonProperty("display_name")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantOptions.cs index c5259ea49f..a35f22cccb 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationMerchantOptions.cs @@ -55,7 +55,7 @@ public class AccountCreateConfigurationMerchantOptions : INestedOptions public AccountCreateConfigurationMerchantKonbiniPaymentsOptions KonbiniPayments { get; set; } /// - /// The merchant category code for the Merchant Configuration. MCCs are used to classify + /// The Merchant Category Code (MCC) for the Merchant Configuration. MCCs classify /// businesses based on the goods or services they provide. /// [JsonProperty("mcc")] diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationOptions.cs index 914894f246..64d7fda2d9 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationOptions.cs @@ -18,9 +18,11 @@ public class AccountCreateConfigurationOptions : INestedOptions public AccountCreateConfigurationCustomerOptions Customer { get; set; } /// - /// The Merchant configuration allows the Account to act as a connected account and collect - /// payments facilitated by a Connect platform. You can add this configuration to your - /// connected accounts only if you’ve completed onboarding as a Connect platform. + /// Enables the Account to act as a connected account and collect payments facilitated by a + /// Connect platform. You must onboard your platform to Connect before you can add this + /// configuration to your connected accounts. Utilize this configuration when the Account + /// will be the Merchant of Record, like with Direct charges or Destination Charges with + /// on_behalf_of set. /// [JsonProperty("merchant")] #if NET6_0_OR_GREATER @@ -29,7 +31,9 @@ public class AccountCreateConfigurationOptions : INestedOptions public AccountCreateConfigurationMerchantOptions Merchant { get; set; } /// - /// The Recipient Configuration allows the Account to receive funds. + /// The Recipient Configuration allows the Account to receive funds. Utilize this + /// configuration if the Account will not be the Merchant of Record, like with Separate + /// Charges & Transfers, or Destination Charges without on_behalf_of set. /// [JsonProperty("recipient")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs index 4cce9c8083..fbd1d0c189 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountCreateConfigurationRecipientCapabilitiesStripeBalanceOptions : INestedOptions { /// - /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance). + /// Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). /// [JsonProperty("stripe_transfers")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs new file mode 100644 index 0000000000..65dd1cadf3 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityBusinessDetailsAnnualRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueOptions.cs index a597de493c..2c1bfe19b9 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsAnnualRevenueOptions.cs @@ -15,7 +15,7 @@ public class AccountCreateIdentityBusinessDetailsAnnualRevenueOptions : INestedO #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountCreateIdentityBusinessDetailsAnnualRevenueAmountOptions Amount { get; set; } /// /// The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsIdNumberOptions.cs index 4e4aa71b4f..39cc97021a 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsIdNumberOptions.cs @@ -20,20 +20,27 @@ public class AccountCreateIdentityBusinessDetailsIdNumberOptions : INestedOption /// /// Open Enum. The ID number type of a business entity. /// One of: ae_crn, ae_vat, ao_nif, ar_cuit, at_fn, - /// au_abn, au_acn, au_in, az_tin, bd_etin, - /// be_cbe, bg_uic, br_cnpj, ca_cn, ca_crarr, - /// ca_neq, ca_rid, ch_chid, ch_uid, cr_cpj, - /// cr_nite, cy_tic, cz_ico, de_hrn, de_vat, - /// dk_cvr, do_rcn, ee_rk, es_cif, fi_yt, - /// fr_siren, fr_vat, gb_crn, gi_crn, gr_gemi, - /// gt_nit, hk_br, hk_cr, hk_mbs, hu_cjs, ie_crn, - /// it_rea, it_vat, jp_cn, kz_bin, li_uid, - /// lt_ccrn, lu_rcs, lv_urn, mt_crn, mx_rfc, - /// my_brn, my_coid, my_sst, mz_nuit, nl_kvk, - /// no_orgnr, nz_bn, pe_ruc, pk_ntn, pl_regon, - /// pt_vat, ro_cui, sa_crn, sa_tin, se_orgnr, - /// sg_uen, si_msp, sk_ico, th_crn, th_prn, - /// th_tin, or us_ein. + /// at_stn, at_vat, au_abn, au_acn, au_in, az_tin, + /// bd_etin, be_cbe, be_vat, bg_uic, bg_vat, + /// br_cnpj, ca_cn, ca_crarr, ca_gst_hst, ca_neq, + /// ca_rid, ch_chid, ch_uid, cr_cpj, cr_nite, + /// cy_he, cy_tic, cy_vat, cz_ico, cz_vat, de_hrn, + /// de_stn, de_vat, dk_cvr, dk_vat, do_rcn, ee_rk, + /// ee_vat, es_cif, es_vat, fi_vat, fi_yt, fr_rna, + /// fr_siren, fr_vat, gb_crn, gi_crn, gr_afm, + /// gr_gemi, gr_vat, gt_nit, hk_br, hk_cr, hr_mbs, + /// hr_oib, hr_vat, hu_cjs, hu_tin, hu_vat, + /// ie_crn, ie_trn, ie_vat, it_rea, it_vat, jp_cn, + /// kz_bin, li_uid, lt_ccrn, lt_vat, lu_nif, + /// lu_rcs, lu_vat, lv_urn, lv_vat, mt_crn, + /// mt_tin, mt_vat, mx_rfc, my_brn, my_coid, + /// my_itn, my_sst, mz_nuit, nl_kvk, nl_rsin, + /// nl_vat, no_orgnr, nz_bn, nz_ird, pe_ruc, + /// pk_ntn, pl_nip, pl_regon, pl_vat, pt_vat, + /// ro_cui, ro_orc, ro_vat, sa_crn, sa_tin, + /// se_orgnr, se_vat, sg_uen, si_msp, si_tin, + /// si_vat, sk_dic, sk_ico, sk_vat, th_crn, + /// th_prn, th_tin, or us_ein. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs new file mode 100644 index 0000000000..7be1063978 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs index fea520f3ee..649c532d05 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs @@ -15,6 +15,6 @@ public class AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountCreateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions Amount { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs index a60a52e9dc..77d3c140b8 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityBusinessDetailsOptions.cs @@ -37,8 +37,8 @@ public class AccountCreateIdentityBusinessDetailsOptions : INestedOptions public AccountCreateIdentityBusinessDetailsDocumentsOptions Documents { get; set; } /// - /// An estimated upper bound of employees, contractors, vendors, etc. currently working for - /// the business. + /// Estimated maximum number of workers currently engaged by the business (including + /// employees, contractors, and vendors). /// [JsonProperty("estimated_worker_count")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualAdditionalAddressOptions.cs index 153eee909d..d9177d75f8 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class AccountCreateIdentityIndividualAdditionalAddressOptions : INestedOp public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualIdNumberOptions.cs index d79b22156a..175a1b0a4d 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountCreateIdentityIndividualIdNumberOptions.cs @@ -10,13 +10,21 @@ public class AccountCreateIdentityIndividualIdNumberOptions : INestedOptions { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountListOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountListOptions.cs index 6ca93567d6..a70f2d150f 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountListOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountListOptions.cs @@ -12,6 +12,7 @@ public class AccountListOptions : V2.ListOptions /// /// Filter only accounts that have all of the configurations specified. If omitted, returns /// all accounts regardless of which configurations they have. + /// One of: customer, merchant, recipient, or storer. /// [JsonProperty("applied_configurations")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs index a2828fab38..52bb10fdad 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions.cs @@ -9,9 +9,8 @@ namespace Stripe.V2.Core public class AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions : INestedOptions { /// - /// Describes the customer's tax exemption status, which is none, exempt, or - /// reverse. When set to reverse, invoice and receipt PDFs include the following - /// text: “Reverse charge”. + /// The customer account's tax exemption status: none, exempt, or + /// reverse. When reverse, invoice and receipt PDFs include "Reverse charge". /// One of: exempt, none, or reverse. /// [JsonProperty("exempt")] @@ -30,9 +29,8 @@ public class AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions : INe public string IpAddress { get; set; } /// - /// The data source used to identify the customer's tax location - defaults to - /// identity_address. Will only be used for automatic tax calculation on the - /// customer's Invoices and Subscriptions. This behavior is now deprecated for new users. + /// Data source used to identify the customer account's tax location. Defaults to + /// identity_address. Used for automatic indirect tax calculation. /// One of: identity_address, ip_address, payment_method, or /// shipping_address. /// @@ -44,7 +42,7 @@ public class AccountUpdateConfigurationCustomerAutomaticIndirectTaxOptions : INe /// /// A per-request flag that indicates when Stripe should validate the customer tax location - /// - defaults to 'auto'. + /// - defaults to auto. /// One of: auto, deferred, or immediately. /// [JsonProperty("validate_location")] diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceOptions.cs index abd8ece3f6..688ff9b26b 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceOptions.cs @@ -19,7 +19,7 @@ public class AccountUpdateConfigurationCustomerBillingInvoiceOptions : INestedOp public List CustomFields { get; set; } /// - /// Default footer to be displayed on invoices for this customer. + /// Default invoice footer. /// [JsonProperty("footer")] #if NET6_0_OR_GREATER @@ -28,7 +28,7 @@ public class AccountUpdateConfigurationCustomerBillingInvoiceOptions : INestedOp public string Footer { get; set; } /// - /// The sequence to be used on the customer's next invoice. Defaults to 1. + /// Sequence number to use on the customer account's next invoice. Defaults to 1. /// [JsonProperty("next_sequence")] #if NET6_0_OR_GREATER @@ -37,8 +37,8 @@ public class AccountUpdateConfigurationCustomerBillingInvoiceOptions : INestedOp public long? NextSequence { get; set; } /// - /// The prefix for the customer used to generate unique invoice numbers. Must be 3–12 - /// uppercase letters or numbers. + /// Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or + /// numbers. /// [JsonProperty("prefix")] #if NET6_0_OR_GREATER @@ -47,7 +47,7 @@ public class AccountUpdateConfigurationCustomerBillingInvoiceOptions : INestedOp public string Prefix { get; set; } /// - /// Default options for invoice PDF rendering for this customer. + /// Default invoice PDF rendering options. /// [JsonProperty("rendering")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceRenderingOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceRenderingOptions.cs index 305238ea13..19af614892 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceRenderingOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingInvoiceRenderingOptions.cs @@ -9,10 +9,9 @@ namespace Stripe.V2.Core public class AccountUpdateConfigurationCustomerBillingInvoiceRenderingOptions : INestedOptions { /// - /// How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. - /// One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include - /// inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will - /// exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. + /// Indicates whether displayed line item prices and amounts on invoice PDFs include + /// inclusive tax amounts. Must be either include_inclusive_tax or + /// exclude_tax. /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingOptions.cs index 69122db753..900a438964 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationCustomerBillingOptions.cs @@ -9,8 +9,8 @@ namespace Stripe.V2.Core public class AccountUpdateConfigurationCustomerBillingOptions : INestedOptions { /// - /// ID of a payment method that’s attached to the customer, to be used as the customer’s - /// default payment method for invoices and subscriptions. + /// ID of a PaymentMethod attached to the customer account to use as the default for + /// invoices and subscriptions. /// [JsonProperty("default_payment_method")] #if NET6_0_OR_GREATER @@ -19,7 +19,7 @@ public class AccountUpdateConfigurationCustomerBillingOptions : INestedOptions public string DefaultPaymentMethod { get; set; } /// - /// Default settings used on invoices for this customer. + /// Default invoice settings for the customer account. /// [JsonProperty("invoice")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantBacsDebitPaymentsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantBacsDebitPaymentsOptions.cs index ade93e3380..0d246edd9f 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantBacsDebitPaymentsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantBacsDebitPaymentsOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountUpdateConfigurationMerchantBacsDebitPaymentsOptions : INestedOptions { /// - /// Display name for Bacs debit payments. + /// Display name for Bacs Direct Debit payments. /// [JsonProperty("display_name")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantOptions.cs index 6066100b4a..272d6d1d3b 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationMerchantOptions.cs @@ -19,7 +19,7 @@ public class AccountUpdateConfigurationMerchantOptions : INestedOptions public bool? Applied { get; set; } /// - /// Settings used for Bacs debit payments. + /// Settings for Bacs Direct Debit payments. /// [JsonProperty("bacs_debit_payments")] #if NET6_0_OR_GREATER @@ -65,8 +65,8 @@ public class AccountUpdateConfigurationMerchantOptions : INestedOptions public AccountUpdateConfigurationMerchantKonbiniPaymentsOptions KonbiniPayments { get; set; } /// - /// The merchant category code for the merchant. MCCs are used to classify businesses based - /// on the goods or services they provide. + /// The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the + /// goods or services they provide. /// [JsonProperty("mcc")] #if NET6_0_OR_GREATER @@ -84,7 +84,8 @@ public class AccountUpdateConfigurationMerchantOptions : INestedOptions public AccountUpdateConfigurationMerchantScriptStatementDescriptorOptions ScriptStatementDescriptor { get; set; } /// - /// Statement descriptor. + /// Settings for the default statement descriptor text. /// [JsonProperty("statement_descriptor")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationOptions.cs index a5ceadd1d8..cf99a8cd88 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationOptions.cs @@ -18,9 +18,11 @@ public class AccountUpdateConfigurationOptions : INestedOptions public AccountUpdateConfigurationCustomerOptions Customer { get; set; } /// - /// The Merchant configuration allows the Account to act as a connected account and collect - /// payments facilitated by a Connect platform. You can add this configuration to your - /// connected accounts only if you’ve completed onboarding as a Connect platform. + /// Enables the Account to act as a connected account and collect payments facilitated by a + /// Connect platform. You must onboard your platform to Connect before you can add this + /// configuration to your connected accounts. Utilize this configuration when the Account + /// will be the Merchant of Record, like with Direct charges or Destination Charges with + /// on_behalf_of set. /// [JsonProperty("merchant")] #if NET6_0_OR_GREATER @@ -29,7 +31,9 @@ public class AccountUpdateConfigurationOptions : INestedOptions public AccountUpdateConfigurationMerchantOptions Merchant { get; set; } /// - /// The Recipient Configuration allows the Account to receive funds. + /// The Recipient Configuration allows the Account to receive funds. Utilize this + /// configuration if the Account will not be the Merchant of Record, like with Separate + /// Charges & Transfers, or Destination Charges without on_behalf_of set. /// [JsonProperty("recipient")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs index 43469f58d8..8c4f8bd595 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core public class AccountUpdateConfigurationRecipientCapabilitiesStripeBalanceOptions : INestedOptions { /// - /// Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance). + /// Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). /// [JsonProperty("stripe_transfers")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs new file mode 100644 index 0000000000..e9ba19b275 --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityBusinessDetailsAnnualRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueOptions.cs index cc10bc5641..5165ca7d98 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsAnnualRevenueOptions.cs @@ -15,7 +15,7 @@ public class AccountUpdateIdentityBusinessDetailsAnnualRevenueOptions : INestedO #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountUpdateIdentityBusinessDetailsAnnualRevenueAmountOptions Amount { get; set; } /// /// The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsIdNumberOptions.cs index 726b351191..34430b5b43 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsIdNumberOptions.cs @@ -20,20 +20,27 @@ public class AccountUpdateIdentityBusinessDetailsIdNumberOptions : INestedOption /// /// Open Enum. The ID number type of a business entity. /// One of: ae_crn, ae_vat, ao_nif, ar_cuit, at_fn, - /// au_abn, au_acn, au_in, az_tin, bd_etin, - /// be_cbe, bg_uic, br_cnpj, ca_cn, ca_crarr, - /// ca_neq, ca_rid, ch_chid, ch_uid, cr_cpj, - /// cr_nite, cy_tic, cz_ico, de_hrn, de_vat, - /// dk_cvr, do_rcn, ee_rk, es_cif, fi_yt, - /// fr_siren, fr_vat, gb_crn, gi_crn, gr_gemi, - /// gt_nit, hk_br, hk_cr, hk_mbs, hu_cjs, ie_crn, - /// it_rea, it_vat, jp_cn, kz_bin, li_uid, - /// lt_ccrn, lu_rcs, lv_urn, mt_crn, mx_rfc, - /// my_brn, my_coid, my_sst, mz_nuit, nl_kvk, - /// no_orgnr, nz_bn, pe_ruc, pk_ntn, pl_regon, - /// pt_vat, ro_cui, sa_crn, sa_tin, se_orgnr, - /// sg_uen, si_msp, sk_ico, th_crn, th_prn, - /// th_tin, or us_ein. + /// at_stn, at_vat, au_abn, au_acn, au_in, az_tin, + /// bd_etin, be_cbe, be_vat, bg_uic, bg_vat, + /// br_cnpj, ca_cn, ca_crarr, ca_gst_hst, ca_neq, + /// ca_rid, ch_chid, ch_uid, cr_cpj, cr_nite, + /// cy_he, cy_tic, cy_vat, cz_ico, cz_vat, de_hrn, + /// de_stn, de_vat, dk_cvr, dk_vat, do_rcn, ee_rk, + /// ee_vat, es_cif, es_vat, fi_vat, fi_yt, fr_rna, + /// fr_siren, fr_vat, gb_crn, gi_crn, gr_afm, + /// gr_gemi, gr_vat, gt_nit, hk_br, hk_cr, hr_mbs, + /// hr_oib, hr_vat, hu_cjs, hu_tin, hu_vat, + /// ie_crn, ie_trn, ie_vat, it_rea, it_vat, jp_cn, + /// kz_bin, li_uid, lt_ccrn, lt_vat, lu_nif, + /// lu_rcs, lu_vat, lv_urn, lv_vat, mt_crn, + /// mt_tin, mt_vat, mx_rfc, my_brn, my_coid, + /// my_itn, my_sst, mz_nuit, nl_kvk, nl_rsin, + /// nl_vat, no_orgnr, nz_bn, nz_ird, pe_ruc, + /// pk_ntn, pl_nip, pl_regon, pl_vat, pt_vat, + /// ro_cui, ro_orc, ro_vat, sa_crn, sa_tin, + /// se_orgnr, se_vat, sg_uen, si_msp, si_tin, + /// si_vat, sk_dic, sk_ico, sk_vat, th_crn, + /// th_prn, th_tin, or us_ein. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs new file mode 100644 index 0000000000..224acf7c3d --- /dev/null +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.Core +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs index b4f9fc0184..32e6dbdb61 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions.cs @@ -15,6 +15,6 @@ public class AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public AccountUpdateIdentityBusinessDetailsMonthlyEstimatedRevenueAmountOptions Amount { get; set; } } } diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs index d080bc4938..b4bba6ffbe 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityBusinessDetailsOptions.cs @@ -37,8 +37,8 @@ public class AccountUpdateIdentityBusinessDetailsOptions : INestedOptions public AccountUpdateIdentityBusinessDetailsDocumentsOptions Documents { get; set; } /// - /// An estimated upper bound of employees, contractors, vendors, etc. currently working for - /// the business. + /// Estimated maximum number of workers currently engaged by the business (including + /// employees, contractors, and vendors). /// [JsonProperty("estimated_worker_count")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualAdditionalAddressOptions.cs index 984433a0c0..423efab972 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class AccountUpdateIdentityIndividualAdditionalAddressOptions : INestedOp public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualIdNumberOptions.cs index 1ca0665c04..416556b93d 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/AccountUpdateIdentityIndividualIdNumberOptions.cs @@ -10,13 +10,21 @@ public class AccountUpdateIdentityIndividualIdNumberOptions : INestedOptions { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateAdditionalAddressOptions.cs index c2468cdb0e..479a2dc8d9 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class PersonTokenCreateAdditionalAddressOptions : INestedOptions public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateIdNumberOptions.cs index 1ce2127f7f..c2568c96a0 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateIdNumberOptions.cs @@ -10,13 +10,21 @@ public class PersonTokenCreateIdNumberOptions : INestedOptions { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateRelationshipOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateRelationshipOptions.cs index a7dad3867b..a9d625ed32 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateRelationshipOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/PersonTokens/PersonTokenCreateRelationshipOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core.Accounts public class PersonTokenCreateRelationshipOptions : INestedOptions { /// - /// Whether the individual is an authorizer of the Account’s legal entity. + /// Whether the individual is an authorizer of the Account's identity. /// [JsonProperty("authorizer")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateAdditionalAddressOptions.cs index f25634cbb9..df90e0bdd6 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class PersonCreateAdditionalAddressOptions : INestedOptions public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateIdNumberOptions.cs index 3929017821..1d4c169e1d 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateIdNumberOptions.cs @@ -10,13 +10,21 @@ public class PersonCreateIdNumberOptions : INestedOptions { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs index fe7d1ea80a..bababeb3de 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonCreateRelationshipOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core.Accounts public class PersonCreateRelationshipOptions : INestedOptions { /// - /// Whether the individual is an authorizer of the Account’s legal entity. + /// Whether the individual is an authorizer of the Account's identity. /// [JsonProperty("authorizer")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonService.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonService.cs index 90b963b6ec..ec35b2ebcb 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonService.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonService.cs @@ -21,7 +21,8 @@ internal PersonService(IStripeClient client) } /// - /// Create a Person associated with an Account. + /// Create a Person. Adds an individual to an Account's identity. You can set relationship + /// attributes and identity information at creation. /// public virtual V2.Core.AccountPerson Create(string id, PersonCreateOptions options, RequestOptions requestOptions = null) { @@ -29,7 +30,8 @@ public virtual V2.Core.AccountPerson Create(string id, PersonCreateOptions optio } /// - /// Create a Person associated with an Account. + /// Create a Person. Adds an individual to an Account's identity. You can set relationship + /// attributes and identity information at creation. /// public virtual Task CreateAsync(string id, PersonCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -69,7 +71,7 @@ public virtual V2.Core.AccountPerson Get(string parentId, string id, PersonGetOp } /// - /// Returns a list of Persons associated with an Account. + /// Returns a paginated list of Persons associated with an Account. /// public virtual V2.StripeList List(string id, PersonListOptions options = null, RequestOptions requestOptions = null) { @@ -77,7 +79,7 @@ public virtual V2.Core.AccountPerson Get(string parentId, string id, PersonGetOp } /// - /// Returns a list of Persons associated with an Account. + /// Returns a paginated list of Persons associated with an Account. /// public virtual Task> ListAsync(string id, PersonListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -85,7 +87,7 @@ public virtual V2.Core.AccountPerson Get(string parentId, string id, PersonGetOp } /// - /// Returns a list of Persons associated with an Account. + /// Returns a paginated list of Persons associated with an Account. /// public virtual IEnumerable ListAutoPaging(string id, PersonListOptions options = null, RequestOptions requestOptions = null) { @@ -93,7 +95,7 @@ public virtual V2.Core.AccountPerson Get(string parentId, string id, PersonGetOp } /// - /// Returns a list of Persons associated with an Account. + /// Returns a paginated list of Persons associated with an Account. /// public virtual IAsyncEnumerable ListAutoPagingAsync(string id, PersonListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateAdditionalAddressOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateAdditionalAddressOptions.cs index 941bc5c8aa..319b80c83b 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateAdditionalAddressOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateAdditionalAddressOptions.cs @@ -73,7 +73,7 @@ public class PersonUpdateAdditionalAddressOptions : INestedOptions public string State { get; set; } /// - /// Town or cho-me. + /// Town or district. /// [JsonProperty("town")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateIdNumberOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateIdNumberOptions.cs index 083ab1f3ef..30cb555913 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateIdNumberOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateIdNumberOptions.cs @@ -10,13 +10,21 @@ public class PersonUpdateIdNumberOptions : INestedOptions { /// /// The ID number type of an individual. - /// One of: ae_eid, ao_nif, ar_dni, az_tin, bd_brc, - /// bd_etin, bd_nid, br_cpf, cr_cpf, cr_dimex, - /// cr_nite, de_stn, do_rcn, gt_nit, hk_id, - /// kz_iin, mx_rfc, my_nric, mz_nuit, nl_bsn, - /// pe_dni, pk_cnic, pk_snic, sa_tin, sg_fin, - /// sg_nric, th_lc, th_pin, us_itin, us_itin_last_4, - /// us_ssn, or us_ssn_last_4. + /// One of: ae_eid, ao_nif, ar_cuil, ar_dni, at_stn, + /// az_tin, bd_brc, bd_etin, bd_nid, be_nrn, + /// bg_ucn, bn_nric, br_cpf, ca_sin, ch_oasi, + /// cl_rut, cn_pp, co_nuip, cr_ci, cr_cpf, + /// cr_dimex, cr_nite, cy_tic, cz_rc, de_stn, + /// dk_cpr, do_cie, do_rcn, ec_ci, ee_ik, es_nif, + /// fi_hetu, fr_nir, gb_nino, gr_afm, gt_nit, + /// hk_id, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, + /// it_cf, jp_inc, ke_pin, kz_iin, li_peid, lt_ak, + /// lu_nif, lv_pk, mx_rfc, my_nric, mz_nuit, + /// ng_nin, nl_bsn, no_nin, nz_ird, pe_dni, + /// pk_cnic, pk_snic, pl_pesel, pt_nif, ro_cnp, + /// sa_tin, se_pin, sg_fin, sg_nric, sk_dic, + /// th_lc, th_pin, tr_tin, us_itin, us_itin_last_4, + /// us_ssn, us_ssn_last_4, uy_dni, or za_id. /// [JsonProperty("type")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs index 414c958e66..c86780d631 100644 --- a/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs +++ b/src/Stripe.net/Services/V2/Core/Accounts/Persons/PersonUpdateRelationshipOptions.cs @@ -9,7 +9,7 @@ namespace Stripe.V2.Core.Accounts public class PersonUpdateRelationshipOptions : INestedOptions { /// - /// Whether the individual is an authorizer of the Account’s legal entity. + /// Whether the individual is an authorizer of the Account's identity. /// [JsonProperty("authorizer")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateAmountOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateAmountOptions.cs new file mode 100644 index 0000000000..7c05c2fdd1 --- /dev/null +++ b/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class InboundTransferCreateAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateOptions.cs index 5bb3a7d795..5cc13e2e5f 100644 --- a/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateOptions.cs +++ b/src/Stripe.net/Services/V2/MoneyManagement/InboundTransfers/InboundTransferCreateOptions.cs @@ -16,7 +16,7 @@ public class InboundTransferCreateOptions : BaseOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public InboundTransferCreateAmountOptions Amount { get; set; } /// /// An optional, freeform description field intended to store metadata. diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateAmountOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateAmountOptions.cs new file mode 100644 index 0000000000..0a7e4fcf57 --- /dev/null +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentQuoteCreateAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateOptions.cs index 492a0420fd..7b6027aec2 100644 --- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateOptions.cs +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPaymentQuotes/OutboundPaymentQuoteCreateOptions.cs @@ -15,7 +15,7 @@ public class OutboundPaymentQuoteCreateOptions : BaseOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundPaymentQuoteCreateAmountOptions Amount { get; set; } /// /// Method to be used to send the OutboundPayment. diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateAmountOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateAmountOptions.cs new file mode 100644 index 0000000000..80f3f101af --- /dev/null +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundPaymentCreateAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs index 49f3935701..c6c3eed433 100644 --- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundPayments/OutboundPaymentCreateOptions.cs @@ -16,7 +16,7 @@ public class OutboundPaymentCreateOptions : BaseOptions, IHasMetadata #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundPaymentCreateAmountOptions Amount { get; set; } /// /// Delivery options to be used to send the OutboundPayment. diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateAmountOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateAmountOptions.cs new file mode 100644 index 0000000000..8878f78cf9 --- /dev/null +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.MoneyManagement +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class OutboundTransferCreateAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs index d9008fb584..7f415edc81 100644 --- a/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs +++ b/src/Stripe.net/Services/V2/MoneyManagement/OutboundTransfers/OutboundTransferCreateOptions.cs @@ -16,7 +16,7 @@ public class OutboundTransferCreateOptions : BaseOptions, IHasMetadata #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public OutboundTransferCreateAmountOptions Amount { get; set; } /// /// Delivery options to be used to send the OutboundTransfer. diff --git a/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditAmountOptions.cs b/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditAmountOptions.cs new file mode 100644 index 0000000000..eb54ce6499 --- /dev/null +++ b/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditAmountOptions.cs @@ -0,0 +1,32 @@ +// File generated from our OpenAPI spec +namespace Stripe.V2.TestHelpers +{ + using Newtonsoft.Json; +#if NET6_0_OR_GREATER + using STJS = System.Text.Json.Serialization; +#endif + + public class FinancialAddressCreditAmountOptions : INestedOptions + { + /// + /// A non-negative integer representing how much to charge in the smallest currency unit. + /// + [JsonProperty("value")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("value")] +#endif + public long? Value { get; set; } + + /// + /// Three-letter ISO currency + /// code, in lowercase. Must be a supported + /// currency. + /// + [JsonProperty("currency")] +#if NET6_0_OR_GREATER + [STJS.JsonPropertyName("currency")] +#endif + public string Currency { get; set; } + } +} diff --git a/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditOptions.cs b/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditOptions.cs index 04ea3e9c97..ff872219db 100644 --- a/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditOptions.cs +++ b/src/Stripe.net/Services/V2/TestHelpers/FinancialAddresses/FinancialAddressCreditOptions.cs @@ -15,7 +15,7 @@ public class FinancialAddressCreditOptions : BaseOptions #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public V2.Amount Amount { get; set; } + public FinancialAddressCreditAmountOptions Amount { get; set; } /// /// Open Enum. The network to use in simulating the funds flow. This will be the reflected diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index 47c9bcd321..37a449eec0 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -42,7 +42,8 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// 2025-01-27.acacia, 2025-02-24.acacia, 2025-03-01.dashboard, /// 2025-03-31.basil, 2025-04-30.basil, 2025-05-28.basil, /// 2025-06-30.basil, 2025-07-30.basil, 2025-08-27.basil, - /// 2025-09-30.clover, 2025-10-29.clover, or 2025-11-17.clover. + /// 2025-09-30.clover, 2025-10-29.clover, 2025-11-17.clover, + /// 2025-12-15.clover, or 2026-01-28.clover. /// [JsonProperty("api_version")] #if NET6_0_OR_GREATER @@ -231,7 +232,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata public List EnabledEvents { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs index 62d7335c33..4672a60aa3 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs @@ -189,7 +189,7 @@ public class WebhookEndpointUpdateOptions : BaseOptions, IHasMetadata public List EnabledEvents { get; set; } /// - /// Set of key-value pairs that you can + /// Set of key-value pairs that you can /// attach to an object. This can be useful for storing additional information about the /// object in a structured format. Individual keys can be unset by posting an empty value to /// them. All keys can be unset by posting an empty value to metadata. diff --git a/src/StripeTests/Services/GeneratedExamplesTest.cs b/src/StripeTests/Services/GeneratedExamplesTest.cs index 9615d25009..46f1345c4b 100644 --- a/src/StripeTests/Services/GeneratedExamplesTest.cs +++ b/src/StripeTests/Services/GeneratedExamplesTest.cs @@ -723,7 +723,7 @@ public void TestCoreEventsGet() HttpMethod.Get, "/v2/core/events/ll_123", HttpStatusCode.OK, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"changes\":{\"int_key\":123,\"string_key\":\"value\",\"boolean_key\":true,\"object_key\":{\"object_int_key\":123,\"object_string_key\":\"value\",\"object_boolean_key\":true},\"array_key\":[1,2,3]},\"context\":\"context\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"reason\":{\"type\":\"request\",\"request\":{\"id\":\"obj_123\",\"idempotency_key\":\"idempotency_key\"}},\"type\":\"type\"}"); + "{\"changes\":{\"int_key\":123,\"string_key\":\"value\",\"boolean_key\":true,\"object_key\":{\"object_int_key\":123,\"object_string_key\":\"value\",\"object_boolean_key\":true},\"array_key\":[1,2,3]},\"context\":\"context\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"reason\":{\"type\":\"request\",\"request\":{\"id\":\"obj_123\",\"idempotency_key\":\"idempotency_key\"}},\"type\":\"type\"}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Events; Stripe.V2.Core.Event result = service.Get("ll_123"); @@ -6183,7 +6183,7 @@ public void TestV2BillingBillSettingGet() HttpMethod.Get, "/v2/billing/bill_settings", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.bill_setting\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings; Stripe.V2.StripeList billSettings = service @@ -6198,7 +6198,7 @@ public void TestV2BillingBillSettingPost() HttpMethod.Post, "/v2/billing/bill_settings", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.bill_setting\",\"livemode\":true}"); var options = new Stripe.V2.Billing.BillSettingCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings; @@ -6213,7 +6213,7 @@ public void TestV2BillingBillSettingGet2() HttpMethod.Get, "/v2/billing/bill_settings/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.bill_setting\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings; Stripe.V2.Billing.BillSetting billSetting = service.Get("id_123"); @@ -6229,7 +6229,7 @@ public void TestV2BillingBillSettingPost2() HttpMethod.Post, "/v2/billing/bill_settings/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.bill_setting\",\"livemode\":true}"); var options = new Stripe.V2.Billing.BillSettingUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings; @@ -6248,7 +6248,7 @@ public void TestV2BillingBillSettingsVersionGet() HttpMethod.Get, "/v2/billing/bill_settings/bill_setting_id_123/versions", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting_version\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting_version\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings.Versions; Stripe.V2.StripeList billSettingVersions = service @@ -6265,7 +6265,7 @@ public void TestV2BillingBillSettingsVersionGet2() HttpMethod.Get, "/v2/billing/bill_settings/bill_setting_id_123/versions/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting_version\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.bill_setting_version\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.BillSettings.Versions; Stripe.V2.Billing.BillSettingVersion billSettingVersion = service @@ -6282,7 +6282,7 @@ public void TestV2BillingCadenceGet() HttpMethod.Get, "/v2/billing/cadences", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Cadences; Stripe.V2.StripeList cadences = service @@ -6297,7 +6297,7 @@ public void TestV2BillingCadencePost() HttpMethod.Post, "/v2/billing/cadences", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\"}"); + "{\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\",\"livemode\":true}"); var options = new Stripe.V2.Billing.CadenceCreateOptions { BillingCycle = new Stripe.V2.Billing.CadenceCreateBillingCycleOptions @@ -6364,7 +6364,7 @@ public void TestV2BillingCadenceGet2() HttpMethod.Get, "/v2/billing/cadences/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\"}"); + "{\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Cadences; Stripe.V2.Billing.Cadence cadence = service.Get("id_123"); @@ -6378,7 +6378,7 @@ public void TestV2BillingCadencePost2() HttpMethod.Post, "/v2/billing/cadences/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\"}"); + "{\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\",\"livemode\":true}"); var options = new Stripe.V2.Billing.CadenceUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Cadences; @@ -6395,7 +6395,7 @@ public void TestV2BillingCadencePost3() HttpMethod.Post, "/v2/billing/cadences/id_123/cancel", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\"}"); + "{\"billing_cycle\":{\"interval_count\":797691627,\"type\":\"week\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.cadence\",\"payer\":{\"billing_profile\":\"billing_profile\",\"type\":\"customer\"},\"status\":\"active\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Cadences; Stripe.V2.Billing.Cadence cadence = service.Cancel("id_123"); @@ -6411,7 +6411,7 @@ public void TestV2BillingCollectionSettingGet() HttpMethod.Get, "/v2/billing/collection_settings", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.collection_setting\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings; Stripe.V2.StripeList collectionSettings = service @@ -6428,7 +6428,7 @@ public void TestV2BillingCollectionSettingPost() HttpMethod.Post, "/v2/billing/collection_settings", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.collection_setting\",\"livemode\":true}"); var options = new Stripe.V2.Billing.CollectionSettingCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings; @@ -6446,7 +6446,7 @@ public void TestV2BillingCollectionSettingGet2() HttpMethod.Get, "/v2/billing/collection_settings/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.collection_setting\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings; Stripe.V2.Billing.CollectionSetting collectionSetting = service.Get( @@ -6463,7 +6463,7 @@ public void TestV2BillingCollectionSettingPost2() HttpMethod.Post, "/v2/billing/collection_settings/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting\",\"created\":\"1970-01-12T21:42:34.472Z\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"latest_version\":\"latest_version\",\"live_version\":\"live_version\",\"object\":\"v2.billing.collection_setting\",\"livemode\":true}"); var options = new Stripe.V2.Billing.CollectionSettingUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings; @@ -6481,7 +6481,7 @@ public void TestV2BillingCollectionSettingsVersionGet() HttpMethod.Get, "/v2/billing/collection_settings/collection_setting_id_123/versions", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting_version\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting_version\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings.Versions; Stripe.V2.StripeList collectionSettingVersions = service @@ -6498,7 +6498,7 @@ public void TestV2BillingCollectionSettingsVersionGet2() HttpMethod.Get, "/v2/billing/collection_settings/collection_setting_id_123/versions/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting_version\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.collection_setting_version\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.CollectionSettings.Versions; Stripe.V2.Billing.CollectionSettingVersion collectionSettingVersion = service @@ -6515,7 +6515,7 @@ public void TestV2BillingMeterEventPost() HttpMethod.Post, "/v2/billing/meter_events", (HttpStatusCode)200, - "{\"object\":\"v2.billing.meter_event\",\"created\":\"1970-01-12T21:42:34.472Z\",\"event_name\":\"event_name\",\"identifier\":\"identifier\",\"livemode\":true,\"payload\":{\"key\":\"payload\"},\"timestamp\":\"1970-01-01T15:18:46.294Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"event_name\":\"event_name\",\"identifier\":\"identifier\",\"object\":\"v2.billing.meter_event\",\"payload\":{\"key\":\"payload\"},\"timestamp\":\"1970-01-01T15:18:46.294Z\",\"livemode\":true}"); var options = new Stripe.V2.Billing.MeterEventCreateOptions { EventName = "event_name", @@ -6537,7 +6537,7 @@ public void TestV2BillingMeterEventAdjustmentPost() HttpMethod.Post, "/v2/billing/meter_event_adjustments", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.meter_event_adjustment\",\"cancel\":{\"identifier\":\"identifier\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"event_name\":\"event_name\",\"livemode\":true,\"status\":\"complete\",\"type\":\"cancel\"}"); + "{\"cancel\":{\"identifier\":\"identifier\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"event_name\":\"event_name\",\"id\":\"obj_123\",\"object\":\"v2.billing.meter_event_adjustment\",\"status\":\"complete\",\"type\":\"cancel\",\"livemode\":true}"); var options = new Stripe.V2.Billing.MeterEventAdjustmentCreateOptions { Cancel = new Stripe.V2.Billing.MeterEventAdjustmentCreateCancelOptions @@ -6563,7 +6563,7 @@ public void TestV2BillingMeterEventSessionPost() HttpMethod.Post, "/v2/billing/meter_event_session", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.meter_event_session\",\"authentication_token\":\"authentication_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true}"); + "{\"authentication_token\":\"authentication_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.meter_event_session\",\"livemode\":true}"); var options = new Stripe.V2.Billing.MeterEventSessionCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.MeterEventSession; @@ -6615,7 +6615,7 @@ public void TestV2BillingProfileGet() HttpMethod.Get, "/v2/billing/profiles", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"active\"}],\"next_page_url\":null,\"previous_page_url\":null}", + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"status\":\"active\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}", "lookup_keys[0]=lookup_keys"); var options = new Stripe.V2.Billing.ProfileListOptions { @@ -6638,7 +6638,7 @@ public void TestV2BillingProfilePost() HttpMethod.Post, "/v2/billing/profiles", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"active\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"status\":\"active\",\"livemode\":true}"); var options = new Stripe.V2.Billing.ProfileCreateOptions { Customer = "customer", @@ -6656,7 +6656,7 @@ public void TestV2BillingProfileGet2() HttpMethod.Get, "/v2/billing/profiles/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"active\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"status\":\"active\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Profiles; Stripe.V2.Billing.Profile profile = service.Get("id_123"); @@ -6670,7 +6670,7 @@ public void TestV2BillingProfilePost2() HttpMethod.Post, "/v2/billing/profiles/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"active\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.billing.profile\",\"status\":\"active\",\"livemode\":true}"); var options = new Stripe.V2.Billing.ProfileUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Billing.Profiles; @@ -6687,7 +6687,7 @@ public void TestV2CoreAccountGet() HttpMethod.Get, "/v2/core/accounts", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts; Stripe.V2.StripeList accounts = service @@ -6702,7 +6702,7 @@ public void TestV2CoreAccountPost() HttpMethod.Post, "/v2/core/accounts", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"livemode\":true}"); var options = new Stripe.V2.Core.AccountCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts; @@ -6717,7 +6717,7 @@ public void TestV2CoreAccountGet2() HttpMethod.Get, "/v2/core/accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts; Stripe.V2.Core.Account account = service.Get("id_123"); @@ -6731,7 +6731,7 @@ public void TestV2CoreAccountPost2() HttpMethod.Post, "/v2/core/accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"livemode\":true}"); var options = new Stripe.V2.Core.AccountUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts; @@ -6746,7 +6746,7 @@ public void TestV2CoreAccountPost3() HttpMethod.Post, "/v2/core/accounts/id_123/close", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true}"); + "{\"applied_configurations\":[\"storer\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts; Stripe.V2.Core.Account account = service.Close("id_123"); @@ -6762,7 +6762,7 @@ public void TestV2CoreAccountsPersonGet() HttpMethod.Get, "/v2/core/accounts/account_id_123/persons", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"updated\":\"1970-01-03T17:07:10.277Z\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.Persons; Stripe.V2.StripeList accountPersons = service @@ -6779,7 +6779,7 @@ public void TestV2CoreAccountsPersonPost() HttpMethod.Post, "/v2/core/accounts/account_id_123/persons", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var options = new Stripe.V2.Core.Accounts.PersonCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.Persons; @@ -6816,7 +6816,7 @@ public void TestV2CoreAccountsPersonGet2() HttpMethod.Get, "/v2/core/accounts/account_id_123/persons/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.Persons; Stripe.V2.Core.AccountPerson accountPerson = service.Get( @@ -6834,7 +6834,7 @@ public void TestV2CoreAccountsPersonPost2() HttpMethod.Post, "/v2/core/accounts/account_id_123/persons/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.account_person\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var options = new Stripe.V2.Core.Accounts.PersonUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.Persons; @@ -6854,7 +6854,7 @@ public void TestV2CoreAccountsPersonTokenPost() HttpMethod.Post, "/v2/core/accounts/account_id_123/person_tokens", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"used\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.account_person_token\",\"used\":true}"); var options = new Stripe.V2.Core.Accounts.PersonTokenCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.PersonTokens; @@ -6872,7 +6872,7 @@ public void TestV2CoreAccountsPersonTokenGet() HttpMethod.Get, "/v2/core/accounts/account_id_123/person_tokens/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_person_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"used\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.account_person_token\",\"used\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Accounts.PersonTokens; Stripe.V2.Core.AccountPersonToken accountPersonToken = service.Get( @@ -6890,7 +6890,7 @@ public void TestV2CoreAccountLinkPost() HttpMethod.Post, "/v2/core/account_links", (HttpStatusCode)200, - "{\"object\":\"v2.core.account_link\",\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"url\":\"url\",\"use_case\":{\"type\":\"account_onboarding\"}}"); + "{\"account\":\"account\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"object\":\"v2.core.account_link\",\"url\":\"url\",\"use_case\":{\"type\":\"account_onboarding\"},\"livemode\":true}"); var options = new Stripe.V2.Core.AccountLinkCreateOptions { Account = "account", @@ -6934,323 +6934,8 @@ public void TestV2CoreAccountTokenPost() HttpMethod.Post, "/v2/core/account_tokens", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"used\":true}"); - var options = new Stripe.V2.Core.AccountTokenCreateOptions - { - Identity = new Stripe.V2.Core.AccountTokenCreateIdentityOptions - { - Attestations = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsOptions - { - DirectorshipDeclaration = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsDirectorshipDeclarationOptions - { - Attested = true, - }, - OwnershipDeclaration = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsOwnershipDeclarationOptions - { - Attested = true, - }, - PersonsProvided = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsPersonsProvidedOptions - { - Directors = true, - Executives = true, - Owners = true, - OwnershipExemptionReason = "qualified_entity_exceeds_ownership_threshold", - }, - RepresentativeDeclaration = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsRepresentativeDeclarationOptions - { - Attested = true, - }, - TermsOfService = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsTermsOfServiceOptions - { - Account = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsTermsOfServiceAccountOptions - { - ShownAndAccepted = true, - }, - Storer = new Stripe.V2.Core.AccountTokenCreateIdentityAttestationsTermsOfServiceStorerOptions - { - ShownAndAccepted = true, - }, - }, - }, - BusinessDetails = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsOptions - { - Address = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - AnnualRevenue = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsAnnualRevenueOptions - { - Amount = new Stripe.V2.Amount - { - Currency = "USD", - Value = 96, - }, - FiscalYearEnd = "fiscal_year_end", - }, - Documents = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsOptions - { - BankAccountOwnershipVerification = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsBankAccountOwnershipVerificationOptions - { - Files = new List { "files" }, - Type = "files", - }, - CompanyLicense = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsCompanyLicenseOptions - { - Files = new List { "files" }, - Type = "files", - }, - CompanyMemorandumOfAssociation = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsCompanyMemorandumOfAssociationOptions - { - Files = new List { "files" }, - Type = "files", - }, - CompanyMinisterialDecree = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsCompanyMinisterialDecreeOptions - { - Files = new List { "files" }, - Type = "files", - }, - CompanyRegistrationVerification = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsCompanyRegistrationVerificationOptions - { - Files = new List { "files" }, - Type = "files", - }, - CompanyTaxIdVerification = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsCompanyTaxIdVerificationOptions - { - Files = new List { "files" }, - Type = "files", - }, - PrimaryVerification = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsPrimaryVerificationOptions - { - FrontBack = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsPrimaryVerificationFrontBackOptions - { - Back = "back", - Front = "front", - }, - Type = "front_back", - }, - ProofOfAddress = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsProofOfAddressOptions - { - Files = new List { "files" }, - Type = "files", - }, - ProofOfRegistration = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsProofOfRegistrationOptions - { - Files = new List { "files" }, - Type = "files", - }, - ProofOfUltimateBeneficialOwnership = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsDocumentsProofOfUltimateBeneficialOwnershipOptions - { - Files = new List { "files" }, - Type = "files", - }, - }, - EstimatedWorkerCount = 884794319, - IdNumbers = new List - { - new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsIdNumberOptions - { - Registrar = "registrar", - Type = "th_prn", - Value = "value", - }, - }, - MonthlyEstimatedRevenue = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsMonthlyEstimatedRevenueOptions - { - Amount = new Stripe.V2.Amount - { - Currency = "USD", - Value = 96, - }, - }, - Phone = "phone", - RegisteredName = "registered_name", - ScriptAddresses = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsScriptAddressesOptions - { - Kana = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - Kanji = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - }, - ScriptNames = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsScriptNamesOptions - { - Kana = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsScriptNamesKanaOptions - { - RegisteredName = "registered_name", - }, - Kanji = new Stripe.V2.Core.AccountTokenCreateIdentityBusinessDetailsScriptNamesKanjiOptions - { - RegisteredName = "registered_name", - }, - }, - Structure = "public_listed_corporation", - }, - EntityType = "individual", - Individual = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualOptions - { - AdditionalAddresses = new List - { - new Stripe.V2.Core.AccountTokenCreateIdentityIndividualAdditionalAddressOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - Purpose = "registered", - State = "state", - Town = "town", - }, - }, - AdditionalNames = new List - { - new Stripe.V2.Core.AccountTokenCreateIdentityIndividualAdditionalNameOptions - { - FullName = "full_name", - GivenName = "given_name", - Purpose = "alias", - Surname = "surname", - }, - }, - Address = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - DateOfBirth = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDateOfBirthOptions - { - Day = 99228, - Month = 104080000, - Year = 3704893, - }, - Documents = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsOptions - { - CompanyAuthorization = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsCompanyAuthorizationOptions - { - Files = new List { "files" }, - Type = "files", - }, - Passport = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsPassportOptions - { - Files = new List { "files" }, - Type = "files", - }, - PrimaryVerification = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsPrimaryVerificationOptions - { - FrontBack = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsPrimaryVerificationFrontBackOptions - { - Back = "back", - Front = "front", - }, - Type = "front_back", - }, - SecondaryVerification = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsSecondaryVerificationOptions - { - FrontBack = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsSecondaryVerificationFrontBackOptions - { - Back = "back", - Front = "front", - }, - Type = "front_back", - }, - Visa = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualDocumentsVisaOptions - { - Files = new List { "files" }, - Type = "files", - }, - }, - Email = "email", - GivenName = "given_name", - IdNumbers = new List - { - new Stripe.V2.Core.AccountTokenCreateIdentityIndividualIdNumberOptions - { - Type = "th_lc", - Value = "value", - }, - }, - LegalGender = "male", - Metadata = new Dictionary - { - { "key", "metadata" }, - }, - Nationalities = new List { "nationalities" }, - Phone = "phone", - PoliticalExposure = "none", - Relationship = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualRelationshipOptions - { - Director = true, - Executive = true, - Owner = true, - PercentOwnership = "percent_ownership", - Title = "title", - }, - ScriptAddresses = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualScriptAddressesOptions - { - Kana = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - Kanji = new AddressJapanOptions - { - City = "city", - Country = "country", - Line1 = "line1", - Line2 = "line2", - PostalCode = "postal_code", - State = "state", - Town = "town", - }, - }, - ScriptNames = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualScriptNamesOptions - { - Kana = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualScriptNamesKanaOptions - { - GivenName = "given_name", - Surname = "surname", - }, - Kanji = new Stripe.V2.Core.AccountTokenCreateIdentityIndividualScriptNamesKanjiOptions - { - GivenName = "given_name", - Surname = "surname", - }, - }, - Surname = "surname", - }, - }, - }; + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.account_token\",\"used\":true}"); + var options = new Stripe.V2.Core.AccountTokenCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.AccountTokens; Stripe.V2.Core.AccountToken accountToken = service.Create(options); @@ -7264,7 +6949,7 @@ public void TestV2CoreAccountTokenGet() HttpMethod.Get, "/v2/core/account_tokens/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.account_token\",\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"livemode\":true,\"used\":true}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"expires_at\":\"1970-01-10T15:36:51.170Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.account_token\",\"used\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.AccountTokens; Stripe.V2.Core.AccountToken accountToken = service.Get("id_123"); @@ -7280,7 +6965,7 @@ public void TestV2CoreEventGet() HttpMethod.Get, "/v2/core/events", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"type\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Events; Stripe.V2.StripeList events = service.List(); @@ -7294,7 +6979,7 @@ public void TestV2CoreEventGet2() HttpMethod.Get, "/v2/core/events/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"type\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Events; Stripe.V2.Core.Event result = service.Get("id_123"); @@ -7308,7 +6993,7 @@ public void TestV2CoreEventDestinationGet() HttpMethod.Get, "/v2/core/event_destinations", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; Stripe.V2.StripeList eventDestinations = service @@ -7323,7 +7008,7 @@ public void TestV2CoreEventDestinationPost() HttpMethod.Post, "/v2/core/event_destinations", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var options = new Stripe.V2.Core.EventDestinationCreateOptions { EnabledEvents = new List { "enabled_events" }, @@ -7361,7 +7046,7 @@ public void TestV2CoreEventDestinationGet2() HttpMethod.Get, "/v2/core/event_destinations/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; Stripe.V2.Core.EventDestination eventDestination = service.Get( @@ -7378,7 +7063,7 @@ public void TestV2CoreEventDestinationPost2() HttpMethod.Post, "/v2/core/event_destinations/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var options = new Stripe.V2.Core.EventDestinationUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; @@ -7397,7 +7082,7 @@ public void TestV2CoreEventDestinationPost3() HttpMethod.Post, "/v2/core/event_destinations/id_123/disable", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; Stripe.V2.Core.EventDestination eventDestination = service.Disable( @@ -7414,7 +7099,7 @@ public void TestV2CoreEventDestinationPost4() HttpMethod.Post, "/v2/core/event_destinations/id_123/enable", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event_destination\",\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"livemode\":true,\"name\":\"name\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"enabled_events\":[\"enabled_events\"],\"event_payload\":\"thin\",\"id\":\"obj_123\",\"name\":\"name\",\"object\":\"v2.core.event_destination\",\"status\":\"disabled\",\"type\":\"amazon_eventbridge\",\"updated\":\"1970-01-03T17:07:10.277Z\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; Stripe.V2.Core.EventDestination eventDestination = service.Enable( @@ -7431,7 +7116,7 @@ public void TestV2CoreEventDestinationPost5() HttpMethod.Post, "/v2/core/event_destinations/id_123/ping", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"type\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.EventDestinations; Stripe.V2.Core.Event result = service.Ping("id_123"); @@ -7447,7 +7132,7 @@ public void TestV2CoreVaultGbBankAccountGet() HttpMethod.Get, "/v2/core/vault/gb_bank_accounts", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.GbBankAccounts; Stripe.V2.StripeList gbBankAccounts = service @@ -7464,7 +7149,7 @@ public void TestV2CoreVaultGbBankAccountPost() HttpMethod.Post, "/v2/core/vault/gb_bank_accounts", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}"); var options = new Stripe.V2.Core.Vault.GbBankAccountCreateOptions { AccountNumber = "account_number", @@ -7486,7 +7171,7 @@ public void TestV2CoreVaultGbBankAccountGet2() HttpMethod.Get, "/v2/core/vault/gb_bank_accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.GbBankAccounts; Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service.Get( @@ -7503,7 +7188,7 @@ public void TestV2CoreVaultGbBankAccountPost2() HttpMethod.Post, "/v2/core/vault/gb_bank_accounts/id_123/acknowledge_confirmation_of_payee", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.GbBankAccounts; Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service @@ -7520,7 +7205,7 @@ public void TestV2CoreVaultGbBankAccountPost3() HttpMethod.Post, "/v2/core/vault/gb_bank_accounts/id_123/archive", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.GbBankAccounts; Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service.Archive( @@ -7537,7 +7222,7 @@ public void TestV2CoreVaultGbBankAccountPost4() HttpMethod.Post, "/v2/core/vault/gb_bank_accounts/id_123/initiate_confirmation_of_payee", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.gb_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"sort_code\":\"sort_code\"}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"confirmation_of_payee\":{\"result\":{\"created\":\"1970-01-12T21:42:34.472Z\",\"match_result\":\"unavailable\",\"matched\":{},\"message\":\"message\",\"provided\":{\"business_type\":\"personal\",\"name\":\"name\"}},\"status\":\"awaiting_acknowledgement\"},\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.gb_bank_account\",\"sort_code\":\"sort_code\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.GbBankAccounts; Stripe.V2.Core.Vault.GbBankAccount gbBankAccount = service @@ -7554,7 +7239,7 @@ public void TestV2CoreVaultUsBankAccountGet() HttpMethod.Get, "/v2/core/vault/us_bank_accounts", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; Stripe.V2.StripeList usBankAccounts = service @@ -7571,7 +7256,7 @@ public void TestV2CoreVaultUsBankAccountPost() HttpMethod.Post, "/v2/core/vault/us_bank_accounts", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var options = new Stripe.V2.Core.Vault.UsBankAccountCreateOptions { AccountNumber = "account_number", @@ -7592,7 +7277,7 @@ public void TestV2CoreVaultUsBankAccountGet2() HttpMethod.Get, "/v2/core/vault/us_bank_accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service.Get( @@ -7609,7 +7294,7 @@ public void TestV2CoreVaultUsBankAccountPost2() HttpMethod.Post, "/v2/core/vault/us_bank_accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var options = new Stripe.V2.Core.Vault.UsBankAccountUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; @@ -7628,7 +7313,7 @@ public void TestV2CoreVaultUsBankAccountPost3() HttpMethod.Post, "/v2/core/vault/us_bank_accounts/id_123/archive", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service.Archive( @@ -7645,7 +7330,7 @@ public void TestV2CoreVaultUsBankAccountPost4() HttpMethod.Post, "/v2/core/vault/us_bank_accounts/id_123/confirm_microdeposits", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service @@ -7662,7 +7347,7 @@ public void TestV2CoreVaultUsBankAccountPost5() HttpMethod.Post, "/v2/core/vault/us_bank_accounts/id_123/send_microdeposits", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.core.vault.us_bank_account\",\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"last4\":\"last4\",\"livemode\":true,\"verification\":{\"status\":\"verification_failed\"}}"); + "{\"archived\":true,\"bank_account_type\":\"savings\",\"bank_name\":\"bank_name\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"last4\":\"last4\",\"object\":\"v2.core.vault.us_bank_account\",\"verification\":{\"status\":\"verification_failed\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.Core.Vault.UsBankAccounts; Stripe.V2.Core.Vault.UsBankAccount usBankAccount = service @@ -7679,7 +7364,7 @@ public void TestV2MoneyManagementAdjustmentGet() HttpMethod.Get, "/v2/money_management/adjustments", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.Adjustments; Stripe.V2.StripeList adjustments = service @@ -7696,7 +7381,7 @@ public void TestV2MoneyManagementAdjustmentGet2() HttpMethod.Get, "/v2/money_management/adjustments/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.adjustment\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.Adjustments; Stripe.V2.MoneyManagement.Adjustment adjustment = service.Get( @@ -7713,7 +7398,7 @@ public void TestV2MoneyManagementFinancialAccountGet() HttpMethod.Get, "/v2/money_management/financial_accounts", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"key\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"closed\",\"type\":\"other\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"balance\":{\"available\":{\"key\":{}},\"inbound_pending\":{\"key\":{}},\"outbound_pending\":{\"key\":{}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"status\":\"closed\",\"type\":\"other\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAccounts; Stripe.V2.StripeList financialAccounts = service @@ -7730,7 +7415,7 @@ public void TestV2MoneyManagementFinancialAccountPost() HttpMethod.Post, "/v2/money_management/financial_accounts", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"key\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"closed\",\"type\":\"other\"}"); + "{\"balance\":{\"available\":{\"key\":{}},\"inbound_pending\":{\"key\":{}},\"outbound_pending\":{\"key\":{}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"status\":\"closed\",\"type\":\"other\",\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.FinancialAccountCreateOptions { Type = "storage", @@ -7751,7 +7436,7 @@ public void TestV2MoneyManagementFinancialAccountGet2() HttpMethod.Get, "/v2/money_management/financial_accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"key\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"closed\",\"type\":\"other\"}"); + "{\"balance\":{\"available\":{\"key\":{}},\"inbound_pending\":{\"key\":{}},\"outbound_pending\":{\"key\":{}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"status\":\"closed\",\"type\":\"other\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAccounts; Stripe.V2.MoneyManagement.FinancialAccount financialAccount = service @@ -7768,7 +7453,7 @@ public void TestV2MoneyManagementFinancialAccountPost2() HttpMethod.Post, "/v2/money_management/financial_accounts/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"key\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"closed\",\"type\":\"other\"}"); + "{\"balance\":{\"available\":{\"key\":{}},\"inbound_pending\":{\"key\":{}},\"outbound_pending\":{\"key\":{}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"status\":\"closed\",\"type\":\"other\",\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.FinancialAccountUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAccounts; @@ -7786,7 +7471,7 @@ public void TestV2MoneyManagementFinancialAccountPost3() HttpMethod.Post, "/v2/money_management/financial_accounts/id_123/close", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"balance\":{\"available\":{\"key\":{\"currency\":\"USD\",\"value\":35}},\"inbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":11}},\"outbound_pending\":{\"key\":{\"currency\":\"USD\",\"value\":60}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"status\":\"closed\",\"type\":\"other\"}"); + "{\"balance\":{\"available\":{\"key\":{}},\"inbound_pending\":{\"key\":{}},\"outbound_pending\":{\"key\":{}}},\"country\":\"country\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_account\",\"status\":\"closed\",\"type\":\"other\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAccounts; Stripe.V2.MoneyManagement.FinancialAccount financialAccount = service @@ -7803,7 +7488,7 @@ public void TestV2MoneyManagementFinancialAddressGet() HttpMethod.Get, "/v2/money_management/financial_addresses", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"failed\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"status\":\"failed\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAddresses; Stripe.V2.StripeList financialAddresses = service @@ -7820,7 +7505,7 @@ public void TestV2MoneyManagementFinancialAddressPost() HttpMethod.Post, "/v2/money_management/financial_addresses", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"failed\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"status\":\"failed\",\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.FinancialAddressCreateOptions { FinancialAccount = "financial_account", @@ -7842,7 +7527,7 @@ public void TestV2MoneyManagementFinancialAddressGet2() HttpMethod.Get, "/v2/money_management/financial_addresses/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"failed\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"currency\":\"usd\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.financial_address\",\"status\":\"failed\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.FinancialAddresses; Stripe.V2.MoneyManagement.FinancialAddress financialAddress = service @@ -7859,7 +7544,7 @@ public void TestV2MoneyManagementInboundTransferGet() HttpMethod.Get, "/v2/money_management/inbound_transfers", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\"}},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}]}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{},\"payment_method\":{\"type\":\"type\"}},\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"to\":{\"credited\":{},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}],\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.InboundTransfers; Stripe.V2.StripeList inboundTransfers = service @@ -7876,10 +7561,14 @@ public void TestV2MoneyManagementInboundTransferPost() HttpMethod.Post, "/v2/money_management/inbound_transfers", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\"}},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}]}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{},\"payment_method\":{\"type\":\"type\"}},\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"to\":{\"credited\":{},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}],\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.InboundTransferCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.InboundTransferCreateAmountOptions + { + Value = 111972721, + Currency = "usd", + }, From = new Stripe.V2.MoneyManagement.InboundTransferCreateFromOptions { Currency = "usd", @@ -7907,7 +7596,7 @@ public void TestV2MoneyManagementInboundTransferGet2() HttpMethod.Get, "/v2/money_management/inbound_transfers/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"payment_method\":{\"type\":\"type\"}},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}]}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"description\":\"description\",\"from\":{\"debited\":{},\"payment_method\":{\"type\":\"type\"}},\"id\":\"obj_123\",\"object\":\"v2.money_management.inbound_transfer\",\"to\":{\"credited\":{},\"financial_account\":\"financial_account\"},\"transfer_history\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"level\":\"canonical\",\"type\":\"bank_debit_failed\"}],\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.InboundTransfers; Stripe.V2.MoneyManagement.InboundTransfer inboundTransfer = service @@ -7924,7 +7613,7 @@ public void TestV2MoneyManagementOutboundPaymentGet() HttpMethod.Get, "/v2/money_management/outbound_payments", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundPayments; Stripe.V2.StripeList outboundPayments = service @@ -7941,10 +7630,14 @@ public void TestV2MoneyManagementOutboundPaymentPost() HttpMethod.Post, "/v2/money_management/outbound_payments", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.OutboundPaymentCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.OutboundPaymentCreateAmountOptions + { + Value = 111972721, + Currency = "usd", + }, From = new Stripe.V2.MoneyManagement.OutboundPaymentCreateFromOptions { Currency = "usd", @@ -7973,7 +7666,7 @@ public void TestV2MoneyManagementOutboundPaymentGet2() HttpMethod.Get, "/v2/money_management/outbound_payments/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundPayments; Stripe.V2.MoneyManagement.OutboundPayment outboundPayment = service @@ -7990,7 +7683,7 @@ public void TestV2MoneyManagementOutboundPaymentPost2() HttpMethod.Post, "/v2/money_management/outbound_payments/id_123/cancel", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment\",\"recipient_notification\":{\"setting\":\"configured\"},\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundPayments; Stripe.V2.MoneyManagement.OutboundPayment outboundPayment = service @@ -8007,10 +7700,14 @@ public void TestV2MoneyManagementOutboundPaymentQuotePost() HttpMethod.Post, "/v2/money_management/outbound_payment_quotes", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"estimated_fees\":[{\"amount\":{\"currency\":\"USD\",\"value\":96},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_status\":\"active\",\"rates\":{\"key\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"usd\"},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"}}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"estimated_fees\":[{\"amount\":{},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_status\":\"active\",\"rates\":{\"key\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"usd\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateAmountOptions + { + Value = 111972721, + Currency = "usd", + }, From = new Stripe.V2.MoneyManagement.OutboundPaymentQuoteCreateFromOptions { Currency = "usd", @@ -8039,7 +7736,7 @@ public void TestV2MoneyManagementOutboundPaymentQuoteGet() HttpMethod.Get, "/v2/money_management/outbound_payment_quotes/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"estimated_fees\":[{\"amount\":{\"currency\":\"USD\",\"value\":96},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_status\":\"active\",\"rates\":{\"key\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"usd\"},\"livemode\":true,\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"}}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"estimated_fees\":[{\"amount\":{},\"type\":\"cross_border_payout_fee\"}],\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"fx_quote\":{\"lock_duration\":\"five_minutes\",\"lock_status\":\"active\",\"rates\":{\"key\":{\"exchange_rate\":\"exchange_rate\"}},\"to_currency\":\"usd\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_payment_quote\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\",\"recipient\":\"recipient\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundPaymentQuotes; Stripe.V2.MoneyManagement.OutboundPaymentQuote outboundPaymentQuote = service @@ -8056,7 +7753,7 @@ public void TestV2MoneyManagementOutboundSetupIntentGet() HttpMethod.Get, "/v2/money_management/outbound_setup_intents", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"payout_method\":{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundSetupIntents; Stripe.V2.StripeList outboundSetupIntents = service @@ -8073,7 +7770,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost() HttpMethod.Post, "/v2/money_management/outbound_setup_intents", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"payout_method\":{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\",\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.OutboundSetupIntentCreateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundSetupIntents; @@ -8091,7 +7788,7 @@ public void TestV2MoneyManagementOutboundSetupIntentGet2() HttpMethod.Get, "/v2/money_management/outbound_setup_intents/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"payout_method\":{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundSetupIntents; Stripe.V2.MoneyManagement.OutboundSetupIntent outboundSetupIntent = service @@ -8108,7 +7805,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost2() HttpMethod.Post, "/v2/money_management/outbound_setup_intents/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"payout_method\":{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\",\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.OutboundSetupIntentUpdateOptions(); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundSetupIntents; @@ -8126,7 +7823,7 @@ public void TestV2MoneyManagementOutboundSetupIntentPost3() HttpMethod.Post, "/v2/money_management/outbound_setup_intents/id_123/cancel", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"payout_method\":{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\"}"); + "{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_setup_intent\",\"payout_method\":{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true},\"status\":\"requires_payout_method\",\"usage_intent\":\"payment\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundSetupIntents; Stripe.V2.MoneyManagement.OutboundSetupIntent outboundSetupIntent = service @@ -8143,7 +7840,7 @@ public void TestV2MoneyManagementOutboundTransferGet() HttpMethod.Get, "/v2/money_management/outbound_transfers", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundTransfers; Stripe.V2.StripeList outboundTransfers = service @@ -8160,10 +7857,14 @@ public void TestV2MoneyManagementOutboundTransferPost() HttpMethod.Post, "/v2/money_management/outbound_transfers", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var options = new Stripe.V2.MoneyManagement.OutboundTransferCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.OutboundTransferCreateAmountOptions + { + Value = 111972721, + Currency = "usd", + }, From = new Stripe.V2.MoneyManagement.OutboundTransferCreateFromOptions { Currency = "usd", @@ -8191,7 +7892,7 @@ public void TestV2MoneyManagementOutboundTransferGet2() HttpMethod.Get, "/v2/money_management/outbound_transfers/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundTransfers; Stripe.V2.MoneyManagement.OutboundTransfer outboundTransfer = service @@ -8208,7 +7909,7 @@ public void TestV2MoneyManagementOutboundTransferPost2() HttpMethod.Post, "/v2/money_management/outbound_transfers/id_123/cancel", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{\"currency\":\"USD\",\"value\":55},\"financial_account\":\"financial_account\"},\"livemode\":true,\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{\"currency\":\"USD\",\"value\":68},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"}}"); + "{\"amount\":{},\"cancelable\":true,\"created\":\"1970-01-12T21:42:34.472Z\",\"from\":{\"debited\":{},\"financial_account\":\"financial_account\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.outbound_transfer\",\"statement_descriptor\":\"statement_descriptor\",\"status\":\"canceled\",\"to\":{\"credited\":{},\"payout_method\":\"payout_method\"},\"trace_id\":{\"status\":\"pending\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.OutboundTransfers; Stripe.V2.MoneyManagement.OutboundTransfer outboundTransfer = service @@ -8225,7 +7926,7 @@ public void TestV2MoneyManagementPayoutMethodGet() HttpMethod.Get, "/v2/money_management/payout_methods", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.PayoutMethods; Stripe.V2.StripeList payoutMethods = service @@ -8242,7 +7943,7 @@ public void TestV2MoneyManagementPayoutMethodGet2() HttpMethod.Get, "/v2/money_management/payout_methods/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}"); + "{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.PayoutMethods; Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service.Get( @@ -8259,7 +7960,7 @@ public void TestV2MoneyManagementPayoutMethodPost() HttpMethod.Post, "/v2/money_management/payout_methods/id_123/archive", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}"); + "{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.PayoutMethods; Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service @@ -8276,7 +7977,7 @@ public void TestV2MoneyManagementPayoutMethodPost2() HttpMethod.Post, "/v2/money_management/payout_methods/id_123/unarchive", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"livemode\":true,\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"}}"); + "{\"available_payout_speeds\":[\"standard\"],\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.payout_method\",\"type\":\"bank_account\",\"usage_status\":{\"payments\":\"requires_action\",\"transfers\":\"invalid\"},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.PayoutMethods; Stripe.V2.MoneyManagement.PayoutMethod payoutMethod = service @@ -8293,7 +7994,7 @@ public void TestV2MoneyManagementPayoutMethodsBankAccountSpecGet() HttpMethod.Get, "/v2/money_management/payout_methods_bank_account_spec", (HttpStatusCode)200, - "{\"object\":\"v2.money_management.payout_methods_bank_account_spec\",\"countries\":{\"key\":{\"fields\":[{\"local_name\":\"local_name\",\"local_name_human\":{\"content\":\"content\",\"localization_key\":\"localization_key\"},\"max_length\":1111390753,\"min_length\":711577229,\"placeholder\":\"placeholder\",\"stripe_name\":\"stripe_name\",\"validation_regex\":\"validation_regex\"}]}},\"livemode\":true}"); + "{\"countries\":{\"key\":{\"fields\":[{\"local_name\":\"local_name\",\"local_name_human\":{\"content\":\"content\",\"localization_key\":\"localization_key\"},\"max_length\":1111390753,\"min_length\":711577229,\"placeholder\":\"placeholder\",\"stripe_name\":\"stripe_name\",\"validation_regex\":\"validation_regex\"}]}},\"object\":\"v2.money_management.payout_methods_bank_account_spec\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client .V2 @@ -8313,7 +8014,7 @@ public void TestV2MoneyManagementReceivedCreditGet() HttpMethod.Get, "/v2/money_management/received_credits", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"returned\",\"type\":\"balance_transfer\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"status\":\"returned\",\"type\":\"balance_transfer\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.ReceivedCredits; Stripe.V2.StripeList receivedCredits = service @@ -8330,7 +8031,7 @@ public void TestV2MoneyManagementReceivedCreditGet2() HttpMethod.Get, "/v2/money_management/received_credits/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"returned\",\"type\":\"balance_transfer\"}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.received_credit\",\"status\":\"returned\",\"type\":\"balance_transfer\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.ReceivedCredits; Stripe.V2.MoneyManagement.ReceivedCredit receivedCredit = service @@ -8347,7 +8048,7 @@ public void TestV2MoneyManagementReceivedDebitGet() HttpMethod.Get, "/v2/money_management/received_debits", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"canceled\",\"type\":\"bank_transfer\"}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"status\":\"canceled\",\"type\":\"bank_transfer\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.ReceivedDebits; Stripe.V2.StripeList receivedDebits = service @@ -8364,7 +8065,7 @@ public void TestV2MoneyManagementReceivedDebitGet2() HttpMethod.Get, "/v2/money_management/received_debits/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"livemode\":true,\"status\":\"canceled\",\"type\":\"bank_transfer\"}"); + "{\"amount\":{},\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"id\":\"obj_123\",\"object\":\"v2.money_management.received_debit\",\"status\":\"canceled\",\"type\":\"bank_transfer\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.ReceivedDebits; Stripe.V2.MoneyManagement.ReceivedDebit receivedDebit = service.Get( @@ -8381,7 +8082,7 @@ public void TestV2MoneyManagementTransactionGet() HttpMethod.Get, "/v2/money_management/transactions", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"received_debit\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"},\"livemode\":true,\"status\":\"pending\",\"status_transitions\":{}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"amount\":{},\"balance_impact\":{\"available\":{},\"inbound_pending\":{},\"outbound_pending\":{}},\"category\":\"received_debit\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"status\":\"pending\",\"status_transitions\":{},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.Transactions; Stripe.V2.StripeList transactions = service @@ -8398,7 +8099,7 @@ public void TestV2MoneyManagementTransactionGet2() HttpMethod.Get, "/v2/money_management/transactions/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"amount\":{\"currency\":\"USD\",\"value\":96},\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"category\":\"received_debit\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"},\"livemode\":true,\"status\":\"pending\",\"status_transitions\":{}}"); + "{\"amount\":{},\"balance_impact\":{\"available\":{},\"inbound_pending\":{},\"outbound_pending\":{}},\"category\":\"received_debit\",\"created\":\"1970-01-12T21:42:34.472Z\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"},\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction\",\"status\":\"pending\",\"status_transitions\":{},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.Transactions; Stripe.V2.MoneyManagement.Transaction transaction = service.Get( @@ -8415,7 +8116,7 @@ public void TestV2MoneyManagementTransactionEntryGet() HttpMethod.Get, "/v2/money_management/transaction_entries", (HttpStatusCode)200, - "{\"data\":[{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"livemode\":true,\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"received_debit\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"}}}],\"next_page_url\":null,\"previous_page_url\":null}"); + "{\"data\":[{\"balance_impact\":{\"available\":{},\"inbound_pending\":{},\"outbound_pending\":{}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"received_debit\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"}},\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.TransactionEntries; Stripe.V2.StripeList transactionEntries = service @@ -8432,7 +8133,7 @@ public void TestV2MoneyManagementTransactionEntryGet2() HttpMethod.Get, "/v2/money_management/transaction_entries/id_123", (HttpStatusCode)200, - "{\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"balance_impact\":{\"available\":{\"currency\":\"USD\",\"value\":35},\"inbound_pending\":{\"currency\":\"USD\",\"value\":11},\"outbound_pending\":{\"currency\":\"USD\",\"value\":60}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"livemode\":true,\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"received_debit\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"}}}"); + "{\"balance_impact\":{\"available\":{},\"inbound_pending\":{},\"outbound_pending\":{}},\"created\":\"1970-01-12T21:42:34.472Z\",\"effective_at\":\"1970-01-03T20:38:28.043Z\",\"id\":\"obj_123\",\"object\":\"v2.money_management.transaction_entry\",\"transaction\":\"transaction\",\"transaction_details\":{\"category\":\"received_debit\",\"financial_account\":\"financial_account\",\"flow\":{\"type\":\"fee_transaction\"}},\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.MoneyManagement.TransactionEntries; Stripe.V2.MoneyManagement.TransactionEntry transactionEntry = service @@ -8449,10 +8150,14 @@ public void TestV2TestHelpersFinancialAddressPost() HttpMethod.Post, "/v2/test_helpers/financial_addresses/id_123/credit", (HttpStatusCode)200, - "{\"object\":\"financial_address_credit_simulation\",\"livemode\":true,\"status\":\"status\"}"); + "{\"object\":\"financial_address_credit_simulation\",\"status\":\"status\",\"livemode\":true}"); var options = new Stripe.V2.TestHelpers.FinancialAddressCreditOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.TestHelpers.FinancialAddressCreditAmountOptions + { + Value = 111972721, + Currency = "usd", + }, Network = "rtp", }; var client = new StripeClient(this.Requestor); @@ -8471,7 +8176,7 @@ public void TestV2TestHelpersFinancialAddressPost2() HttpMethod.Post, "/v2/test_helpers/financial_addresses/id_123/generate_microdeposits", (HttpStatusCode)200, - "{\"object\":\"financial_address_generated_microdeposits\",\"amounts\":[{\"currency\":\"USD\",\"value\":1}],\"livemode\":true,\"status\":\"accepted\"}"); + "{\"amounts\":[{}],\"object\":\"financial_address_generated_microdeposits\",\"status\":\"accepted\",\"livemode\":true}"); var client = new StripeClient(this.Requestor); var service = client.V2.TestHelpers.FinancialAddresses; Stripe.V2.FinancialAddressGeneratedMicrodeposits financialAddressGeneratedMicrodeposits = service @@ -8552,6 +8257,28 @@ public void TestBlockedByStripeError() "/v2/core/vault/us_bank_accounts"); } + [Fact] + public void TestControlledByAlternateResourceError() + { + this.StubRequest( + HttpMethod.Post, + "/v2/money_management/outbound_setup_intents", + (HttpStatusCode)400, + "{\"error\":{\"type\":\"controlled_by_alternate_resource\",\"code\":\"payout_method_cannot_be_archived\"}}"); + var exception = Assert.Throws( + () => + { + var options = new Stripe.V2.MoneyManagement.OutboundSetupIntentCreateOptions(); + var client = new StripeClient(this.Requestor); + var service = client.V2.MoneyManagement.OutboundSetupIntents; + Stripe.V2.MoneyManagement.OutboundSetupIntent outboundSetupIntent = service + .Create(options); + }); + this.AssertRequest( + HttpMethod.Post, + "/v2/money_management/outbound_setup_intents"); + } + [Fact] public void TestControlledByDashboardError() { @@ -8637,7 +8364,7 @@ public void TestInsufficientFundsError() { var options = new Stripe.V2.MoneyManagement.OutboundPaymentCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.OutboundPaymentCreateAmountOptions(), From = new Stripe.V2.MoneyManagement.OutboundPaymentCreateFromOptions { Currency = "usd", @@ -8772,24 +8499,6 @@ public void TestQuotaExceededError() "/v2/core/vault/us_bank_accounts"); } - [Fact] - public void TestRateLimitError() - { - this.StubRequest( - HttpMethod.Get, - "/v2/core/accounts/id_123", - (HttpStatusCode)400, - "{\"error\":{\"type\":\"rate_limit\",\"code\":\"account_rate_limit_exceeded\"}}"); - var exception = Assert.Throws( - () => - { - var client = new StripeClient(this.Requestor); - var service = client.V2.Core.Accounts; - Stripe.V2.Core.Account account = service.Get("id_123"); - }); - this.AssertRequest(HttpMethod.Get, "/v2/core/accounts/id_123"); - } - [Fact] public void TestRecipientNotNotifiableError() { @@ -8803,7 +8512,7 @@ public void TestRecipientNotNotifiableError() { var options = new Stripe.V2.MoneyManagement.OutboundPaymentCreateOptions { - Amount = new Stripe.V2.Amount { Currency = "USD", Value = 96 }, + Amount = new Stripe.V2.MoneyManagement.OutboundPaymentCreateAmountOptions(), From = new Stripe.V2.MoneyManagement.OutboundPaymentCreateFromOptions { Currency = "usd",