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 :atm_fee
|
23
23
|
# The amount of cash requested by the cardholder.
|
24
24
|
attr_reader :cashback_amount
|
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 MerchantData < Stripe::StripeObject
|
@@ -55,14 +47,6 @@ module Stripe
|
|
55
47
|
attr_reader :terminal_id
|
56
48
|
# URL provided by the merchant on a 3DS request
|
57
49
|
attr_reader :url
|
58
|
-
|
59
|
-
def self.inner_class_types
|
60
|
-
@inner_class_types = {}
|
61
|
-
end
|
62
|
-
|
63
|
-
def self.field_remappings
|
64
|
-
@field_remappings = {}
|
65
|
-
end
|
66
50
|
end
|
67
51
|
|
68
52
|
class NetworkData < Stripe::StripeObject
|
@@ -72,14 +56,6 @@ module Stripe
|
|
72
56
|
attr_reader :processing_date
|
73
57
|
# Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.
|
74
58
|
attr_reader :transaction_id
|
75
|
-
|
76
|
-
def self.inner_class_types
|
77
|
-
@inner_class_types = {}
|
78
|
-
end
|
79
|
-
|
80
|
-
def self.field_remappings
|
81
|
-
@field_remappings = {}
|
82
|
-
end
|
83
59
|
end
|
84
60
|
|
85
61
|
class PurchaseDetails < Stripe::StripeObject
|
@@ -95,41 +71,17 @@ module Stripe
|
|
95
71
|
attr_reader :user_id
|
96
72
|
# Vehicle number.
|
97
73
|
attr_reader :vehicle_number
|
98
|
-
|
99
|
-
def self.inner_class_types
|
100
|
-
@inner_class_types = {}
|
101
|
-
end
|
102
|
-
|
103
|
-
def self.field_remappings
|
104
|
-
@field_remappings = {}
|
105
|
-
end
|
106
74
|
end
|
107
75
|
|
108
76
|
class ReportedBreakdown < Stripe::StripeObject
|
109
77
|
class Fuel < Stripe::StripeObject
|
110
78
|
# Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.
|
111
79
|
attr_reader :gross_amount_decimal
|
112
|
-
|
113
|
-
def self.inner_class_types
|
114
|
-
@inner_class_types = {}
|
115
|
-
end
|
116
|
-
|
117
|
-
def self.field_remappings
|
118
|
-
@field_remappings = {}
|
119
|
-
end
|
120
80
|
end
|
121
81
|
|
122
82
|
class NonFuel < Stripe::StripeObject
|
123
83
|
# Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
|
124
84
|
attr_reader :gross_amount_decimal
|
125
|
-
|
126
|
-
def self.inner_class_types
|
127
|
-
@inner_class_types = {}
|
128
|
-
end
|
129
|
-
|
130
|
-
def self.field_remappings
|
131
|
-
@field_remappings = {}
|
132
|
-
end
|
133
85
|
end
|
134
86
|
|
135
87
|
class Tax < Stripe::StripeObject
|
@@ -137,14 +89,6 @@ module Stripe
|
|
137
89
|
attr_reader :local_amount_decimal
|
138
90
|
# Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
139
91
|
attr_reader :national_amount_decimal
|
140
|
-
|
141
|
-
def self.inner_class_types
|
142
|
-
@inner_class_types = {}
|
143
|
-
end
|
144
|
-
|
145
|
-
def self.field_remappings
|
146
|
-
@field_remappings = {}
|
147
|
-
end
|
148
92
|
end
|
149
93
|
# Breakdown of fuel portion of the purchase.
|
150
94
|
attr_reader :fuel
|
@@ -152,14 +96,6 @@ module Stripe
|
|
152
96
|
attr_reader :non_fuel
|
153
97
|
# Information about tax included in this transaction.
|
154
98
|
attr_reader :tax
|
155
|
-
|
156
|
-
def self.inner_class_types
|
157
|
-
@inner_class_types = { fuel: Fuel, non_fuel: NonFuel, tax: Tax }
|
158
|
-
end
|
159
|
-
|
160
|
-
def self.field_remappings
|
161
|
-
@field_remappings = {}
|
162
|
-
end
|
163
99
|
end
|
164
100
|
# Answers to prompts presented to cardholder at point of sale.
|
165
101
|
attr_reader :cardholder_prompt_data
|
@@ -169,17 +105,6 @@ module Stripe
|
|
169
105
|
attr_reader :reported_breakdown
|
170
106
|
# The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.
|
171
107
|
attr_reader :service_type
|
172
|
-
|
173
|
-
def self.inner_class_types
|
174
|
-
@inner_class_types = {
|
175
|
-
cardholder_prompt_data: CardholderPromptData,
|
176
|
-
reported_breakdown: ReportedBreakdown,
|
177
|
-
}
|
178
|
-
end
|
179
|
-
|
180
|
-
def self.field_remappings
|
181
|
-
@field_remappings = {}
|
182
|
-
end
|
183
108
|
end
|
184
109
|
|
185
110
|
class Flight < Stripe::StripeObject
|
@@ -196,14 +121,6 @@ module Stripe
|
|
196
121
|
attr_reader :service_class
|
197
122
|
# Whether a stopover is allowed on this flight.
|
198
123
|
attr_reader :stopover_allowed
|
199
|
-
|
200
|
-
def self.inner_class_types
|
201
|
-
@inner_class_types = {}
|
202
|
-
end
|
203
|
-
|
204
|
-
def self.field_remappings
|
205
|
-
@field_remappings = {}
|
206
|
-
end
|
207
124
|
end
|
208
125
|
# The time that the flight departed.
|
209
126
|
attr_reader :departure_at
|
@@ -215,14 +132,6 @@ module Stripe
|
|
215
132
|
attr_reader :segments
|
216
133
|
# The travel agency that issued the ticket.
|
217
134
|
attr_reader :travel_agency
|
218
|
-
|
219
|
-
def self.inner_class_types
|
220
|
-
@inner_class_types = { segments: Segment }
|
221
|
-
end
|
222
|
-
|
223
|
-
def self.field_remappings
|
224
|
-
@field_remappings = {}
|
225
|
-
end
|
226
135
|
end
|
227
136
|
|
228
137
|
class Fuel < Stripe::StripeObject
|
@@ -236,14 +145,6 @@ module Stripe
|
|
236
145
|
attr_reader :unit
|
237
146
|
# The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
|
238
147
|
attr_reader :unit_cost_decimal
|
239
|
-
|
240
|
-
def self.inner_class_types
|
241
|
-
@inner_class_types = {}
|
242
|
-
end
|
243
|
-
|
244
|
-
def self.field_remappings
|
245
|
-
@field_remappings = {}
|
246
|
-
end
|
247
148
|
end
|
248
149
|
|
249
150
|
class Lodging < Stripe::StripeObject
|
@@ -251,14 +152,6 @@ module Stripe
|
|
251
152
|
attr_reader :check_in_at
|
252
153
|
# The number of nights stayed at the lodging.
|
253
154
|
attr_reader :nights
|
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
155
|
end
|
263
156
|
|
264
157
|
class Receipt < Stripe::StripeObject
|
@@ -270,14 +163,6 @@ module Stripe
|
|
270
163
|
attr_reader :total
|
271
164
|
# The unit cost of the item in cents.
|
272
165
|
attr_reader :unit_cost
|
273
|
-
|
274
|
-
def self.inner_class_types
|
275
|
-
@inner_class_types = {}
|
276
|
-
end
|
277
|
-
|
278
|
-
def self.field_remappings
|
279
|
-
@field_remappings = {}
|
280
|
-
end
|
281
166
|
end
|
282
167
|
# Fleet-specific information for transactions using Fleet cards.
|
283
168
|
attr_reader :fleet
|
@@ -291,20 +176,6 @@ module Stripe
|
|
291
176
|
attr_reader :receipt
|
292
177
|
# A merchant-specific order number.
|
293
178
|
attr_reader :reference
|
294
|
-
|
295
|
-
def self.inner_class_types
|
296
|
-
@inner_class_types = {
|
297
|
-
fleet: Fleet,
|
298
|
-
flight: Flight,
|
299
|
-
fuel: Fuel,
|
300
|
-
lodging: Lodging,
|
301
|
-
receipt: Receipt,
|
302
|
-
}
|
303
|
-
end
|
304
|
-
|
305
|
-
def self.field_remappings
|
306
|
-
@field_remappings = {}
|
307
|
-
end
|
308
179
|
end
|
309
180
|
|
310
181
|
class Treasury < Stripe::StripeObject
|
@@ -312,14 +183,6 @@ module Stripe
|
|
312
183
|
attr_reader :received_credit
|
313
184
|
# The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) representing this Issuing transaction if it is a capture
|
314
185
|
attr_reader :received_debit
|
315
|
-
|
316
|
-
def self.inner_class_types
|
317
|
-
@inner_class_types = {}
|
318
|
-
end
|
319
|
-
|
320
|
-
def self.field_remappings
|
321
|
-
@field_remappings = {}
|
322
|
-
end
|
323
186
|
end
|
324
187
|
|
325
188
|
class ListParams < Stripe::RequestParams
|
@@ -1142,20 +1005,6 @@ module Stripe
|
|
1142
1005
|
)
|
1143
1006
|
end
|
1144
1007
|
end
|
1145
|
-
|
1146
|
-
def self.inner_class_types
|
1147
|
-
@inner_class_types = {
|
1148
|
-
amount_details: AmountDetails,
|
1149
|
-
merchant_data: MerchantData,
|
1150
|
-
network_data: NetworkData,
|
1151
|
-
purchase_details: PurchaseDetails,
|
1152
|
-
treasury: Treasury,
|
1153
|
-
}
|
1154
|
-
end
|
1155
|
-
|
1156
|
-
def self.field_remappings
|
1157
|
-
@field_remappings = {}
|
1158
|
-
end
|
1159
1008
|
end
|
1160
1009
|
end
|
1161
1010
|
end
|
@@ -16,14 +16,6 @@ module Stripe
|
|
16
16
|
attr_reader :maximum
|
17
17
|
# Attribute for field minimum
|
18
18
|
attr_reader :minimum
|
19
|
-
|
20
|
-
def self.inner_class_types
|
21
|
-
@inner_class_types = {}
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.field_remappings
|
25
|
-
@field_remappings = {}
|
26
|
-
end
|
27
19
|
end
|
28
20
|
|
29
21
|
class Discount < Stripe::StripeObject
|
@@ -34,14 +26,6 @@ module Stripe
|
|
34
26
|
#
|
35
27
|
# Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)
|
36
28
|
attr_reader :discount
|
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
|
|
47
31
|
class Display < Stripe::StripeObject
|
@@ -51,14 +35,6 @@ module Stripe
|
|
51
35
|
attr_reader :images
|
52
36
|
# Attribute for field name
|
53
37
|
attr_reader :name
|
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
|
|
64
40
|
class TaxCalculationReference < Stripe::StripeObject
|
@@ -66,14 +42,6 @@ module Stripe
|
|
66
42
|
attr_reader :calculation_id
|
67
43
|
# The calculation identifier for tax calculation response line item.
|
68
44
|
attr_reader :calculation_item_id
|
69
|
-
|
70
|
-
def self.inner_class_types
|
71
|
-
@inner_class_types = {}
|
72
|
-
end
|
73
|
-
|
74
|
-
def self.field_remappings
|
75
|
-
@field_remappings = {}
|
76
|
-
end
|
77
45
|
end
|
78
46
|
|
79
47
|
class Tax < Stripe::StripeObject
|
@@ -87,14 +55,6 @@ module Stripe
|
|
87
55
|
attr_reader :taxability_reason
|
88
56
|
# The amount on which tax is calculated, in cents (or local equivalent).
|
89
57
|
attr_reader :taxable_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
58
|
end
|
99
59
|
# Attribute for field adjustable_quantity
|
100
60
|
attr_reader :adjustable_quantity
|
@@ -132,19 +92,5 @@ module Stripe
|
|
132
92
|
attr_reader :tax_calculation_reference
|
133
93
|
# The taxes applied to the line item.
|
134
94
|
attr_reader :taxes
|
135
|
-
|
136
|
-
def self.inner_class_types
|
137
|
-
@inner_class_types = {
|
138
|
-
adjustable_quantity: AdjustableQuantity,
|
139
|
-
discounts: Discount,
|
140
|
-
display: Display,
|
141
|
-
tax_calculation_reference: TaxCalculationReference,
|
142
|
-
taxes: Tax,
|
143
|
-
}
|
144
|
-
end
|
145
|
-
|
146
|
-
def self.field_remappings
|
147
|
-
@field_remappings = {}
|
148
|
-
end
|
149
95
|
end
|
150
96
|
end
|
@@ -23,13 +23,5 @@ module Stripe
|
|
23
23
|
"only be created using `Account.create_login_link('account_id', " \
|
24
24
|
"create_params)`"
|
25
25
|
end
|
26
|
-
|
27
|
-
def self.inner_class_types
|
28
|
-
@inner_class_types = {}
|
29
|
-
end
|
30
|
-
|
31
|
-
def self.field_remappings
|
32
|
-
@field_remappings = {}
|
33
|
-
end
|
34
26
|
end
|
35
27
|
end
|
@@ -12,29 +12,13 @@ module Stripe
|
|
12
12
|
end
|
13
13
|
|
14
14
|
class CustomerAcceptance < Stripe::StripeObject
|
15
|
-
class Offline < Stripe::StripeObject
|
16
|
-
def self.inner_class_types
|
17
|
-
@inner_class_types = {}
|
18
|
-
end
|
19
|
-
|
20
|
-
def self.field_remappings
|
21
|
-
@field_remappings = {}
|
22
|
-
end
|
23
|
-
end
|
15
|
+
class Offline < Stripe::StripeObject; end
|
24
16
|
|
25
17
|
class Online < Stripe::StripeObject
|
26
18
|
# The customer accepts the mandate from this IP address.
|
27
19
|
attr_reader :ip_address
|
28
20
|
# The customer accepts the mandate using the user agent of the browser.
|
29
21
|
attr_reader :user_agent
|
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
22
|
end
|
39
23
|
# The time that the customer accepts the mandate.
|
40
24
|
attr_reader :accepted_at
|
@@ -44,14 +28,6 @@ module Stripe
|
|
44
28
|
attr_reader :online
|
45
29
|
# The mandate includes the type of customer acceptance information, such as: `online` or `offline`.
|
46
30
|
attr_reader :type
|
47
|
-
|
48
|
-
def self.inner_class_types
|
49
|
-
@inner_class_types = { offline: Offline, online: Online }
|
50
|
-
end
|
51
|
-
|
52
|
-
def self.field_remappings
|
53
|
-
@field_remappings = {}
|
54
|
-
end
|
55
31
|
end
|
56
32
|
|
57
33
|
class MultiUse < Stripe::StripeObject
|
@@ -59,14 +35,6 @@ module Stripe
|
|
59
35
|
attr_reader :amount
|
60
36
|
# The currency of the payment on a multi use mandate.
|
61
37
|
attr_reader :currency
|
62
|
-
|
63
|
-
def self.inner_class_types
|
64
|
-
@inner_class_types = {}
|
65
|
-
end
|
66
|
-
|
67
|
-
def self.field_remappings
|
68
|
-
@field_remappings = {}
|
69
|
-
end
|
70
38
|
end
|
71
39
|
|
72
40
|
class PaymentMethodDetails < Stripe::StripeObject
|
@@ -79,37 +47,13 @@ module Stripe
|
|
79
47
|
attr_reader :payment_schedule
|
80
48
|
# Transaction type of the mandate.
|
81
49
|
attr_reader :transaction_type
|
82
|
-
|
83
|
-
def self.inner_class_types
|
84
|
-
@inner_class_types = {}
|
85
|
-
end
|
86
|
-
|
87
|
-
def self.field_remappings
|
88
|
-
@field_remappings = {}
|
89
|
-
end
|
90
50
|
end
|
91
51
|
|
92
|
-
class AmazonPay < Stripe::StripeObject
|
93
|
-
def self.inner_class_types
|
94
|
-
@inner_class_types = {}
|
95
|
-
end
|
96
|
-
|
97
|
-
def self.field_remappings
|
98
|
-
@field_remappings = {}
|
99
|
-
end
|
100
|
-
end
|
52
|
+
class AmazonPay < Stripe::StripeObject; end
|
101
53
|
|
102
54
|
class AuBecsDebit < Stripe::StripeObject
|
103
55
|
# The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.
|
104
56
|
attr_reader :url
|
105
|
-
|
106
|
-
def self.inner_class_types
|
107
|
-
@inner_class_types = {}
|
108
|
-
end
|
109
|
-
|
110
|
-
def self.field_remappings
|
111
|
-
@field_remappings = {}
|
112
|
-
end
|
113
57
|
end
|
114
58
|
|
115
59
|
class BacsDebit < Stripe::StripeObject
|
@@ -121,95 +65,16 @@ module Stripe
|
|
121
65
|
attr_reader :revocation_reason
|
122
66
|
# The URL that will contain the mandate that the customer has signed.
|
123
67
|
attr_reader :url
|
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
|
-
end
|
133
|
-
|
134
|
-
class Card < Stripe::StripeObject
|
135
|
-
def self.inner_class_types
|
136
|
-
@inner_class_types = {}
|
137
|
-
end
|
138
|
-
|
139
|
-
def self.field_remappings
|
140
|
-
@field_remappings = {}
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
class Cashapp < Stripe::StripeObject
|
145
|
-
def self.inner_class_types
|
146
|
-
@inner_class_types = {}
|
147
|
-
end
|
148
|
-
|
149
|
-
def self.field_remappings
|
150
|
-
@field_remappings = {}
|
151
|
-
end
|
152
68
|
end
|
153
69
|
|
154
|
-
class
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
end
|
163
|
-
|
164
|
-
class Klarna < Stripe::StripeObject
|
165
|
-
def self.inner_class_types
|
166
|
-
@inner_class_types = {}
|
167
|
-
end
|
168
|
-
|
169
|
-
def self.field_remappings
|
170
|
-
@field_remappings = {}
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
class KrCard < Stripe::StripeObject
|
175
|
-
def self.inner_class_types
|
176
|
-
@inner_class_types = {}
|
177
|
-
end
|
178
|
-
|
179
|
-
def self.field_remappings
|
180
|
-
@field_remappings = {}
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
class Link < Stripe::StripeObject
|
185
|
-
def self.inner_class_types
|
186
|
-
@inner_class_types = {}
|
187
|
-
end
|
188
|
-
|
189
|
-
def self.field_remappings
|
190
|
-
@field_remappings = {}
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
class NaverPay < Stripe::StripeObject
|
195
|
-
def self.inner_class_types
|
196
|
-
@inner_class_types = {}
|
197
|
-
end
|
198
|
-
|
199
|
-
def self.field_remappings
|
200
|
-
@field_remappings = {}
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
class NzBankAccount < Stripe::StripeObject
|
205
|
-
def self.inner_class_types
|
206
|
-
@inner_class_types = {}
|
207
|
-
end
|
208
|
-
|
209
|
-
def self.field_remappings
|
210
|
-
@field_remappings = {}
|
211
|
-
end
|
212
|
-
end
|
70
|
+
class Card < Stripe::StripeObject; end
|
71
|
+
class Cashapp < Stripe::StripeObject; end
|
72
|
+
class KakaoPay < Stripe::StripeObject; end
|
73
|
+
class Klarna < Stripe::StripeObject; end
|
74
|
+
class KrCard < Stripe::StripeObject; end
|
75
|
+
class Link < Stripe::StripeObject; end
|
76
|
+
class NaverPay < Stripe::StripeObject; end
|
77
|
+
class NzBankAccount < Stripe::StripeObject; end
|
213
78
|
|
214
79
|
class Paypal < Stripe::StripeObject
|
215
80
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
@@ -221,14 +86,6 @@ module Stripe
|
|
221
86
|
# Owner's verified email. Values are verified or provided by PayPal directly
|
222
87
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
223
88
|
attr_reader :verified_email
|
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
89
|
end
|
233
90
|
|
234
91
|
class Payto < Stripe::StripeObject
|
@@ -246,14 +103,6 @@ module Stripe
|
|
246
103
|
attr_reader :purpose
|
247
104
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
248
105
|
attr_reader :start_date
|
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
106
|
end
|
258
107
|
|
259
108
|
class Pix < Stripe::StripeObject
|
@@ -269,52 +118,20 @@ module Stripe
|
|
269
118
|
attr_reader :reference
|
270
119
|
# Start date of the mandate, in `YYYY-MM-DD`.
|
271
120
|
attr_reader :start_date
|
272
|
-
|
273
|
-
def self.inner_class_types
|
274
|
-
@inner_class_types = {}
|
275
|
-
end
|
276
|
-
|
277
|
-
def self.field_remappings
|
278
|
-
@field_remappings = {}
|
279
|
-
end
|
280
121
|
end
|
281
122
|
|
282
|
-
class RevolutPay < Stripe::StripeObject
|
283
|
-
def self.inner_class_types
|
284
|
-
@inner_class_types = {}
|
285
|
-
end
|
286
|
-
|
287
|
-
def self.field_remappings
|
288
|
-
@field_remappings = {}
|
289
|
-
end
|
290
|
-
end
|
123
|
+
class RevolutPay < Stripe::StripeObject; end
|
291
124
|
|
292
125
|
class SepaDebit < Stripe::StripeObject
|
293
126
|
# The unique reference of the mandate.
|
294
127
|
attr_reader :reference
|
295
128
|
# The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.
|
296
129
|
attr_reader :url
|
297
|
-
|
298
|
-
def self.inner_class_types
|
299
|
-
@inner_class_types = {}
|
300
|
-
end
|
301
|
-
|
302
|
-
def self.field_remappings
|
303
|
-
@field_remappings = {}
|
304
|
-
end
|
305
130
|
end
|
306
131
|
|
307
132
|
class UsBankAccount < Stripe::StripeObject
|
308
133
|
# Mandate collection method
|
309
134
|
attr_reader :collection_method
|
310
|
-
|
311
|
-
def self.inner_class_types
|
312
|
-
@inner_class_types = {}
|
313
|
-
end
|
314
|
-
|
315
|
-
def self.field_remappings
|
316
|
-
@field_remappings = {}
|
317
|
-
end
|
318
135
|
end
|
319
136
|
# Attribute for field acss_debit
|
320
137
|
attr_reader :acss_debit
|
@@ -354,33 +171,6 @@ module Stripe
|
|
354
171
|
attr_reader :type
|
355
172
|
# Attribute for field us_bank_account
|
356
173
|
attr_reader :us_bank_account
|
357
|
-
|
358
|
-
def self.inner_class_types
|
359
|
-
@inner_class_types = {
|
360
|
-
acss_debit: AcssDebit,
|
361
|
-
amazon_pay: AmazonPay,
|
362
|
-
au_becs_debit: AuBecsDebit,
|
363
|
-
bacs_debit: BacsDebit,
|
364
|
-
card: Card,
|
365
|
-
cashapp: Cashapp,
|
366
|
-
kakao_pay: KakaoPay,
|
367
|
-
klarna: Klarna,
|
368
|
-
kr_card: KrCard,
|
369
|
-
link: Link,
|
370
|
-
naver_pay: NaverPay,
|
371
|
-
nz_bank_account: NzBankAccount,
|
372
|
-
paypal: Paypal,
|
373
|
-
payto: Payto,
|
374
|
-
pix: Pix,
|
375
|
-
revolut_pay: RevolutPay,
|
376
|
-
sepa_debit: SepaDebit,
|
377
|
-
us_bank_account: UsBankAccount,
|
378
|
-
}
|
379
|
-
end
|
380
|
-
|
381
|
-
def self.field_remappings
|
382
|
-
@field_remappings = {}
|
383
|
-
end
|
384
174
|
end
|
385
175
|
|
386
176
|
class SingleUse < Stripe::StripeObject
|
@@ -388,14 +178,6 @@ module Stripe
|
|
388
178
|
attr_reader :amount
|
389
179
|
# The currency of the payment on a single use mandate.
|
390
180
|
attr_reader :currency
|
391
|
-
|
392
|
-
def self.inner_class_types
|
393
|
-
@inner_class_types = {}
|
394
|
-
end
|
395
|
-
|
396
|
-
def self.field_remappings
|
397
|
-
@field_remappings = {}
|
398
|
-
end
|
399
181
|
end
|
400
182
|
|
401
183
|
class ListParams < Stripe::RequestParams
|
@@ -459,18 +241,5 @@ module Stripe
|
|
459
241
|
def self.list(params = {}, opts = {})
|
460
242
|
request_stripe_object(method: :get, path: "/v1/mandates", params: params, opts: opts)
|
461
243
|
end
|
462
|
-
|
463
|
-
def self.inner_class_types
|
464
|
-
@inner_class_types = {
|
465
|
-
customer_acceptance: CustomerAcceptance,
|
466
|
-
multi_use: MultiUse,
|
467
|
-
payment_method_details: PaymentMethodDetails,
|
468
|
-
single_use: SingleUse,
|
469
|
-
}
|
470
|
-
end
|
471
|
-
|
472
|
-
def self.field_remappings
|
473
|
-
@field_remappings = {}
|
474
|
-
end
|
475
244
|
end
|
476
245
|
end
|