stripe 15.6.0.pre.alpha.2 → 15.6.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -1
- data/CHANGELOG.md +1 -71
- data/OPENAPI_VERSION +1 -1
- data/README.md +4 -6
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -2
- data/lib/stripe/errors.rb +0 -3
- data/lib/stripe/event_types.rb +0 -83
- data/lib/stripe/object_types.rb +0 -27
- data/lib/stripe/resources/account.rb +0 -443
- data/lib/stripe/resources/account_link.rb +0 -8
- data/lib/stripe/resources/account_notice.rb +0 -24
- data/lib/stripe/resources/account_session.rb +10 -435
- data/lib/stripe/resources/apple_pay_domain.rb +0 -8
- data/lib/stripe/resources/application.rb +0 -8
- data/lib/stripe/resources/application_fee.rb +0 -16
- data/lib/stripe/resources/application_fee_refund.rb +0 -8
- data/lib/stripe/resources/apps/secret.rb +0 -16
- data/lib/stripe/resources/balance.rb +0 -159
- data/lib/stripe/resources/balance_settings.rb +0 -40
- data/lib/stripe/resources/balance_transaction.rb +0 -16
- data/lib/stripe/resources/bank_account.rb +0 -40
- data/lib/stripe/resources/billing/alert.rb +1 -203
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -14
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -130
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -157
- data/lib/stripe/resources/billing/credit_grant.rb +2 -133
- data/lib/stripe/resources/billing/meter.rb +0 -45
- data/lib/stripe/resources/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage_row.rb +0 -8
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -122
- data/lib/stripe/resources/billing_portal/session.rb +0 -101
- data/lib/stripe/resources/capability.rb +0 -56
- data/lib/stripe/resources/capital/financing_offer.rb +0 -24
- data/lib/stripe/resources/capital/financing_summary.rb +0 -24
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +0 -16
- data/lib/stripe/resources/cash_balance.rb +0 -16
- data/lib/stripe/resources/charge.rb +20 -1052
- data/lib/stripe/resources/checkout/session.rb +1 -1078
- data/lib/stripe/resources/climate/order.rb +0 -32
- data/lib/stripe/resources/climate/product.rb +0 -16
- data/lib/stripe/resources/climate/supplier.rb +0 -16
- data/lib/stripe/resources/confirmation_token.rb +38 -960
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -8
- data/lib/stripe/resources/country_spec.rb +0 -32
- data/lib/stripe/resources/coupon.rb +0 -36
- data/lib/stripe/resources/credit_note.rb +0 -70
- data/lib/stripe/resources/credit_note_line_item.rb +0 -53
- data/lib/stripe/resources/customer.rb +0 -77
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -8
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -108
- data/lib/stripe/resources/customer_session.rb +0 -52
- data/lib/stripe/resources/discount.rb +0 -8
- data/lib/stripe/resources/dispute.rb +0 -166
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -8
- data/lib/stripe/resources/entitlements/feature.rb +0 -8
- data/lib/stripe/resources/ephemeral_key.rb +0 -8
- data/lib/stripe/resources/event.rb +0 -56
- data/lib/stripe/resources/exchange_rate.rb +0 -8
- data/lib/stripe/resources/file.rb +0 -8
- data/lib/stripe/resources/file_link.rb +0 -8
- data/lib/stripe/resources/financial_connections/account.rb +0 -79
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -8
- data/lib/stripe/resources/financial_connections/institution.rb +0 -53
- data/lib/stripe/resources/financial_connections/session.rb +1 -63
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -16
- data/lib/stripe/resources/forwarding/request.rb +0 -52
- data/lib/stripe/resources/funding_instructions.rb +0 -193
- data/lib/stripe/resources/fx_quote.rb +0 -48
- data/lib/stripe/resources/identity/verification_report.rb +1 -166
- data/lib/stripe/resources/identity/verification_session.rb +1 -126
- data/lib/stripe/resources/invoice.rb +3 -452
- data/lib/stripe/resources/invoice_item.rb +0 -136
- data/lib/stripe/resources/invoice_line_item.rb +0 -238
- data/lib/stripe/resources/invoice_payment.rb +0 -24
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -8
- data/lib/stripe/resources/issuing/authorization.rb +0 -177
- data/lib/stripe/resources/issuing/card.rb +8 -96
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -97
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -16
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -8
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -36
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -16
- data/lib/stripe/resources/issuing/settlement.rb +0 -8
- data/lib/stripe/resources/issuing/token.rb +0 -61
- data/lib/stripe/resources/issuing/transaction.rb +0 -151
- data/lib/stripe/resources/line_item.rb +0 -54
- data/lib/stripe/resources/login_link.rb +0 -8
- data/lib/stripe/resources/mandate.rb +11 -242
- data/lib/stripe/resources/margin.rb +0 -8
- data/lib/stripe/resources/order.rb +0 -348
- data/lib/stripe/resources/payment_attempt_record.rb +15 -890
- data/lib/stripe/resources/payment_intent.rb +3 -1405
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -56
- data/lib/stripe/resources/payment_link.rb +0 -337
- data/lib/stripe/resources/payment_method.rb +38 -884
- data/lib/stripe/resources/payment_method_configuration.rb +0 -961
- data/lib/stripe/resources/payment_method_domain.rb +0 -111
- data/lib/stripe/resources/payment_record.rb +15 -890
- data/lib/stripe/resources/payout.rb +0 -16
- data/lib/stripe/resources/person.rb +0 -180
- data/lib/stripe/resources/plan.rb +0 -24
- data/lib/stripe/resources/price.rb +0 -79
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -16
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -16
- data/lib/stripe/resources/product.rb +0 -27
- data/lib/stripe/resources/product_feature.rb +0 -8
- data/lib/stripe/resources/promotion_code.rb +0 -24
- data/lib/stripe/resources/quote.rb +0 -432
- data/lib/stripe/resources/quote_line.rb +0 -247
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -457
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -323
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -8
- data/lib/stripe/resources/radar/value_list.rb +0 -8
- data/lib/stripe/resources/radar/value_list_item.rb +0 -8
- data/lib/stripe/resources/refund.rb +19 -380
- data/lib/stripe/resources/reporting/report_run.rb +0 -16
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -8
- data/lib/stripe/resources/reversal.rb +0 -8
- data/lib/stripe/resources/review.rb +0 -24
- data/lib/stripe/resources/setup_attempt.rb +20 -331
- data/lib/stripe/resources/setup_intent.rb +2 -293
- data/lib/stripe/resources/shipping_rate.rb +0 -48
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -16
- data/lib/stripe/resources/source.rb +0 -274
- data/lib/stripe/resources/source_mandate_notification.rb +0 -32
- data/lib/stripe/resources/source_transaction.rb +0 -54
- data/lib/stripe/resources/subscription.rb +3 -356
- data/lib/stripe/resources/subscription_item.rb +0 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -314
- data/lib/stripe/resources/tax/association.rb +0 -32
- data/lib/stripe/resources/tax/calculation.rb +0 -109
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -32
- data/lib/stripe/resources/tax/form.rb +0 -107
- data/lib/stripe/resources/tax/registration.rb +0 -1232
- data/lib/stripe/resources/tax/settings.rb +1 -61
- data/lib/stripe/resources/tax/transaction.rb +0 -93
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -16
- data/lib/stripe/resources/tax_code.rb +0 -8
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -8
- data/lib/stripe/resources/tax_id.rb +0 -24
- data/lib/stripe/resources/tax_rate.rb +0 -16
- data/lib/stripe/resources/terminal/configuration.rb +0 -299
- data/lib/stripe/resources/terminal/connection_token.rb +0 -8
- data/lib/stripe/resources/terminal/location.rb +0 -16
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -24
- data/lib/stripe/resources/terminal/reader.rb +0 -241
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -16
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -24
- data/lib/stripe/resources/token.rb +0 -8
- data/lib/stripe/resources/topup.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -8
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -16
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -24
- data/lib/stripe/resources/treasury/financial_account.rb +0 -61
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -192
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -69
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -106
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -114
- data/lib/stripe/resources/treasury/received_credit.rb +0 -97
- data/lib/stripe/resources/treasury/received_debit.rb +0 -89
- data/lib/stripe/resources/treasury/transaction.rb +0 -36
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -24
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -8
- data/lib/stripe/resources/v2/core/account.rb +0 -1900
- data/lib/stripe/resources/v2/core/account_link.rb +0 -51
- data/lib/stripe/resources/v2/core/person.rb +0 -201
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -40
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -8
- data/lib/stripe/resources/v2/event.rb +0 -26
- data/lib/stripe/resources/v2/event_destination.rb +0 -44
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -8
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -8
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -63
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -32
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -90
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -88
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -62
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -24
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -79
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -32
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -32
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -77
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -52
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -35
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -24
- data/lib/stripe/resources/webhook_endpoint.rb +0 -8
- data/lib/stripe/resources.rb +0 -85
- data/lib/stripe/services/billing/alert_service.rb +1 -75
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -13
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -29
- data/lib/stripe/services/checkout/session_service.rb +1 -80
- data/lib/stripe/services/invoice_service.rb +0 -4
- data/lib/stripe/services/issuing/card_service.rb +8 -0
- data/lib/stripe/services/subscription_service.rb +0 -27
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -29
- data/lib/stripe/stripe_object.rb +1 -25
- data/lib/stripe/util.rb +5 -9
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +37685 -116505
- metadata +2 -116
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -21
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -323
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -296
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -284
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -103
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -107
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -232
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -81
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -158
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -214
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -428
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -518
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -108
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -465
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -45
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -250
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -23
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -149
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -176
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -142
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -76
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -162
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -151
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -161
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -259
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -50
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -88
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -25
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -99
- data/lib/stripe/services/v2/tax_service.rb +0 -15
@@ -12,27 +12,11 @@ module Stripe
|
|
12
12
|
class Card < Stripe::StripeObject
|
13
13
|
# Attribute for field commodity_code
|
14
14
|
attr_reader :commodity_code
|
15
|
-
|
16
|
-
def self.inner_class_types
|
17
|
-
@inner_class_types = {}
|
18
|
-
end
|
19
|
-
|
20
|
-
def self.field_remappings
|
21
|
-
@field_remappings = {}
|
22
|
-
end
|
23
15
|
end
|
24
16
|
|
25
17
|
class CardPresent < Stripe::StripeObject
|
26
18
|
# Attribute for field commodity_code
|
27
19
|
attr_reader :commodity_code
|
28
|
-
|
29
|
-
def self.inner_class_types
|
30
|
-
@inner_class_types = {}
|
31
|
-
end
|
32
|
-
|
33
|
-
def self.field_remappings
|
34
|
-
@field_remappings = {}
|
35
|
-
end
|
36
20
|
end
|
37
21
|
|
38
22
|
class Klarna < Stripe::StripeObject
|
@@ -40,14 +24,6 @@ module Stripe
|
|
40
24
|
attr_reader :image_url
|
41
25
|
# Attribute for field product_url
|
42
26
|
attr_reader :product_url
|
43
|
-
|
44
|
-
def self.inner_class_types
|
45
|
-
@inner_class_types = {}
|
46
|
-
end
|
47
|
-
|
48
|
-
def self.field_remappings
|
49
|
-
@field_remappings = {}
|
50
|
-
end
|
51
27
|
end
|
52
28
|
|
53
29
|
class Paypal < Stripe::StripeObject
|
@@ -57,14 +33,6 @@ module Stripe
|
|
57
33
|
attr_reader :description
|
58
34
|
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
59
35
|
attr_reader :sold_by
|
60
|
-
|
61
|
-
def self.inner_class_types
|
62
|
-
@inner_class_types = {}
|
63
|
-
end
|
64
|
-
|
65
|
-
def self.field_remappings
|
66
|
-
@field_remappings = {}
|
67
|
-
end
|
68
36
|
end
|
69
37
|
# Attribute for field card
|
70
38
|
attr_reader :card
|
@@ -74,27 +42,11 @@ module Stripe
|
|
74
42
|
attr_reader :klarna
|
75
43
|
# Attribute for field paypal
|
76
44
|
attr_reader :paypal
|
77
|
-
|
78
|
-
def self.inner_class_types
|
79
|
-
@inner_class_types = { card: Card, card_present: CardPresent, klarna: Klarna, paypal: Paypal }
|
80
|
-
end
|
81
|
-
|
82
|
-
def self.field_remappings
|
83
|
-
@field_remappings = {}
|
84
|
-
end
|
85
45
|
end
|
86
46
|
|
87
47
|
class Tax < Stripe::StripeObject
|
88
48
|
# Total portion of the amount that is for tax.
|
89
49
|
attr_reader :total_tax_amount
|
90
|
-
|
91
|
-
def self.inner_class_types
|
92
|
-
@inner_class_types = {}
|
93
|
-
end
|
94
|
-
|
95
|
-
def self.field_remappings
|
96
|
-
@field_remappings = {}
|
97
|
-
end
|
98
50
|
end
|
99
51
|
# The amount an item was discounted for. Positive integer.
|
100
52
|
attr_reader :discount_amount
|
@@ -116,13 +68,5 @@ module Stripe
|
|
116
68
|
attr_reader :unit_cost
|
117
69
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
118
70
|
attr_reader :unit_of_measure
|
119
|
-
|
120
|
-
def self.inner_class_types
|
121
|
-
@inner_class_types = { payment_method_options: PaymentMethodOptions, tax: Tax }
|
122
|
-
end
|
123
|
-
|
124
|
-
def self.field_remappings
|
125
|
-
@field_remappings = {}
|
126
|
-
end
|
127
71
|
end
|
128
72
|
end
|
@@ -21,27 +21,11 @@ module Stripe
|
|
21
21
|
class HostedConfirmation < Stripe::StripeObject
|
22
22
|
# The custom message that is displayed to the customer after the purchase is complete.
|
23
23
|
attr_reader :custom_message
|
24
|
-
|
25
|
-
def self.inner_class_types
|
26
|
-
@inner_class_types = {}
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.field_remappings
|
30
|
-
@field_remappings = {}
|
31
|
-
end
|
32
24
|
end
|
33
25
|
|
34
26
|
class Redirect < Stripe::StripeObject
|
35
27
|
# The URL the customer will be redirected to after the purchase is complete.
|
36
28
|
attr_reader :url
|
37
|
-
|
38
|
-
def self.inner_class_types
|
39
|
-
@inner_class_types = {}
|
40
|
-
end
|
41
|
-
|
42
|
-
def self.field_remappings
|
43
|
-
@field_remappings = {}
|
44
|
-
end
|
45
29
|
end
|
46
30
|
# Attribute for field hosted_confirmation
|
47
31
|
attr_reader :hosted_confirmation
|
@@ -49,14 +33,6 @@ module Stripe
|
|
49
33
|
attr_reader :redirect
|
50
34
|
# The specified behavior after the purchase is complete.
|
51
35
|
attr_reader :type
|
52
|
-
|
53
|
-
def self.inner_class_types
|
54
|
-
@inner_class_types = { hosted_confirmation: HostedConfirmation, redirect: Redirect }
|
55
|
-
end
|
56
|
-
|
57
|
-
def self.field_remappings
|
58
|
-
@field_remappings = {}
|
59
|
-
end
|
60
36
|
end
|
61
37
|
|
62
38
|
class AutomaticTax < Stripe::StripeObject
|
@@ -65,27 +41,11 @@ module Stripe
|
|
65
41
|
attr_reader :account
|
66
42
|
# Type of the account referenced.
|
67
43
|
attr_reader :type
|
68
|
-
|
69
|
-
def self.inner_class_types
|
70
|
-
@inner_class_types = {}
|
71
|
-
end
|
72
|
-
|
73
|
-
def self.field_remappings
|
74
|
-
@field_remappings = {}
|
75
|
-
end
|
76
44
|
end
|
77
45
|
# If `true`, tax will be calculated automatically using the customer's location.
|
78
46
|
attr_reader :enabled
|
79
47
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
80
48
|
attr_reader :liability
|
81
|
-
|
82
|
-
def self.inner_class_types
|
83
|
-
@inner_class_types = { liability: Liability }
|
84
|
-
end
|
85
|
-
|
86
|
-
def self.field_remappings
|
87
|
-
@field_remappings = {}
|
88
|
-
end
|
89
49
|
end
|
90
50
|
|
91
51
|
class ConsentCollection < Stripe::StripeObject
|
@@ -94,14 +54,6 @@ module Stripe
|
|
94
54
|
#
|
95
55
|
# When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
|
96
56
|
attr_reader :position
|
97
|
-
|
98
|
-
def self.inner_class_types
|
99
|
-
@inner_class_types = {}
|
100
|
-
end
|
101
|
-
|
102
|
-
def self.field_remappings
|
103
|
-
@field_remappings = {}
|
104
|
-
end
|
105
57
|
end
|
106
58
|
# Settings related to the payment method reuse text shown in the Checkout UI.
|
107
59
|
attr_reader :payment_method_reuse_agreement
|
@@ -109,14 +61,6 @@ module Stripe
|
|
109
61
|
attr_reader :promotions
|
110
62
|
# If set to `required`, it requires cutomers to accept the terms of service before being able to pay. If set to `none`, customers won't be shown a checkbox to accept the terms of service.
|
111
63
|
attr_reader :terms_of_service
|
112
|
-
|
113
|
-
def self.inner_class_types
|
114
|
-
@inner_class_types = { payment_method_reuse_agreement: PaymentMethodReuseAgreement }
|
115
|
-
end
|
116
|
-
|
117
|
-
def self.field_remappings
|
118
|
-
@field_remappings = {}
|
119
|
-
end
|
120
64
|
end
|
121
65
|
|
122
66
|
class CustomField < Stripe::StripeObject
|
@@ -126,27 +70,11 @@ module Stripe
|
|
126
70
|
attr_reader :label
|
127
71
|
# The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
|
128
72
|
attr_reader :value
|
129
|
-
|
130
|
-
def self.inner_class_types
|
131
|
-
@inner_class_types = {}
|
132
|
-
end
|
133
|
-
|
134
|
-
def self.field_remappings
|
135
|
-
@field_remappings = {}
|
136
|
-
end
|
137
73
|
end
|
138
74
|
# The value that will pre-fill on the payment page.
|
139
75
|
attr_reader :default_value
|
140
76
|
# The options available for the customer to select. Up to 200 options allowed.
|
141
77
|
attr_reader :options
|
142
|
-
|
143
|
-
def self.inner_class_types
|
144
|
-
@inner_class_types = { options: Option }
|
145
|
-
end
|
146
|
-
|
147
|
-
def self.field_remappings
|
148
|
-
@field_remappings = {}
|
149
|
-
end
|
150
78
|
end
|
151
79
|
|
152
80
|
class Label < Stripe::StripeObject
|
@@ -154,14 +82,6 @@ module Stripe
|
|
154
82
|
attr_reader :custom
|
155
83
|
# The type of the label.
|
156
84
|
attr_reader :type
|
157
|
-
|
158
|
-
def self.inner_class_types
|
159
|
-
@inner_class_types = {}
|
160
|
-
end
|
161
|
-
|
162
|
-
def self.field_remappings
|
163
|
-
@field_remappings = {}
|
164
|
-
end
|
165
85
|
end
|
166
86
|
|
167
87
|
class Numeric < Stripe::StripeObject
|
@@ -171,14 +91,6 @@ module Stripe
|
|
171
91
|
attr_reader :maximum_length
|
172
92
|
# The minimum character length requirement for the customer's input.
|
173
93
|
attr_reader :minimum_length
|
174
|
-
|
175
|
-
def self.inner_class_types
|
176
|
-
@inner_class_types = {}
|
177
|
-
end
|
178
|
-
|
179
|
-
def self.field_remappings
|
180
|
-
@field_remappings = {}
|
181
|
-
end
|
182
94
|
end
|
183
95
|
|
184
96
|
class Text < Stripe::StripeObject
|
@@ -188,14 +100,6 @@ module Stripe
|
|
188
100
|
attr_reader :maximum_length
|
189
101
|
# The minimum character length requirement for the customer's input.
|
190
102
|
attr_reader :minimum_length
|
191
|
-
|
192
|
-
def self.inner_class_types
|
193
|
-
@inner_class_types = {}
|
194
|
-
end
|
195
|
-
|
196
|
-
def self.field_remappings
|
197
|
-
@field_remappings = {}
|
198
|
-
end
|
199
103
|
end
|
200
104
|
# Attribute for field dropdown
|
201
105
|
attr_reader :dropdown
|
@@ -211,67 +115,27 @@ module Stripe
|
|
211
115
|
attr_reader :text
|
212
116
|
# The type of the field.
|
213
117
|
attr_reader :type
|
214
|
-
|
215
|
-
def self.inner_class_types
|
216
|
-
@inner_class_types = { dropdown: Dropdown, label: Label, numeric: Numeric, text: Text }
|
217
|
-
end
|
218
|
-
|
219
|
-
def self.field_remappings
|
220
|
-
@field_remappings = {}
|
221
|
-
end
|
222
118
|
end
|
223
119
|
|
224
120
|
class CustomText < Stripe::StripeObject
|
225
121
|
class AfterSubmit < Stripe::StripeObject
|
226
122
|
# Text may be up to 1200 characters in length.
|
227
123
|
attr_reader :message
|
228
|
-
|
229
|
-
def self.inner_class_types
|
230
|
-
@inner_class_types = {}
|
231
|
-
end
|
232
|
-
|
233
|
-
def self.field_remappings
|
234
|
-
@field_remappings = {}
|
235
|
-
end
|
236
124
|
end
|
237
125
|
|
238
126
|
class ShippingAddress < Stripe::StripeObject
|
239
127
|
# Text may be up to 1200 characters in length.
|
240
128
|
attr_reader :message
|
241
|
-
|
242
|
-
def self.inner_class_types
|
243
|
-
@inner_class_types = {}
|
244
|
-
end
|
245
|
-
|
246
|
-
def self.field_remappings
|
247
|
-
@field_remappings = {}
|
248
|
-
end
|
249
129
|
end
|
250
130
|
|
251
131
|
class Submit < Stripe::StripeObject
|
252
132
|
# Text may be up to 1200 characters in length.
|
253
133
|
attr_reader :message
|
254
|
-
|
255
|
-
def self.inner_class_types
|
256
|
-
@inner_class_types = {}
|
257
|
-
end
|
258
|
-
|
259
|
-
def self.field_remappings
|
260
|
-
@field_remappings = {}
|
261
|
-
end
|
262
134
|
end
|
263
135
|
|
264
136
|
class TermsOfServiceAcceptance < Stripe::StripeObject
|
265
137
|
# Text may be up to 1200 characters in length.
|
266
138
|
attr_reader :message
|
267
|
-
|
268
|
-
def self.inner_class_types
|
269
|
-
@inner_class_types = {}
|
270
|
-
end
|
271
|
-
|
272
|
-
def self.field_remappings
|
273
|
-
@field_remappings = {}
|
274
|
-
end
|
275
139
|
end
|
276
140
|
# Custom text that should be displayed after the payment confirmation button.
|
277
141
|
attr_reader :after_submit
|
@@ -281,19 +145,6 @@ module Stripe
|
|
281
145
|
attr_reader :submit
|
282
146
|
# Custom text that should be displayed in place of the default terms of service agreement text.
|
283
147
|
attr_reader :terms_of_service_acceptance
|
284
|
-
|
285
|
-
def self.inner_class_types
|
286
|
-
@inner_class_types = {
|
287
|
-
after_submit: AfterSubmit,
|
288
|
-
shipping_address: ShippingAddress,
|
289
|
-
submit: Submit,
|
290
|
-
terms_of_service_acceptance: TermsOfServiceAcceptance,
|
291
|
-
}
|
292
|
-
end
|
293
|
-
|
294
|
-
def self.field_remappings
|
295
|
-
@field_remappings = {}
|
296
|
-
end
|
297
148
|
end
|
298
149
|
|
299
150
|
class InvoiceCreation < Stripe::StripeObject
|
@@ -303,14 +154,6 @@ module Stripe
|
|
303
154
|
attr_reader :name
|
304
155
|
# The value of the custom field.
|
305
156
|
attr_reader :value
|
306
|
-
|
307
|
-
def self.inner_class_types
|
308
|
-
@inner_class_types = {}
|
309
|
-
end
|
310
|
-
|
311
|
-
def self.field_remappings
|
312
|
-
@field_remappings = {}
|
313
|
-
end
|
314
157
|
end
|
315
158
|
|
316
159
|
class Issuer < Stripe::StripeObject
|
@@ -318,14 +161,6 @@ module Stripe
|
|
318
161
|
attr_reader :account
|
319
162
|
# Type of the account referenced.
|
320
163
|
attr_reader :type
|
321
|
-
|
322
|
-
def self.inner_class_types
|
323
|
-
@inner_class_types = {}
|
324
|
-
end
|
325
|
-
|
326
|
-
def self.field_remappings
|
327
|
-
@field_remappings = {}
|
328
|
-
end
|
329
164
|
end
|
330
165
|
|
331
166
|
class RenderingOptions < Stripe::StripeObject
|
@@ -333,14 +168,6 @@ module Stripe
|
|
333
168
|
attr_reader :amount_tax_display
|
334
169
|
# ID of the invoice rendering template to be used for the generated invoice.
|
335
170
|
attr_reader :template
|
336
|
-
|
337
|
-
def self.inner_class_types
|
338
|
-
@inner_class_types = {}
|
339
|
-
end
|
340
|
-
|
341
|
-
def self.field_remappings
|
342
|
-
@field_remappings = {}
|
343
|
-
end
|
344
171
|
end
|
345
172
|
# The account tax IDs associated with the invoice.
|
346
173
|
attr_reader :account_tax_ids
|
@@ -356,31 +183,11 @@ module Stripe
|
|
356
183
|
attr_reader :metadata
|
357
184
|
# Options for invoice PDF rendering.
|
358
185
|
attr_reader :rendering_options
|
359
|
-
|
360
|
-
def self.inner_class_types
|
361
|
-
@inner_class_types = {
|
362
|
-
custom_fields: CustomField,
|
363
|
-
issuer: Issuer,
|
364
|
-
rendering_options: RenderingOptions,
|
365
|
-
}
|
366
|
-
end
|
367
|
-
|
368
|
-
def self.field_remappings
|
369
|
-
@field_remappings = {}
|
370
|
-
end
|
371
186
|
end
|
372
187
|
# Enable creating an invoice on successful payment.
|
373
188
|
attr_reader :enabled
|
374
189
|
# Configuration for the invoice. Default invoice values will be used if unspecified.
|
375
190
|
attr_reader :invoice_data
|
376
|
-
|
377
|
-
def self.inner_class_types
|
378
|
-
@inner_class_types = { invoice_data: InvoiceData }
|
379
|
-
end
|
380
|
-
|
381
|
-
def self.field_remappings
|
382
|
-
@field_remappings = {}
|
383
|
-
end
|
384
191
|
end
|
385
192
|
|
386
193
|
class OptionalItem < Stripe::StripeObject
|
@@ -391,14 +198,6 @@ module Stripe
|
|
391
198
|
attr_reader :maximum
|
392
199
|
# The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
|
393
200
|
attr_reader :minimum
|
394
|
-
|
395
|
-
def self.inner_class_types
|
396
|
-
@inner_class_types = {}
|
397
|
-
end
|
398
|
-
|
399
|
-
def self.field_remappings
|
400
|
-
@field_remappings = {}
|
401
|
-
end
|
402
201
|
end
|
403
202
|
# Attribute for field adjustable_quantity
|
404
203
|
attr_reader :adjustable_quantity
|
@@ -406,14 +205,6 @@ module Stripe
|
|
406
205
|
attr_reader :price
|
407
206
|
# Attribute for field quantity
|
408
207
|
attr_reader :quantity
|
409
|
-
|
410
|
-
def self.inner_class_types
|
411
|
-
@inner_class_types = { adjustable_quantity: AdjustableQuantity }
|
412
|
-
end
|
413
|
-
|
414
|
-
def self.field_remappings
|
415
|
-
@field_remappings = {}
|
416
|
-
end
|
417
208
|
end
|
418
209
|
|
419
210
|
class PaymentIntentData < Stripe::StripeObject
|
@@ -431,27 +222,11 @@ module Stripe
|
|
431
222
|
attr_reader :statement_descriptor_suffix
|
432
223
|
# A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
|
433
224
|
attr_reader :transfer_group
|
434
|
-
|
435
|
-
def self.inner_class_types
|
436
|
-
@inner_class_types = {}
|
437
|
-
end
|
438
|
-
|
439
|
-
def self.field_remappings
|
440
|
-
@field_remappings = {}
|
441
|
-
end
|
442
225
|
end
|
443
226
|
|
444
227
|
class PhoneNumberCollection < Stripe::StripeObject
|
445
228
|
# If `true`, a phone number will be collected during checkout.
|
446
229
|
attr_reader :enabled
|
447
|
-
|
448
|
-
def self.inner_class_types
|
449
|
-
@inner_class_types = {}
|
450
|
-
end
|
451
|
-
|
452
|
-
def self.field_remappings
|
453
|
-
@field_remappings = {}
|
454
|
-
end
|
455
230
|
end
|
456
231
|
|
457
232
|
class Restrictions < Stripe::StripeObject
|
@@ -460,38 +235,14 @@ module Stripe
|
|
460
235
|
attr_reader :count
|
461
236
|
# The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met.
|
462
237
|
attr_reader :limit
|
463
|
-
|
464
|
-
def self.inner_class_types
|
465
|
-
@inner_class_types = {}
|
466
|
-
end
|
467
|
-
|
468
|
-
def self.field_remappings
|
469
|
-
@field_remappings = {}
|
470
|
-
end
|
471
238
|
end
|
472
239
|
# Attribute for field completed_sessions
|
473
240
|
attr_reader :completed_sessions
|
474
|
-
|
475
|
-
def self.inner_class_types
|
476
|
-
@inner_class_types = { completed_sessions: CompletedSessions }
|
477
|
-
end
|
478
|
-
|
479
|
-
def self.field_remappings
|
480
|
-
@field_remappings = {}
|
481
|
-
end
|
482
241
|
end
|
483
242
|
|
484
243
|
class ShippingAddressCollection < Stripe::StripeObject
|
485
244
|
# An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.
|
486
245
|
attr_reader :allowed_countries
|
487
|
-
|
488
|
-
def self.inner_class_types
|
489
|
-
@inner_class_types = {}
|
490
|
-
end
|
491
|
-
|
492
|
-
def self.field_remappings
|
493
|
-
@field_remappings = {}
|
494
|
-
end
|
495
246
|
end
|
496
247
|
|
497
248
|
class ShippingOption < Stripe::StripeObject
|
@@ -499,14 +250,6 @@ module Stripe
|
|
499
250
|
attr_reader :shipping_amount
|
500
251
|
# The ID of the Shipping Rate to use for this shipping option.
|
501
252
|
attr_reader :shipping_rate
|
502
|
-
|
503
|
-
def self.inner_class_types
|
504
|
-
@inner_class_types = {}
|
505
|
-
end
|
506
|
-
|
507
|
-
def self.field_remappings
|
508
|
-
@field_remappings = {}
|
509
|
-
end
|
510
253
|
end
|
511
254
|
|
512
255
|
class SubscriptionData < Stripe::StripeObject
|
@@ -516,50 +259,18 @@ module Stripe
|
|
516
259
|
attr_reader :account
|
517
260
|
# Type of the account referenced.
|
518
261
|
attr_reader :type
|
519
|
-
|
520
|
-
def self.inner_class_types
|
521
|
-
@inner_class_types = {}
|
522
|
-
end
|
523
|
-
|
524
|
-
def self.field_remappings
|
525
|
-
@field_remappings = {}
|
526
|
-
end
|
527
262
|
end
|
528
263
|
# Attribute for field issuer
|
529
264
|
attr_reader :issuer
|
530
|
-
|
531
|
-
def self.inner_class_types
|
532
|
-
@inner_class_types = { issuer: Issuer }
|
533
|
-
end
|
534
|
-
|
535
|
-
def self.field_remappings
|
536
|
-
@field_remappings = {}
|
537
|
-
end
|
538
265
|
end
|
539
266
|
|
540
267
|
class TrialSettings < Stripe::StripeObject
|
541
268
|
class EndBehavior < Stripe::StripeObject
|
542
269
|
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
543
270
|
attr_reader :missing_payment_method
|
544
|
-
|
545
|
-
def self.inner_class_types
|
546
|
-
@inner_class_types = {}
|
547
|
-
end
|
548
|
-
|
549
|
-
def self.field_remappings
|
550
|
-
@field_remappings = {}
|
551
|
-
end
|
552
271
|
end
|
553
272
|
# Defines how a subscription behaves when a free trial ends.
|
554
273
|
attr_reader :end_behavior
|
555
|
-
|
556
|
-
def self.inner_class_types
|
557
|
-
@inner_class_types = { end_behavior: EndBehavior }
|
558
|
-
end
|
559
|
-
|
560
|
-
def self.field_remappings
|
561
|
-
@field_remappings = {}
|
562
|
-
end
|
563
274
|
end
|
564
275
|
# 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 Stripe surfaces and certain local payment methods UIs.
|
565
276
|
attr_reader :description
|
@@ -571,14 +282,6 @@ module Stripe
|
|
571
282
|
attr_reader :trial_period_days
|
572
283
|
# Settings related to subscription trials.
|
573
284
|
attr_reader :trial_settings
|
574
|
-
|
575
|
-
def self.inner_class_types
|
576
|
-
@inner_class_types = { invoice_settings: InvoiceSettings, trial_settings: TrialSettings }
|
577
|
-
end
|
578
|
-
|
579
|
-
def self.field_remappings
|
580
|
-
@field_remappings = {}
|
581
|
-
end
|
582
285
|
end
|
583
286
|
|
584
287
|
class TaxIdCollection < Stripe::StripeObject
|
@@ -586,14 +289,6 @@ module Stripe
|
|
586
289
|
attr_reader :enabled
|
587
290
|
# Attribute for field required
|
588
291
|
attr_reader :required
|
589
|
-
|
590
|
-
def self.inner_class_types
|
591
|
-
@inner_class_types = {}
|
592
|
-
end
|
593
|
-
|
594
|
-
def self.field_remappings
|
595
|
-
@field_remappings = {}
|
596
|
-
end
|
597
292
|
end
|
598
293
|
|
599
294
|
class TransferData < Stripe::StripeObject
|
@@ -601,14 +296,6 @@ module Stripe
|
|
601
296
|
attr_reader :amount
|
602
297
|
# The connected account receiving the transfer.
|
603
298
|
attr_reader :destination
|
604
|
-
|
605
|
-
def self.inner_class_types
|
606
|
-
@inner_class_types = {}
|
607
|
-
end
|
608
|
-
|
609
|
-
def self.field_remappings
|
610
|
-
@field_remappings = {}
|
611
|
-
end
|
612
299
|
end
|
613
300
|
|
614
301
|
class ListParams < Stripe::RequestParams
|
@@ -2079,29 +1766,5 @@ module Stripe
|
|
2079
1766
|
opts: opts
|
2080
1767
|
)
|
2081
1768
|
end
|
2082
|
-
|
2083
|
-
def self.inner_class_types
|
2084
|
-
@inner_class_types = {
|
2085
|
-
after_completion: AfterCompletion,
|
2086
|
-
automatic_tax: AutomaticTax,
|
2087
|
-
consent_collection: ConsentCollection,
|
2088
|
-
custom_fields: CustomField,
|
2089
|
-
custom_text: CustomText,
|
2090
|
-
invoice_creation: InvoiceCreation,
|
2091
|
-
optional_items: OptionalItem,
|
2092
|
-
payment_intent_data: PaymentIntentData,
|
2093
|
-
phone_number_collection: PhoneNumberCollection,
|
2094
|
-
restrictions: Restrictions,
|
2095
|
-
shipping_address_collection: ShippingAddressCollection,
|
2096
|
-
shipping_options: ShippingOption,
|
2097
|
-
subscription_data: SubscriptionData,
|
2098
|
-
tax_id_collection: TaxIdCollection,
|
2099
|
-
transfer_data: TransferData,
|
2100
|
-
}
|
2101
|
-
end
|
2102
|
-
|
2103
|
-
def self.field_remappings
|
2104
|
-
@field_remappings = {}
|
2105
|
-
end
|
2106
1769
|
end
|
2107
1770
|
end
|