From ce325fc5172e4957e2984b3dd6d4b5f4fb25ff85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Augusto=20C=C3=A9sar?= Date: Sun, 1 Sep 2024 15:08:38 +0200 Subject: [PATCH] fix: correct docs host and path for API references ### Description The current CI is failing when running the `cargo make openapi-install`. The issue seems to be a difference on how the path to API docs looks like. Changing the url from `https://stripe.com/docs/api` to `https://docs.stripe.com/api` should fix it. ### Further explanation of the issue When running without the changes made to the `url_finder.rs`, the `cargo make openapi-install` is attempting to change the "For more details see" references from, for example, `https://stripe.com/docs/api/accounts/object` to `https://stripe.com/api/accounts/object`. Which is not the correct one for that host. It seems that is trying to update the path that would only be correct if we change the host from `https://stripe.com` to `https://docs.stripe.com`. So that is why of the update on the `url_finder.rs`. --- openapi/src/url_finder.rs | 4 ++-- src/resources/generated/account.rs | 2 +- src/resources/generated/account_link.rs | 2 +- src/resources/generated/account_session.rs | 2 +- src/resources/generated/application_fee.rs | 2 +- src/resources/generated/balance.rs | 2 +- src/resources/generated/balance_transaction.rs | 2 +- src/resources/generated/capability.rs | 2 +- src/resources/generated/card.rs | 2 +- src/resources/generated/cash_balance.rs | 2 +- src/resources/generated/charge.rs | 2 +- src/resources/generated/checkout_session.rs | 2 +- src/resources/generated/climate_order.rs | 2 +- src/resources/generated/climate_product.rs | 2 +- src/resources/generated/climate_supplier.rs | 2 +- src/resources/generated/country_spec.rs | 2 +- src/resources/generated/coupon.rs | 2 +- src/resources/generated/credit_note.rs | 2 +- src/resources/generated/credit_note_line_item.rs | 2 +- src/resources/generated/customer.rs | 2 +- src/resources/generated/customer_balance_transaction.rs | 2 +- src/resources/generated/customer_cash_balance_transaction.rs | 2 +- src/resources/generated/customer_session.rs | 2 +- src/resources/generated/discount.rs | 2 +- src/resources/generated/dispute.rs | 2 +- src/resources/generated/event.rs | 2 +- src/resources/generated/fee_refund.rs | 2 +- src/resources/generated/file.rs | 2 +- src/resources/generated/file_link.rs | 2 +- src/resources/generated/financial_connections_account.rs | 2 +- src/resources/generated/financial_connections_session.rs | 2 +- src/resources/generated/financial_connections_transaction.rs | 2 +- src/resources/generated/identity_verification_report.rs | 2 +- src/resources/generated/identity_verification_session.rs | 2 +- src/resources/generated/invoice.rs | 2 +- src/resources/generated/invoiceitem.rs | 2 +- src/resources/generated/issuing_authorization.rs | 2 +- src/resources/generated/issuing_card.rs | 2 +- src/resources/generated/issuing_cardholder.rs | 2 +- src/resources/generated/issuing_dispute.rs | 2 +- src/resources/generated/issuing_token.rs | 2 +- src/resources/generated/issuing_transaction.rs | 2 +- src/resources/generated/login_link.rs | 2 +- src/resources/generated/mandate.rs | 2 +- src/resources/generated/payment_intent.rs | 2 +- src/resources/generated/payment_link.rs | 2 +- src/resources/generated/payment_method.rs | 2 +- src/resources/generated/payment_method_configuration.rs | 2 +- src/resources/generated/payment_method_domain.rs | 2 +- src/resources/generated/payout.rs | 2 +- src/resources/generated/person.rs | 2 +- src/resources/generated/plan.rs | 2 +- src/resources/generated/price.rs | 2 +- src/resources/generated/product.rs | 2 +- src/resources/generated/promotion_code.rs | 2 +- src/resources/generated/quote.rs | 2 +- src/resources/generated/radar_value_list.rs | 2 +- src/resources/generated/radar_value_list_item.rs | 2 +- src/resources/generated/refund.rs | 2 +- src/resources/generated/reporting_report_run.rs | 2 +- src/resources/generated/reporting_report_type.rs | 2 +- src/resources/generated/review.rs | 2 +- src/resources/generated/scheduled_query_run.rs | 2 +- src/resources/generated/setup_attempt.rs | 2 +- src/resources/generated/setup_intent.rs | 2 +- src/resources/generated/shipping_rate.rs | 2 +- src/resources/generated/source.rs | 2 +- src/resources/generated/subscription.rs | 2 +- src/resources/generated/subscription_item.rs | 2 +- src/resources/generated/subscription_schedule.rs | 2 +- src/resources/generated/tax_calculation.rs | 2 +- src/resources/generated/tax_code.rs | 2 +- src/resources/generated/tax_id.rs | 2 +- src/resources/generated/tax_rate.rs | 2 +- src/resources/generated/tax_registration.rs | 2 +- src/resources/generated/tax_settings.rs | 2 +- src/resources/generated/tax_transaction.rs | 2 +- src/resources/generated/terminal_configuration.rs | 2 +- src/resources/generated/terminal_connection_token.rs | 2 +- src/resources/generated/terminal_location.rs | 2 +- src/resources/generated/terminal_reader.rs | 2 +- src/resources/generated/token.rs | 2 +- src/resources/generated/topup.rs | 2 +- src/resources/generated/transfer.rs | 2 +- src/resources/generated/transfer_reversal.rs | 2 +- src/resources/generated/usage_record.rs | 2 +- src/resources/generated/webhook_endpoint.rs | 2 +- 87 files changed, 88 insertions(+), 88 deletions(-) diff --git a/openapi/src/url_finder.rs b/openapi/src/url_finder.rs index 70b2608d2..30c6bab13 100644 --- a/openapi/src/url_finder.rs +++ b/openapi/src/url_finder.rs @@ -15,7 +15,7 @@ pub struct UrlFinder { impl UrlFinder { pub fn new() -> Result { let client = Client::builder().user_agent(APP_USER_AGENT).build()?; - let resp = client.get("https://stripe.com/docs/api").send()?; + let resp = client.get("https://docs.stripe.com/api").send()?; if resp.status().is_success() { let text = resp.text()?; @@ -42,7 +42,7 @@ impl UrlFinder { let object_names = [format!("{}_object", object_name), object_name]; for name in object_names { if let Some(path) = self.url_lookup.get(&name) { - return Some(format!("https://stripe.com{}", path)); + return Some(format!("https://docs.stripe.com{}", path)); } } diff --git a/src/resources/generated/account.rs b/src/resources/generated/account.rs index bb3a6bb5b..f8a018a4e 100644 --- a/src/resources/generated/account.rs +++ b/src/resources/generated/account.rs @@ -16,7 +16,7 @@ use crate::resources::{ /// The resource representing a Stripe "Account". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Account { /// Unique identifier for the object. diff --git a/src/resources/generated/account_link.rs b/src/resources/generated/account_link.rs index b3c2c91f6..9db38375c 100644 --- a/src/resources/generated/account_link.rs +++ b/src/resources/generated/account_link.rs @@ -10,7 +10,7 @@ use crate::params::{Expand, Object, Timestamp}; /// The resource representing a Stripe "AccountLink". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct AccountLink { /// Time at which the object was created. diff --git a/src/resources/generated/account_session.rs b/src/resources/generated/account_session.rs index ec2521b5d..570ff0ee0 100644 --- a/src/resources/generated/account_session.rs +++ b/src/resources/generated/account_session.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "ConnectEmbeddedMethodAccountSessionCreateMethodAccountSession". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct AccountSession { diff --git a/src/resources/generated/application_fee.rs b/src/resources/generated/application_fee.rs index 08954d596..b05f4c928 100644 --- a/src/resources/generated/application_fee.rs +++ b/src/resources/generated/application_fee.rs @@ -13,7 +13,7 @@ use crate::resources::{ /// The resource representing a Stripe "PlatformFee". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ApplicationFee { /// Unique identifier for the object. diff --git a/src/resources/generated/balance.rs b/src/resources/generated/balance.rs index fa9738044..3ea224d09 100644 --- a/src/resources/generated/balance.rs +++ b/src/resources/generated/balance.rs @@ -9,7 +9,7 @@ use crate::resources::{BalanceAmountBySourceType, Currency}; /// The resource representing a Stripe "Balance". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Balance { /// Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). diff --git a/src/resources/generated/balance_transaction.rs b/src/resources/generated/balance_transaction.rs index 629dbe1d5..ee56a075f 100644 --- a/src/resources/generated/balance_transaction.rs +++ b/src/resources/generated/balance_transaction.rs @@ -13,7 +13,7 @@ use crate::resources::{ /// The resource representing a Stripe "BalanceTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct BalanceTransaction { /// Unique identifier for the object. diff --git a/src/resources/generated/capability.rs b/src/resources/generated/capability.rs index c3b906ebb..c18ead495 100644 --- a/src/resources/generated/capability.rs +++ b/src/resources/generated/capability.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "AccountCapability". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Capability { /// The identifier for the capability. diff --git a/src/resources/generated/card.rs b/src/resources/generated/card.rs index 458001f38..78dc60e2c 100644 --- a/src/resources/generated/card.rs +++ b/src/resources/generated/card.rs @@ -10,7 +10,7 @@ use crate::resources::{Account, Currency, Customer}; /// The resource representing a Stripe "Card". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Card { /// Unique identifier for the object. diff --git a/src/resources/generated/cash_balance.rs b/src/resources/generated/cash_balance.rs index d92f14760..5cb9bf840 100644 --- a/src/resources/generated/cash_balance.rs +++ b/src/resources/generated/cash_balance.rs @@ -8,7 +8,7 @@ use crate::params::Object; /// The resource representing a Stripe "cash_balance". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CashBalance { /// A hash of all cash balances available to this customer. diff --git a/src/resources/generated/charge.rs b/src/resources/generated/charge.rs index 6ec262e75..17c766435 100644 --- a/src/resources/generated/charge.rs +++ b/src/resources/generated/charge.rs @@ -17,7 +17,7 @@ use crate::resources::{ /// The resource representing a Stripe "Charge". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Charge { /// Unique identifier for the object. diff --git a/src/resources/generated/checkout_session.rs b/src/resources/generated/checkout_session.rs index 30545ffda..79ecd17dc 100644 --- a/src/resources/generated/checkout_session.rs +++ b/src/resources/generated/checkout_session.rs @@ -22,7 +22,7 @@ use crate::resources::{ /// The resource representing a Stripe "Session". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CheckoutSession { /// Unique identifier for the object. diff --git a/src/resources/generated/climate_order.rs b/src/resources/generated/climate_order.rs index 39ab394e4..82f51d3d1 100644 --- a/src/resources/generated/climate_order.rs +++ b/src/resources/generated/climate_order.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "ClimateRemovalsOrders". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ClimateOrder { /// Unique identifier for the object. diff --git a/src/resources/generated/climate_product.rs b/src/resources/generated/climate_product.rs index dbad036af..13f3963cc 100644 --- a/src/resources/generated/climate_product.rs +++ b/src/resources/generated/climate_product.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "ClimateRemovalsProducts". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ClimateProduct { /// Unique identifier for the object. diff --git a/src/resources/generated/climate_supplier.rs b/src/resources/generated/climate_supplier.rs index 77f347a43..4cf2f4051 100644 --- a/src/resources/generated/climate_supplier.rs +++ b/src/resources/generated/climate_supplier.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "ClimateRemovalsSuppliers". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ClimateSupplier { /// Unique identifier for the object. diff --git a/src/resources/generated/country_spec.rs b/src/resources/generated/country_spec.rs index cad17ec40..200119cf9 100644 --- a/src/resources/generated/country_spec.rs +++ b/src/resources/generated/country_spec.rs @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "CountrySpec". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CountrySpec { /// Unique identifier for the object. diff --git a/src/resources/generated/coupon.rs b/src/resources/generated/coupon.rs index 1c1a6c8d6..5f892fd2b 100644 --- a/src/resources/generated/coupon.rs +++ b/src/resources/generated/coupon.rs @@ -13,7 +13,7 @@ use crate::resources::Currency; /// The resource representing a Stripe "Coupon". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Coupon { /// Unique identifier for the object. diff --git a/src/resources/generated/credit_note.rs b/src/resources/generated/credit_note.rs index d59172bbe..d3fdd1d1d 100644 --- a/src/resources/generated/credit_note.rs +++ b/src/resources/generated/credit_note.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "CreditNote". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CreditNote { /// Unique identifier for the object. diff --git a/src/resources/generated/credit_note_line_item.rs b/src/resources/generated/credit_note_line_item.rs index 4461be9d3..0e6c334d2 100644 --- a/src/resources/generated/credit_note_line_item.rs +++ b/src/resources/generated/credit_note_line_item.rs @@ -10,7 +10,7 @@ use crate::resources::{Discount, TaxRate}; /// The resource representing a Stripe "CreditNoteLineItem". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CreditNoteLineItem { /// Unique identifier for the object. diff --git a/src/resources/generated/customer.rs b/src/resources/generated/customer.rs index eae9fe5b6..3e085c685 100644 --- a/src/resources/generated/customer.rs +++ b/src/resources/generated/customer.rs @@ -16,7 +16,7 @@ use crate::resources::{ /// The resource representing a Stripe "Customer". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Customer { /// Unique identifier for the object. diff --git a/src/resources/generated/customer_balance_transaction.rs b/src/resources/generated/customer_balance_transaction.rs index 8b102c8a8..da8db437c 100644 --- a/src/resources/generated/customer_balance_transaction.rs +++ b/src/resources/generated/customer_balance_transaction.rs @@ -10,7 +10,7 @@ use crate::resources::{CreditNote, Currency, Customer, Invoice}; /// The resource representing a Stripe "CustomerBalanceTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CustomerBalanceTransaction { /// Unique identifier for the object. diff --git a/src/resources/generated/customer_cash_balance_transaction.rs b/src/resources/generated/customer_cash_balance_transaction.rs index 6bcf9a755..80d929099 100644 --- a/src/resources/generated/customer_cash_balance_transaction.rs +++ b/src/resources/generated/customer_cash_balance_transaction.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "CustomerCashBalanceTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CustomerCashBalanceTransaction { /// Unique identifier for the object. diff --git a/src/resources/generated/customer_session.rs b/src/resources/generated/customer_session.rs index 5a8981edf..057c71664 100644 --- a/src/resources/generated/customer_session.rs +++ b/src/resources/generated/customer_session.rs @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "CustomerSessionResourceCustomerSession". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct CustomerSession { diff --git a/src/resources/generated/discount.rs b/src/resources/generated/discount.rs index 4ab82cd45..f048cd379 100644 --- a/src/resources/generated/discount.rs +++ b/src/resources/generated/discount.rs @@ -10,7 +10,7 @@ use crate::resources::{Coupon, Customer, PromotionCode}; /// The resource representing a Stripe "Discount". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Discount { /// The ID of the discount object. diff --git a/src/resources/generated/dispute.rs b/src/resources/generated/dispute.rs index d150d9f06..85f1843a0 100644 --- a/src/resources/generated/dispute.rs +++ b/src/resources/generated/dispute.rs @@ -11,7 +11,7 @@ use crate::resources::{BalanceTransaction, Charge, Currency, File, PaymentIntent /// The resource representing a Stripe "Dispute". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Dispute { /// Unique identifier for the object. diff --git a/src/resources/generated/event.rs b/src/resources/generated/event.rs index 8bfb0c8a1..bba220741 100644 --- a/src/resources/generated/event.rs +++ b/src/resources/generated/event.rs @@ -11,7 +11,7 @@ use crate::resources::{EventType, NotificationEventData}; /// The resource representing a Stripe "NotificationEvent". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Event { /// Unique identifier for the object. diff --git a/src/resources/generated/fee_refund.rs b/src/resources/generated/fee_refund.rs index e2b84faee..618394fbc 100644 --- a/src/resources/generated/fee_refund.rs +++ b/src/resources/generated/fee_refund.rs @@ -10,7 +10,7 @@ use crate::resources::{ApplicationFee, BalanceTransaction, Currency}; /// The resource representing a Stripe "FeeRefund". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ApplicationFeeRefund { /// Unique identifier for the object. diff --git a/src/resources/generated/file.rs b/src/resources/generated/file.rs index 24bfa30a6..3d743f9e8 100644 --- a/src/resources/generated/file.rs +++ b/src/resources/generated/file.rs @@ -11,7 +11,7 @@ use crate::resources::FileLink; /// The resource representing a Stripe "File". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct File { /// Unique identifier for the object. diff --git a/src/resources/generated/file_link.rs b/src/resources/generated/file_link.rs index fad3a59a7..d955ddccc 100644 --- a/src/resources/generated/file_link.rs +++ b/src/resources/generated/file_link.rs @@ -11,7 +11,7 @@ use crate::resources::{File, Scheduled}; /// The resource representing a Stripe "FileLink". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct FileLink { /// Unique identifier for the object. diff --git a/src/resources/generated/financial_connections_account.rs b/src/resources/generated/financial_connections_account.rs index a7a2f7ed7..086e1f707 100644 --- a/src/resources/generated/financial_connections_account.rs +++ b/src/resources/generated/financial_connections_account.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "BankConnectionsResourceLinkedAccount". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct FinancialConnectionsAccount { /// Unique identifier for the object. diff --git a/src/resources/generated/financial_connections_session.rs b/src/resources/generated/financial_connections_session.rs index 17e2358d8..16a7e27a1 100644 --- a/src/resources/generated/financial_connections_session.rs +++ b/src/resources/generated/financial_connections_session.rs @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "BankConnectionsResourceLinkAccountSession". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct FinancialConnectionsSession { /// Unique identifier for the object. diff --git a/src/resources/generated/financial_connections_transaction.rs b/src/resources/generated/financial_connections_transaction.rs index ec33ab2e0..51a723c27 100644 --- a/src/resources/generated/financial_connections_transaction.rs +++ b/src/resources/generated/financial_connections_transaction.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "BankConnectionsResourceTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct FinancialConnectionsTransaction { /// Unique identifier for the object. diff --git a/src/resources/generated/identity_verification_report.rs b/src/resources/generated/identity_verification_report.rs index d5c99bf97..5026f6ffa 100644 --- a/src/resources/generated/identity_verification_report.rs +++ b/src/resources/generated/identity_verification_report.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "GelatoVerificationReport". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IdentityVerificationReport { /// Unique identifier for the object. diff --git a/src/resources/generated/identity_verification_session.rs b/src/resources/generated/identity_verification_session.rs index 187d047c2..b651d0fb4 100644 --- a/src/resources/generated/identity_verification_session.rs +++ b/src/resources/generated/identity_verification_session.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "GelatoVerificationSession". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IdentityVerificationSession { /// Unique identifier for the object. diff --git a/src/resources/generated/invoice.rs b/src/resources/generated/invoice.rs index 5128f0c91..b7cb79fc2 100644 --- a/src/resources/generated/invoice.rs +++ b/src/resources/generated/invoice.rs @@ -21,7 +21,7 @@ use crate::resources::{ /// The resource representing a Stripe "Invoice". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Invoice { /// Unique identifier for the object. diff --git a/src/resources/generated/invoiceitem.rs b/src/resources/generated/invoiceitem.rs index c48a5705d..92baffc92 100644 --- a/src/resources/generated/invoiceitem.rs +++ b/src/resources/generated/invoiceitem.rs @@ -16,7 +16,7 @@ use crate::resources::{ /// The resource representing a Stripe "InvoiceItem". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct InvoiceItem { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_authorization.rs b/src/resources/generated/issuing_authorization.rs index 38250fa0a..803cd6f3a 100644 --- a/src/resources/generated/issuing_authorization.rs +++ b/src/resources/generated/issuing_authorization.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "IssuingAuthorization". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingAuthorization { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_card.rs b/src/resources/generated/issuing_card.rs index d05ad9820..301efff9b 100644 --- a/src/resources/generated/issuing_card.rs +++ b/src/resources/generated/issuing_card.rs @@ -13,7 +13,7 @@ use crate::resources::{ /// The resource representing a Stripe "IssuingCard". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingCard { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_cardholder.rs b/src/resources/generated/issuing_cardholder.rs index a992b662c..eecbac48c 100644 --- a/src/resources/generated/issuing_cardholder.rs +++ b/src/resources/generated/issuing_cardholder.rs @@ -10,7 +10,7 @@ use crate::resources::{Address, Currency, File, MerchantCategory}; /// The resource representing a Stripe "IssuingCardholder". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingCardholder { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_dispute.rs b/src/resources/generated/issuing_dispute.rs index 55b88e081..1a0a2a544 100644 --- a/src/resources/generated/issuing_dispute.rs +++ b/src/resources/generated/issuing_dispute.rs @@ -12,7 +12,7 @@ use crate::resources::{ /// The resource representing a Stripe "IssuingDispute". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingDispute { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_token.rs b/src/resources/generated/issuing_token.rs index a39a51b1f..cbdf46d60 100644 --- a/src/resources/generated/issuing_token.rs +++ b/src/resources/generated/issuing_token.rs @@ -10,7 +10,7 @@ use crate::resources::IssuingCard; /// The resource representing a Stripe "IssuingNetworkToken". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingToken { /// Unique identifier for the object. diff --git a/src/resources/generated/issuing_transaction.rs b/src/resources/generated/issuing_transaction.rs index d22d88284..8ce7ab6b4 100644 --- a/src/resources/generated/issuing_transaction.rs +++ b/src/resources/generated/issuing_transaction.rs @@ -13,7 +13,7 @@ use crate::resources::{ /// The resource representing a Stripe "IssuingTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct IssuingTransaction { /// Unique identifier for the object. diff --git a/src/resources/generated/login_link.rs b/src/resources/generated/login_link.rs index 07edb8ec0..6aa1b6a04 100644 --- a/src/resources/generated/login_link.rs +++ b/src/resources/generated/login_link.rs @@ -8,7 +8,7 @@ use crate::params::{Object, Timestamp}; /// The resource representing a Stripe "LoginLink". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct LoginLink { /// Time at which the object was created. diff --git a/src/resources/generated/mandate.rs b/src/resources/generated/mandate.rs index 845268a65..ace734f1b 100644 --- a/src/resources/generated/mandate.rs +++ b/src/resources/generated/mandate.rs @@ -11,7 +11,7 @@ use crate::resources::{Currency, PaymentMethod}; /// The resource representing a Stripe "Mandate". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Mandate { /// Unique identifier for the object. diff --git a/src/resources/generated/payment_intent.rs b/src/resources/generated/payment_intent.rs index 1a7baa496..9293777e0 100644 --- a/src/resources/generated/payment_intent.rs +++ b/src/resources/generated/payment_intent.rs @@ -20,7 +20,7 @@ use crate::resources::{ /// The resource representing a Stripe "PaymentIntent". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PaymentIntent { /// Unique identifier for the object. diff --git a/src/resources/generated/payment_link.rs b/src/resources/generated/payment_link.rs index 01a778d58..0fa01e944 100644 --- a/src/resources/generated/payment_link.rs +++ b/src/resources/generated/payment_link.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "PaymentLink". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PaymentLink { /// Unique identifier for the object. diff --git a/src/resources/generated/payment_method.rs b/src/resources/generated/payment_method.rs index 88e7c5060..5b05c8a45 100644 --- a/src/resources/generated/payment_method.rs +++ b/src/resources/generated/payment_method.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "PaymentMethod". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PaymentMethod { /// Unique identifier for the object. diff --git a/src/resources/generated/payment_method_configuration.rs b/src/resources/generated/payment_method_configuration.rs index edf42eed0..77aaa7202 100644 --- a/src/resources/generated/payment_method_configuration.rs +++ b/src/resources/generated/payment_method_configuration.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "PaymentMethodConfigResourcePaymentMethodConfiguration". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PaymentMethodConfiguration { /// Unique identifier for the object. diff --git a/src/resources/generated/payment_method_domain.rs b/src/resources/generated/payment_method_domain.rs index 9aa5b19d8..3be49ff77 100644 --- a/src/resources/generated/payment_method_domain.rs +++ b/src/resources/generated/payment_method_domain.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "PaymentMethodDomainResourcePaymentMethodDomain". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PaymentMethodDomain { /// Unique identifier for the object. diff --git a/src/resources/generated/payout.rs b/src/resources/generated/payout.rs index a1da275c9..71df8cd5c 100644 --- a/src/resources/generated/payout.rs +++ b/src/resources/generated/payout.rs @@ -11,7 +11,7 @@ use crate::resources::{BalanceTransaction, Currency, PayoutDestinationUnion}; /// The resource representing a Stripe "Payout". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Payout { /// Unique identifier for the object. diff --git a/src/resources/generated/person.rs b/src/resources/generated/person.rs index 7ff2c6507..c8ae1c0c3 100644 --- a/src/resources/generated/person.rs +++ b/src/resources/generated/person.rs @@ -10,7 +10,7 @@ use crate::resources::{Address, File}; /// The resource representing a Stripe "Person". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Person { /// Unique identifier for the object. diff --git a/src/resources/generated/plan.rs b/src/resources/generated/plan.rs index ac57f6243..30867965c 100644 --- a/src/resources/generated/plan.rs +++ b/src/resources/generated/plan.rs @@ -14,7 +14,7 @@ use crate::resources::{CreateProduct, Currency, Product}; /// The resource representing a Stripe "Plan". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Plan { /// Unique identifier for the object. diff --git a/src/resources/generated/price.rs b/src/resources/generated/price.rs index 9e58d97f6..f5e728b33 100644 --- a/src/resources/generated/price.rs +++ b/src/resources/generated/price.rs @@ -14,7 +14,7 @@ use crate::resources::{CreateProduct, Currency, CustomUnitAmount, Product, UpTo} /// The resource representing a Stripe "Price". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Price { /// Unique identifier for the object. diff --git a/src/resources/generated/product.rs b/src/resources/generated/product.rs index 3ed50337d..202024896 100644 --- a/src/resources/generated/product.rs +++ b/src/resources/generated/product.rs @@ -14,7 +14,7 @@ use crate::resources::{Currency, Price, TaxCode, UpTo}; /// The resource representing a Stripe "Product". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Product { /// Unique identifier for the object. diff --git a/src/resources/generated/promotion_code.rs b/src/resources/generated/promotion_code.rs index f781df8ab..336b810a8 100644 --- a/src/resources/generated/promotion_code.rs +++ b/src/resources/generated/promotion_code.rs @@ -13,7 +13,7 @@ use crate::resources::{Coupon, Currency, Customer}; /// The resource representing a Stripe "PromotionCode". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct PromotionCode { /// Unique identifier for the object. diff --git a/src/resources/generated/quote.rs b/src/resources/generated/quote.rs index d02645a48..bc36a3ac1 100644 --- a/src/resources/generated/quote.rs +++ b/src/resources/generated/quote.rs @@ -15,7 +15,7 @@ use crate::resources::{ /// The resource representing a Stripe "Quote". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Quote { /// Unique identifier for the object. diff --git a/src/resources/generated/radar_value_list.rs b/src/resources/generated/radar_value_list.rs index 4d31a6339..d9078ba9a 100644 --- a/src/resources/generated/radar_value_list.rs +++ b/src/resources/generated/radar_value_list.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "RadarListList". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct RadarValueList { /// Unique identifier for the object. diff --git a/src/resources/generated/radar_value_list_item.rs b/src/resources/generated/radar_value_list_item.rs index 20fb78df1..3fde00157 100644 --- a/src/resources/generated/radar_value_list_item.rs +++ b/src/resources/generated/radar_value_list_item.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "RadarListListItem". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct RadarValueListItem { /// Unique identifier for the object. diff --git a/src/resources/generated/refund.rs b/src/resources/generated/refund.rs index f91a9b9a9..7a009fd70 100644 --- a/src/resources/generated/refund.rs +++ b/src/resources/generated/refund.rs @@ -11,7 +11,7 @@ use crate::resources::{BalanceTransaction, Charge, Currency, PaymentIntent, Tran /// The resource representing a Stripe "Refund". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Refund { /// Unique identifier for the object. diff --git a/src/resources/generated/reporting_report_run.rs b/src/resources/generated/reporting_report_run.rs index 12c42f6f2..cf882f564 100644 --- a/src/resources/generated/reporting_report_run.rs +++ b/src/resources/generated/reporting_report_run.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "reporting_report_run". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ReportingReportRun { /// Unique identifier for the object. diff --git a/src/resources/generated/reporting_report_type.rs b/src/resources/generated/reporting_report_type.rs index 779b48891..269696405 100644 --- a/src/resources/generated/reporting_report_type.rs +++ b/src/resources/generated/reporting_report_type.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "reporting_report_type". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ReportingReportType { /// The [ID of the Report Type](https://stripe.com/docs/reporting/statements/api#available-report-types), such as `balance.summary.1`. diff --git a/src/resources/generated/review.rs b/src/resources/generated/review.rs index 85e11b7e2..7c2c4dc27 100644 --- a/src/resources/generated/review.rs +++ b/src/resources/generated/review.rs @@ -11,7 +11,7 @@ use crate::resources::{Charge, PaymentIntent, ReviewReason}; /// The resource representing a Stripe "RadarReview". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Review { /// Unique identifier for the object. diff --git a/src/resources/generated/scheduled_query_run.rs b/src/resources/generated/scheduled_query_run.rs index 0391e91d6..1ac2cf9a0 100644 --- a/src/resources/generated/scheduled_query_run.rs +++ b/src/resources/generated/scheduled_query_run.rs @@ -10,7 +10,7 @@ use crate::resources::File; /// The resource representing a Stripe "ScheduledQueryRun". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ScheduledQueryRun { /// Unique identifier for the object. diff --git a/src/resources/generated/setup_attempt.rs b/src/resources/generated/setup_attempt.rs index d1ac95b81..732ffbbc4 100644 --- a/src/resources/generated/setup_attempt.rs +++ b/src/resources/generated/setup_attempt.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "PaymentFlowsSetupIntentSetupAttempt". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct SetupAttempt { /// Unique identifier for the object. diff --git a/src/resources/generated/setup_intent.rs b/src/resources/generated/setup_intent.rs index bf16a0048..c8ecfe7f4 100644 --- a/src/resources/generated/setup_intent.rs +++ b/src/resources/generated/setup_intent.rs @@ -16,7 +16,7 @@ use crate::resources::{ /// The resource representing a Stripe "SetupIntent". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct SetupIntent { /// Unique identifier for the object. diff --git a/src/resources/generated/shipping_rate.rs b/src/resources/generated/shipping_rate.rs index 6f77c617a..029757c9b 100644 --- a/src/resources/generated/shipping_rate.rs +++ b/src/resources/generated/shipping_rate.rs @@ -13,7 +13,7 @@ use crate::resources::{Currency, TaxCode}; /// The resource representing a Stripe "ShippingRate". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct ShippingRate { /// Unique identifier for the object. diff --git a/src/resources/generated/source.rs b/src/resources/generated/source.rs index ac36b8aef..62e8712d9 100644 --- a/src/resources/generated/source.rs +++ b/src/resources/generated/source.rs @@ -14,7 +14,7 @@ use crate::resources::{ /// The resource representing a Stripe "Source". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Source { /// Unique identifier for the object. diff --git a/src/resources/generated/subscription.rs b/src/resources/generated/subscription.rs index 584b44d6d..c4d230208 100644 --- a/src/resources/generated/subscription.rs +++ b/src/resources/generated/subscription.rs @@ -21,7 +21,7 @@ use crate::resources::{ /// The resource representing a Stripe "Subscription". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Subscription { /// Unique identifier for the object. diff --git a/src/resources/generated/subscription_item.rs b/src/resources/generated/subscription_item.rs index 1f7a75dcc..e7d08dbcc 100644 --- a/src/resources/generated/subscription_item.rs +++ b/src/resources/generated/subscription_item.rs @@ -11,7 +11,7 @@ use crate::resources::{Currency, Plan, Price, SubscriptionItemBillingThresholds, /// The resource representing a Stripe "SubscriptionItem". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct SubscriptionItem { /// Unique identifier for the object. diff --git a/src/resources/generated/subscription_schedule.rs b/src/resources/generated/subscription_schedule.rs index d87c79a48..ed22715af 100644 --- a/src/resources/generated/subscription_schedule.rs +++ b/src/resources/generated/subscription_schedule.rs @@ -16,7 +16,7 @@ use crate::resources::{ /// The resource representing a Stripe "SubscriptionSchedule". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct SubscriptionSchedule { /// Unique identifier for the object. diff --git a/src/resources/generated/tax_calculation.rs b/src/resources/generated/tax_calculation.rs index 6f98acdc0..5175cb63e 100644 --- a/src/resources/generated/tax_calculation.rs +++ b/src/resources/generated/tax_calculation.rs @@ -10,7 +10,7 @@ use crate::resources::{Currency, TaxCalculationLineItem, TaxProductResourceCusto /// The resource representing a Stripe "TaxProductResourceTaxCalculation". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxCalculation { /// Unique identifier for the calculation. diff --git a/src/resources/generated/tax_code.rs b/src/resources/generated/tax_code.rs index 0cfa2ed73..ddd72da9b 100644 --- a/src/resources/generated/tax_code.rs +++ b/src/resources/generated/tax_code.rs @@ -10,7 +10,7 @@ use crate::params::{Expand, List, Object, Paginable}; /// The resource representing a Stripe "TaxProductResourceTaxCode". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxCode { /// Unique identifier for the object. diff --git a/src/resources/generated/tax_id.rs b/src/resources/generated/tax_id.rs index a637ea016..267e4e702 100644 --- a/src/resources/generated/tax_id.rs +++ b/src/resources/generated/tax_id.rs @@ -11,7 +11,7 @@ use crate::resources::{Account, Application, Customer}; /// The resource representing a Stripe "tax_id". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxId { /// Unique identifier for the object. diff --git a/src/resources/generated/tax_rate.rs b/src/resources/generated/tax_rate.rs index d73dded86..baf3076ff 100644 --- a/src/resources/generated/tax_rate.rs +++ b/src/resources/generated/tax_rate.rs @@ -10,7 +10,7 @@ use crate::params::{Expand, List, Metadata, Object, Paginable, RangeQuery, Times /// The resource representing a Stripe "TaxRate". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxRate { /// Unique identifier for the object. diff --git a/src/resources/generated/tax_registration.rs b/src/resources/generated/tax_registration.rs index 9200736f3..415f5ad06 100644 --- a/src/resources/generated/tax_registration.rs +++ b/src/resources/generated/tax_registration.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "TaxProductRegistrationsResourceTaxRegistration". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxRegistration { /// Unique identifier for the object. diff --git a/src/resources/generated/tax_settings.rs b/src/resources/generated/tax_settings.rs index be6357b5d..7c44434b1 100644 --- a/src/resources/generated/tax_settings.rs +++ b/src/resources/generated/tax_settings.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "TaxProductResourceTaxSettings". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxSettings { diff --git a/src/resources/generated/tax_transaction.rs b/src/resources/generated/tax_transaction.rs index 790efe1d7..10375c806 100644 --- a/src/resources/generated/tax_transaction.rs +++ b/src/resources/generated/tax_transaction.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// The resource representing a Stripe "TaxProductResourceTaxTransaction". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TaxTransaction { /// Unique identifier for the transaction. diff --git a/src/resources/generated/terminal_configuration.rs b/src/resources/generated/terminal_configuration.rs index e03396e73..e33431950 100644 --- a/src/resources/generated/terminal_configuration.rs +++ b/src/resources/generated/terminal_configuration.rs @@ -11,7 +11,7 @@ use crate::resources::File; /// The resource representing a Stripe "TerminalConfigurationConfiguration". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TerminalConfiguration { /// Unique identifier for the object. diff --git a/src/resources/generated/terminal_connection_token.rs b/src/resources/generated/terminal_connection_token.rs index 487f3dc58..a7e78d2a1 100644 --- a/src/resources/generated/terminal_connection_token.rs +++ b/src/resources/generated/terminal_connection_token.rs @@ -9,7 +9,7 @@ use crate::params::{Expand, Object}; /// The resource representing a Stripe "TerminalConnectionToken". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TerminalConnectionToken { /// The id of the location that this connection token is scoped to. diff --git a/src/resources/generated/terminal_location.rs b/src/resources/generated/terminal_location.rs index d3cf75122..3633a9103 100644 --- a/src/resources/generated/terminal_location.rs +++ b/src/resources/generated/terminal_location.rs @@ -11,7 +11,7 @@ use crate::resources::Address; /// The resource representing a Stripe "TerminalLocationLocation". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TerminalLocation { /// Unique identifier for the object. diff --git a/src/resources/generated/terminal_reader.rs b/src/resources/generated/terminal_reader.rs index 5e4c8b291..f9696c6e4 100644 --- a/src/resources/generated/terminal_reader.rs +++ b/src/resources/generated/terminal_reader.rs @@ -11,7 +11,7 @@ use crate::resources::{Charge, Currency, PaymentIntent, Refund, SetupIntent, Ter /// The resource representing a Stripe "TerminalReaderReader". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TerminalReader { /// Unique identifier for the object. diff --git a/src/resources/generated/token.rs b/src/resources/generated/token.rs index 4f16f3ad4..d596adf20 100644 --- a/src/resources/generated/token.rs +++ b/src/resources/generated/token.rs @@ -11,7 +11,7 @@ use crate::resources::{Address, BankAccount, Card, CompanyParams, PersonParams, /// The resource representing a Stripe "Token". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Token { /// Unique identifier for the object. diff --git a/src/resources/generated/topup.rs b/src/resources/generated/topup.rs index 915ab6e2e..0dcb6ce53 100644 --- a/src/resources/generated/topup.rs +++ b/src/resources/generated/topup.rs @@ -11,7 +11,7 @@ use crate::resources::{BalanceTransaction, Currency, Source}; /// The resource representing a Stripe "Topup". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Topup { /// Unique identifier for the object. diff --git a/src/resources/generated/transfer.rs b/src/resources/generated/transfer.rs index ebe462785..464ad5ad2 100644 --- a/src/resources/generated/transfer.rs +++ b/src/resources/generated/transfer.rs @@ -11,7 +11,7 @@ use crate::resources::{Account, BalanceTransaction, Charge, Currency, TransferRe /// The resource representing a Stripe "Transfer". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Transfer { /// Unique identifier for the object. diff --git a/src/resources/generated/transfer_reversal.rs b/src/resources/generated/transfer_reversal.rs index 342970dbc..147246788 100644 --- a/src/resources/generated/transfer_reversal.rs +++ b/src/resources/generated/transfer_reversal.rs @@ -10,7 +10,7 @@ use crate::resources::{BalanceTransaction, Currency, Refund, Transfer}; /// The resource representing a Stripe "TransferReversal". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct TransferReversal { /// Unique identifier for the object. diff --git a/src/resources/generated/usage_record.rs b/src/resources/generated/usage_record.rs index 47d7bd4b8..66ec266f7 100644 --- a/src/resources/generated/usage_record.rs +++ b/src/resources/generated/usage_record.rs @@ -9,7 +9,7 @@ use crate::params::{Object, Timestamp}; /// The resource representing a Stripe "UsageRecord". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct UsageRecord { /// Unique identifier for the object. diff --git a/src/resources/generated/webhook_endpoint.rs b/src/resources/generated/webhook_endpoint.rs index dc8f5261e..5f54fdda3 100644 --- a/src/resources/generated/webhook_endpoint.rs +++ b/src/resources/generated/webhook_endpoint.rs @@ -11,7 +11,7 @@ use crate::resources::{ApiVersion, WebhookEndpointStatus}; /// The resource representing a Stripe "NotificationWebhookEndpoint". /// -/// For more details see +/// For more details see #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct WebhookEndpoint { /// Unique identifier for the object.