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
@@ -23,14 +23,6 @@ module Stripe
|
|
23
23
|
attr_reader :atm_fee
|
24
24
|
# The amount of cash requested by the cardholder.
|
25
25
|
attr_reader :cashback_amount
|
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
|
|
36
28
|
class Fleet < Stripe::StripeObject
|
@@ -47,41 +39,17 @@ module Stripe
|
|
47
39
|
attr_reader :user_id
|
48
40
|
# Vehicle number.
|
49
41
|
attr_reader :vehicle_number
|
50
|
-
|
51
|
-
def self.inner_class_types
|
52
|
-
@inner_class_types = {}
|
53
|
-
end
|
54
|
-
|
55
|
-
def self.field_remappings
|
56
|
-
@field_remappings = {}
|
57
|
-
end
|
58
42
|
end
|
59
43
|
|
60
44
|
class ReportedBreakdown < Stripe::StripeObject
|
61
45
|
class Fuel < Stripe::StripeObject
|
62
46
|
# Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes.
|
63
47
|
attr_reader :gross_amount_decimal
|
64
|
-
|
65
|
-
def self.inner_class_types
|
66
|
-
@inner_class_types = {}
|
67
|
-
end
|
68
|
-
|
69
|
-
def self.field_remappings
|
70
|
-
@field_remappings = {}
|
71
|
-
end
|
72
48
|
end
|
73
49
|
|
74
50
|
class NonFuel < Stripe::StripeObject
|
75
51
|
# Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
|
76
52
|
attr_reader :gross_amount_decimal
|
77
|
-
|
78
|
-
def self.inner_class_types
|
79
|
-
@inner_class_types = {}
|
80
|
-
end
|
81
|
-
|
82
|
-
def self.field_remappings
|
83
|
-
@field_remappings = {}
|
84
|
-
end
|
85
53
|
end
|
86
54
|
|
87
55
|
class Tax < Stripe::StripeObject
|
@@ -89,14 +57,6 @@ module Stripe
|
|
89
57
|
attr_reader :local_amount_decimal
|
90
58
|
# Amount of national Sales Tax or VAT included in the transaction amount. `null` if not reported by merchant or not subject to tax.
|
91
59
|
attr_reader :national_amount_decimal
|
92
|
-
|
93
|
-
def self.inner_class_types
|
94
|
-
@inner_class_types = {}
|
95
|
-
end
|
96
|
-
|
97
|
-
def self.field_remappings
|
98
|
-
@field_remappings = {}
|
99
|
-
end
|
100
60
|
end
|
101
61
|
# Breakdown of fuel portion of the purchase.
|
102
62
|
attr_reader :fuel
|
@@ -104,14 +64,6 @@ module Stripe
|
|
104
64
|
attr_reader :non_fuel
|
105
65
|
# Information about tax included in this transaction.
|
106
66
|
attr_reader :tax
|
107
|
-
|
108
|
-
def self.inner_class_types
|
109
|
-
@inner_class_types = { fuel: Fuel, non_fuel: NonFuel, tax: Tax }
|
110
|
-
end
|
111
|
-
|
112
|
-
def self.field_remappings
|
113
|
-
@field_remappings = {}
|
114
|
-
end
|
115
67
|
end
|
116
68
|
# Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.
|
117
69
|
attr_reader :cardholder_prompt_data
|
@@ -121,17 +73,6 @@ module Stripe
|
|
121
73
|
attr_reader :reported_breakdown
|
122
74
|
# The type of fuel service.
|
123
75
|
attr_reader :service_type
|
124
|
-
|
125
|
-
def self.inner_class_types
|
126
|
-
@inner_class_types = {
|
127
|
-
cardholder_prompt_data: CardholderPromptData,
|
128
|
-
reported_breakdown: ReportedBreakdown,
|
129
|
-
}
|
130
|
-
end
|
131
|
-
|
132
|
-
def self.field_remappings
|
133
|
-
@field_remappings = {}
|
134
|
-
end
|
135
76
|
end
|
136
77
|
|
137
78
|
class FraudChallenge < Stripe::StripeObject
|
@@ -141,14 +82,6 @@ module Stripe
|
|
141
82
|
attr_reader :status
|
142
83
|
# If the challenge is not deliverable, the reason why.
|
143
84
|
attr_reader :undeliverable_reason
|
144
|
-
|
145
|
-
def self.inner_class_types
|
146
|
-
@inner_class_types = {}
|
147
|
-
end
|
148
|
-
|
149
|
-
def self.field_remappings
|
150
|
-
@field_remappings = {}
|
151
|
-
end
|
152
85
|
end
|
153
86
|
|
154
87
|
class Fuel < Stripe::StripeObject
|
@@ -162,14 +95,6 @@ module Stripe
|
|
162
95
|
attr_reader :unit
|
163
96
|
# The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
|
164
97
|
attr_reader :unit_cost_decimal
|
165
|
-
|
166
|
-
def self.inner_class_types
|
167
|
-
@inner_class_types = {}
|
168
|
-
end
|
169
|
-
|
170
|
-
def self.field_remappings
|
171
|
-
@field_remappings = {}
|
172
|
-
end
|
173
98
|
end
|
174
99
|
|
175
100
|
class MerchantData < Stripe::StripeObject
|
@@ -195,14 +120,6 @@ module Stripe
|
|
195
120
|
attr_reader :terminal_id
|
196
121
|
# URL provided by the merchant on a 3DS request
|
197
122
|
attr_reader :url
|
198
|
-
|
199
|
-
def self.inner_class_types
|
200
|
-
@inner_class_types = {}
|
201
|
-
end
|
202
|
-
|
203
|
-
def self.field_remappings
|
204
|
-
@field_remappings = {}
|
205
|
-
end
|
206
123
|
end
|
207
124
|
|
208
125
|
class NetworkData < Stripe::StripeObject
|
@@ -212,14 +129,6 @@ module Stripe
|
|
212
129
|
attr_reader :system_trace_audit_number
|
213
130
|
# Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.
|
214
131
|
attr_reader :transaction_id
|
215
|
-
|
216
|
-
def self.inner_class_types
|
217
|
-
@inner_class_types = {}
|
218
|
-
end
|
219
|
-
|
220
|
-
def self.field_remappings
|
221
|
-
@field_remappings = {}
|
222
|
-
end
|
223
132
|
end
|
224
133
|
|
225
134
|
class PendingRequest < Stripe::StripeObject
|
@@ -228,14 +137,6 @@ module Stripe
|
|
228
137
|
attr_reader :atm_fee
|
229
138
|
# The amount of cash requested by the cardholder.
|
230
139
|
attr_reader :cashback_amount
|
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
140
|
end
|
240
141
|
# The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://stripe.com/docs/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
241
142
|
attr_reader :amount
|
@@ -251,14 +152,6 @@ module Stripe
|
|
251
152
|
attr_reader :merchant_currency
|
252
153
|
# The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.
|
253
154
|
attr_reader :network_risk_score
|
254
|
-
|
255
|
-
def self.inner_class_types
|
256
|
-
@inner_class_types = { amount_details: AmountDetails }
|
257
|
-
end
|
258
|
-
|
259
|
-
def self.field_remappings
|
260
|
-
@field_remappings = {}
|
261
|
-
end
|
262
155
|
end
|
263
156
|
|
264
157
|
class RequestHistory < Stripe::StripeObject
|
@@ -267,14 +160,6 @@ module Stripe
|
|
267
160
|
attr_reader :atm_fee
|
268
161
|
# The amount of cash requested by the cardholder.
|
269
162
|
attr_reader :cashback_amount
|
270
|
-
|
271
|
-
def self.inner_class_types
|
272
|
-
@inner_class_types = {}
|
273
|
-
end
|
274
|
-
|
275
|
-
def self.field_remappings
|
276
|
-
@field_remappings = {}
|
277
|
-
end
|
278
163
|
end
|
279
164
|
# The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved.
|
280
165
|
attr_reader :amount
|
@@ -300,14 +185,6 @@ module Stripe
|
|
300
185
|
attr_reader :reason_message
|
301
186
|
# Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time.
|
302
187
|
attr_reader :requested_at
|
303
|
-
|
304
|
-
def self.inner_class_types
|
305
|
-
@inner_class_types = { amount_details: AmountDetails }
|
306
|
-
end
|
307
|
-
|
308
|
-
def self.field_remappings
|
309
|
-
@field_remappings = {}
|
310
|
-
end
|
311
188
|
end
|
312
189
|
|
313
190
|
class Treasury < Stripe::StripeObject
|
@@ -317,14 +194,6 @@ module Stripe
|
|
317
194
|
attr_reader :received_debits
|
318
195
|
# The Treasury [Transaction](https://stripe.com/docs/api/treasury/transactions) associated with this authorization
|
319
196
|
attr_reader :transaction
|
320
|
-
|
321
|
-
def self.inner_class_types
|
322
|
-
@inner_class_types = {}
|
323
|
-
end
|
324
|
-
|
325
|
-
def self.field_remappings
|
326
|
-
@field_remappings = {}
|
327
|
-
end
|
328
197
|
end
|
329
198
|
|
330
199
|
class VerificationData < Stripe::StripeObject
|
@@ -333,27 +202,11 @@ module Stripe
|
|
333
202
|
attr_reader :claimed_by
|
334
203
|
# The specific exemption claimed for this authorization.
|
335
204
|
attr_reader :type
|
336
|
-
|
337
|
-
def self.inner_class_types
|
338
|
-
@inner_class_types = {}
|
339
|
-
end
|
340
|
-
|
341
|
-
def self.field_remappings
|
342
|
-
@field_remappings = {}
|
343
|
-
end
|
344
205
|
end
|
345
206
|
|
346
207
|
class ThreeDSecure < Stripe::StripeObject
|
347
208
|
# The outcome of the 3D Secure authentication request.
|
348
209
|
attr_reader :result
|
349
|
-
|
350
|
-
def self.inner_class_types
|
351
|
-
@inner_class_types = {}
|
352
|
-
end
|
353
|
-
|
354
|
-
def self.field_remappings
|
355
|
-
@field_remappings = {}
|
356
|
-
end
|
357
210
|
end
|
358
211
|
# Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.
|
359
212
|
attr_reader :address_line1_check
|
@@ -369,17 +222,6 @@ module Stripe
|
|
369
222
|
attr_reader :postal_code
|
370
223
|
# 3D Secure details.
|
371
224
|
attr_reader :three_d_secure
|
372
|
-
|
373
|
-
def self.inner_class_types
|
374
|
-
@inner_class_types = {
|
375
|
-
authentication_exemption: AuthenticationExemption,
|
376
|
-
three_d_secure: ThreeDSecure,
|
377
|
-
}
|
378
|
-
end
|
379
|
-
|
380
|
-
def self.field_remappings
|
381
|
-
@field_remappings = {}
|
382
|
-
end
|
383
225
|
end
|
384
226
|
|
385
227
|
class ListParams < Stripe::RequestParams
|
@@ -1496,25 +1338,6 @@ module Stripe
|
|
1496
1338
|
)
|
1497
1339
|
end
|
1498
1340
|
end
|
1499
|
-
|
1500
|
-
def self.inner_class_types
|
1501
|
-
@inner_class_types = {
|
1502
|
-
amount_details: AmountDetails,
|
1503
|
-
fleet: Fleet,
|
1504
|
-
fraud_challenges: FraudChallenge,
|
1505
|
-
fuel: Fuel,
|
1506
|
-
merchant_data: MerchantData,
|
1507
|
-
network_data: NetworkData,
|
1508
|
-
pending_request: PendingRequest,
|
1509
|
-
request_history: RequestHistory,
|
1510
|
-
treasury: Treasury,
|
1511
|
-
verification_data: VerificationData,
|
1512
|
-
}
|
1513
|
-
end
|
1514
|
-
|
1515
|
-
def self.field_remappings
|
1516
|
-
@field_remappings = {}
|
1517
|
-
end
|
1518
1341
|
end
|
1519
1342
|
end
|
1520
1343
|
end
|
@@ -28,14 +28,6 @@ module Stripe
|
|
28
28
|
attr_reader :postal_code
|
29
29
|
# State, county, province, or region.
|
30
30
|
attr_reader :state
|
31
|
-
|
32
|
-
def self.inner_class_types
|
33
|
-
@inner_class_types = {}
|
34
|
-
end
|
35
|
-
|
36
|
-
def self.field_remappings
|
37
|
-
@field_remappings = {}
|
38
|
-
end
|
39
31
|
end
|
40
32
|
|
41
33
|
class AddressValidation < Stripe::StripeObject
|
@@ -52,14 +44,6 @@ module Stripe
|
|
52
44
|
attr_reader :postal_code
|
53
45
|
# State, county, province, or region.
|
54
46
|
attr_reader :state
|
55
|
-
|
56
|
-
def self.inner_class_types
|
57
|
-
@inner_class_types = {}
|
58
|
-
end
|
59
|
-
|
60
|
-
def self.field_remappings
|
61
|
-
@field_remappings = {}
|
62
|
-
end
|
63
47
|
end
|
64
48
|
# The address validation capabilities to use.
|
65
49
|
attr_reader :mode
|
@@ -67,27 +51,11 @@ module Stripe
|
|
67
51
|
attr_reader :normalized_address
|
68
52
|
# The validation result for the shipping address.
|
69
53
|
attr_reader :result
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = { normalized_address: NormalizedAddress }
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
54
|
end
|
79
55
|
|
80
56
|
class Customs < Stripe::StripeObject
|
81
57
|
# A registration number used for customs in Europe. See [https://www.gov.uk/eori](https://www.gov.uk/eori) for the UK and [https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en](https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en) for the EU.
|
82
58
|
attr_reader :eori_number
|
83
|
-
|
84
|
-
def self.inner_class_types
|
85
|
-
@inner_class_types = {}
|
86
|
-
end
|
87
|
-
|
88
|
-
def self.field_remappings
|
89
|
-
@field_remappings = {}
|
90
|
-
end
|
91
59
|
end
|
92
60
|
# Attribute for field address
|
93
61
|
attr_reader :address
|
@@ -115,18 +83,6 @@ module Stripe
|
|
115
83
|
attr_reader :tracking_url
|
116
84
|
# Packaging options.
|
117
85
|
attr_reader :type
|
118
|
-
|
119
|
-
def self.inner_class_types
|
120
|
-
@inner_class_types = {
|
121
|
-
address: Address,
|
122
|
-
address_validation: AddressValidation,
|
123
|
-
customs: Customs,
|
124
|
-
}
|
125
|
-
end
|
126
|
-
|
127
|
-
def self.field_remappings
|
128
|
-
@field_remappings = {}
|
129
|
-
end
|
130
86
|
end
|
131
87
|
|
132
88
|
class SpendingControls < Stripe::StripeObject
|
@@ -137,14 +93,6 @@ module Stripe
|
|
137
93
|
attr_reader :categories
|
138
94
|
# Interval (or event) to which the amount applies.
|
139
95
|
attr_reader :interval
|
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
96
|
end
|
149
97
|
# Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
150
98
|
attr_reader :allowed_categories
|
@@ -158,14 +106,6 @@ module Stripe
|
|
158
106
|
attr_reader :spending_limits
|
159
107
|
# Currency of the amounts within `spending_limits`. Always the same as the currency of the card.
|
160
108
|
attr_reader :spending_limits_currency
|
161
|
-
|
162
|
-
def self.inner_class_types
|
163
|
-
@inner_class_types = { spending_limits: SpendingLimit }
|
164
|
-
end
|
165
|
-
|
166
|
-
def self.field_remappings
|
167
|
-
@field_remappings = {}
|
168
|
-
end
|
169
109
|
end
|
170
110
|
|
171
111
|
class Wallets < Stripe::StripeObject
|
@@ -174,14 +114,6 @@ module Stripe
|
|
174
114
|
attr_reader :eligible
|
175
115
|
# Reason the card is ineligible for Apple Pay
|
176
116
|
attr_reader :ineligible_reason
|
177
|
-
|
178
|
-
def self.inner_class_types
|
179
|
-
@inner_class_types = {}
|
180
|
-
end
|
181
|
-
|
182
|
-
def self.field_remappings
|
183
|
-
@field_remappings = {}
|
184
|
-
end
|
185
117
|
end
|
186
118
|
|
187
119
|
class GooglePay < Stripe::StripeObject
|
@@ -189,14 +121,6 @@ module Stripe
|
|
189
121
|
attr_reader :eligible
|
190
122
|
# Reason the card is ineligible for Google Pay
|
191
123
|
attr_reader :ineligible_reason
|
192
|
-
|
193
|
-
def self.inner_class_types
|
194
|
-
@inner_class_types = {}
|
195
|
-
end
|
196
|
-
|
197
|
-
def self.field_remappings
|
198
|
-
@field_remappings = {}
|
199
|
-
end
|
200
124
|
end
|
201
125
|
# Attribute for field apple_pay
|
202
126
|
attr_reader :apple_pay
|
@@ -204,14 +128,6 @@ module Stripe
|
|
204
128
|
attr_reader :google_pay
|
205
129
|
# Unique identifier for a card used with digital wallets
|
206
130
|
attr_reader :primary_account_identifier
|
207
|
-
|
208
|
-
def self.inner_class_types
|
209
|
-
@inner_class_types = { apple_pay: ApplePay, google_pay: GooglePay }
|
210
|
-
end
|
211
|
-
|
212
|
-
def self.field_remappings
|
213
|
-
@field_remappings = {}
|
214
|
-
end
|
215
131
|
end
|
216
132
|
|
217
133
|
class ListParams < Stripe::RequestParams
|
@@ -427,6 +343,10 @@ module Stripe
|
|
427
343
|
attr_accessor :cardholder
|
428
344
|
# The currency for the card.
|
429
345
|
attr_accessor :currency
|
346
|
+
# The desired expiration month (1-12) for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).
|
347
|
+
attr_accessor :exp_month
|
348
|
+
# The desired 4-digit expiration year for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates).
|
349
|
+
attr_accessor :exp_year
|
430
350
|
# Specifies which fields in the response should be expanded.
|
431
351
|
attr_accessor :expand
|
432
352
|
# The new financial account ID the card will be associated with. This field allows a card to be reassigned to a different financial account.
|
@@ -455,6 +375,8 @@ module Stripe
|
|
455
375
|
def initialize(
|
456
376
|
cardholder: nil,
|
457
377
|
currency: nil,
|
378
|
+
exp_month: nil,
|
379
|
+
exp_year: nil,
|
458
380
|
expand: nil,
|
459
381
|
financial_account: nil,
|
460
382
|
metadata: nil,
|
@@ -470,6 +392,8 @@ module Stripe
|
|
470
392
|
)
|
471
393
|
@cardholder = cardholder
|
472
394
|
@currency = currency
|
395
|
+
@exp_month = exp_month
|
396
|
+
@exp_year = exp_year
|
473
397
|
@expand = expand
|
474
398
|
@financial_account = financial_account
|
475
399
|
@metadata = metadata
|
@@ -885,18 +809,6 @@ module Stripe
|
|
885
809
|
)
|
886
810
|
end
|
887
811
|
end
|
888
|
-
|
889
|
-
def self.inner_class_types
|
890
|
-
@inner_class_types = {
|
891
|
-
shipping: Shipping,
|
892
|
-
spending_controls: SpendingControls,
|
893
|
-
wallets: Wallets,
|
894
|
-
}
|
895
|
-
end
|
896
|
-
|
897
|
-
def self.field_remappings
|
898
|
-
@field_remappings = {}
|
899
|
-
end
|
900
812
|
end
|
901
813
|
end
|
902
814
|
end
|
@@ -30,38 +30,14 @@ module Stripe
|
|
30
30
|
attr_reader :postal_code
|
31
31
|
# State, county, province, or region.
|
32
32
|
attr_reader :state
|
33
|
-
|
34
|
-
def self.inner_class_types
|
35
|
-
@inner_class_types = {}
|
36
|
-
end
|
37
|
-
|
38
|
-
def self.field_remappings
|
39
|
-
@field_remappings = {}
|
40
|
-
end
|
41
33
|
end
|
42
34
|
# Attribute for field address
|
43
35
|
attr_reader :address
|
44
|
-
|
45
|
-
def self.inner_class_types
|
46
|
-
@inner_class_types = { address: Address }
|
47
|
-
end
|
48
|
-
|
49
|
-
def self.field_remappings
|
50
|
-
@field_remappings = {}
|
51
|
-
end
|
52
36
|
end
|
53
37
|
|
54
38
|
class Company < Stripe::StripeObject
|
55
39
|
# Whether the company's business ID number was provided.
|
56
40
|
attr_reader :tax_id_provided
|
57
|
-
|
58
|
-
def self.inner_class_types
|
59
|
-
@inner_class_types = {}
|
60
|
-
end
|
61
|
-
|
62
|
-
def self.field_remappings
|
63
|
-
@field_remappings = {}
|
64
|
-
end
|
65
41
|
end
|
66
42
|
|
67
43
|
class Individual < Stripe::StripeObject
|
@@ -73,25 +49,9 @@ module Stripe
|
|
73
49
|
attr_reader :ip
|
74
50
|
# The user agent of the browser from which the cardholder accepted the Authorized User Terms.
|
75
51
|
attr_reader :user_agent
|
76
|
-
|
77
|
-
def self.inner_class_types
|
78
|
-
@inner_class_types = {}
|
79
|
-
end
|
80
|
-
|
81
|
-
def self.field_remappings
|
82
|
-
@field_remappings = {}
|
83
|
-
end
|
84
52
|
end
|
85
53
|
# Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program.
|
86
54
|
attr_reader :user_terms_acceptance
|
87
|
-
|
88
|
-
def self.inner_class_types
|
89
|
-
@inner_class_types = { user_terms_acceptance: UserTermsAcceptance }
|
90
|
-
end
|
91
|
-
|
92
|
-
def self.field_remappings
|
93
|
-
@field_remappings = {}
|
94
|
-
end
|
95
55
|
end
|
96
56
|
|
97
57
|
class Dob < Stripe::StripeObject
|
@@ -101,14 +61,6 @@ module Stripe
|
|
101
61
|
attr_reader :month
|
102
62
|
# The four-digit year of birth.
|
103
63
|
attr_reader :year
|
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
64
|
end
|
113
65
|
|
114
66
|
class Verification < Stripe::StripeObject
|
@@ -117,25 +69,9 @@ module Stripe
|
|
117
69
|
attr_reader :back
|
118
70
|
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.
|
119
71
|
attr_reader :front
|
120
|
-
|
121
|
-
def self.inner_class_types
|
122
|
-
@inner_class_types = {}
|
123
|
-
end
|
124
|
-
|
125
|
-
def self.field_remappings
|
126
|
-
@field_remappings = {}
|
127
|
-
end
|
128
72
|
end
|
129
73
|
# An identifying document, either a passport or local ID card.
|
130
74
|
attr_reader :document
|
131
|
-
|
132
|
-
def self.inner_class_types
|
133
|
-
@inner_class_types = { document: Document }
|
134
|
-
end
|
135
|
-
|
136
|
-
def self.field_remappings
|
137
|
-
@field_remappings = {}
|
138
|
-
end
|
139
75
|
end
|
140
76
|
# Information related to the card_issuing program for this cardholder.
|
141
77
|
attr_reader :card_issuing
|
@@ -147,14 +83,6 @@ module Stripe
|
|
147
83
|
attr_reader :last_name
|
148
84
|
# Government-issued ID document for this cardholder.
|
149
85
|
attr_reader :verification
|
150
|
-
|
151
|
-
def self.inner_class_types
|
152
|
-
@inner_class_types = { card_issuing: CardIssuing, dob: Dob, verification: Verification }
|
153
|
-
end
|
154
|
-
|
155
|
-
def self.field_remappings
|
156
|
-
@field_remappings = {}
|
157
|
-
end
|
158
86
|
end
|
159
87
|
|
160
88
|
class Requirements < Stripe::StripeObject
|
@@ -162,14 +90,6 @@ module Stripe
|
|
162
90
|
attr_reader :disabled_reason
|
163
91
|
# Array of fields that need to be collected in order to verify and re-enable the cardholder.
|
164
92
|
attr_reader :past_due
|
165
|
-
|
166
|
-
def self.inner_class_types
|
167
|
-
@inner_class_types = {}
|
168
|
-
end
|
169
|
-
|
170
|
-
def self.field_remappings
|
171
|
-
@field_remappings = {}
|
172
|
-
end
|
173
93
|
end
|
174
94
|
|
175
95
|
class SpendingControls < Stripe::StripeObject
|
@@ -180,14 +100,6 @@ module Stripe
|
|
180
100
|
attr_reader :categories
|
181
101
|
# Interval (or event) to which the amount applies.
|
182
102
|
attr_reader :interval
|
183
|
-
|
184
|
-
def self.inner_class_types
|
185
|
-
@inner_class_types = {}
|
186
|
-
end
|
187
|
-
|
188
|
-
def self.field_remappings
|
189
|
-
@field_remappings = {}
|
190
|
-
end
|
191
103
|
end
|
192
104
|
# Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
193
105
|
attr_reader :allowed_categories
|
@@ -201,14 +113,6 @@ module Stripe
|
|
201
113
|
attr_reader :spending_limits
|
202
114
|
# Currency of the amounts within `spending_limits`.
|
203
115
|
attr_reader :spending_limits_currency
|
204
|
-
|
205
|
-
def self.inner_class_types
|
206
|
-
@inner_class_types = { spending_limits: SpendingLimit }
|
207
|
-
end
|
208
|
-
|
209
|
-
def self.field_remappings
|
210
|
-
@field_remappings = {}
|
211
|
-
end
|
212
116
|
end
|
213
117
|
|
214
118
|
class ListParams < Stripe::RequestParams
|
@@ -790,20 +694,6 @@ module Stripe
|
|
790
694
|
opts: opts
|
791
695
|
)
|
792
696
|
end
|
793
|
-
|
794
|
-
def self.inner_class_types
|
795
|
-
@inner_class_types = {
|
796
|
-
billing: Billing,
|
797
|
-
company: Company,
|
798
|
-
individual: Individual,
|
799
|
-
requirements: Requirements,
|
800
|
-
spending_controls: SpendingControls,
|
801
|
-
}
|
802
|
-
end
|
803
|
-
|
804
|
-
def self.field_remappings
|
805
|
-
@field_remappings = {}
|
806
|
-
end
|
807
697
|
end
|
808
698
|
end
|
809
699
|
end
|