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
@@ -22,78 +22,16 @@ module Stripe
|
|
22
22
|
end
|
23
23
|
|
24
24
|
class Parent < Stripe::StripeObject
|
25
|
-
class LicenseFeeSubscriptionDetails < Stripe::StripeObject
|
26
|
-
# The license fee subscription that generated this invoice item
|
27
|
-
attr_reader :license_fee_subscription
|
28
|
-
# The license fee version that generated this invoice item
|
29
|
-
attr_reader :license_fee_version
|
30
|
-
# The pricing plan subscription that manages the license fee subscription
|
31
|
-
attr_reader :pricing_plan_subscription
|
32
|
-
# The pricing plan version at the time this invoice item was generated
|
33
|
-
attr_reader :pricing_plan_version
|
34
|
-
|
35
|
-
def self.inner_class_types
|
36
|
-
@inner_class_types = {}
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.field_remappings
|
40
|
-
@field_remappings = {}
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
class RateCardSubscriptionDetails < Stripe::StripeObject
|
45
|
-
# The pricing plan subscription that manages the rate card subscription
|
46
|
-
attr_reader :pricing_plan_subscription
|
47
|
-
# The pricing plan version at the time this invoice item was generated
|
48
|
-
attr_reader :pricing_plan_version
|
49
|
-
# The rate card subscription that generated this invoice item
|
50
|
-
attr_reader :rate_card_subscription
|
51
|
-
# The rate card version that generated this invoice item
|
52
|
-
attr_reader :rate_card_version
|
53
|
-
|
54
|
-
def self.inner_class_types
|
55
|
-
@inner_class_types = {}
|
56
|
-
end
|
57
|
-
|
58
|
-
def self.field_remappings
|
59
|
-
@field_remappings = {}
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
25
|
class SubscriptionDetails < Stripe::StripeObject
|
64
26
|
# The subscription that generated this invoice item
|
65
27
|
attr_reader :subscription
|
66
28
|
# The subscription item that generated this invoice item
|
67
29
|
attr_reader :subscription_item
|
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
30
|
end
|
77
|
-
# Details about the license fee subscription that generated this invoice item
|
78
|
-
attr_reader :license_fee_subscription_details
|
79
|
-
# Details about the rate card subscription that generated this invoice item
|
80
|
-
attr_reader :rate_card_subscription_details
|
81
31
|
# Details about the subscription that generated this invoice item
|
82
32
|
attr_reader :subscription_details
|
83
33
|
# The type of parent that generated this invoice item
|
84
34
|
attr_reader :type
|
85
|
-
|
86
|
-
def self.inner_class_types
|
87
|
-
@inner_class_types = {
|
88
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
89
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
90
|
-
subscription_details: SubscriptionDetails,
|
91
|
-
}
|
92
|
-
end
|
93
|
-
|
94
|
-
def self.field_remappings
|
95
|
-
@field_remappings = {}
|
96
|
-
end
|
97
35
|
end
|
98
36
|
|
99
37
|
class Period < Stripe::StripeObject
|
@@ -101,87 +39,21 @@ module Stripe
|
|
101
39
|
attr_reader :end
|
102
40
|
# The start of the period. This value is inclusive.
|
103
41
|
attr_reader :start
|
104
|
-
|
105
|
-
def self.inner_class_types
|
106
|
-
@inner_class_types = {}
|
107
|
-
end
|
108
|
-
|
109
|
-
def self.field_remappings
|
110
|
-
@field_remappings = {}
|
111
|
-
end
|
112
42
|
end
|
113
43
|
|
114
44
|
class Pricing < Stripe::StripeObject
|
115
|
-
class LicenseFeeDetails < Stripe::StripeObject
|
116
|
-
# The ID of the license fee this item is associated with
|
117
|
-
attr_reader :license_fee
|
118
|
-
# The version of the license fee this item is associated with
|
119
|
-
attr_reader :license_fee_version
|
120
|
-
# The ID of the licensed item this item is associated with
|
121
|
-
attr_reader :licensed_item
|
122
|
-
|
123
|
-
def self.inner_class_types
|
124
|
-
@inner_class_types = {}
|
125
|
-
end
|
126
|
-
|
127
|
-
def self.field_remappings
|
128
|
-
@field_remappings = {}
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
45
|
class PriceDetails < Stripe::StripeObject
|
133
46
|
# The ID of the price this item is associated with.
|
134
47
|
attr_reader :price
|
135
48
|
# The ID of the product this item is associated with.
|
136
49
|
attr_reader :product
|
137
|
-
|
138
|
-
def self.inner_class_types
|
139
|
-
@inner_class_types = {}
|
140
|
-
end
|
141
|
-
|
142
|
-
def self.field_remappings
|
143
|
-
@field_remappings = {}
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
class RateCardRateDetails < Stripe::StripeObject
|
148
|
-
# The ID of billable item this item is associated with
|
149
|
-
attr_reader :metered_item
|
150
|
-
# The ID of the rate card this item is associated with
|
151
|
-
attr_reader :rate_card
|
152
|
-
# The ID of the rate card rate this item is associated with
|
153
|
-
attr_reader :rate_card_rate
|
154
|
-
|
155
|
-
def self.inner_class_types
|
156
|
-
@inner_class_types = {}
|
157
|
-
end
|
158
|
-
|
159
|
-
def self.field_remappings
|
160
|
-
@field_remappings = {}
|
161
|
-
end
|
162
50
|
end
|
163
|
-
# Attribute for field license_fee_details
|
164
|
-
attr_reader :license_fee_details
|
165
51
|
# Attribute for field price_details
|
166
52
|
attr_reader :price_details
|
167
|
-
# Attribute for field rate_card_rate_details
|
168
|
-
attr_reader :rate_card_rate_details
|
169
53
|
# The type of the pricing details.
|
170
54
|
attr_reader :type
|
171
55
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
172
56
|
attr_reader :unit_amount_decimal
|
173
|
-
|
174
|
-
def self.inner_class_types
|
175
|
-
@inner_class_types = {
|
176
|
-
license_fee_details: LicenseFeeDetails,
|
177
|
-
price_details: PriceDetails,
|
178
|
-
rate_card_rate_details: RateCardRateDetails,
|
179
|
-
}
|
180
|
-
end
|
181
|
-
|
182
|
-
def self.field_remappings
|
183
|
-
@field_remappings = {}
|
184
|
-
end
|
185
57
|
end
|
186
58
|
|
187
59
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -663,13 +535,5 @@ module Stripe
|
|
663
535
|
opts: opts
|
664
536
|
)
|
665
537
|
end
|
666
|
-
|
667
|
-
def self.inner_class_types
|
668
|
-
@inner_class_types = { parent: Parent, period: Period, pricing: Pricing }
|
669
|
-
end
|
670
|
-
|
671
|
-
def self.field_remappings
|
672
|
-
@field_remappings = {}
|
673
|
-
end
|
674
538
|
end
|
675
539
|
end
|
@@ -18,14 +18,6 @@ module Stripe
|
|
18
18
|
attr_reader :amount
|
19
19
|
# The discount that was applied to get this discount amount.
|
20
20
|
attr_reader :discount
|
21
|
-
|
22
|
-
def self.inner_class_types
|
23
|
-
@inner_class_types = {}
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.field_remappings
|
27
|
-
@field_remappings = {}
|
28
|
-
end
|
29
21
|
end
|
30
22
|
|
31
23
|
class MarginAmount < Stripe::StripeObject
|
@@ -33,14 +25,6 @@ module Stripe
|
|
33
25
|
attr_reader :amount
|
34
26
|
# The margin that was applied to get this margin amount.
|
35
27
|
attr_reader :margin
|
36
|
-
|
37
|
-
def self.inner_class_types
|
38
|
-
@inner_class_types = {}
|
39
|
-
end
|
40
|
-
|
41
|
-
def self.field_remappings
|
42
|
-
@field_remappings = {}
|
43
|
-
end
|
44
28
|
end
|
45
29
|
|
46
30
|
class Parent < Stripe::StripeObject
|
@@ -51,25 +35,9 @@ module Stripe
|
|
51
35
|
attr_reader :invoice
|
52
36
|
# Credited invoice line items
|
53
37
|
attr_reader :invoice_line_items
|
54
|
-
|
55
|
-
def self.inner_class_types
|
56
|
-
@inner_class_types = {}
|
57
|
-
end
|
58
|
-
|
59
|
-
def self.field_remappings
|
60
|
-
@field_remappings = {}
|
61
|
-
end
|
62
38
|
end
|
63
39
|
# For a credit proration `line_item`, the original debit line_items to which the credit proration applies.
|
64
40
|
attr_reader :credited_items
|
65
|
-
|
66
|
-
def self.inner_class_types
|
67
|
-
@inner_class_types = { credited_items: CreditedItems }
|
68
|
-
end
|
69
|
-
|
70
|
-
def self.field_remappings
|
71
|
-
@field_remappings = {}
|
72
|
-
end
|
73
41
|
end
|
74
42
|
# The invoice item that generated this line item
|
75
43
|
attr_reader :invoice_item
|
@@ -79,56 +47,6 @@ module Stripe
|
|
79
47
|
attr_reader :proration_details
|
80
48
|
# The subscription that the invoice item belongs to
|
81
49
|
attr_reader :subscription
|
82
|
-
|
83
|
-
def self.inner_class_types
|
84
|
-
@inner_class_types = { proration_details: ProrationDetails }
|
85
|
-
end
|
86
|
-
|
87
|
-
def self.field_remappings
|
88
|
-
@field_remappings = {}
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class LicenseFeeSubscriptionDetails < Stripe::StripeObject
|
93
|
-
# The invoice item that generated this line item
|
94
|
-
attr_reader :invoice_item
|
95
|
-
# The license fee subscription that generated this line item
|
96
|
-
attr_reader :license_fee_subscription
|
97
|
-
# The license fee version at the time this line item was generated
|
98
|
-
attr_reader :license_fee_version
|
99
|
-
# The pricing plan subscription that manages the license fee subscription
|
100
|
-
attr_reader :pricing_plan_subscription
|
101
|
-
# The pricing plan version at the time this line item was generated
|
102
|
-
attr_reader :pricing_plan_version
|
103
|
-
|
104
|
-
def self.inner_class_types
|
105
|
-
@inner_class_types = {}
|
106
|
-
end
|
107
|
-
|
108
|
-
def self.field_remappings
|
109
|
-
@field_remappings = {}
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
class RateCardSubscriptionDetails < Stripe::StripeObject
|
114
|
-
# The invoice item that generated this line item
|
115
|
-
attr_reader :invoice_item
|
116
|
-
# The pricing plan subscription that manages the rate card subscription
|
117
|
-
attr_reader :pricing_plan_subscription
|
118
|
-
# The pricing plan version at the time this line item was generated
|
119
|
-
attr_reader :pricing_plan_version
|
120
|
-
# The rate card subscription that generated this line item
|
121
|
-
attr_reader :rate_card_subscription
|
122
|
-
# The rate card version at the time this line item was generated
|
123
|
-
attr_reader :rate_card_version
|
124
|
-
|
125
|
-
def self.inner_class_types
|
126
|
-
@inner_class_types = {}
|
127
|
-
end
|
128
|
-
|
129
|
-
def self.field_remappings
|
130
|
-
@field_remappings = {}
|
131
|
-
end
|
132
50
|
end
|
133
51
|
|
134
52
|
class SubscriptionItemDetails < Stripe::StripeObject
|
@@ -138,25 +56,9 @@ module Stripe
|
|
138
56
|
attr_reader :invoice
|
139
57
|
# Credited invoice line items
|
140
58
|
attr_reader :invoice_line_items
|
141
|
-
|
142
|
-
def self.inner_class_types
|
143
|
-
@inner_class_types = {}
|
144
|
-
end
|
145
|
-
|
146
|
-
def self.field_remappings
|
147
|
-
@field_remappings = {}
|
148
|
-
end
|
149
59
|
end
|
150
60
|
# For a credit proration `line_item`, the original debit line_items to which the credit proration applies.
|
151
61
|
attr_reader :credited_items
|
152
|
-
|
153
|
-
def self.inner_class_types
|
154
|
-
@inner_class_types = { credited_items: CreditedItems }
|
155
|
-
end
|
156
|
-
|
157
|
-
def self.field_remappings
|
158
|
-
@field_remappings = {}
|
159
|
-
end
|
160
62
|
end
|
161
63
|
# The invoice item that generated this line item
|
162
64
|
attr_reader :invoice_item
|
@@ -168,38 +70,13 @@ module Stripe
|
|
168
70
|
attr_reader :subscription
|
169
71
|
# The subscription item that generated this line item
|
170
72
|
attr_reader :subscription_item
|
171
|
-
|
172
|
-
def self.inner_class_types
|
173
|
-
@inner_class_types = { proration_details: ProrationDetails }
|
174
|
-
end
|
175
|
-
|
176
|
-
def self.field_remappings
|
177
|
-
@field_remappings = {}
|
178
|
-
end
|
179
73
|
end
|
180
74
|
# Details about the invoice item that generated this line item
|
181
75
|
attr_reader :invoice_item_details
|
182
|
-
# Details about the license fee subscription that generated this line item
|
183
|
-
attr_reader :license_fee_subscription_details
|
184
|
-
# Details about the rate card subscription that generated this line item
|
185
|
-
attr_reader :rate_card_subscription_details
|
186
76
|
# Details about the subscription item that generated this line item
|
187
77
|
attr_reader :subscription_item_details
|
188
78
|
# The type of parent that generated this line item
|
189
79
|
attr_reader :type
|
190
|
-
|
191
|
-
def self.inner_class_types
|
192
|
-
@inner_class_types = {
|
193
|
-
invoice_item_details: InvoiceItemDetails,
|
194
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
195
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
196
|
-
subscription_item_details: SubscriptionItemDetails,
|
197
|
-
}
|
198
|
-
end
|
199
|
-
|
200
|
-
def self.field_remappings
|
201
|
-
@field_remappings = {}
|
202
|
-
end
|
203
80
|
end
|
204
81
|
|
205
82
|
class Period < Stripe::StripeObject
|
@@ -207,14 +84,6 @@ module Stripe
|
|
207
84
|
attr_reader :end
|
208
85
|
# The start of the period. This value is inclusive.
|
209
86
|
attr_reader :start
|
210
|
-
|
211
|
-
def self.inner_class_types
|
212
|
-
@inner_class_types = {}
|
213
|
-
end
|
214
|
-
|
215
|
-
def self.field_remappings
|
216
|
-
@field_remappings = {}
|
217
|
-
end
|
218
87
|
end
|
219
88
|
|
220
89
|
class PretaxCreditAmount < Stripe::StripeObject
|
@@ -228,87 +97,21 @@ module Stripe
|
|
228
97
|
attr_reader :margin
|
229
98
|
# Type of the pretax credit amount referenced.
|
230
99
|
attr_reader :type
|
231
|
-
|
232
|
-
def self.inner_class_types
|
233
|
-
@inner_class_types = {}
|
234
|
-
end
|
235
|
-
|
236
|
-
def self.field_remappings
|
237
|
-
@field_remappings = {}
|
238
|
-
end
|
239
100
|
end
|
240
101
|
|
241
102
|
class Pricing < Stripe::StripeObject
|
242
|
-
class LicenseFeeDetails < Stripe::StripeObject
|
243
|
-
# The ID of the license fee this item is associated with
|
244
|
-
attr_reader :license_fee
|
245
|
-
# The version of the license fee this item is associated with
|
246
|
-
attr_reader :license_fee_version
|
247
|
-
# The ID of the licensed item this item is associated with
|
248
|
-
attr_reader :licensed_item
|
249
|
-
|
250
|
-
def self.inner_class_types
|
251
|
-
@inner_class_types = {}
|
252
|
-
end
|
253
|
-
|
254
|
-
def self.field_remappings
|
255
|
-
@field_remappings = {}
|
256
|
-
end
|
257
|
-
end
|
258
|
-
|
259
103
|
class PriceDetails < Stripe::StripeObject
|
260
104
|
# The ID of the price this item is associated with.
|
261
105
|
attr_reader :price
|
262
106
|
# The ID of the product this item is associated with.
|
263
107
|
attr_reader :product
|
264
|
-
|
265
|
-
def self.inner_class_types
|
266
|
-
@inner_class_types = {}
|
267
|
-
end
|
268
|
-
|
269
|
-
def self.field_remappings
|
270
|
-
@field_remappings = {}
|
271
|
-
end
|
272
|
-
end
|
273
|
-
|
274
|
-
class RateCardRateDetails < Stripe::StripeObject
|
275
|
-
# The ID of billable item this item is associated with
|
276
|
-
attr_reader :metered_item
|
277
|
-
# The ID of the rate card this item is associated with
|
278
|
-
attr_reader :rate_card
|
279
|
-
# The ID of the rate card rate this item is associated with
|
280
|
-
attr_reader :rate_card_rate
|
281
|
-
|
282
|
-
def self.inner_class_types
|
283
|
-
@inner_class_types = {}
|
284
|
-
end
|
285
|
-
|
286
|
-
def self.field_remappings
|
287
|
-
@field_remappings = {}
|
288
|
-
end
|
289
108
|
end
|
290
|
-
# Attribute for field license_fee_details
|
291
|
-
attr_reader :license_fee_details
|
292
109
|
# Attribute for field price_details
|
293
110
|
attr_reader :price_details
|
294
|
-
# Attribute for field rate_card_rate_details
|
295
|
-
attr_reader :rate_card_rate_details
|
296
111
|
# The type of the pricing details.
|
297
112
|
attr_reader :type
|
298
113
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
299
114
|
attr_reader :unit_amount_decimal
|
300
|
-
|
301
|
-
def self.inner_class_types
|
302
|
-
@inner_class_types = {
|
303
|
-
license_fee_details: LicenseFeeDetails,
|
304
|
-
price_details: PriceDetails,
|
305
|
-
rate_card_rate_details: RateCardRateDetails,
|
306
|
-
}
|
307
|
-
end
|
308
|
-
|
309
|
-
def self.field_remappings
|
310
|
-
@field_remappings = {}
|
311
|
-
end
|
312
115
|
end
|
313
116
|
|
314
117
|
class TaxCalculationReference < Stripe::StripeObject
|
@@ -316,28 +119,12 @@ module Stripe
|
|
316
119
|
attr_reader :calculation_id
|
317
120
|
# The calculation identifier for tax calculation response line item.
|
318
121
|
attr_reader :calculation_item_id
|
319
|
-
|
320
|
-
def self.inner_class_types
|
321
|
-
@inner_class_types = {}
|
322
|
-
end
|
323
|
-
|
324
|
-
def self.field_remappings
|
325
|
-
@field_remappings = {}
|
326
|
-
end
|
327
122
|
end
|
328
123
|
|
329
124
|
class Tax < Stripe::StripeObject
|
330
125
|
class TaxRateDetails < Stripe::StripeObject
|
331
126
|
# Attribute for field tax_rate
|
332
127
|
attr_reader :tax_rate
|
333
|
-
|
334
|
-
def self.inner_class_types
|
335
|
-
@inner_class_types = {}
|
336
|
-
end
|
337
|
-
|
338
|
-
def self.field_remappings
|
339
|
-
@field_remappings = {}
|
340
|
-
end
|
341
128
|
end
|
342
129
|
# The amount of the tax, in cents (or local equivalent).
|
343
130
|
attr_reader :amount
|
@@ -351,14 +138,6 @@ module Stripe
|
|
351
138
|
attr_reader :taxable_amount
|
352
139
|
# The type of tax information.
|
353
140
|
attr_reader :type
|
354
|
-
|
355
|
-
def self.inner_class_types
|
356
|
-
@inner_class_types = { tax_rate_details: TaxRateDetails }
|
357
|
-
end
|
358
|
-
|
359
|
-
def self.field_remappings
|
360
|
-
@field_remappings = {}
|
361
|
-
end
|
362
141
|
end
|
363
142
|
|
364
143
|
class UpdateParams < Stripe::RequestParams
|
@@ -650,22 +429,5 @@ module Stripe
|
|
650
429
|
opts: opts
|
651
430
|
)
|
652
431
|
end
|
653
|
-
|
654
|
-
def self.inner_class_types
|
655
|
-
@inner_class_types = {
|
656
|
-
discount_amounts: DiscountAmount,
|
657
|
-
margin_amounts: MarginAmount,
|
658
|
-
parent: Parent,
|
659
|
-
period: Period,
|
660
|
-
pretax_credit_amounts: PretaxCreditAmount,
|
661
|
-
pricing: Pricing,
|
662
|
-
tax_calculation_reference: TaxCalculationReference,
|
663
|
-
taxes: Tax,
|
664
|
-
}
|
665
|
-
end
|
666
|
-
|
667
|
-
def self.field_remappings
|
668
|
-
@field_remappings = {}
|
669
|
-
end
|
670
432
|
end
|
671
433
|
end
|
@@ -27,14 +27,6 @@ module Stripe
|
|
27
27
|
attr_reader :payment_record
|
28
28
|
# Type of payment object associated with this invoice payment.
|
29
29
|
attr_reader :type
|
30
|
-
|
31
|
-
def self.inner_class_types
|
32
|
-
@inner_class_types = {}
|
33
|
-
end
|
34
|
-
|
35
|
-
def self.field_remappings
|
36
|
-
@field_remappings = {}
|
37
|
-
end
|
38
30
|
end
|
39
31
|
|
40
32
|
class StatusTransitions < Stripe::StripeObject
|
@@ -42,14 +34,6 @@ module Stripe
|
|
42
34
|
attr_reader :canceled_at
|
43
35
|
# The time that the payment succeeded.
|
44
36
|
attr_reader :paid_at
|
45
|
-
|
46
|
-
def self.inner_class_types
|
47
|
-
@inner_class_types = {}
|
48
|
-
end
|
49
|
-
|
50
|
-
def self.field_remappings
|
51
|
-
@field_remappings = {}
|
52
|
-
end
|
53
37
|
end
|
54
38
|
|
55
39
|
class ListParams < Stripe::RequestParams
|
@@ -129,13 +113,5 @@ module Stripe
|
|
129
113
|
def self.list(params = {}, opts = {})
|
130
114
|
request_stripe_object(method: :get, path: "/v1/invoice_payments", params: params, opts: opts)
|
131
115
|
end
|
132
|
-
|
133
|
-
def self.inner_class_types
|
134
|
-
@inner_class_types = { payment: Payment, status_transitions: StatusTransitions }
|
135
|
-
end
|
136
|
-
|
137
|
-
def self.field_remappings
|
138
|
-
@field_remappings = {}
|
139
|
-
end
|
140
116
|
end
|
141
117
|
end
|