stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- 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 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -15,13 +15,10 @@ module Stripe
|
|
15
15
|
class Created < Stripe::RequestParams
|
16
16
|
# Minimum value to filter by (exclusive)
|
17
17
|
attr_accessor :gt
|
18
|
-
|
19
18
|
# Minimum value to filter by (inclusive)
|
20
19
|
attr_accessor :gte
|
21
|
-
|
22
20
|
# Maximum value to filter by (exclusive)
|
23
21
|
attr_accessor :lt
|
24
|
-
|
25
22
|
# Maximum value to filter by (inclusive)
|
26
23
|
attr_accessor :lte
|
27
24
|
|
@@ -43,34 +40,24 @@ module Stripe
|
|
43
40
|
end
|
44
41
|
# Only return Checkout Sessions that were created during the given date interval.
|
45
42
|
attr_accessor :created
|
46
|
-
|
47
43
|
# Only return the Checkout Sessions for the Customer specified.
|
48
44
|
attr_accessor :customer
|
49
|
-
|
50
45
|
# Only return the Checkout Sessions for the Customer details specified.
|
51
46
|
attr_accessor :customer_details
|
52
|
-
|
53
47
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
54
48
|
attr_accessor :ending_before
|
55
|
-
|
56
49
|
# Specifies which fields in the response should be expanded.
|
57
50
|
attr_accessor :expand
|
58
|
-
|
59
51
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
60
52
|
attr_accessor :limit
|
61
|
-
|
62
53
|
# Only return the Checkout Session for the PaymentIntent specified.
|
63
54
|
attr_accessor :payment_intent
|
64
|
-
|
65
55
|
# Only return the Checkout Sessions for the Payment Link specified.
|
66
56
|
attr_accessor :payment_link
|
67
|
-
|
68
57
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
69
58
|
attr_accessor :starting_after
|
70
|
-
|
71
59
|
# Only return the Checkout Sessions matching the given status.
|
72
60
|
attr_accessor :status
|
73
|
-
|
74
61
|
# Only return the Checkout Session for the subscription specified.
|
75
62
|
attr_accessor :subscription
|
76
63
|
|
@@ -115,7 +102,6 @@ module Stripe
|
|
115
102
|
class Recovery < Stripe::RequestParams
|
116
103
|
# Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`
|
117
104
|
attr_accessor :allow_promotion_codes
|
118
|
-
|
119
105
|
# If `true`, a recovery URL will be generated to recover this Checkout Session if it
|
120
106
|
# expires before a successful transaction is completed. It will be attached to the
|
121
107
|
# Checkout Session object upon expiration.
|
@@ -138,7 +124,6 @@ module Stripe
|
|
138
124
|
class Liability < Stripe::RequestParams
|
139
125
|
# The connected account being referenced when `type` is `account`.
|
140
126
|
attr_accessor :account
|
141
|
-
|
142
127
|
# Type of the account referenced in the request.
|
143
128
|
attr_accessor :type
|
144
129
|
|
@@ -151,7 +136,6 @@ module Stripe
|
|
151
136
|
#
|
152
137
|
# Enabling this parameter causes Checkout to collect any billing address information necessary for tax calculation.
|
153
138
|
attr_accessor :enabled
|
154
|
-
|
155
139
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
156
140
|
attr_accessor :liability
|
157
141
|
|
@@ -173,12 +157,10 @@ module Stripe
|
|
173
157
|
end
|
174
158
|
# Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.
|
175
159
|
attr_accessor :payment_method_reuse_agreement
|
176
|
-
|
177
160
|
# If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
178
161
|
# Session will determine whether to display an option to opt into promotional communication
|
179
162
|
# from the merchant depending on the customer's locale. Only available to US merchants.
|
180
163
|
attr_accessor :promotions
|
181
|
-
|
182
164
|
# If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.
|
183
165
|
# There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).
|
184
166
|
attr_accessor :terms_of_service
|
@@ -199,7 +181,6 @@ module Stripe
|
|
199
181
|
class Option < Stripe::RequestParams
|
200
182
|
# The label for the option, displayed to the customer. Up to 100 characters.
|
201
183
|
attr_accessor :label
|
202
|
-
|
203
184
|
# The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
|
204
185
|
attr_accessor :value
|
205
186
|
|
@@ -210,7 +191,6 @@ module Stripe
|
|
210
191
|
end
|
211
192
|
# The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
|
212
193
|
attr_accessor :default_value
|
213
|
-
|
214
194
|
# The options available for the customer to select. Up to 200 options allowed.
|
215
195
|
attr_accessor :options
|
216
196
|
|
@@ -223,7 +203,6 @@ module Stripe
|
|
223
203
|
class Label < Stripe::RequestParams
|
224
204
|
# Custom text for the label, displayed to the customer. Up to 50 characters.
|
225
205
|
attr_accessor :custom
|
226
|
-
|
227
206
|
# The type of the label.
|
228
207
|
attr_accessor :type
|
229
208
|
|
@@ -236,10 +215,8 @@ module Stripe
|
|
236
215
|
class Numeric < Stripe::RequestParams
|
237
216
|
# The value that will pre-fill the field on the payment page.
|
238
217
|
attr_accessor :default_value
|
239
|
-
|
240
218
|
# The maximum character length constraint for the customer's input.
|
241
219
|
attr_accessor :maximum_length
|
242
|
-
|
243
220
|
# The minimum character length requirement for the customer's input.
|
244
221
|
attr_accessor :minimum_length
|
245
222
|
|
@@ -253,10 +230,8 @@ module Stripe
|
|
253
230
|
class Text < Stripe::RequestParams
|
254
231
|
# The value that will pre-fill the field on the payment page.
|
255
232
|
attr_accessor :default_value
|
256
|
-
|
257
233
|
# The maximum character length constraint for the customer's input.
|
258
234
|
attr_accessor :maximum_length
|
259
|
-
|
260
235
|
# The minimum character length requirement for the customer's input.
|
261
236
|
attr_accessor :minimum_length
|
262
237
|
|
@@ -268,22 +243,16 @@ module Stripe
|
|
268
243
|
end
|
269
244
|
# Configuration for `type=dropdown` fields.
|
270
245
|
attr_accessor :dropdown
|
271
|
-
|
272
246
|
# String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.
|
273
247
|
attr_accessor :key
|
274
|
-
|
275
248
|
# The label for the field, displayed to the customer.
|
276
249
|
attr_accessor :label
|
277
|
-
|
278
250
|
# Configuration for `type=numeric` fields.
|
279
251
|
attr_accessor :numeric
|
280
|
-
|
281
252
|
# Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
|
282
253
|
attr_accessor :optional
|
283
|
-
|
284
254
|
# Configuration for `type=text` fields.
|
285
255
|
attr_accessor :text
|
286
|
-
|
287
256
|
# The type of the field.
|
288
257
|
attr_accessor :type
|
289
258
|
|
@@ -344,13 +313,10 @@ module Stripe
|
|
344
313
|
end
|
345
314
|
# Custom text that should be displayed after the payment confirmation button.
|
346
315
|
attr_accessor :after_submit
|
347
|
-
|
348
316
|
# Custom text that should be displayed alongside shipping address collection.
|
349
317
|
attr_accessor :shipping_address
|
350
|
-
|
351
318
|
# Custom text that should be displayed alongside the payment confirmation button.
|
352
319
|
attr_accessor :submit
|
353
|
-
|
354
320
|
# Custom text that should be displayed in place of the default terms of service agreement text.
|
355
321
|
attr_accessor :terms_of_service_acceptance
|
356
322
|
|
@@ -371,10 +337,8 @@ module Stripe
|
|
371
337
|
# Describes whether Checkout saves the billing address onto `customer.address`.
|
372
338
|
# To always collect a full billing address, use `billing_address_collection`. Defaults to `never`.
|
373
339
|
attr_accessor :address
|
374
|
-
|
375
340
|
# Describes whether Checkout saves the name onto `customer.name`. Defaults to `never`.
|
376
341
|
attr_accessor :name
|
377
|
-
|
378
342
|
# Describes whether Checkout saves shipping information onto `customer.shipping`.
|
379
343
|
# To collect shipping information, use `shipping_address_collection`. Defaults to `never`.
|
380
344
|
attr_accessor :shipping
|
@@ -389,7 +353,6 @@ module Stripe
|
|
389
353
|
class Discount < Stripe::RequestParams
|
390
354
|
# The ID of the coupon to apply to this Session.
|
391
355
|
attr_accessor :coupon
|
392
|
-
|
393
356
|
# The ID of a promotion code to apply to this Session.
|
394
357
|
attr_accessor :promotion_code
|
395
358
|
|
@@ -404,7 +367,6 @@ module Stripe
|
|
404
367
|
class CustomField < Stripe::RequestParams
|
405
368
|
# The name of the custom field. This may be up to 40 characters.
|
406
369
|
attr_accessor :name
|
407
|
-
|
408
370
|
# The value of the custom field. This may be up to 140 characters.
|
409
371
|
attr_accessor :value
|
410
372
|
|
@@ -417,7 +379,6 @@ module Stripe
|
|
417
379
|
class Issuer < Stripe::RequestParams
|
418
380
|
# The connected account being referenced when `type` is `account`.
|
419
381
|
attr_accessor :account
|
420
|
-
|
421
382
|
# Type of the account referenced in the request.
|
422
383
|
attr_accessor :type
|
423
384
|
|
@@ -437,22 +398,16 @@ module Stripe
|
|
437
398
|
end
|
438
399
|
# The account tax IDs associated with the invoice.
|
439
400
|
attr_accessor :account_tax_ids
|
440
|
-
|
441
401
|
# Default custom fields to be displayed on invoices for this customer.
|
442
402
|
attr_accessor :custom_fields
|
443
|
-
|
444
403
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
445
404
|
attr_accessor :description
|
446
|
-
|
447
405
|
# Default footer to be displayed on invoices for this customer.
|
448
406
|
attr_accessor :footer
|
449
|
-
|
450
407
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
451
408
|
attr_accessor :issuer
|
452
|
-
|
453
409
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
454
410
|
attr_accessor :metadata
|
455
|
-
|
456
411
|
# Default options for invoice PDF rendering for this customer.
|
457
412
|
attr_accessor :rendering_options
|
458
413
|
|
@@ -476,7 +431,6 @@ module Stripe
|
|
476
431
|
end
|
477
432
|
# Set to `true` to enable invoice creation.
|
478
433
|
attr_accessor :enabled
|
479
|
-
|
480
434
|
# Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
481
435
|
attr_accessor :invoice_data
|
482
436
|
|
@@ -490,10 +444,8 @@ module Stripe
|
|
490
444
|
class AdjustableQuantity < Stripe::RequestParams
|
491
445
|
# Set to true if the quantity can be adjusted to any non-negative integer.
|
492
446
|
attr_accessor :enabled
|
493
|
-
|
494
447
|
# The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
|
495
448
|
attr_accessor :maximum
|
496
|
-
|
497
449
|
# The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
498
450
|
attr_accessor :minimum
|
499
451
|
|
@@ -508,16 +460,12 @@ module Stripe
|
|
508
460
|
class ProductData < Stripe::RequestParams
|
509
461
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
510
462
|
attr_accessor :description
|
511
|
-
|
512
463
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
513
464
|
attr_accessor :images
|
514
|
-
|
515
465
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
516
466
|
attr_accessor :metadata
|
517
|
-
|
518
467
|
# The product's name, meant to be displayable to the customer.
|
519
468
|
attr_accessor :name
|
520
|
-
|
521
469
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
522
470
|
attr_accessor :tax_code
|
523
471
|
|
@@ -533,7 +481,6 @@ module Stripe
|
|
533
481
|
class Recurring < Stripe::RequestParams
|
534
482
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
535
483
|
attr_accessor :interval
|
536
|
-
|
537
484
|
# The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
538
485
|
attr_accessor :interval_count
|
539
486
|
|
@@ -544,22 +491,16 @@ module Stripe
|
|
544
491
|
end
|
545
492
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
546
493
|
attr_accessor :currency
|
547
|
-
|
548
494
|
# The ID of the product that this price will belong to. One of `product` or `product_data` is required.
|
549
495
|
attr_accessor :product
|
550
|
-
|
551
496
|
# Data used to generate a new product object inline. One of `product` or `product_data` is required.
|
552
497
|
attr_accessor :product_data
|
553
|
-
|
554
498
|
# The recurring components of a price such as `interval` and `interval_count`.
|
555
499
|
attr_accessor :recurring
|
556
|
-
|
557
500
|
# Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
558
501
|
attr_accessor :tax_behavior
|
559
|
-
|
560
502
|
# A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
561
503
|
attr_accessor :unit_amount
|
562
|
-
|
563
504
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
564
505
|
attr_accessor :unit_amount_decimal
|
565
506
|
|
@@ -583,22 +524,16 @@ module Stripe
|
|
583
524
|
end
|
584
525
|
# When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
|
585
526
|
attr_accessor :adjustable_quantity
|
586
|
-
|
587
527
|
# The [tax rates](https://stripe.com/docs/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.
|
588
528
|
attr_accessor :dynamic_tax_rates
|
589
|
-
|
590
529
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
591
530
|
attr_accessor :metadata
|
592
|
-
|
593
531
|
# The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object. One of `price` or `price_data` is required.
|
594
532
|
attr_accessor :price
|
595
|
-
|
596
533
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
597
534
|
attr_accessor :price_data
|
598
|
-
|
599
535
|
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
600
536
|
attr_accessor :quantity
|
601
|
-
|
602
537
|
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
603
538
|
attr_accessor :tax_rates
|
604
539
|
|
@@ -626,19 +561,14 @@ module Stripe
|
|
626
561
|
class Address < Stripe::RequestParams
|
627
562
|
# City, district, suburb, town, or village.
|
628
563
|
attr_accessor :city
|
629
|
-
|
630
564
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
631
565
|
attr_accessor :country
|
632
|
-
|
633
566
|
# Address line 1 (e.g., street, PO Box, or company name).
|
634
567
|
attr_accessor :line1
|
635
|
-
|
636
568
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
637
569
|
attr_accessor :line2
|
638
|
-
|
639
570
|
# ZIP or postal code.
|
640
571
|
attr_accessor :postal_code
|
641
|
-
|
642
572
|
# State, county, province, or region.
|
643
573
|
attr_accessor :state
|
644
574
|
|
@@ -660,16 +590,12 @@ module Stripe
|
|
660
590
|
end
|
661
591
|
# Shipping address.
|
662
592
|
attr_accessor :address
|
663
|
-
|
664
593
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
665
594
|
attr_accessor :carrier
|
666
|
-
|
667
595
|
# Recipient name.
|
668
596
|
attr_accessor :name
|
669
|
-
|
670
597
|
# Recipient phone (including extension).
|
671
598
|
attr_accessor :phone
|
672
|
-
|
673
599
|
# The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
674
600
|
attr_accessor :tracking_number
|
675
601
|
|
@@ -685,7 +611,6 @@ module Stripe
|
|
685
611
|
class TransferData < Stripe::RequestParams
|
686
612
|
# The amount that will be transferred automatically when a charge succeeds.
|
687
613
|
attr_accessor :amount
|
688
|
-
|
689
614
|
# If specified, successful charges will be attributed to the destination
|
690
615
|
# account for tax reporting, and the funds from charges will be transferred
|
691
616
|
# to the destination account. The ID of the resulting transfer will be
|
@@ -699,24 +624,18 @@ module Stripe
|
|
699
624
|
end
|
700
625
|
# 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. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
701
626
|
attr_accessor :application_fee_amount
|
702
|
-
|
703
627
|
# Controls when the funds will be captured from the customer's account.
|
704
628
|
attr_accessor :capture_method
|
705
|
-
|
706
629
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
707
630
|
attr_accessor :description
|
708
|
-
|
709
631
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
710
632
|
attr_accessor :metadata
|
711
|
-
|
712
633
|
# The Stripe account ID for which these funds are intended. For details,
|
713
634
|
# see the PaymentIntents [use case for connected
|
714
635
|
# accounts](/docs/payments/connected-accounts).
|
715
636
|
attr_accessor :on_behalf_of
|
716
|
-
|
717
637
|
# Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
718
638
|
attr_accessor :receipt_email
|
719
|
-
|
720
639
|
# Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment
|
721
640
|
# method collected by this Checkout Session.
|
722
641
|
#
|
@@ -738,22 +657,17 @@ module Stripe
|
|
738
657
|
# to dynamically optimize your payment flow and comply with regional
|
739
658
|
# legislation and network rules, such as SCA.
|
740
659
|
attr_accessor :setup_future_usage
|
741
|
-
|
742
660
|
# Shipping information for this payment.
|
743
661
|
attr_accessor :shipping
|
744
|
-
|
745
662
|
# Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
746
663
|
#
|
747
664
|
# Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
748
665
|
attr_accessor :statement_descriptor
|
749
|
-
|
750
666
|
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
|
751
667
|
attr_accessor :statement_descriptor_suffix
|
752
|
-
|
753
668
|
# The parameters used to automatically create a Transfer when the payment succeeds.
|
754
669
|
# For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
755
670
|
attr_accessor :transfer_data
|
756
|
-
|
757
671
|
# A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
|
758
672
|
attr_accessor :transfer_group
|
759
673
|
|
@@ -802,16 +716,12 @@ module Stripe
|
|
802
716
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
803
717
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
804
718
|
attr_accessor :custom_mandate_url
|
805
|
-
|
806
719
|
# List of Stripe products where this mandate can be selected automatically. Only usable in `setup` mode.
|
807
720
|
attr_accessor :default_for
|
808
|
-
|
809
721
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
810
722
|
attr_accessor :interval_description
|
811
|
-
|
812
723
|
# Payment schedule for the mandate.
|
813
724
|
attr_accessor :payment_schedule
|
814
|
-
|
815
725
|
# Transaction type of the mandate.
|
816
726
|
attr_accessor :transaction_type
|
817
727
|
|
@@ -831,10 +741,8 @@ module Stripe
|
|
831
741
|
end
|
832
742
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). This is only accepted for Checkout Sessions in `setup` mode.
|
833
743
|
attr_accessor :currency
|
834
|
-
|
835
744
|
# Additional fields for Mandate creation
|
836
745
|
attr_accessor :mandate_options
|
837
|
-
|
838
746
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
839
747
|
#
|
840
748
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -843,7 +751,6 @@ module Stripe
|
|
843
751
|
#
|
844
752
|
# 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).
|
845
753
|
attr_accessor :setup_future_usage
|
846
|
-
|
847
754
|
# Verification method for the intent
|
848
755
|
attr_accessor :verification_method
|
849
756
|
|
@@ -946,7 +853,6 @@ module Stripe
|
|
946
853
|
end
|
947
854
|
# Additional fields for Mandate creation
|
948
855
|
attr_accessor :mandate_options
|
949
|
-
|
950
856
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
951
857
|
#
|
952
858
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -980,7 +886,6 @@ module Stripe
|
|
980
886
|
class Boleto < Stripe::RequestParams
|
981
887
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
982
888
|
attr_accessor :expires_after_days
|
983
|
-
|
984
889
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
985
890
|
#
|
986
891
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1008,25 +913,18 @@ module Stripe
|
|
1008
913
|
end
|
1009
914
|
# Installment options for card payments
|
1010
915
|
attr_accessor :installments
|
1011
|
-
|
1012
916
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1013
917
|
attr_accessor :request_decremental_authorization
|
1014
|
-
|
1015
918
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1016
919
|
attr_accessor :request_extended_authorization
|
1017
|
-
|
1018
920
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
1019
921
|
attr_accessor :request_incremental_authorization
|
1020
|
-
|
1021
922
|
# Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.
|
1022
923
|
attr_accessor :request_multicapture
|
1023
|
-
|
1024
924
|
# Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.
|
1025
925
|
attr_accessor :request_overcapture
|
1026
|
-
|
1027
926
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1028
927
|
attr_accessor :request_three_d_secure
|
1029
|
-
|
1030
928
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1031
929
|
#
|
1032
930
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1035,10 +933,8 @@ module Stripe
|
|
1035
933
|
#
|
1036
934
|
# 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).
|
1037
935
|
attr_accessor :setup_future_usage
|
1038
|
-
|
1039
936
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.
|
1040
937
|
attr_accessor :statement_descriptor_suffix_kana
|
1041
|
-
|
1042
938
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
1043
939
|
attr_accessor :statement_descriptor_suffix_kanji
|
1044
940
|
|
@@ -1094,12 +990,10 @@ module Stripe
|
|
1094
990
|
end
|
1095
991
|
# Configuration for eu_bank_transfer funding type.
|
1096
992
|
attr_accessor :eu_bank_transfer
|
1097
|
-
|
1098
993
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
1099
994
|
#
|
1100
995
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
1101
996
|
attr_accessor :requested_address_types
|
1102
|
-
|
1103
997
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding.
|
1104
998
|
attr_accessor :type
|
1105
999
|
|
@@ -1111,10 +1005,8 @@ module Stripe
|
|
1111
1005
|
end
|
1112
1006
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
1113
1007
|
attr_accessor :bank_transfer
|
1114
|
-
|
1115
1008
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1116
1009
|
attr_accessor :funding_type
|
1117
|
-
|
1118
1010
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1119
1011
|
#
|
1120
1012
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1209,7 +1101,6 @@ module Stripe
|
|
1209
1101
|
class KakaoPay < Stripe::RequestParams
|
1210
1102
|
# Controls when the funds will be captured from the customer's account.
|
1211
1103
|
attr_accessor :capture_method
|
1212
|
-
|
1213
1104
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1214
1105
|
#
|
1215
1106
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1243,7 +1134,6 @@ module Stripe
|
|
1243
1134
|
class Konbini < Stripe::RequestParams
|
1244
1135
|
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
1245
1136
|
attr_accessor :expires_after_days
|
1246
|
-
|
1247
1137
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1248
1138
|
#
|
1249
1139
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1262,7 +1152,6 @@ module Stripe
|
|
1262
1152
|
class KrCard < Stripe::RequestParams
|
1263
1153
|
# Controls when the funds will be captured from the customer's account.
|
1264
1154
|
attr_accessor :capture_method
|
1265
|
-
|
1266
1155
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1267
1156
|
#
|
1268
1157
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1326,7 +1215,6 @@ module Stripe
|
|
1326
1215
|
class NaverPay < Stripe::RequestParams
|
1327
1216
|
# Controls when the funds will be captured from the customer's account.
|
1328
1217
|
attr_accessor :capture_method
|
1329
|
-
|
1330
1218
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1331
1219
|
#
|
1332
1220
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1345,7 +1233,6 @@ module Stripe
|
|
1345
1233
|
class Oxxo < Stripe::RequestParams
|
1346
1234
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
1347
1235
|
attr_accessor :expires_after_days
|
1348
|
-
|
1349
1236
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1350
1237
|
#
|
1351
1238
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1370,7 +1257,6 @@ module Stripe
|
|
1370
1257
|
#
|
1371
1258
|
# 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).
|
1372
1259
|
attr_accessor :setup_future_usage
|
1373
|
-
|
1374
1260
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
1375
1261
|
attr_accessor :tos_shown_and_accepted
|
1376
1262
|
|
@@ -1407,19 +1293,14 @@ module Stripe
|
|
1407
1293
|
class Paypal < Stripe::RequestParams
|
1408
1294
|
# Controls when the funds will be captured from the customer's account.
|
1409
1295
|
attr_accessor :capture_method
|
1410
|
-
|
1411
1296
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1412
1297
|
attr_accessor :preferred_locale
|
1413
|
-
|
1414
1298
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
1415
1299
|
attr_accessor :reference
|
1416
|
-
|
1417
1300
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
1418
1301
|
attr_accessor :reference_id
|
1419
|
-
|
1420
1302
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1421
1303
|
attr_accessor :risk_correlation_id
|
1422
|
-
|
1423
1304
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1424
1305
|
#
|
1425
1306
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1430,7 +1311,6 @@ module Stripe
|
|
1430
1311
|
#
|
1431
1312
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
1432
1313
|
attr_accessor :setup_future_usage
|
1433
|
-
|
1434
1314
|
# 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.
|
1435
1315
|
attr_accessor :subsellers
|
1436
1316
|
|
@@ -1457,22 +1337,16 @@ module Stripe
|
|
1457
1337
|
class MandateOptions < Stripe::RequestParams
|
1458
1338
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1459
1339
|
attr_accessor :amount
|
1460
|
-
|
1461
1340
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1462
1341
|
attr_accessor :amount_type
|
1463
|
-
|
1464
1342
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1465
1343
|
attr_accessor :end_date
|
1466
|
-
|
1467
1344
|
# The periodicity at which payments will be collected.
|
1468
1345
|
attr_accessor :payment_schedule
|
1469
|
-
|
1470
1346
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1471
1347
|
attr_accessor :payments_per_period
|
1472
|
-
|
1473
1348
|
# The purpose for which payments are made. Defaults to retail.
|
1474
1349
|
attr_accessor :purpose
|
1475
|
-
|
1476
1350
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1477
1351
|
attr_accessor :start_date
|
1478
1352
|
|
@@ -1496,7 +1370,6 @@ module Stripe
|
|
1496
1370
|
end
|
1497
1371
|
# Additional fields for Mandate creation
|
1498
1372
|
attr_accessor :mandate_options
|
1499
|
-
|
1500
1373
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1501
1374
|
#
|
1502
1375
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1556,7 +1429,6 @@ module Stripe
|
|
1556
1429
|
end
|
1557
1430
|
# Additional fields for Mandate creation
|
1558
1431
|
attr_accessor :mandate_options
|
1559
|
-
|
1560
1432
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1561
1433
|
#
|
1562
1434
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1600,7 +1472,6 @@ module Stripe
|
|
1600
1472
|
class FinancialConnections < Stripe::RequestParams
|
1601
1473
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1602
1474
|
attr_accessor :permissions
|
1603
|
-
|
1604
1475
|
# List of data features that you would like to retrieve upon account creation.
|
1605
1476
|
attr_accessor :prefetch
|
1606
1477
|
|
@@ -1611,7 +1482,6 @@ module Stripe
|
|
1611
1482
|
end
|
1612
1483
|
# Additional fields for Financial Connections Session creation
|
1613
1484
|
attr_accessor :financial_connections
|
1614
|
-
|
1615
1485
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1616
1486
|
#
|
1617
1487
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1620,7 +1490,6 @@ module Stripe
|
|
1620
1490
|
#
|
1621
1491
|
# 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).
|
1622
1492
|
attr_accessor :setup_future_usage
|
1623
|
-
|
1624
1493
|
# Verification method for the intent
|
1625
1494
|
attr_accessor :verification_method
|
1626
1495
|
|
@@ -1638,10 +1507,8 @@ module Stripe
|
|
1638
1507
|
class WechatPay < Stripe::RequestParams
|
1639
1508
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1640
1509
|
attr_accessor :app_id
|
1641
|
-
|
1642
1510
|
# The client type that the end customer will pay from
|
1643
1511
|
attr_accessor :client
|
1644
|
-
|
1645
1512
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1646
1513
|
#
|
1647
1514
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1659,118 +1526,80 @@ module Stripe
|
|
1659
1526
|
end
|
1660
1527
|
# contains details about the ACSS Debit payment method options.
|
1661
1528
|
attr_accessor :acss_debit
|
1662
|
-
|
1663
1529
|
# contains details about the Affirm payment method options.
|
1664
1530
|
attr_accessor :affirm
|
1665
|
-
|
1666
1531
|
# contains details about the Afterpay Clearpay payment method options.
|
1667
1532
|
attr_accessor :afterpay_clearpay
|
1668
|
-
|
1669
1533
|
# contains details about the Alipay payment method options.
|
1670
1534
|
attr_accessor :alipay
|
1671
|
-
|
1672
1535
|
# contains details about the AmazonPay payment method options.
|
1673
1536
|
attr_accessor :amazon_pay
|
1674
|
-
|
1675
1537
|
# contains details about the AU Becs Debit payment method options.
|
1676
1538
|
attr_accessor :au_becs_debit
|
1677
|
-
|
1678
1539
|
# contains details about the Bacs Debit payment method options.
|
1679
1540
|
attr_accessor :bacs_debit
|
1680
|
-
|
1681
1541
|
# contains details about the Bancontact payment method options.
|
1682
1542
|
attr_accessor :bancontact
|
1683
|
-
|
1684
1543
|
# contains details about the Boleto payment method options.
|
1685
1544
|
attr_accessor :boleto
|
1686
|
-
|
1687
1545
|
# contains details about the Card payment method options.
|
1688
1546
|
attr_accessor :card
|
1689
|
-
|
1690
1547
|
# contains details about the Cashapp Pay payment method options.
|
1691
1548
|
attr_accessor :cashapp
|
1692
|
-
|
1693
1549
|
# contains details about the Customer Balance payment method options.
|
1694
1550
|
attr_accessor :customer_balance
|
1695
|
-
|
1696
1551
|
# contains details about the EPS payment method options.
|
1697
1552
|
attr_accessor :eps
|
1698
|
-
|
1699
1553
|
# contains details about the FPX payment method options.
|
1700
1554
|
attr_accessor :fpx
|
1701
|
-
|
1702
1555
|
# contains details about the Giropay payment method options.
|
1703
1556
|
attr_accessor :giropay
|
1704
|
-
|
1705
1557
|
# contains details about the Grabpay payment method options.
|
1706
1558
|
attr_accessor :grabpay
|
1707
|
-
|
1708
1559
|
# contains details about the Ideal payment method options.
|
1709
1560
|
attr_accessor :ideal
|
1710
|
-
|
1711
1561
|
# contains details about the Kakao Pay payment method options.
|
1712
1562
|
attr_accessor :kakao_pay
|
1713
|
-
|
1714
1563
|
# contains details about the Klarna payment method options.
|
1715
1564
|
attr_accessor :klarna
|
1716
|
-
|
1717
1565
|
# contains details about the Konbini payment method options.
|
1718
1566
|
attr_accessor :konbini
|
1719
|
-
|
1720
1567
|
# contains details about the Korean card payment method options.
|
1721
1568
|
attr_accessor :kr_card
|
1722
|
-
|
1723
1569
|
# contains details about the Link payment method options.
|
1724
1570
|
attr_accessor :link
|
1725
|
-
|
1726
1571
|
# contains details about the Mobilepay payment method options.
|
1727
1572
|
attr_accessor :mobilepay
|
1728
|
-
|
1729
1573
|
# contains details about the Multibanco payment method options.
|
1730
1574
|
attr_accessor :multibanco
|
1731
|
-
|
1732
1575
|
# contains details about the Naver Pay payment method options.
|
1733
1576
|
attr_accessor :naver_pay
|
1734
|
-
|
1735
1577
|
# contains details about the OXXO payment method options.
|
1736
1578
|
attr_accessor :oxxo
|
1737
|
-
|
1738
1579
|
# contains details about the P24 payment method options.
|
1739
1580
|
attr_accessor :p24
|
1740
|
-
|
1741
1581
|
# contains details about the PAYCO payment method options.
|
1742
1582
|
attr_accessor :payco
|
1743
|
-
|
1744
1583
|
# contains details about the PayNow payment method options.
|
1745
1584
|
attr_accessor :paynow
|
1746
|
-
|
1747
1585
|
# contains details about the PayPal payment method options.
|
1748
1586
|
attr_accessor :paypal
|
1749
|
-
|
1750
1587
|
# contains details about the PayTo payment method options.
|
1751
1588
|
attr_accessor :payto
|
1752
|
-
|
1753
1589
|
# contains details about the Pix payment method options.
|
1754
1590
|
attr_accessor :pix
|
1755
|
-
|
1756
1591
|
# contains details about the RevolutPay payment method options.
|
1757
1592
|
attr_accessor :revolut_pay
|
1758
|
-
|
1759
1593
|
# contains details about the Samsung Pay payment method options.
|
1760
1594
|
attr_accessor :samsung_pay
|
1761
|
-
|
1762
1595
|
# contains details about the Sepa Debit payment method options.
|
1763
1596
|
attr_accessor :sepa_debit
|
1764
|
-
|
1765
1597
|
# contains details about the Sofort payment method options.
|
1766
1598
|
attr_accessor :sofort
|
1767
|
-
|
1768
1599
|
# contains details about the Swish payment method options.
|
1769
1600
|
attr_accessor :swish
|
1770
|
-
|
1771
1601
|
# contains details about the Us Bank Account payment method options.
|
1772
1602
|
attr_accessor :us_bank_account
|
1773
|
-
|
1774
1603
|
# contains details about the WeChat Pay payment method options.
|
1775
1604
|
attr_accessor :wechat_pay
|
1776
1605
|
|
@@ -1865,7 +1694,6 @@ module Stripe
|
|
1865
1694
|
#
|
1866
1695
|
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
1867
1696
|
attr_accessor :line_items
|
1868
|
-
|
1869
1697
|
# Determines which entity is allowed to update the shipping details.
|
1870
1698
|
#
|
1871
1699
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
@@ -1888,6 +1716,8 @@ module Stripe
|
|
1888
1716
|
|
1889
1717
|
class PhoneNumberCollection < Stripe::RequestParams
|
1890
1718
|
# Set to `true` to enable phone number collection.
|
1719
|
+
#
|
1720
|
+
# Can only be set in `payment` and `subscription` mode.
|
1891
1721
|
attr_accessor :enabled
|
1892
1722
|
|
1893
1723
|
def initialize(enabled: nil)
|
@@ -1898,7 +1728,6 @@ module Stripe
|
|
1898
1728
|
class SavedPaymentMethodOptions < Stripe::RequestParams
|
1899
1729
|
# Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
|
1900
1730
|
attr_accessor :allow_redisplay_filters
|
1901
|
-
|
1902
1731
|
# Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
|
1903
1732
|
attr_accessor :payment_method_save
|
1904
1733
|
|
@@ -1911,10 +1740,8 @@ module Stripe
|
|
1911
1740
|
class SetupIntentData < Stripe::RequestParams
|
1912
1741
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1913
1742
|
attr_accessor :description
|
1914
|
-
|
1915
1743
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1916
1744
|
attr_accessor :metadata
|
1917
|
-
|
1918
1745
|
# The Stripe account for which the setup is intended.
|
1919
1746
|
attr_accessor :on_behalf_of
|
1920
1747
|
|
@@ -1941,7 +1768,6 @@ module Stripe
|
|
1941
1768
|
class Maximum < Stripe::RequestParams
|
1942
1769
|
# A unit of time.
|
1943
1770
|
attr_accessor :unit
|
1944
|
-
|
1945
1771
|
# Must be greater than 0.
|
1946
1772
|
attr_accessor :value
|
1947
1773
|
|
@@ -1954,7 +1780,6 @@ module Stripe
|
|
1954
1780
|
class Minimum < Stripe::RequestParams
|
1955
1781
|
# A unit of time.
|
1956
1782
|
attr_accessor :unit
|
1957
|
-
|
1958
1783
|
# Must be greater than 0.
|
1959
1784
|
attr_accessor :value
|
1960
1785
|
|
@@ -1965,7 +1790,6 @@ module Stripe
|
|
1965
1790
|
end
|
1966
1791
|
# The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
|
1967
1792
|
attr_accessor :maximum
|
1968
|
-
|
1969
1793
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
1970
1794
|
attr_accessor :minimum
|
1971
1795
|
|
@@ -1979,7 +1803,6 @@ module Stripe
|
|
1979
1803
|
class CurrencyOptions < Stripe::RequestParams
|
1980
1804
|
# A non-negative integer in cents representing how much to charge.
|
1981
1805
|
attr_accessor :amount
|
1982
|
-
|
1983
1806
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
1984
1807
|
attr_accessor :tax_behavior
|
1985
1808
|
|
@@ -1990,10 +1813,8 @@ module Stripe
|
|
1990
1813
|
end
|
1991
1814
|
# A non-negative integer in cents representing how much to charge.
|
1992
1815
|
attr_accessor :amount
|
1993
|
-
|
1994
1816
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
1995
1817
|
attr_accessor :currency
|
1996
|
-
|
1997
1818
|
# Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
1998
1819
|
attr_accessor :currency_options
|
1999
1820
|
|
@@ -2005,22 +1826,16 @@ module Stripe
|
|
2005
1826
|
end
|
2006
1827
|
# The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2007
1828
|
attr_accessor :delivery_estimate
|
2008
|
-
|
2009
1829
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2010
1830
|
attr_accessor :display_name
|
2011
|
-
|
2012
1831
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2013
1832
|
attr_accessor :fixed_amount
|
2014
|
-
|
2015
1833
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2016
1834
|
attr_accessor :metadata
|
2017
|
-
|
2018
1835
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2019
1836
|
attr_accessor :tax_behavior
|
2020
|
-
|
2021
1837
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2022
1838
|
attr_accessor :tax_code
|
2023
|
-
|
2024
1839
|
# The type of calculation to use on the shipping rate.
|
2025
1840
|
attr_accessor :type
|
2026
1841
|
|
@@ -2044,7 +1859,6 @@ module Stripe
|
|
2044
1859
|
end
|
2045
1860
|
# The ID of the Shipping Rate to use for this shipping option.
|
2046
1861
|
attr_accessor :shipping_rate
|
2047
|
-
|
2048
1862
|
# Parameters to be passed to Shipping Rate creation for this shipping option.
|
2049
1863
|
attr_accessor :shipping_rate_data
|
2050
1864
|
|
@@ -2059,7 +1873,6 @@ module Stripe
|
|
2059
1873
|
class Issuer < Stripe::RequestParams
|
2060
1874
|
# The connected account being referenced when `type` is `account`.
|
2061
1875
|
attr_accessor :account
|
2062
|
-
|
2063
1876
|
# Type of the account referenced in the request.
|
2064
1877
|
attr_accessor :type
|
2065
1878
|
|
@@ -2079,7 +1892,6 @@ module Stripe
|
|
2079
1892
|
class TransferData < Stripe::RequestParams
|
2080
1893
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
2081
1894
|
attr_accessor :amount_percent
|
2082
|
-
|
2083
1895
|
# ID of an existing, connected Stripe account.
|
2084
1896
|
attr_accessor :destination
|
2085
1897
|
|
@@ -2107,44 +1919,33 @@ module Stripe
|
|
2107
1919
|
end
|
2108
1920
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
2109
1921
|
attr_accessor :application_fee_percent
|
2110
|
-
|
2111
1922
|
# A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
2112
1923
|
attr_accessor :billing_cycle_anchor
|
2113
|
-
|
2114
1924
|
# The tax rates that will apply to any subscription item that does not have
|
2115
1925
|
# `tax_rates` set. Invoices created will have their `default_tax_rates` populated
|
2116
1926
|
# from the subscription.
|
2117
1927
|
attr_accessor :default_tax_rates
|
2118
|
-
|
2119
1928
|
# The subscription's description, meant to be displayable to the customer.
|
2120
1929
|
# Use this field to optionally store an explanation of the subscription
|
2121
1930
|
# for rendering in the [customer portal](https://stripe.com/docs/customer-management).
|
2122
1931
|
attr_accessor :description
|
2123
|
-
|
2124
1932
|
# All invoices will be billed using the specified settings.
|
2125
1933
|
attr_accessor :invoice_settings
|
2126
|
-
|
2127
1934
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2128
1935
|
attr_accessor :metadata
|
2129
|
-
|
2130
1936
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
2131
1937
|
attr_accessor :on_behalf_of
|
2132
|
-
|
2133
1938
|
# Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
2134
1939
|
attr_accessor :proration_behavior
|
2135
|
-
|
2136
1940
|
# If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.
|
2137
1941
|
attr_accessor :transfer_data
|
2138
|
-
|
2139
1942
|
# Unix timestamp representing the end of the trial period the customer
|
2140
1943
|
# will get before being charged for the first time. Has to be at least
|
2141
1944
|
# 48 hours in the future.
|
2142
1945
|
attr_accessor :trial_end
|
2143
|
-
|
2144
1946
|
# Integer representing the number of trial period days before the
|
2145
1947
|
# customer is charged for the first time. Has to be at least 1.
|
2146
1948
|
attr_accessor :trial_period_days
|
2147
|
-
|
2148
1949
|
# Settings related to subscription trials.
|
2149
1950
|
attr_accessor :trial_settings
|
2150
1951
|
|
@@ -2180,7 +1981,6 @@ module Stripe
|
|
2180
1981
|
class TaxIdCollection < Stripe::RequestParams
|
2181
1982
|
# Enable tax ID collection during checkout. Defaults to `false`.
|
2182
1983
|
attr_accessor :enabled
|
2183
|
-
|
2184
1984
|
# Describes whether a tax ID is required during checkout. Defaults to `never`.
|
2185
1985
|
attr_accessor :required
|
2186
1986
|
|
@@ -2191,39 +1991,28 @@ module Stripe
|
|
2191
1991
|
end
|
2192
1992
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
2193
1993
|
attr_accessor :adaptive_pricing
|
2194
|
-
|
2195
1994
|
# Configure actions after a Checkout Session has expired.
|
2196
1995
|
attr_accessor :after_expiration
|
2197
|
-
|
2198
1996
|
# Enables user redeemable promotion codes.
|
2199
1997
|
attr_accessor :allow_promotion_codes
|
2200
|
-
|
2201
1998
|
# Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
2202
1999
|
attr_accessor :automatic_tax
|
2203
|
-
|
2204
2000
|
# Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
2205
2001
|
attr_accessor :billing_address_collection
|
2206
|
-
|
2207
2002
|
# If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded` or `custom`.
|
2208
2003
|
attr_accessor :cancel_url
|
2209
|
-
|
2210
2004
|
# A unique string to reference the Checkout Session. This can be a
|
2211
2005
|
# customer ID, a cart ID, or similar, and can be used to reconcile the
|
2212
2006
|
# session with your internal systems.
|
2213
2007
|
attr_accessor :client_reference_id
|
2214
|
-
|
2215
2008
|
# Configure fields for the Checkout Session to gather active consent from customers.
|
2216
2009
|
attr_accessor :consent_collection
|
2217
|
-
|
2218
2010
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required in `setup` mode when `payment_method_types` is not set.
|
2219
2011
|
attr_accessor :currency
|
2220
|
-
|
2221
2012
|
# Collect additional information from your customer using custom fields. Up to 3 fields are supported.
|
2222
2013
|
attr_accessor :custom_fields
|
2223
|
-
|
2224
2014
|
# Display additional text for your customers using custom text.
|
2225
2015
|
attr_accessor :custom_text
|
2226
|
-
|
2227
2016
|
# ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card
|
2228
2017
|
# payment method will be used to prefill the email, name, card details, and billing address
|
2229
2018
|
# on the Checkout page. In `subscription` mode, the customer’s [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
|
@@ -2236,7 +2025,6 @@ module Stripe
|
|
2236
2025
|
#
|
2237
2026
|
# You can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.
|
2238
2027
|
attr_accessor :customer
|
2239
|
-
|
2240
2028
|
# Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.
|
2241
2029
|
#
|
2242
2030
|
# When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
|
@@ -2247,48 +2035,36 @@ module Stripe
|
|
2247
2035
|
#
|
2248
2036
|
# Can only be set in `payment` and `setup` mode.
|
2249
2037
|
attr_accessor :customer_creation
|
2250
|
-
|
2251
2038
|
# If provided, this value will be used when the Customer object is created.
|
2252
2039
|
# If not provided, customers will be asked to enter their email address.
|
2253
2040
|
# Use this parameter to prefill customer data if you already have an email
|
2254
2041
|
# on file. To access information about the customer once a session is
|
2255
2042
|
# complete, use the `customer` field.
|
2256
2043
|
attr_accessor :customer_email
|
2257
|
-
|
2258
2044
|
# Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.
|
2259
2045
|
attr_accessor :customer_update
|
2260
|
-
|
2261
2046
|
# The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.
|
2262
2047
|
attr_accessor :discounts
|
2263
|
-
|
2264
2048
|
# Specifies which fields in the response should be expanded.
|
2265
2049
|
attr_accessor :expand
|
2266
|
-
|
2267
2050
|
# The Epoch time in seconds at which the Checkout Session will expire. It can be anywhere from 30 minutes to 24 hours after Checkout Session creation. By default, this value is 24 hours from creation.
|
2268
2051
|
attr_accessor :expires_at
|
2269
|
-
|
2270
2052
|
# Generate a post-purchase Invoice for one-time payments.
|
2271
2053
|
attr_accessor :invoice_creation
|
2272
|
-
|
2273
2054
|
# A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).
|
2274
2055
|
#
|
2275
2056
|
# For `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.
|
2276
2057
|
#
|
2277
2058
|
# For `subscription` mode, there is a maximum of 20 line items with recurring Prices and 20 line items with one-time Prices. Line items with one-time Prices will be on the initial invoice only.
|
2278
2059
|
attr_accessor :line_items
|
2279
|
-
|
2280
2060
|
# The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
|
2281
2061
|
attr_accessor :locale
|
2282
|
-
|
2283
2062
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2284
2063
|
attr_accessor :metadata
|
2285
|
-
|
2286
2064
|
# The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
|
2287
2065
|
attr_accessor :mode
|
2288
|
-
|
2289
2066
|
# A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
2290
2067
|
attr_accessor :payment_intent_data
|
2291
|
-
|
2292
2068
|
# Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.
|
2293
2069
|
# This may occur if the Checkout Session includes a free trial or a discount.
|
2294
2070
|
#
|
@@ -2296,16 +2072,12 @@ module Stripe
|
|
2296
2072
|
#
|
2297
2073
|
# If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).
|
2298
2074
|
attr_accessor :payment_method_collection
|
2299
|
-
|
2300
2075
|
# The ID of the payment method configuration to use with this Checkout session.
|
2301
2076
|
attr_accessor :payment_method_configuration
|
2302
|
-
|
2303
2077
|
# This parameter allows you to set some attributes on the payment method created during a Checkout session.
|
2304
2078
|
attr_accessor :payment_method_data
|
2305
|
-
|
2306
2079
|
# Payment-method-specific configuration.
|
2307
2080
|
attr_accessor :payment_method_options
|
2308
|
-
|
2309
2081
|
# A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.
|
2310
2082
|
#
|
2311
2083
|
# You can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
@@ -2318,56 +2090,43 @@ module Stripe
|
|
2318
2090
|
# prioritize the most relevant payment methods based on the customer's location and
|
2319
2091
|
# other characteristics.
|
2320
2092
|
attr_accessor :payment_method_types
|
2321
|
-
|
2322
2093
|
# This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
|
2323
2094
|
#
|
2324
2095
|
# For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
|
2325
2096
|
attr_accessor :permissions
|
2326
|
-
|
2327
2097
|
# Controls phone number collection settings for the session.
|
2328
2098
|
#
|
2329
2099
|
# We recommend that you review your privacy policy and check with your legal contacts
|
2330
2100
|
# before using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).
|
2331
2101
|
attr_accessor :phone_number_collection
|
2332
|
-
|
2333
2102
|
# This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
2334
2103
|
attr_accessor :redirect_on_completion
|
2335
|
-
|
2336
2104
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
2337
2105
|
# payment method's app or site. This parameter is required if `ui_mode` is `embedded` or `custom`
|
2338
2106
|
# and redirect-based payment methods are enabled on the session.
|
2339
2107
|
attr_accessor :return_url
|
2340
|
-
|
2341
2108
|
# Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.
|
2342
2109
|
attr_accessor :saved_payment_method_options
|
2343
|
-
|
2344
2110
|
# A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.
|
2345
2111
|
attr_accessor :setup_intent_data
|
2346
|
-
|
2347
2112
|
# When set, provides configuration for Checkout to collect a shipping address from a customer.
|
2348
2113
|
attr_accessor :shipping_address_collection
|
2349
|
-
|
2350
2114
|
# The shipping rate options to apply to this Session. Up to a maximum of 5.
|
2351
2115
|
attr_accessor :shipping_options
|
2352
|
-
|
2353
2116
|
# Describes the type of transaction being performed by Checkout in order to customize
|
2354
2117
|
# relevant text on the page, such as the submit button. `submit_type` can only be
|
2355
2118
|
# specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.
|
2356
2119
|
attr_accessor :submit_type
|
2357
|
-
|
2358
2120
|
# A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
2359
2121
|
attr_accessor :subscription_data
|
2360
|
-
|
2361
2122
|
# The URL to which Stripe should send customers when payment or setup
|
2362
2123
|
# is complete.
|
2363
2124
|
# This parameter is not allowed if ui_mode is `embedded` or `custom`. If you'd like to use
|
2364
2125
|
# information from the successful Checkout Session on your page, read the
|
2365
2126
|
# guide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).
|
2366
2127
|
attr_accessor :success_url
|
2367
|
-
|
2368
2128
|
# Controls tax ID collection during checkout.
|
2369
2129
|
attr_accessor :tax_id_collection
|
2370
|
-
|
2371
2130
|
# The UI mode of the Session. Defaults to `hosted`.
|
2372
2131
|
attr_accessor :ui_mode
|
2373
2132
|
|
@@ -2475,19 +2234,14 @@ module Stripe
|
|
2475
2234
|
class Address < Stripe::RequestParams
|
2476
2235
|
# City, district, suburb, town, or village.
|
2477
2236
|
attr_accessor :city
|
2478
|
-
|
2479
2237
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2480
2238
|
attr_accessor :country
|
2481
|
-
|
2482
2239
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2483
2240
|
attr_accessor :line1
|
2484
|
-
|
2485
2241
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2486
2242
|
attr_accessor :line2
|
2487
|
-
|
2488
2243
|
# ZIP or postal code.
|
2489
2244
|
attr_accessor :postal_code
|
2490
|
-
|
2491
2245
|
# State, county, province, or region.
|
2492
2246
|
attr_accessor :state
|
2493
2247
|
|
@@ -2509,7 +2263,6 @@ module Stripe
|
|
2509
2263
|
end
|
2510
2264
|
# The address of the customer
|
2511
2265
|
attr_accessor :address
|
2512
|
-
|
2513
2266
|
# The name of customer
|
2514
2267
|
attr_accessor :name
|
2515
2268
|
|
@@ -2530,10 +2283,8 @@ module Stripe
|
|
2530
2283
|
class AdjustableQuantity < Stripe::RequestParams
|
2531
2284
|
# Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity.
|
2532
2285
|
attr_accessor :enabled
|
2533
|
-
|
2534
2286
|
# The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
|
2535
2287
|
attr_accessor :maximum
|
2536
|
-
|
2537
2288
|
# The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
2538
2289
|
attr_accessor :minimum
|
2539
2290
|
|
@@ -2545,19 +2296,14 @@ module Stripe
|
|
2545
2296
|
end
|
2546
2297
|
# When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
|
2547
2298
|
attr_accessor :adjustable_quantity
|
2548
|
-
|
2549
2299
|
# ID of an existing line item.
|
2550
2300
|
attr_accessor :id
|
2551
|
-
|
2552
2301
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2553
2302
|
attr_accessor :metadata
|
2554
|
-
|
2555
2303
|
# The ID of the [Price](https://stripe.com/docs/api/prices).
|
2556
2304
|
attr_accessor :price
|
2557
|
-
|
2558
2305
|
# The quantity of the line item being purchased.
|
2559
2306
|
attr_accessor :quantity
|
2560
|
-
|
2561
2307
|
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
2562
2308
|
attr_accessor :tax_rates
|
2563
2309
|
|
@@ -2584,7 +2330,6 @@ module Stripe
|
|
2584
2330
|
class Maximum < Stripe::RequestParams
|
2585
2331
|
# A unit of time.
|
2586
2332
|
attr_accessor :unit
|
2587
|
-
|
2588
2333
|
# Must be greater than 0.
|
2589
2334
|
attr_accessor :value
|
2590
2335
|
|
@@ -2597,7 +2342,6 @@ module Stripe
|
|
2597
2342
|
class Minimum < Stripe::RequestParams
|
2598
2343
|
# A unit of time.
|
2599
2344
|
attr_accessor :unit
|
2600
|
-
|
2601
2345
|
# Must be greater than 0.
|
2602
2346
|
attr_accessor :value
|
2603
2347
|
|
@@ -2608,7 +2352,6 @@ module Stripe
|
|
2608
2352
|
end
|
2609
2353
|
# The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
|
2610
2354
|
attr_accessor :maximum
|
2611
|
-
|
2612
2355
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
2613
2356
|
attr_accessor :minimum
|
2614
2357
|
|
@@ -2622,7 +2365,6 @@ module Stripe
|
|
2622
2365
|
class CurrencyOptions < Stripe::RequestParams
|
2623
2366
|
# A non-negative integer in cents representing how much to charge.
|
2624
2367
|
attr_accessor :amount
|
2625
|
-
|
2626
2368
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2627
2369
|
attr_accessor :tax_behavior
|
2628
2370
|
|
@@ -2633,10 +2375,8 @@ module Stripe
|
|
2633
2375
|
end
|
2634
2376
|
# A non-negative integer in cents representing how much to charge.
|
2635
2377
|
attr_accessor :amount
|
2636
|
-
|
2637
2378
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
2638
2379
|
attr_accessor :currency
|
2639
|
-
|
2640
2380
|
# Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
2641
2381
|
attr_accessor :currency_options
|
2642
2382
|
|
@@ -2648,22 +2388,16 @@ module Stripe
|
|
2648
2388
|
end
|
2649
2389
|
# The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2650
2390
|
attr_accessor :delivery_estimate
|
2651
|
-
|
2652
2391
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2653
2392
|
attr_accessor :display_name
|
2654
|
-
|
2655
2393
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2656
2394
|
attr_accessor :fixed_amount
|
2657
|
-
|
2658
2395
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2659
2396
|
attr_accessor :metadata
|
2660
|
-
|
2661
2397
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2662
2398
|
attr_accessor :tax_behavior
|
2663
|
-
|
2664
2399
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2665
2400
|
attr_accessor :tax_code
|
2666
|
-
|
2667
2401
|
# The type of calculation to use on the shipping rate.
|
2668
2402
|
attr_accessor :type
|
2669
2403
|
|
@@ -2687,7 +2421,6 @@ module Stripe
|
|
2687
2421
|
end
|
2688
2422
|
# The ID of the Shipping Rate to use for this shipping option.
|
2689
2423
|
attr_accessor :shipping_rate
|
2690
|
-
|
2691
2424
|
# Parameters to be passed to Shipping Rate creation for this shipping option.
|
2692
2425
|
attr_accessor :shipping_rate_data
|
2693
2426
|
|
@@ -2698,10 +2431,8 @@ module Stripe
|
|
2698
2431
|
end
|
2699
2432
|
# Information about the customer collected within the Checkout Session.
|
2700
2433
|
attr_accessor :collected_information
|
2701
|
-
|
2702
2434
|
# Specifies which fields in the response should be expanded.
|
2703
2435
|
attr_accessor :expand
|
2704
|
-
|
2705
2436
|
# A list of items the customer is purchasing.
|
2706
2437
|
#
|
2707
2438
|
# When updating line items, you must retransmit the entire array of line items.
|
@@ -2716,10 +2447,8 @@ module Stripe
|
|
2716
2447
|
#
|
2717
2448
|
# To reorder a line item, specify it at the desired position in the retransmitted array.
|
2718
2449
|
attr_accessor :line_items
|
2719
|
-
|
2720
2450
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2721
2451
|
attr_accessor :metadata
|
2722
|
-
|
2723
2452
|
# The shipping rate options to apply to this Session. Up to a maximum of 5.
|
2724
2453
|
attr_accessor :shipping_options
|
2725
2454
|
|