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,14 +22,6 @@ module Stripe
|
|
22
22
|
attr_reader :enabled
|
23
23
|
# The status of the most recent automated tax calculation for this Order.
|
24
24
|
attr_reader :status
|
25
|
-
|
26
|
-
def self.inner_class_types
|
27
|
-
@inner_class_types = {}
|
28
|
-
end
|
29
|
-
|
30
|
-
def self.field_remappings
|
31
|
-
@field_remappings = {}
|
32
|
-
end
|
33
25
|
end
|
34
26
|
|
35
27
|
class BillingDetails < Stripe::StripeObject
|
@@ -46,14 +38,6 @@ module Stripe
|
|
46
38
|
attr_reader :postal_code
|
47
39
|
# State, county, province, or region.
|
48
40
|
attr_reader :state
|
49
|
-
|
50
|
-
def self.inner_class_types
|
51
|
-
@inner_class_types = {}
|
52
|
-
end
|
53
|
-
|
54
|
-
def self.field_remappings
|
55
|
-
@field_remappings = {}
|
56
|
-
end
|
57
41
|
end
|
58
42
|
# Billing address for the order.
|
59
43
|
attr_reader :address
|
@@ -63,14 +47,6 @@ module Stripe
|
|
63
47
|
attr_reader :name
|
64
48
|
# Billing phone number for the order (including extension).
|
65
49
|
attr_reader :phone
|
66
|
-
|
67
|
-
def self.inner_class_types
|
68
|
-
@inner_class_types = { address: Address }
|
69
|
-
end
|
70
|
-
|
71
|
-
def self.field_remappings
|
72
|
-
@field_remappings = {}
|
73
|
-
end
|
74
50
|
end
|
75
51
|
|
76
52
|
class Payment < Stripe::StripeObject
|
@@ -78,14 +54,6 @@ module Stripe
|
|
78
54
|
class AutomaticPaymentMethods < Stripe::StripeObject
|
79
55
|
# Whether this Order has been opted into managing payment method types via the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
80
56
|
attr_reader :enabled
|
81
|
-
|
82
|
-
def self.inner_class_types
|
83
|
-
@inner_class_types = {}
|
84
|
-
end
|
85
|
-
|
86
|
-
def self.field_remappings
|
87
|
-
@field_remappings = {}
|
88
|
-
end
|
89
57
|
end
|
90
58
|
|
91
59
|
class PaymentMethodOptions < Stripe::StripeObject
|
@@ -99,14 +67,6 @@ module Stripe
|
|
99
67
|
attr_reader :payment_schedule
|
100
68
|
# Transaction type of the mandate.
|
101
69
|
attr_reader :transaction_type
|
102
|
-
|
103
|
-
def self.inner_class_types
|
104
|
-
@inner_class_types = {}
|
105
|
-
end
|
106
|
-
|
107
|
-
def self.field_remappings
|
108
|
-
@field_remappings = {}
|
109
|
-
end
|
110
70
|
end
|
111
71
|
# Attribute for field mandate_options
|
112
72
|
attr_reader :mandate_options
|
@@ -122,14 +82,6 @@ module Stripe
|
|
122
82
|
attr_reader :target_date
|
123
83
|
# Bank account verification method.
|
124
84
|
attr_reader :verification_method
|
125
|
-
|
126
|
-
def self.inner_class_types
|
127
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
128
|
-
end
|
129
|
-
|
130
|
-
def self.field_remappings
|
131
|
-
@field_remappings = {}
|
132
|
-
end
|
133
85
|
end
|
134
86
|
|
135
87
|
class AfterpayClearpay < Stripe::StripeObject
|
@@ -145,14 +97,6 @@ module Stripe
|
|
145
97
|
#
|
146
98
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
147
99
|
attr_reader :setup_future_usage
|
148
|
-
|
149
|
-
def self.inner_class_types
|
150
|
-
@inner_class_types = {}
|
151
|
-
end
|
152
|
-
|
153
|
-
def self.field_remappings
|
154
|
-
@field_remappings = {}
|
155
|
-
end
|
156
100
|
end
|
157
101
|
|
158
102
|
class Alipay < Stripe::StripeObject
|
@@ -164,14 +108,6 @@ module Stripe
|
|
164
108
|
#
|
165
109
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
166
110
|
attr_reader :setup_future_usage
|
167
|
-
|
168
|
-
def self.inner_class_types
|
169
|
-
@inner_class_types = {}
|
170
|
-
end
|
171
|
-
|
172
|
-
def self.field_remappings
|
173
|
-
@field_remappings = {}
|
174
|
-
end
|
175
111
|
end
|
176
112
|
|
177
113
|
class Bancontact < Stripe::StripeObject
|
@@ -185,14 +121,6 @@ module Stripe
|
|
185
121
|
#
|
186
122
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
187
123
|
attr_reader :setup_future_usage
|
188
|
-
|
189
|
-
def self.inner_class_types
|
190
|
-
@inner_class_types = {}
|
191
|
-
end
|
192
|
-
|
193
|
-
def self.field_remappings
|
194
|
-
@field_remappings = {}
|
195
|
-
end
|
196
124
|
end
|
197
125
|
|
198
126
|
class Card < Stripe::StripeObject
|
@@ -206,14 +134,6 @@ module Stripe
|
|
206
134
|
#
|
207
135
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
208
136
|
attr_reader :setup_future_usage
|
209
|
-
|
210
|
-
def self.inner_class_types
|
211
|
-
@inner_class_types = {}
|
212
|
-
end
|
213
|
-
|
214
|
-
def self.field_remappings
|
215
|
-
@field_remappings = {}
|
216
|
-
end
|
217
137
|
end
|
218
138
|
|
219
139
|
class CustomerBalance < Stripe::StripeObject
|
@@ -221,14 +141,6 @@ module Stripe
|
|
221
141
|
class EuBankTransfer < Stripe::StripeObject
|
222
142
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
223
143
|
attr_reader :country
|
224
|
-
|
225
|
-
def self.inner_class_types
|
226
|
-
@inner_class_types = {}
|
227
|
-
end
|
228
|
-
|
229
|
-
def self.field_remappings
|
230
|
-
@field_remappings = {}
|
231
|
-
end
|
232
144
|
end
|
233
145
|
# Attribute for field eu_bank_transfer
|
234
146
|
attr_reader :eu_bank_transfer
|
@@ -238,14 +150,6 @@ module Stripe
|
|
238
150
|
attr_reader :requested_address_types
|
239
151
|
# The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
240
152
|
attr_reader :type
|
241
|
-
|
242
|
-
def self.inner_class_types
|
243
|
-
@inner_class_types = { eu_bank_transfer: EuBankTransfer }
|
244
|
-
end
|
245
|
-
|
246
|
-
def self.field_remappings
|
247
|
-
@field_remappings = {}
|
248
|
-
end
|
249
153
|
end
|
250
154
|
# Attribute for field bank_transfer
|
251
155
|
attr_reader :bank_transfer
|
@@ -259,14 +163,6 @@ module Stripe
|
|
259
163
|
#
|
260
164
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
261
165
|
attr_reader :setup_future_usage
|
262
|
-
|
263
|
-
def self.inner_class_types
|
264
|
-
@inner_class_types = { bank_transfer: BankTransfer }
|
265
|
-
end
|
266
|
-
|
267
|
-
def self.field_remappings
|
268
|
-
@field_remappings = {}
|
269
|
-
end
|
270
166
|
end
|
271
167
|
|
272
168
|
class Ideal < Stripe::StripeObject
|
@@ -278,14 +174,6 @@ module Stripe
|
|
278
174
|
#
|
279
175
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
280
176
|
attr_reader :setup_future_usage
|
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
177
|
end
|
290
178
|
|
291
179
|
class Klarna < Stripe::StripeObject
|
@@ -301,14 +189,6 @@ module Stripe
|
|
301
189
|
#
|
302
190
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
303
191
|
attr_reader :setup_future_usage
|
304
|
-
|
305
|
-
def self.inner_class_types
|
306
|
-
@inner_class_types = {}
|
307
|
-
end
|
308
|
-
|
309
|
-
def self.field_remappings
|
310
|
-
@field_remappings = {}
|
311
|
-
end
|
312
192
|
end
|
313
193
|
|
314
194
|
class Link < Stripe::StripeObject
|
@@ -324,14 +204,6 @@ module Stripe
|
|
324
204
|
#
|
325
205
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
326
206
|
attr_reader :setup_future_usage
|
327
|
-
|
328
|
-
def self.inner_class_types
|
329
|
-
@inner_class_types = {}
|
330
|
-
end
|
331
|
-
|
332
|
-
def self.field_remappings
|
333
|
-
@field_remappings = {}
|
334
|
-
end
|
335
207
|
end
|
336
208
|
|
337
209
|
class Oxxo < Stripe::StripeObject
|
@@ -345,14 +217,6 @@ module Stripe
|
|
345
217
|
#
|
346
218
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
347
219
|
attr_reader :setup_future_usage
|
348
|
-
|
349
|
-
def self.inner_class_types
|
350
|
-
@inner_class_types = {}
|
351
|
-
end
|
352
|
-
|
353
|
-
def self.field_remappings
|
354
|
-
@field_remappings = {}
|
355
|
-
end
|
356
220
|
end
|
357
221
|
|
358
222
|
class P24 < Stripe::StripeObject
|
@@ -364,14 +228,6 @@ module Stripe
|
|
364
228
|
#
|
365
229
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
366
230
|
attr_reader :setup_future_usage
|
367
|
-
|
368
|
-
def self.inner_class_types
|
369
|
-
@inner_class_types = {}
|
370
|
-
end
|
371
|
-
|
372
|
-
def self.field_remappings
|
373
|
-
@field_remappings = {}
|
374
|
-
end
|
375
231
|
end
|
376
232
|
|
377
233
|
class Paypal < Stripe::StripeObject
|
@@ -381,14 +237,6 @@ module Stripe
|
|
381
237
|
attr_reader :amount
|
382
238
|
# The tax behavior for the line item.
|
383
239
|
attr_reader :behavior
|
384
|
-
|
385
|
-
def self.inner_class_types
|
386
|
-
@inner_class_types = {}
|
387
|
-
end
|
388
|
-
|
389
|
-
def self.field_remappings
|
390
|
-
@field_remappings = {}
|
391
|
-
end
|
392
240
|
end
|
393
241
|
# Type of the line item.
|
394
242
|
attr_reader :category
|
@@ -406,14 +254,6 @@ module Stripe
|
|
406
254
|
attr_reader :tax
|
407
255
|
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
408
256
|
attr_reader :unit_amount
|
409
|
-
|
410
|
-
def self.inner_class_types
|
411
|
-
@inner_class_types = { tax: Tax }
|
412
|
-
end
|
413
|
-
|
414
|
-
def self.field_remappings
|
415
|
-
@field_remappings = {}
|
416
|
-
end
|
417
257
|
end
|
418
258
|
# Controls when the funds will be captured from the customer's account.
|
419
259
|
attr_reader :capture_method
|
@@ -435,28 +275,12 @@ module Stripe
|
|
435
275
|
attr_reader :setup_future_usage
|
436
276
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
437
277
|
attr_reader :subsellers
|
438
|
-
|
439
|
-
def self.inner_class_types
|
440
|
-
@inner_class_types = { line_items: LineItem }
|
441
|
-
end
|
442
|
-
|
443
|
-
def self.field_remappings
|
444
|
-
@field_remappings = {}
|
445
|
-
end
|
446
278
|
end
|
447
279
|
|
448
280
|
class SepaDebit < Stripe::StripeObject
|
449
281
|
class MandateOptions < Stripe::StripeObject
|
450
282
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
451
283
|
attr_reader :reference_prefix
|
452
|
-
|
453
|
-
def self.inner_class_types
|
454
|
-
@inner_class_types = {}
|
455
|
-
end
|
456
|
-
|
457
|
-
def self.field_remappings
|
458
|
-
@field_remappings = {}
|
459
|
-
end
|
460
284
|
end
|
461
285
|
# Attribute for field mandate_options
|
462
286
|
attr_reader :mandate_options
|
@@ -470,14 +294,6 @@ module Stripe
|
|
470
294
|
attr_reader :setup_future_usage
|
471
295
|
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
|
472
296
|
attr_reader :target_date
|
473
|
-
|
474
|
-
def self.inner_class_types
|
475
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
476
|
-
end
|
477
|
-
|
478
|
-
def self.field_remappings
|
479
|
-
@field_remappings = {}
|
480
|
-
end
|
481
297
|
end
|
482
298
|
|
483
299
|
class Sofort < Stripe::StripeObject
|
@@ -491,14 +307,6 @@ module Stripe
|
|
491
307
|
#
|
492
308
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
493
309
|
attr_reader :setup_future_usage
|
494
|
-
|
495
|
-
def self.inner_class_types
|
496
|
-
@inner_class_types = {}
|
497
|
-
end
|
498
|
-
|
499
|
-
def self.field_remappings
|
500
|
-
@field_remappings = {}
|
501
|
-
end
|
502
310
|
end
|
503
311
|
|
504
312
|
class WechatPay < Stripe::StripeObject
|
@@ -514,14 +322,6 @@ module Stripe
|
|
514
322
|
#
|
515
323
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
516
324
|
attr_reader :setup_future_usage
|
517
|
-
|
518
|
-
def self.inner_class_types
|
519
|
-
@inner_class_types = {}
|
520
|
-
end
|
521
|
-
|
522
|
-
def self.field_remappings
|
523
|
-
@field_remappings = {}
|
524
|
-
end
|
525
325
|
end
|
526
326
|
# Attribute for field acss_debit
|
527
327
|
attr_reader :acss_debit
|
@@ -553,30 +353,6 @@ module Stripe
|
|
553
353
|
attr_reader :sofort
|
554
354
|
# Attribute for field wechat_pay
|
555
355
|
attr_reader :wechat_pay
|
556
|
-
|
557
|
-
def self.inner_class_types
|
558
|
-
@inner_class_types = {
|
559
|
-
acss_debit: AcssDebit,
|
560
|
-
afterpay_clearpay: AfterpayClearpay,
|
561
|
-
alipay: Alipay,
|
562
|
-
bancontact: Bancontact,
|
563
|
-
card: Card,
|
564
|
-
customer_balance: CustomerBalance,
|
565
|
-
ideal: Ideal,
|
566
|
-
klarna: Klarna,
|
567
|
-
link: Link,
|
568
|
-
oxxo: Oxxo,
|
569
|
-
p24: P24,
|
570
|
-
paypal: Paypal,
|
571
|
-
sepa_debit: SepaDebit,
|
572
|
-
sofort: Sofort,
|
573
|
-
wechat_pay: WechatPay,
|
574
|
-
}
|
575
|
-
end
|
576
|
-
|
577
|
-
def self.field_remappings
|
578
|
-
@field_remappings = {}
|
579
|
-
end
|
580
356
|
end
|
581
357
|
|
582
358
|
class TransferData < Stripe::StripeObject
|
@@ -584,14 +360,6 @@ module Stripe
|
|
584
360
|
attr_reader :amount
|
585
361
|
# ID of the Connected account receiving the transfer.
|
586
362
|
attr_reader :destination
|
587
|
-
|
588
|
-
def self.inner_class_types
|
589
|
-
@inner_class_types = {}
|
590
|
-
end
|
591
|
-
|
592
|
-
def self.field_remappings
|
593
|
-
@field_remappings = {}
|
594
|
-
end
|
595
363
|
end
|
596
364
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.
|
597
365
|
attr_reader :application_fee_amount
|
@@ -609,18 +377,6 @@ module Stripe
|
|
609
377
|
attr_reader :statement_descriptor_suffix
|
610
378
|
# Provides configuration for completing a transfer for the order after it is paid.
|
611
379
|
attr_reader :transfer_data
|
612
|
-
|
613
|
-
def self.inner_class_types
|
614
|
-
@inner_class_types = {
|
615
|
-
automatic_payment_methods: AutomaticPaymentMethods,
|
616
|
-
payment_method_options: PaymentMethodOptions,
|
617
|
-
transfer_data: TransferData,
|
618
|
-
}
|
619
|
-
end
|
620
|
-
|
621
|
-
def self.field_remappings
|
622
|
-
@field_remappings = {}
|
623
|
-
end
|
624
380
|
end
|
625
381
|
# ID of the payment intent associated with this order. Null when the order is `open`.
|
626
382
|
attr_reader :payment_intent
|
@@ -628,14 +384,6 @@ module Stripe
|
|
628
384
|
attr_reader :settings
|
629
385
|
# The status of the underlying payment associated with this order, if any. Null when the order is `open`.
|
630
386
|
attr_reader :status
|
631
|
-
|
632
|
-
def self.inner_class_types
|
633
|
-
@inner_class_types = { settings: Settings }
|
634
|
-
end
|
635
|
-
|
636
|
-
def self.field_remappings
|
637
|
-
@field_remappings = {}
|
638
|
-
end
|
639
387
|
end
|
640
388
|
|
641
389
|
class ShippingCost < Stripe::StripeObject
|
@@ -650,14 +398,6 @@ module Stripe
|
|
650
398
|
attr_reader :taxability_reason
|
651
399
|
# The amount on which tax is calculated, in cents (or local equivalent).
|
652
400
|
attr_reader :taxable_amount
|
653
|
-
|
654
|
-
def self.inner_class_types
|
655
|
-
@inner_class_types = {}
|
656
|
-
end
|
657
|
-
|
658
|
-
def self.field_remappings
|
659
|
-
@field_remappings = {}
|
660
|
-
end
|
661
401
|
end
|
662
402
|
# Total shipping cost before any discounts or taxes are applied.
|
663
403
|
attr_reader :amount_subtotal
|
@@ -669,14 +409,6 @@ module Stripe
|
|
669
409
|
attr_reader :shipping_rate
|
670
410
|
# The taxes applied to the shipping rate.
|
671
411
|
attr_reader :taxes
|
672
|
-
|
673
|
-
def self.inner_class_types
|
674
|
-
@inner_class_types = { taxes: Tax }
|
675
|
-
end
|
676
|
-
|
677
|
-
def self.field_remappings
|
678
|
-
@field_remappings = {}
|
679
|
-
end
|
680
412
|
end
|
681
413
|
|
682
414
|
class ShippingDetails < Stripe::StripeObject
|
@@ -693,14 +425,6 @@ module Stripe
|
|
693
425
|
attr_reader :postal_code
|
694
426
|
# State, county, province, or region.
|
695
427
|
attr_reader :state
|
696
|
-
|
697
|
-
def self.inner_class_types
|
698
|
-
@inner_class_types = {}
|
699
|
-
end
|
700
|
-
|
701
|
-
def self.field_remappings
|
702
|
-
@field_remappings = {}
|
703
|
-
end
|
704
428
|
end
|
705
429
|
# Recipient shipping address. Required if the order includes products that are shippable.
|
706
430
|
attr_reader :address
|
@@ -708,14 +432,6 @@ module Stripe
|
|
708
432
|
attr_reader :name
|
709
433
|
# Recipient phone (including extension).
|
710
434
|
attr_reader :phone
|
711
|
-
|
712
|
-
def self.inner_class_types
|
713
|
-
@inner_class_types = { address: Address }
|
714
|
-
end
|
715
|
-
|
716
|
-
def self.field_remappings
|
717
|
-
@field_remappings = {}
|
718
|
-
end
|
719
435
|
end
|
720
436
|
|
721
437
|
class TaxDetails < Stripe::StripeObject
|
@@ -724,27 +440,11 @@ module Stripe
|
|
724
440
|
attr_reader :type
|
725
441
|
# The value of the tax ID.
|
726
442
|
attr_reader :value
|
727
|
-
|
728
|
-
def self.inner_class_types
|
729
|
-
@inner_class_types = {}
|
730
|
-
end
|
731
|
-
|
732
|
-
def self.field_remappings
|
733
|
-
@field_remappings = {}
|
734
|
-
end
|
735
443
|
end
|
736
444
|
# Describes the purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
|
737
445
|
attr_reader :tax_exempt
|
738
446
|
# The purchaser's tax IDs to be used in calculation of tax for this Order.
|
739
447
|
attr_reader :tax_ids
|
740
|
-
|
741
|
-
def self.inner_class_types
|
742
|
-
@inner_class_types = { tax_ids: TaxId }
|
743
|
-
end
|
744
|
-
|
745
|
-
def self.field_remappings
|
746
|
-
@field_remappings = {}
|
747
|
-
end
|
748
448
|
end
|
749
449
|
|
750
450
|
class TotalDetails < Stripe::StripeObject
|
@@ -757,14 +457,6 @@ module Stripe
|
|
757
457
|
#
|
758
458
|
# Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)
|
759
459
|
attr_reader :discount
|
760
|
-
|
761
|
-
def self.inner_class_types
|
762
|
-
@inner_class_types = {}
|
763
|
-
end
|
764
|
-
|
765
|
-
def self.field_remappings
|
766
|
-
@field_remappings = {}
|
767
|
-
end
|
768
460
|
end
|
769
461
|
|
770
462
|
class Tax < Stripe::StripeObject
|
@@ -778,27 +470,11 @@ module Stripe
|
|
778
470
|
attr_reader :taxability_reason
|
779
471
|
# The amount on which tax is calculated, in cents (or local equivalent).
|
780
472
|
attr_reader :taxable_amount
|
781
|
-
|
782
|
-
def self.inner_class_types
|
783
|
-
@inner_class_types = {}
|
784
|
-
end
|
785
|
-
|
786
|
-
def self.field_remappings
|
787
|
-
@field_remappings = {}
|
788
|
-
end
|
789
473
|
end
|
790
474
|
# The aggregated discounts.
|
791
475
|
attr_reader :discounts
|
792
476
|
# The aggregated tax amounts by rate.
|
793
477
|
attr_reader :taxes
|
794
|
-
|
795
|
-
def self.inner_class_types
|
796
|
-
@inner_class_types = { discounts: Discount, taxes: Tax }
|
797
|
-
end
|
798
|
-
|
799
|
-
def self.field_remappings
|
800
|
-
@field_remappings = {}
|
801
|
-
end
|
802
478
|
end
|
803
479
|
# This is the sum of all the discounts.
|
804
480
|
attr_reader :amount_discount
|
@@ -808,14 +484,6 @@ module Stripe
|
|
808
484
|
attr_reader :amount_tax
|
809
485
|
# Attribute for field breakdown
|
810
486
|
attr_reader :breakdown
|
811
|
-
|
812
|
-
def self.inner_class_types
|
813
|
-
@inner_class_types = { breakdown: Breakdown }
|
814
|
-
end
|
815
|
-
|
816
|
-
def self.field_remappings
|
817
|
-
@field_remappings = {}
|
818
|
-
end
|
819
487
|
end
|
820
488
|
|
821
489
|
class ListParams < Stripe::RequestParams
|
@@ -3286,21 +2954,5 @@ module Stripe
|
|
3286
2954
|
opts: opts
|
3287
2955
|
)
|
3288
2956
|
end
|
3289
|
-
|
3290
|
-
def self.inner_class_types
|
3291
|
-
@inner_class_types = {
|
3292
|
-
automatic_tax: AutomaticTax,
|
3293
|
-
billing_details: BillingDetails,
|
3294
|
-
payment: Payment,
|
3295
|
-
shipping_cost: ShippingCost,
|
3296
|
-
shipping_details: ShippingDetails,
|
3297
|
-
tax_details: TaxDetails,
|
3298
|
-
total_details: TotalDetails,
|
3299
|
-
}
|
3300
|
-
end
|
3301
|
-
|
3302
|
-
def self.field_remappings
|
3303
|
-
@field_remappings = {}
|
3304
|
-
end
|
3305
2957
|
end
|
3306
2958
|
end
|