From e9b060fbaf7c1b1dbf435940c2b4d20c65210a79 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 22:28:41 +0000 Subject: [PATCH] Update generated code for v344 --- OPENAPI_VERSION | 2 +- lib/stripe/resources/account_link.rb | 2 +- lib/stripe/resources/application_fee_refund.rb | 2 +- lib/stripe/resources/apps/secret.rb | 2 +- lib/stripe/resources/balance.rb | 2 +- lib/stripe/resources/balance_transaction.rb | 2 +- lib/stripe/resources/bank_account.rb | 2 +- lib/stripe/resources/capability.rb | 2 +- lib/stripe/resources/card.rb | 2 +- lib/stripe/resources/charge.rb | 2 +- lib/stripe/resources/checkout/session.rb | 2 +- lib/stripe/resources/credit_note.rb | 2 +- lib/stripe/resources/customer.rb | 2 +- lib/stripe/resources/customer_balance_transaction.rb | 4 ++-- lib/stripe/resources/discount.rb | 2 +- lib/stripe/resources/dispute.rb | 2 +- lib/stripe/resources/file.rb | 2 +- lib/stripe/resources/funding_instructions.rb | 2 +- lib/stripe/resources/invoice.rb | 2 +- lib/stripe/resources/issuing/authorization.rb | 2 +- lib/stripe/resources/issuing/cardholder.rb | 2 +- lib/stripe/resources/issuing/dispute.rb | 2 +- lib/stripe/resources/issuing/transaction.rb | 2 +- lib/stripe/resources/payment_intent.rb | 2 +- lib/stripe/resources/payout.rb | 2 +- lib/stripe/resources/person.rb | 2 +- lib/stripe/resources/radar/early_fraud_warning.rb | 2 +- lib/stripe/resources/radar/value_list.rb | 2 +- lib/stripe/resources/radar/value_list_item.rb | 2 +- lib/stripe/resources/refund.rb | 2 +- lib/stripe/resources/reversal.rb | 2 +- lib/stripe/resources/setup_intent.rb | 2 +- lib/stripe/resources/subscription.rb | 2 +- lib/stripe/resources/subscription_schedule.rb | 2 +- lib/stripe/resources/tax/calculation.rb | 2 +- lib/stripe/resources/tax/transaction.rb | 2 +- lib/stripe/resources/tax_id.rb | 2 +- lib/stripe/resources/tax_rate.rb | 2 +- lib/stripe/resources/terminal/connection_token.rb | 2 +- lib/stripe/resources/terminal/location.rb | 2 +- lib/stripe/resources/terminal/reader.rb | 2 +- lib/stripe/resources/token.rb | 2 +- lib/stripe/resources/topup.rb | 2 +- lib/stripe/resources/transfer.rb | 2 +- lib/stripe/resources/usage_record.rb | 2 +- lib/stripe/resources/webhook_endpoint.rb | 2 +- 46 files changed, 47 insertions(+), 47 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 6eaa6201f..e66169e1a 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v330 \ No newline at end of file +v344 \ No newline at end of file diff --git a/lib/stripe/resources/account_link.rb b/lib/stripe/resources/account_link.rb index c61d960c4..071ad020f 100644 --- a/lib/stripe/resources/account_link.rb +++ b/lib/stripe/resources/account_link.rb @@ -5,7 +5,7 @@ module Stripe # Account Links are the means by which a Connect platform grants a connected account permission to access # Stripe-hosted applications, such as Connect Onboarding. # - # Related guide: [Connect Onboarding](https://stripe.com/docs/connect/connect-onboarding). + # Related guide: [Connect Onboarding](https://stripe.com/docs/connect/connect-onboarding) class AccountLink < APIResource extend Stripe::APIOperations::Create diff --git a/lib/stripe/resources/application_fee_refund.rb b/lib/stripe/resources/application_fee_refund.rb index 937ca4c1a..f2052d8be 100644 --- a/lib/stripe/resources/application_fee_refund.rb +++ b/lib/stripe/resources/application_fee_refund.rb @@ -6,7 +6,7 @@ module Stripe # has previously been created but not yet refunded. Funds will be refunded to # the Stripe account from which the fee was originally collected. # - # Related guide: [Refunding Application Fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee). + # Related guide: [Refunding application fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee) class ApplicationFeeRefund < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/apps/secret.rb b/lib/stripe/resources/apps/secret.rb index dff71a051..28da6388f 100644 --- a/lib/stripe/resources/apps/secret.rb +++ b/lib/stripe/resources/apps/secret.rb @@ -11,7 +11,7 @@ module Apps # # A `user` scoped secret is accessible by the app backend and one specific Dashboard user. Use the `user` scope for per-user secrets like per-user OAuth tokens, where different users might have different permissions. # - # Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects). + # Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects) class Secret < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/balance.rb b/lib/stripe/resources/balance.rb index 403b2d78b..6dc68858c 100644 --- a/lib/stripe/resources/balance.rb +++ b/lib/stripe/resources/balance.rb @@ -12,7 +12,7 @@ module Stripe # The available and pending amounts for each currency are broken down further by # payment source types. # - # Related guide: [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). + # Related guide: [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances) class Balance < SingletonAPIResource OBJECT_NAME = "balance" end diff --git a/lib/stripe/resources/balance_transaction.rb b/lib/stripe/resources/balance_transaction.rb index d321fe4d7..a1a5b1d07 100644 --- a/lib/stripe/resources/balance_transaction.rb +++ b/lib/stripe/resources/balance_transaction.rb @@ -5,7 +5,7 @@ module Stripe # Balance transactions represent funds moving through your Stripe account. # They're created for every type of transaction that comes into or flows out of your Stripe account balance. # - # Related guide: [Balance Transaction Types](https://stripe.com/docs/reports/balance-transaction-types). + # Related guide: [Balance transaction types](https://stripe.com/docs/reports/balance-transaction-types) class BalanceTransaction < APIResource extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/bank_account.rb b/lib/stripe/resources/bank_account.rb index 2004a4150..db9431490 100644 --- a/lib/stripe/resources/bank_account.rb +++ b/lib/stripe/resources/bank_account.rb @@ -8,7 +8,7 @@ module Stripe # destinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts). # They can be bank accounts or debit cards as well, and are documented in the links above. # - # Related guide: [Bank Debits and Transfers](https://stripe.com/docs/payments/bank-debits-transfers). + # Related guide: [Bank debits and transfers](https://stripe.com/docs/payments/bank-debits-transfers) class BankAccount < APIResource include Stripe::APIOperations::Delete extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/capability.rb b/lib/stripe/resources/capability.rb index 067013609..17835b08a 100644 --- a/lib/stripe/resources/capability.rb +++ b/lib/stripe/resources/capability.rb @@ -4,7 +4,7 @@ module Stripe # This is an object representing a capability for a Stripe account. # - # Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities). + # Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities) class Capability < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/card.rb b/lib/stripe/resources/card.rb index 4261f0b90..5ecb808f7 100644 --- a/lib/stripe/resources/card.rb +++ b/lib/stripe/resources/card.rb @@ -6,7 +6,7 @@ module Stripe # later. You can also store multiple debit cards on a recipient in order to # transfer to those cards later. # - # Related guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards). + # Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) class Card < APIResource include Stripe::APIOperations::Delete extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/charge.rb b/lib/stripe/resources/charge.rb index de8caf720..ebdc74b55 100644 --- a/lib/stripe/resources/charge.rb +++ b/lib/stripe/resources/charge.rb @@ -6,7 +6,7 @@ module Stripe # retrieve and refund individual charges as well as list all charges. Charges # are identified by a unique, random ID. # - # Related guide: [Accept a payment with the Charges API](https://stripe.com/docs/payments/accept-a-payment-charges). + # Related guide: [Accept a payment with the Charges API](https://stripe.com/docs/payments/accept-a-payment-charges) class Charge < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/checkout/session.rb b/lib/stripe/resources/checkout/session.rb index e2c73ed56..0d8005447 100644 --- a/lib/stripe/resources/checkout/session.rb +++ b/lib/stripe/resources/checkout/session.rb @@ -16,7 +16,7 @@ module Checkout # You can create a Checkout Session on your server and redirect to its URL # to begin Checkout. # - # Related guide: [Checkout Quickstart](https://stripe.com/docs/checkout/quickstart). + # Related guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart) class Session < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/credit_note.rb b/lib/stripe/resources/credit_note.rb index 4e5e20a2e..6cc81b198 100644 --- a/lib/stripe/resources/credit_note.rb +++ b/lib/stripe/resources/credit_note.rb @@ -4,7 +4,7 @@ module Stripe # Issue a credit note to adjust an invoice's amount after the invoice is finalized. # - # Related guide: [Credit Notes](https://stripe.com/docs/billing/invoices/credit-notes). + # Related guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes) class CreditNote < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/customer.rb b/lib/stripe/resources/customer.rb index 28eab6765..29a584a20 100644 --- a/lib/stripe/resources/customer.rb +++ b/lib/stripe/resources/customer.rb @@ -4,7 +4,7 @@ module Stripe # This object represents a customer of your business. It lets you create recurring charges and track payments that belong to the same customer. # - # Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment). + # Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment) class Customer < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/customer_balance_transaction.rb b/lib/stripe/resources/customer_balance_transaction.rb index 4984a4c87..597f6e37e 100644 --- a/lib/stripe/resources/customer_balance_transaction.rb +++ b/lib/stripe/resources/customer_balance_transaction.rb @@ -2,12 +2,12 @@ # frozen_string_literal: true module Stripe - # Each customer has a [`balance`](https://stripe.com/docs/api/customers/object#customer_object-balance) value, + # Each customer has a [Balance](https://stripe.com/docs/api/customers/object#customer_object-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](https://stripe.com/docs/api/customers/update), # or by creating a Customer Balance Transaction, which increments or decrements the customer's `balance` by the specified `amount`. # - # Related guide: [Customer Balance](https://stripe.com/docs/billing/customer/balance) to learn more. + # Related guide: [Customer balance](https://stripe.com/docs/billing/customer/balance) class CustomerBalanceTransaction < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/discount.rb b/lib/stripe/resources/discount.rb index c8f3e6e7b..0807a930f 100644 --- a/lib/stripe/resources/discount.rb +++ b/lib/stripe/resources/discount.rb @@ -5,7 +5,7 @@ module Stripe # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). # It contains information about when the discount began, when it will end, and what it is applied to. # - # Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) class Discount < StripeObject OBJECT_NAME = "discount" end diff --git a/lib/stripe/resources/dispute.rb b/lib/stripe/resources/dispute.rb index 226a405d5..8f761c4dc 100644 --- a/lib/stripe/resources/dispute.rb +++ b/lib/stripe/resources/dispute.rb @@ -8,7 +8,7 @@ module Stripe # information about the dispute process in our [Disputes and # Fraud](https://stripe.com/docs/disputes) documentation. # - # Related guide: [Disputes and Fraud](https://stripe.com/docs/disputes). + # Related guide: [Disputes and fraud](https://stripe.com/docs/disputes) class Dispute < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/file.rb b/lib/stripe/resources/file.rb index 4cd9d9325..44b5eee32 100644 --- a/lib/stripe/resources/file.rb +++ b/lib/stripe/resources/file.rb @@ -8,7 +8,7 @@ module Stripe # been created by Stripe (for example, the results of a [Sigma scheduled # query](https://stripe.com/docs/api#scheduled_queries)). # - # Related guide: [File Upload Guide](https://stripe.com/docs/file-upload). + # Related guide: [File upload guide](https://stripe.com/docs/file-upload) class File < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/funding_instructions.rb b/lib/stripe/resources/funding_instructions.rb index e8aba9896..cd8b99d0b 100644 --- a/lib/stripe/resources/funding_instructions.rb +++ b/lib/stripe/resources/funding_instructions.rb @@ -6,7 +6,7 @@ module Stripe # 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 Balance - Funding Instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) to learn more + # Related guide: [Customer balance funding instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) class FundingInstructions < APIResource OBJECT_NAME = "funding_instructions" diff --git a/lib/stripe/resources/invoice.rb b/lib/stripe/resources/invoice.rb index c931d0d1b..aaa290558 100644 --- a/lib/stripe/resources/invoice.rb +++ b/lib/stripe/resources/invoice.rb @@ -33,7 +33,7 @@ module Stripe # More details on the customer's credit balance are # [here](https://stripe.com/docs/billing/customer/balance). # - # Related guide: [Send Invoices to Customers](https://stripe.com/docs/billing/invoices/sending). + # Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) class Invoice < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/issuing/authorization.rb b/lib/stripe/resources/issuing/authorization.rb index aea539561..05a138375 100644 --- a/lib/stripe/resources/issuing/authorization.rb +++ b/lib/stripe/resources/issuing/authorization.rb @@ -7,7 +7,7 @@ module Issuing # object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the # purchase to be completed successfully. # - # Related guide: [Issued Card Authorizations](https://stripe.com/docs/issuing/purchases/authorizations). + # Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) class Authorization < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/issuing/cardholder.rb b/lib/stripe/resources/issuing/cardholder.rb index 8e2dc639b..0000eea0b 100644 --- a/lib/stripe/resources/issuing/cardholder.rb +++ b/lib/stripe/resources/issuing/cardholder.rb @@ -5,7 +5,7 @@ module Stripe module Issuing # An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. # - # Related guide: [How to create a Cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) + # Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) class Cardholder < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/issuing/dispute.rb b/lib/stripe/resources/issuing/dispute.rb index 45d43a77d..3b1e880d7 100644 --- a/lib/stripe/resources/issuing/dispute.rb +++ b/lib/stripe/resources/issuing/dispute.rb @@ -5,7 +5,7 @@ module Stripe module Issuing # As a [card issuer](https://stripe.com/docs/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with. # - # Related guide: [Disputing Transactions](https://stripe.com/docs/issuing/purchases/disputes) + # Related guide: [Issuing disputes](https://stripe.com/docs/issuing/purchases/disputes) class Dispute < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/issuing/transaction.rb b/lib/stripe/resources/issuing/transaction.rb index 668fe4bb4..2b87d9991 100644 --- a/lib/stripe/resources/issuing/transaction.rb +++ b/lib/stripe/resources/issuing/transaction.rb @@ -7,7 +7,7 @@ module Issuing # your Stripe account, such as a completed purchase or refund, is represented by an Issuing # `Transaction` object. # - # Related guide: [Issued Card Transactions](https://stripe.com/docs/issuing/purchases/transactions). + # Related guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions) class Transaction < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb index 9ad1449d0..723098e01 100644 --- a/lib/stripe/resources/payment_intent.rb +++ b/lib/stripe/resources/payment_intent.rb @@ -12,7 +12,7 @@ module Stripe # throughout its lifetime as it interfaces with Stripe.js to perform # authentication flows and ultimately creates at most one successful charge. # - # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) class PaymentIntent < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/payout.rb b/lib/stripe/resources/payout.rb index 1446f5dd1..a714ceb5f 100644 --- a/lib/stripe/resources/payout.rb +++ b/lib/stripe/resources/payout.rb @@ -9,7 +9,7 @@ module Stripe # schedules](https://stripe.com/docs/connect/manage-payout-schedule), depending on your country and # industry. # - # Related guide: [Receiving Payouts](https://stripe.com/docs/payouts). + # Related guide: [Receiving payouts](https://stripe.com/docs/payouts) class Payout < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/person.rb b/lib/stripe/resources/person.rb index 33162d69c..f25a785f1 100644 --- a/lib/stripe/resources/person.rb +++ b/lib/stripe/resources/person.rb @@ -7,7 +7,7 @@ module Stripe # A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. # See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps. # - # Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information). + # Related guide: [Handling identity verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information) class Person < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/radar/early_fraud_warning.rb b/lib/stripe/resources/radar/early_fraud_warning.rb index 1ff76afde..7e633b106 100644 --- a/lib/stripe/resources/radar/early_fraud_warning.rb +++ b/lib/stripe/resources/radar/early_fraud_warning.rb @@ -6,7 +6,7 @@ module Radar # An early fraud warning indicates that the card issuer has notified us that a # charge may be fraudulent. # - # Related guide: [Early Fraud Warnings](https://stripe.com/docs/disputes/measuring#early-fraud-warnings). + # Related guide: [Early fraud warnings](https://stripe.com/docs/disputes/measuring#early-fraud-warnings) class EarlyFraudWarning < APIResource extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/radar/value_list.rb b/lib/stripe/resources/radar/value_list.rb index ee0e6ca42..46580caf7 100644 --- a/lib/stripe/resources/radar/value_list.rb +++ b/lib/stripe/resources/radar/value_list.rb @@ -5,7 +5,7 @@ module Stripe module Radar # Value lists allow you to group values together which can then be referenced in rules. # - # Related guide: [Default Stripe Lists](https://stripe.com/docs/radar/lists#managing-list-items). + # Related guide: [Default Stripe lists](https://stripe.com/docs/radar/lists#managing-list-items) class ValueList < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/radar/value_list_item.rb b/lib/stripe/resources/radar/value_list_item.rb index 1ef76de89..fbf08f2b8 100644 --- a/lib/stripe/resources/radar/value_list_item.rb +++ b/lib/stripe/resources/radar/value_list_item.rb @@ -5,7 +5,7 @@ module Stripe module Radar # Value list items allow you to add specific values to a given Radar value list, which can then be used in rules. # - # Related guide: [Managing List Items](https://stripe.com/docs/radar/lists#managing-list-items). + # Related guide: [Managing list items](https://stripe.com/docs/radar/lists#managing-list-items) class ValueListItem < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/refund.rb b/lib/stripe/resources/refund.rb index f7aa8a55c..847d0b45b 100644 --- a/lib/stripe/resources/refund.rb +++ b/lib/stripe/resources/refund.rb @@ -6,7 +6,7 @@ module Stripe # but not yet refunded. Funds will be refunded to the credit or debit card that # was originally charged. # - # Related guide: [Refunds](https://stripe.com/docs/refunds). + # Related guide: [Refunds](https://stripe.com/docs/refunds) class Refund < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/reversal.rb b/lib/stripe/resources/reversal.rb index 8d1de380d..ceef154aa 100644 --- a/lib/stripe/resources/reversal.rb +++ b/lib/stripe/resources/reversal.rb @@ -14,7 +14,7 @@ module Stripe # transfer only if the destination account has enough balance to cover the # reversal. # - # Related guide: [Reversing Transfers](https://stripe.com/docs/connect/charges-transfers#reversing-transfers). + # Related guide: [Reversing transfers](https://stripe.com/docs/connect/charges-transfers#reversing-transfers) class Reversal < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save diff --git a/lib/stripe/resources/setup_intent.rb b/lib/stripe/resources/setup_intent.rb index 8293a67c5..9de4c88f1 100644 --- a/lib/stripe/resources/setup_intent.rb +++ b/lib/stripe/resources/setup_intent.rb @@ -23,7 +23,7 @@ module Stripe # By using SetupIntents, you ensure that your customers experience the minimum set of required friction, # even as regulations change over time. # - # Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + # Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) class SetupIntent < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/subscription.rb b/lib/stripe/resources/subscription.rb index 62d11f053..3f56e2483 100644 --- a/lib/stripe/resources/subscription.rb +++ b/lib/stripe/resources/subscription.rb @@ -4,7 +4,7 @@ module Stripe # Subscriptions allow you to charge a customer on a recurring basis. # - # Related guide: [Creating Subscriptions](https://stripe.com/docs/billing/subscriptions/creating). + # Related guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating) class Subscription < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/subscription_schedule.rb b/lib/stripe/resources/subscription_schedule.rb index 4b1ed4121..577a7ffc5 100644 --- a/lib/stripe/resources/subscription_schedule.rb +++ b/lib/stripe/resources/subscription_schedule.rb @@ -4,7 +4,7 @@ module Stripe # A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes. # - # Related guide: [Subscription Schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules). + # Related guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules) class SubscriptionSchedule < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/tax/calculation.rb b/lib/stripe/resources/tax/calculation.rb index 57f5bc7c4..054218b57 100644 --- a/lib/stripe/resources/tax/calculation.rb +++ b/lib/stripe/resources/tax/calculation.rb @@ -5,7 +5,7 @@ module Stripe module Tax # A Tax Calculation allows you to calculate the tax to collect from your customer. # - # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom). + # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom) class Calculation < APIResource extend Stripe::APIOperations::Create diff --git a/lib/stripe/resources/tax/transaction.rb b/lib/stripe/resources/tax/transaction.rb index f66864fa7..e9469d7c1 100644 --- a/lib/stripe/resources/tax/transaction.rb +++ b/lib/stripe/resources/tax/transaction.rb @@ -5,7 +5,7 @@ module Stripe module Tax # A Tax Transaction records the tax collected from or refunded to your customer. # - # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction). + # Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction) class Transaction < APIResource OBJECT_NAME = "tax.transaction" diff --git a/lib/stripe/resources/tax_id.rb b/lib/stripe/resources/tax_id.rb index 204f3c3ac..620ad62e4 100644 --- a/lib/stripe/resources/tax_id.rb +++ b/lib/stripe/resources/tax_id.rb @@ -5,7 +5,7 @@ module Stripe # You can add one or multiple tax IDs to a [customer](https://stripe.com/docs/api/customers). # A customer's tax IDs are displayed on invoices and credit notes issued for the customer. # - # Related guide: [Customer Tax Identification Numbers](https://stripe.com/docs/billing/taxes/tax-ids). + # Related guide: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids) class TaxId < APIResource include Stripe::APIOperations::Delete extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/tax_rate.rb b/lib/stripe/resources/tax_rate.rb index 197988b6e..386efa124 100644 --- a/lib/stripe/resources/tax_rate.rb +++ b/lib/stripe/resources/tax_rate.rb @@ -4,7 +4,7 @@ module Stripe # Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. # - # Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + # Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) class TaxRate < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/terminal/connection_token.rb b/lib/stripe/resources/terminal/connection_token.rb index d39a8ae10..ec434df84 100644 --- a/lib/stripe/resources/terminal/connection_token.rb +++ b/lib/stripe/resources/terminal/connection_token.rb @@ -5,7 +5,7 @@ module Stripe module Terminal # A Connection Token is used by the Stripe Terminal SDK to connect to a reader. # - # Related guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations). + # Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) class ConnectionToken < APIResource extend Stripe::APIOperations::Create diff --git a/lib/stripe/resources/terminal/location.rb b/lib/stripe/resources/terminal/location.rb index 1fbcb6e96..ed656bbc1 100644 --- a/lib/stripe/resources/terminal/location.rb +++ b/lib/stripe/resources/terminal/location.rb @@ -5,7 +5,7 @@ module Stripe module Terminal # A Location represents a grouping of readers. # - # Related guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations). + # Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) class Location < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/terminal/reader.rb b/lib/stripe/resources/terminal/reader.rb index 20b20601a..ad6b7f611 100644 --- a/lib/stripe/resources/terminal/reader.rb +++ b/lib/stripe/resources/terminal/reader.rb @@ -5,7 +5,7 @@ module Stripe module Terminal # A Reader represents a physical device for accepting payment details. # - # Related guide: [Connecting to a Reader](https://stripe.com/docs/terminal/payments/connect-reader). + # Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader) class Reader < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete diff --git a/lib/stripe/resources/token.rb b/lib/stripe/resources/token.rb index 9cf981697..0af31f334 100644 --- a/lib/stripe/resources/token.rb +++ b/lib/stripe/resources/token.rb @@ -23,7 +23,7 @@ module Stripe # [Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection, # performs best with integrations that use client-side tokenization. # - # Related guide: [Accept a payment](https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token) + # Related guide: [Accept a payment with Charges and Tokens](https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token) class Token < APIResource extend Stripe::APIOperations::Create diff --git a/lib/stripe/resources/topup.rb b/lib/stripe/resources/topup.rb index 17491878b..d3569bb31 100644 --- a/lib/stripe/resources/topup.rb +++ b/lib/stripe/resources/topup.rb @@ -6,7 +6,7 @@ module Stripe # individual top-ups, as well as list all top-ups. Top-ups are identified by a # unique, random ID. # - # Related guide: [Topping Up your Platform Account](https://stripe.com/docs/connect/top-ups). + # Related guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups) class Topup < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/transfer.rb b/lib/stripe/resources/transfer.rb index 6742ac9d5..73946ed71 100644 --- a/lib/stripe/resources/transfer.rb +++ b/lib/stripe/resources/transfer.rb @@ -11,7 +11,7 @@ module Stripe # information, read about the # [transfer/payout split](https://stripe.com/docs/transfer-payout-split). # - # Related guide: [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/charges-transfers). + # Related guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/charges-transfers) class Transfer < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/usage_record.rb b/lib/stripe/resources/usage_record.rb index 3ea3ce3a4..f75f769a1 100644 --- a/lib/stripe/resources/usage_record.rb +++ b/lib/stripe/resources/usage_record.rb @@ -5,7 +5,7 @@ module Stripe # Usage records allow you to report customer usage and metrics to Stripe for # metered billing of subscription prices. # - # Related guide: [Metered Billing](https://stripe.com/docs/billing/subscriptions/metered-billing). + # Related guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing) class UsageRecord < APIResource OBJECT_NAME = "usage_record" end diff --git a/lib/stripe/resources/webhook_endpoint.rb b/lib/stripe/resources/webhook_endpoint.rb index 77daef502..bd6811c2b 100644 --- a/lib/stripe/resources/webhook_endpoint.rb +++ b/lib/stripe/resources/webhook_endpoint.rb @@ -8,7 +8,7 @@ module Stripe # # Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. # - # Related guide: [Setting up Webhooks](https://stripe.com/docs/webhooks/configure). + # Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure) class WebhookEndpoint < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete