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
@@ -11,19 +11,15 @@ module Stripe
|
|
11
11
|
# Minimum value to filter by (exclusive)
|
12
12
|
sig { returns(Integer) }
|
13
13
|
attr_accessor :gt
|
14
|
-
|
15
14
|
# Minimum value to filter by (inclusive)
|
16
15
|
sig { returns(Integer) }
|
17
16
|
attr_accessor :gte
|
18
|
-
|
19
17
|
# Maximum value to filter by (exclusive)
|
20
18
|
sig { returns(Integer) }
|
21
19
|
attr_accessor :lt
|
22
|
-
|
23
20
|
# Maximum value to filter by (inclusive)
|
24
21
|
sig { returns(Integer) }
|
25
22
|
attr_accessor :lte
|
26
|
-
|
27
23
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
28
24
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
29
25
|
end
|
@@ -31,54 +27,42 @@ module Stripe
|
|
31
27
|
# Customer's email address.
|
32
28
|
sig { returns(String) }
|
33
29
|
attr_accessor :email
|
34
|
-
|
35
30
|
sig { params(email: String).void }
|
36
31
|
def initialize(email: nil); end
|
37
32
|
end
|
38
33
|
# Only return Checkout Sessions that were created during the given date interval.
|
39
34
|
sig { returns(T.any(::Stripe::Checkout::SessionService::ListParams::Created, Integer)) }
|
40
35
|
attr_accessor :created
|
41
|
-
|
42
36
|
# Only return the Checkout Sessions for the Customer specified.
|
43
37
|
sig { returns(String) }
|
44
38
|
attr_accessor :customer
|
45
|
-
|
46
39
|
# Only return the Checkout Sessions for the Customer details specified.
|
47
40
|
sig { returns(::Stripe::Checkout::SessionService::ListParams::CustomerDetails) }
|
48
41
|
attr_accessor :customer_details
|
49
|
-
|
50
42
|
# 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.
|
51
43
|
sig { returns(String) }
|
52
44
|
attr_accessor :ending_before
|
53
|
-
|
54
45
|
# Specifies which fields in the response should be expanded.
|
55
46
|
sig { returns(T::Array[String]) }
|
56
47
|
attr_accessor :expand
|
57
|
-
|
58
48
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
59
49
|
sig { returns(Integer) }
|
60
50
|
attr_accessor :limit
|
61
|
-
|
62
51
|
# Only return the Checkout Session for the PaymentIntent specified.
|
63
52
|
sig { returns(String) }
|
64
53
|
attr_accessor :payment_intent
|
65
|
-
|
66
54
|
# Only return the Checkout Sessions for the Payment Link specified.
|
67
55
|
sig { returns(String) }
|
68
56
|
attr_accessor :payment_link
|
69
|
-
|
70
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.
|
71
58
|
sig { returns(String) }
|
72
59
|
attr_accessor :starting_after
|
73
|
-
|
74
60
|
# Only return the Checkout Sessions matching the given status.
|
75
61
|
sig { returns(String) }
|
76
62
|
attr_accessor :status
|
77
|
-
|
78
63
|
# Only return the Checkout Session for the subscription specified.
|
79
64
|
sig { returns(String) }
|
80
65
|
attr_accessor :subscription
|
81
|
-
|
82
66
|
sig {
|
83
67
|
params(created: T.any(::Stripe::Checkout::SessionService::ListParams::Created, Integer), customer: String, customer_details: ::Stripe::Checkout::SessionService::ListParams::CustomerDetails, ending_before: String, expand: T::Array[String], limit: Integer, payment_intent: String, payment_link: String, starting_after: String, status: String, subscription: String).void
|
84
68
|
}
|
@@ -101,7 +85,6 @@ module Stripe
|
|
101
85
|
# Set to `true` to enable [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing).
|
102
86
|
sig { returns(T::Boolean) }
|
103
87
|
attr_accessor :enabled
|
104
|
-
|
105
88
|
sig { params(enabled: T::Boolean).void }
|
106
89
|
def initialize(enabled: nil); end
|
107
90
|
end
|
@@ -110,13 +93,11 @@ module Stripe
|
|
110
93
|
# Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`
|
111
94
|
sig { returns(T::Boolean) }
|
112
95
|
attr_accessor :allow_promotion_codes
|
113
|
-
|
114
96
|
# If `true`, a recovery URL will be generated to recover this Checkout Session if it
|
115
97
|
# expires before a successful transaction is completed. It will be attached to the
|
116
98
|
# Checkout Session object upon expiration.
|
117
99
|
sig { returns(T::Boolean) }
|
118
100
|
attr_accessor :enabled
|
119
|
-
|
120
101
|
sig { params(allow_promotion_codes: T::Boolean, enabled: T::Boolean).void }
|
121
102
|
def initialize(allow_promotion_codes: nil, enabled: nil); end
|
122
103
|
end
|
@@ -125,7 +106,6 @@ module Stripe
|
|
125
106
|
returns(::Stripe::Checkout::SessionService::CreateParams::AfterExpiration::Recovery)
|
126
107
|
}
|
127
108
|
attr_accessor :recovery
|
128
|
-
|
129
109
|
sig {
|
130
110
|
params(recovery: ::Stripe::Checkout::SessionService::CreateParams::AfterExpiration::Recovery).void
|
131
111
|
}
|
@@ -136,11 +116,9 @@ module Stripe
|
|
136
116
|
# The connected account being referenced when `type` is `account`.
|
137
117
|
sig { returns(String) }
|
138
118
|
attr_accessor :account
|
139
|
-
|
140
119
|
# Type of the account referenced in the request.
|
141
120
|
sig { returns(String) }
|
142
121
|
attr_accessor :type
|
143
|
-
|
144
122
|
sig { params(account: String, type: String).void }
|
145
123
|
def initialize(account: nil, type: nil); end
|
146
124
|
end
|
@@ -149,11 +127,9 @@ module Stripe
|
|
149
127
|
# Enabling this parameter causes Checkout to collect any billing address information necessary for tax calculation.
|
150
128
|
sig { returns(T::Boolean) }
|
151
129
|
attr_accessor :enabled
|
152
|
-
|
153
130
|
# 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.
|
154
131
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::AutomaticTax::Liability) }
|
155
132
|
attr_accessor :liability
|
156
|
-
|
157
133
|
sig {
|
158
134
|
params(enabled: T::Boolean, liability: ::Stripe::Checkout::SessionService::CreateParams::AutomaticTax::Liability).void
|
159
135
|
}
|
@@ -165,7 +141,6 @@ module Stripe
|
|
165
141
|
# defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
|
166
142
|
sig { returns(String) }
|
167
143
|
attr_accessor :position
|
168
|
-
|
169
144
|
sig { params(position: String).void }
|
170
145
|
def initialize(position: nil); end
|
171
146
|
end
|
@@ -174,18 +149,15 @@ module Stripe
|
|
174
149
|
returns(::Stripe::Checkout::SessionService::CreateParams::ConsentCollection::PaymentMethodReuseAgreement)
|
175
150
|
}
|
176
151
|
attr_accessor :payment_method_reuse_agreement
|
177
|
-
|
178
152
|
# If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
179
153
|
# Session will determine whether to display an option to opt into promotional communication
|
180
154
|
# from the merchant depending on the customer's locale. Only available to US merchants.
|
181
155
|
sig { returns(String) }
|
182
156
|
attr_accessor :promotions
|
183
|
-
|
184
157
|
# If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.
|
185
158
|
# There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).
|
186
159
|
sig { returns(String) }
|
187
160
|
attr_accessor :terms_of_service
|
188
|
-
|
189
161
|
sig {
|
190
162
|
params(payment_method_reuse_agreement: ::Stripe::Checkout::SessionService::CreateParams::ConsentCollection::PaymentMethodReuseAgreement, promotions: String, terms_of_service: String).void
|
191
163
|
}
|
@@ -201,24 +173,20 @@ module Stripe
|
|
201
173
|
# The label for the option, displayed to the customer. Up to 100 characters.
|
202
174
|
sig { returns(String) }
|
203
175
|
attr_accessor :label
|
204
|
-
|
205
176
|
# 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.
|
206
177
|
sig { returns(String) }
|
207
178
|
attr_accessor :value
|
208
|
-
|
209
179
|
sig { params(label: String, value: String).void }
|
210
180
|
def initialize(label: nil, value: nil); end
|
211
181
|
end
|
212
182
|
# The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
|
213
183
|
sig { returns(String) }
|
214
184
|
attr_accessor :default_value
|
215
|
-
|
216
185
|
# The options available for the customer to select. Up to 200 options allowed.
|
217
186
|
sig {
|
218
187
|
returns(T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField::Dropdown::Option])
|
219
188
|
}
|
220
189
|
attr_accessor :options
|
221
|
-
|
222
190
|
sig {
|
223
191
|
params(default_value: String, options: T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField::Dropdown::Option]).void
|
224
192
|
}
|
@@ -228,11 +196,9 @@ module Stripe
|
|
228
196
|
# Custom text for the label, displayed to the customer. Up to 50 characters.
|
229
197
|
sig { returns(String) }
|
230
198
|
attr_accessor :custom
|
231
|
-
|
232
199
|
# The type of the label.
|
233
200
|
sig { returns(String) }
|
234
201
|
attr_accessor :type
|
235
|
-
|
236
202
|
sig { params(custom: String, type: String).void }
|
237
203
|
def initialize(custom: nil, type: nil); end
|
238
204
|
end
|
@@ -240,15 +206,12 @@ module Stripe
|
|
240
206
|
# The value that will pre-fill the field on the payment page.
|
241
207
|
sig { returns(String) }
|
242
208
|
attr_accessor :default_value
|
243
|
-
|
244
209
|
# The maximum character length constraint for the customer's input.
|
245
210
|
sig { returns(Integer) }
|
246
211
|
attr_accessor :maximum_length
|
247
|
-
|
248
212
|
# The minimum character length requirement for the customer's input.
|
249
213
|
sig { returns(Integer) }
|
250
214
|
attr_accessor :minimum_length
|
251
|
-
|
252
215
|
sig {
|
253
216
|
params(default_value: String, maximum_length: Integer, minimum_length: Integer).void
|
254
217
|
}
|
@@ -258,15 +221,12 @@ module Stripe
|
|
258
221
|
# The value that will pre-fill the field on the payment page.
|
259
222
|
sig { returns(String) }
|
260
223
|
attr_accessor :default_value
|
261
|
-
|
262
224
|
# The maximum character length constraint for the customer's input.
|
263
225
|
sig { returns(Integer) }
|
264
226
|
attr_accessor :maximum_length
|
265
|
-
|
266
227
|
# The minimum character length requirement for the customer's input.
|
267
228
|
sig { returns(Integer) }
|
268
229
|
attr_accessor :minimum_length
|
269
|
-
|
270
230
|
sig {
|
271
231
|
params(default_value: String, maximum_length: Integer, minimum_length: Integer).void
|
272
232
|
}
|
@@ -275,31 +235,24 @@ module Stripe
|
|
275
235
|
# Configuration for `type=dropdown` fields.
|
276
236
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomField::Dropdown) }
|
277
237
|
attr_accessor :dropdown
|
278
|
-
|
279
238
|
# 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.
|
280
239
|
sig { returns(String) }
|
281
240
|
attr_accessor :key
|
282
|
-
|
283
241
|
# The label for the field, displayed to the customer.
|
284
242
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomField::Label) }
|
285
243
|
attr_accessor :label
|
286
|
-
|
287
244
|
# Configuration for `type=numeric` fields.
|
288
245
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomField::Numeric) }
|
289
246
|
attr_accessor :numeric
|
290
|
-
|
291
247
|
# Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
|
292
248
|
sig { returns(T::Boolean) }
|
293
249
|
attr_accessor :optional
|
294
|
-
|
295
250
|
# Configuration for `type=text` fields.
|
296
251
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomField::Text) }
|
297
252
|
attr_accessor :text
|
298
|
-
|
299
253
|
# The type of the field.
|
300
254
|
sig { returns(String) }
|
301
255
|
attr_accessor :type
|
302
|
-
|
303
256
|
sig {
|
304
257
|
params(dropdown: ::Stripe::Checkout::SessionService::CreateParams::CustomField::Dropdown, key: String, label: ::Stripe::Checkout::SessionService::CreateParams::CustomField::Label, numeric: ::Stripe::Checkout::SessionService::CreateParams::CustomField::Numeric, optional: T::Boolean, text: ::Stripe::Checkout::SessionService::CreateParams::CustomField::Text, type: String).void
|
305
258
|
}
|
@@ -318,7 +271,6 @@ module Stripe
|
|
318
271
|
# Text may be up to 1200 characters in length.
|
319
272
|
sig { returns(String) }
|
320
273
|
attr_accessor :message
|
321
|
-
|
322
274
|
sig { params(message: String).void }
|
323
275
|
def initialize(message: nil); end
|
324
276
|
end
|
@@ -326,7 +278,6 @@ module Stripe
|
|
326
278
|
# Text may be up to 1200 characters in length.
|
327
279
|
sig { returns(String) }
|
328
280
|
attr_accessor :message
|
329
|
-
|
330
281
|
sig { params(message: String).void }
|
331
282
|
def initialize(message: nil); end
|
332
283
|
end
|
@@ -334,7 +285,6 @@ module Stripe
|
|
334
285
|
# Text may be up to 1200 characters in length.
|
335
286
|
sig { returns(String) }
|
336
287
|
attr_accessor :message
|
337
|
-
|
338
288
|
sig { params(message: String).void }
|
339
289
|
def initialize(message: nil); end
|
340
290
|
end
|
@@ -342,7 +292,6 @@ module Stripe
|
|
342
292
|
# Text may be up to 1200 characters in length.
|
343
293
|
sig { returns(String) }
|
344
294
|
attr_accessor :message
|
345
|
-
|
346
295
|
sig { params(message: String).void }
|
347
296
|
def initialize(message: nil); end
|
348
297
|
end
|
@@ -351,25 +300,21 @@ module Stripe
|
|
351
300
|
returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::AfterSubmit))
|
352
301
|
}
|
353
302
|
attr_accessor :after_submit
|
354
|
-
|
355
303
|
# Custom text that should be displayed alongside shipping address collection.
|
356
304
|
sig {
|
357
305
|
returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::ShippingAddress))
|
358
306
|
}
|
359
307
|
attr_accessor :shipping_address
|
360
|
-
|
361
308
|
# Custom text that should be displayed alongside the payment confirmation button.
|
362
309
|
sig {
|
363
310
|
returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::Submit))
|
364
311
|
}
|
365
312
|
attr_accessor :submit
|
366
|
-
|
367
313
|
# Custom text that should be displayed in place of the default terms of service agreement text.
|
368
314
|
sig {
|
369
315
|
returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::TermsOfServiceAcceptance))
|
370
316
|
}
|
371
317
|
attr_accessor :terms_of_service_acceptance
|
372
|
-
|
373
318
|
sig {
|
374
319
|
params(after_submit: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::AfterSubmit), shipping_address: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::ShippingAddress), submit: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::Submit), terms_of_service_acceptance: T.nilable(::Stripe::Checkout::SessionService::CreateParams::CustomText::TermsOfServiceAcceptance)).void
|
375
320
|
}
|
@@ -385,16 +330,13 @@ module Stripe
|
|
385
330
|
# To always collect a full billing address, use `billing_address_collection`. Defaults to `never`.
|
386
331
|
sig { returns(String) }
|
387
332
|
attr_accessor :address
|
388
|
-
|
389
333
|
# Describes whether Checkout saves the name onto `customer.name`. Defaults to `never`.
|
390
334
|
sig { returns(String) }
|
391
335
|
attr_accessor :name
|
392
|
-
|
393
336
|
# Describes whether Checkout saves shipping information onto `customer.shipping`.
|
394
337
|
# To collect shipping information, use `shipping_address_collection`. Defaults to `never`.
|
395
338
|
sig { returns(String) }
|
396
339
|
attr_accessor :shipping
|
397
|
-
|
398
340
|
sig { params(address: String, name: String, shipping: String).void }
|
399
341
|
def initialize(address: nil, name: nil, shipping: nil); end
|
400
342
|
end
|
@@ -402,11 +344,9 @@ module Stripe
|
|
402
344
|
# The ID of the coupon to apply to this Session.
|
403
345
|
sig { returns(String) }
|
404
346
|
attr_accessor :coupon
|
405
|
-
|
406
347
|
# The ID of a promotion code to apply to this Session.
|
407
348
|
sig { returns(String) }
|
408
349
|
attr_accessor :promotion_code
|
409
|
-
|
410
350
|
sig { params(coupon: String, promotion_code: String).void }
|
411
351
|
def initialize(coupon: nil, promotion_code: nil); end
|
412
352
|
end
|
@@ -416,11 +356,9 @@ module Stripe
|
|
416
356
|
# The name of the custom field. This may be up to 40 characters.
|
417
357
|
sig { returns(String) }
|
418
358
|
attr_accessor :name
|
419
|
-
|
420
359
|
# The value of the custom field. This may be up to 140 characters.
|
421
360
|
sig { returns(String) }
|
422
361
|
attr_accessor :value
|
423
|
-
|
424
362
|
sig { params(name: String, value: String).void }
|
425
363
|
def initialize(name: nil, value: nil); end
|
426
364
|
end
|
@@ -428,11 +366,9 @@ module Stripe
|
|
428
366
|
# The connected account being referenced when `type` is `account`.
|
429
367
|
sig { returns(String) }
|
430
368
|
attr_accessor :account
|
431
|
-
|
432
369
|
# Type of the account referenced in the request.
|
433
370
|
sig { returns(String) }
|
434
371
|
attr_accessor :type
|
435
|
-
|
436
372
|
sig { params(account: String, type: String).void }
|
437
373
|
def initialize(account: nil, type: nil); end
|
438
374
|
end
|
@@ -440,44 +376,36 @@ module Stripe
|
|
440
376
|
# How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
|
441
377
|
sig { returns(T.nilable(String)) }
|
442
378
|
attr_accessor :amount_tax_display
|
443
|
-
|
444
379
|
sig { params(amount_tax_display: T.nilable(String)).void }
|
445
380
|
def initialize(amount_tax_display: nil); end
|
446
381
|
end
|
447
382
|
# The account tax IDs associated with the invoice.
|
448
383
|
sig { returns(T.nilable(T::Array[String])) }
|
449
384
|
attr_accessor :account_tax_ids
|
450
|
-
|
451
385
|
# Default custom fields to be displayed on invoices for this customer.
|
452
386
|
sig {
|
453
387
|
returns(T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::CustomField]))
|
454
388
|
}
|
455
389
|
attr_accessor :custom_fields
|
456
|
-
|
457
390
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
458
391
|
sig { returns(String) }
|
459
392
|
attr_accessor :description
|
460
|
-
|
461
393
|
# Default footer to be displayed on invoices for this customer.
|
462
394
|
sig { returns(String) }
|
463
395
|
attr_accessor :footer
|
464
|
-
|
465
396
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
466
397
|
sig {
|
467
398
|
returns(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::Issuer)
|
468
399
|
}
|
469
400
|
attr_accessor :issuer
|
470
|
-
|
471
401
|
# 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`.
|
472
402
|
sig { returns(T::Hash[String, String]) }
|
473
403
|
attr_accessor :metadata
|
474
|
-
|
475
404
|
# Default options for invoice PDF rendering for this customer.
|
476
405
|
sig {
|
477
406
|
returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::RenderingOptions))
|
478
407
|
}
|
479
408
|
attr_accessor :rendering_options
|
480
|
-
|
481
409
|
sig {
|
482
410
|
params(account_tax_ids: T.nilable(T::Array[String]), custom_fields: T.nilable(T::Array[::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::CustomField]), description: String, footer: String, issuer: ::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::Issuer, metadata: T::Hash[String, String], rendering_options: T.nilable(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData::RenderingOptions)).void
|
483
411
|
}
|
@@ -494,13 +422,11 @@ module Stripe
|
|
494
422
|
# Set to `true` to enable invoice creation.
|
495
423
|
sig { returns(T::Boolean) }
|
496
424
|
attr_accessor :enabled
|
497
|
-
|
498
425
|
# Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
499
426
|
sig {
|
500
427
|
returns(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData)
|
501
428
|
}
|
502
429
|
attr_accessor :invoice_data
|
503
|
-
|
504
430
|
sig {
|
505
431
|
params(enabled: T::Boolean, invoice_data: ::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation::InvoiceData).void
|
506
432
|
}
|
@@ -511,15 +437,12 @@ module Stripe
|
|
511
437
|
# Set to true if the quantity can be adjusted to any non-negative integer.
|
512
438
|
sig { returns(T::Boolean) }
|
513
439
|
attr_accessor :enabled
|
514
|
-
|
515
440
|
# 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.
|
516
441
|
sig { returns(Integer) }
|
517
442
|
attr_accessor :maximum
|
518
|
-
|
519
443
|
# The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
520
444
|
sig { returns(Integer) }
|
521
445
|
attr_accessor :minimum
|
522
|
-
|
523
446
|
sig { params(enabled: T::Boolean, maximum: Integer, minimum: Integer).void }
|
524
447
|
def initialize(enabled: nil, maximum: nil, minimum: nil); end
|
525
448
|
end
|
@@ -528,23 +451,18 @@ module Stripe
|
|
528
451
|
# 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.
|
529
452
|
sig { returns(String) }
|
530
453
|
attr_accessor :description
|
531
|
-
|
532
454
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
533
455
|
sig { returns(T::Array[String]) }
|
534
456
|
attr_accessor :images
|
535
|
-
|
536
457
|
# 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`.
|
537
458
|
sig { returns(T::Hash[String, String]) }
|
538
459
|
attr_accessor :metadata
|
539
|
-
|
540
460
|
# The product's name, meant to be displayable to the customer.
|
541
461
|
sig { returns(String) }
|
542
462
|
attr_accessor :name
|
543
|
-
|
544
463
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
545
464
|
sig { returns(String) }
|
546
465
|
attr_accessor :tax_code
|
547
|
-
|
548
466
|
sig {
|
549
467
|
params(description: String, images: T::Array[String], metadata: T::Hash[String, String], name: String, tax_code: String).void
|
550
468
|
}
|
@@ -560,46 +478,37 @@ module Stripe
|
|
560
478
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
561
479
|
sig { returns(String) }
|
562
480
|
attr_accessor :interval
|
563
|
-
|
564
481
|
# 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).
|
565
482
|
sig { returns(Integer) }
|
566
483
|
attr_accessor :interval_count
|
567
|
-
|
568
484
|
sig { params(interval: String, interval_count: Integer).void }
|
569
485
|
def initialize(interval: nil, interval_count: nil); end
|
570
486
|
end
|
571
487
|
# 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).
|
572
488
|
sig { returns(String) }
|
573
489
|
attr_accessor :currency
|
574
|
-
|
575
490
|
# The ID of the product that this price will belong to. One of `product` or `product_data` is required.
|
576
491
|
sig { returns(String) }
|
577
492
|
attr_accessor :product
|
578
|
-
|
579
493
|
# Data used to generate a new product object inline. One of `product` or `product_data` is required.
|
580
494
|
sig {
|
581
495
|
returns(::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData::ProductData)
|
582
496
|
}
|
583
497
|
attr_accessor :product_data
|
584
|
-
|
585
498
|
# The recurring components of a price such as `interval` and `interval_count`.
|
586
499
|
sig {
|
587
500
|
returns(::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData::Recurring)
|
588
501
|
}
|
589
502
|
attr_accessor :recurring
|
590
|
-
|
591
503
|
# 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.
|
592
504
|
sig { returns(String) }
|
593
505
|
attr_accessor :tax_behavior
|
594
|
-
|
595
506
|
# A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
596
507
|
sig { returns(Integer) }
|
597
508
|
attr_accessor :unit_amount
|
598
|
-
|
599
509
|
# 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.
|
600
510
|
sig { returns(String) }
|
601
511
|
attr_accessor :unit_amount_decimal
|
602
|
-
|
603
512
|
sig {
|
604
513
|
params(currency: String, product: String, product_data: ::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData::ProductData, recurring: ::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData::Recurring, tax_behavior: String, unit_amount: Integer, unit_amount_decimal: String).void
|
605
514
|
}
|
@@ -618,31 +527,24 @@ module Stripe
|
|
618
527
|
returns(::Stripe::Checkout::SessionService::CreateParams::LineItem::AdjustableQuantity)
|
619
528
|
}
|
620
529
|
attr_accessor :adjustable_quantity
|
621
|
-
|
622
530
|
# 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.
|
623
531
|
sig { returns(T::Array[String]) }
|
624
532
|
attr_accessor :dynamic_tax_rates
|
625
|
-
|
626
533
|
# 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`.
|
627
534
|
sig { returns(T::Hash[String, String]) }
|
628
535
|
attr_accessor :metadata
|
629
|
-
|
630
536
|
# 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.
|
631
537
|
sig { returns(String) }
|
632
538
|
attr_accessor :price
|
633
|
-
|
634
539
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
635
540
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData) }
|
636
541
|
attr_accessor :price_data
|
637
|
-
|
638
542
|
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
639
543
|
sig { returns(Integer) }
|
640
544
|
attr_accessor :quantity
|
641
|
-
|
642
545
|
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
643
546
|
sig { returns(T::Array[String]) }
|
644
547
|
attr_accessor :tax_rates
|
645
|
-
|
646
548
|
sig {
|
647
549
|
params(adjustable_quantity: ::Stripe::Checkout::SessionService::CreateParams::LineItem::AdjustableQuantity, dynamic_tax_rates: T::Array[String], metadata: T::Hash[String, String], price: String, price_data: ::Stripe::Checkout::SessionService::CreateParams::LineItem::PriceData, quantity: Integer, tax_rates: T::Array[String]).void
|
648
550
|
}
|
@@ -662,27 +564,21 @@ module Stripe
|
|
662
564
|
# City, district, suburb, town, or village.
|
663
565
|
sig { returns(String) }
|
664
566
|
attr_accessor :city
|
665
|
-
|
666
567
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
667
568
|
sig { returns(String) }
|
668
569
|
attr_accessor :country
|
669
|
-
|
670
570
|
# Address line 1 (e.g., street, PO Box, or company name).
|
671
571
|
sig { returns(String) }
|
672
572
|
attr_accessor :line1
|
673
|
-
|
674
573
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
675
574
|
sig { returns(String) }
|
676
575
|
attr_accessor :line2
|
677
|
-
|
678
576
|
# ZIP or postal code.
|
679
577
|
sig { returns(String) }
|
680
578
|
attr_accessor :postal_code
|
681
|
-
|
682
579
|
# State, county, province, or region.
|
683
580
|
sig { returns(String) }
|
684
581
|
attr_accessor :state
|
685
|
-
|
686
582
|
sig {
|
687
583
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
688
584
|
}
|
@@ -700,23 +596,18 @@ module Stripe
|
|
700
596
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::Shipping::Address)
|
701
597
|
}
|
702
598
|
attr_accessor :address
|
703
|
-
|
704
599
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
705
600
|
sig { returns(String) }
|
706
601
|
attr_accessor :carrier
|
707
|
-
|
708
602
|
# Recipient name.
|
709
603
|
sig { returns(String) }
|
710
604
|
attr_accessor :name
|
711
|
-
|
712
605
|
# Recipient phone (including extension).
|
713
606
|
sig { returns(String) }
|
714
607
|
attr_accessor :phone
|
715
|
-
|
716
608
|
# 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.
|
717
609
|
sig { returns(String) }
|
718
610
|
attr_accessor :tracking_number
|
719
|
-
|
720
611
|
sig {
|
721
612
|
params(address: ::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
|
722
613
|
}
|
@@ -732,43 +623,35 @@ module Stripe
|
|
732
623
|
# The amount that will be transferred automatically when a charge succeeds.
|
733
624
|
sig { returns(Integer) }
|
734
625
|
attr_accessor :amount
|
735
|
-
|
736
626
|
# If specified, successful charges will be attributed to the destination
|
737
627
|
# account for tax reporting, and the funds from charges will be transferred
|
738
628
|
# to the destination account. The ID of the resulting transfer will be
|
739
629
|
# returned on the successful charge's `transfer` field.
|
740
630
|
sig { returns(String) }
|
741
631
|
attr_accessor :destination
|
742
|
-
|
743
632
|
sig { params(amount: Integer, destination: String).void }
|
744
633
|
def initialize(amount: nil, destination: nil); end
|
745
634
|
end
|
746
635
|
# 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).
|
747
636
|
sig { returns(Integer) }
|
748
637
|
attr_accessor :application_fee_amount
|
749
|
-
|
750
638
|
# Controls when the funds will be captured from the customer's account.
|
751
639
|
sig { returns(String) }
|
752
640
|
attr_accessor :capture_method
|
753
|
-
|
754
641
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
755
642
|
sig { returns(String) }
|
756
643
|
attr_accessor :description
|
757
|
-
|
758
644
|
# 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`.
|
759
645
|
sig { returns(T::Hash[String, String]) }
|
760
646
|
attr_accessor :metadata
|
761
|
-
|
762
647
|
# The Stripe account ID for which these funds are intended. For details,
|
763
648
|
# see the PaymentIntents [use case for connected
|
764
649
|
# accounts](/docs/payments/connected-accounts).
|
765
650
|
sig { returns(String) }
|
766
651
|
attr_accessor :on_behalf_of
|
767
|
-
|
768
652
|
# 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).
|
769
653
|
sig { returns(String) }
|
770
654
|
attr_accessor :receipt_email
|
771
|
-
|
772
655
|
# Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment
|
773
656
|
# method collected by this Checkout Session.
|
774
657
|
#
|
@@ -791,34 +674,28 @@ module Stripe
|
|
791
674
|
# legislation and network rules, such as SCA.
|
792
675
|
sig { returns(String) }
|
793
676
|
attr_accessor :setup_future_usage
|
794
|
-
|
795
677
|
# Shipping information for this payment.
|
796
678
|
sig {
|
797
679
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::Shipping)
|
798
680
|
}
|
799
681
|
attr_accessor :shipping
|
800
|
-
|
801
682
|
# 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).
|
802
683
|
#
|
803
684
|
# 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.
|
804
685
|
sig { returns(String) }
|
805
686
|
attr_accessor :statement_descriptor
|
806
|
-
|
807
687
|
# 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.
|
808
688
|
sig { returns(String) }
|
809
689
|
attr_accessor :statement_descriptor_suffix
|
810
|
-
|
811
690
|
# The parameters used to automatically create a Transfer when the payment succeeds.
|
812
691
|
# For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
813
692
|
sig {
|
814
693
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::TransferData)
|
815
694
|
}
|
816
695
|
attr_accessor :transfer_data
|
817
|
-
|
818
696
|
# 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.
|
819
697
|
sig { returns(String) }
|
820
698
|
attr_accessor :transfer_group
|
821
|
-
|
822
699
|
sig {
|
823
700
|
params(application_fee_amount: Integer, capture_method: String, description: String, metadata: T::Hash[String, String], on_behalf_of: String, receipt_email: String, setup_future_usage: String, shipping: ::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::Shipping, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData::TransferData, transfer_group: String).void
|
824
701
|
}
|
@@ -841,7 +718,6 @@ module Stripe
|
|
841
718
|
# Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
|
842
719
|
sig { returns(String) }
|
843
720
|
attr_accessor :allow_redisplay
|
844
|
-
|
845
721
|
sig { params(allow_redisplay: String).void }
|
846
722
|
def initialize(allow_redisplay: nil); end
|
847
723
|
end
|
@@ -853,23 +729,18 @@ module Stripe
|
|
853
729
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
854
730
|
sig { returns(T.nilable(String)) }
|
855
731
|
attr_accessor :custom_mandate_url
|
856
|
-
|
857
732
|
# List of Stripe products where this mandate can be selected automatically. Only usable in `setup` mode.
|
858
733
|
sig { returns(T::Array[String]) }
|
859
734
|
attr_accessor :default_for
|
860
|
-
|
861
735
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
862
736
|
sig { returns(String) }
|
863
737
|
attr_accessor :interval_description
|
864
|
-
|
865
738
|
# Payment schedule for the mandate.
|
866
739
|
sig { returns(String) }
|
867
740
|
attr_accessor :payment_schedule
|
868
|
-
|
869
741
|
# Transaction type of the mandate.
|
870
742
|
sig { returns(String) }
|
871
743
|
attr_accessor :transaction_type
|
872
|
-
|
873
744
|
sig {
|
874
745
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
875
746
|
}
|
@@ -884,13 +755,11 @@ module Stripe
|
|
884
755
|
# 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.
|
885
756
|
sig { returns(String) }
|
886
757
|
attr_accessor :currency
|
887
|
-
|
888
758
|
# Additional fields for Mandate creation
|
889
759
|
sig {
|
890
760
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
891
761
|
}
|
892
762
|
attr_accessor :mandate_options
|
893
|
-
|
894
763
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
895
764
|
#
|
896
765
|
# 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.
|
@@ -900,11 +769,9 @@ module Stripe
|
|
900
769
|
# 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).
|
901
770
|
sig { returns(String) }
|
902
771
|
attr_accessor :setup_future_usage
|
903
|
-
|
904
772
|
# Verification method for the intent
|
905
773
|
sig { returns(String) }
|
906
774
|
attr_accessor :verification_method
|
907
|
-
|
908
775
|
sig {
|
909
776
|
params(currency: String, mandate_options: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions, setup_future_usage: String, verification_method: String).void
|
910
777
|
}
|
@@ -925,7 +792,6 @@ module Stripe
|
|
925
792
|
# 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).
|
926
793
|
sig { returns(String) }
|
927
794
|
attr_accessor :setup_future_usage
|
928
|
-
|
929
795
|
sig { params(setup_future_usage: String).void }
|
930
796
|
def initialize(setup_future_usage: nil); end
|
931
797
|
end
|
@@ -939,7 +805,6 @@ module Stripe
|
|
939
805
|
# 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).
|
940
806
|
sig { returns(String) }
|
941
807
|
attr_accessor :setup_future_usage
|
942
|
-
|
943
808
|
sig { params(setup_future_usage: String).void }
|
944
809
|
def initialize(setup_future_usage: nil); end
|
945
810
|
end
|
@@ -953,7 +818,6 @@ module Stripe
|
|
953
818
|
# 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).
|
954
819
|
sig { returns(String) }
|
955
820
|
attr_accessor :setup_future_usage
|
956
|
-
|
957
821
|
sig { params(setup_future_usage: String).void }
|
958
822
|
def initialize(setup_future_usage: nil); end
|
959
823
|
end
|
@@ -967,7 +831,6 @@ module Stripe
|
|
967
831
|
# 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).
|
968
832
|
sig { returns(String) }
|
969
833
|
attr_accessor :setup_future_usage
|
970
|
-
|
971
834
|
sig { params(setup_future_usage: String).void }
|
972
835
|
def initialize(setup_future_usage: nil); end
|
973
836
|
end
|
@@ -981,7 +844,6 @@ module Stripe
|
|
981
844
|
# 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).
|
982
845
|
sig { returns(String) }
|
983
846
|
attr_accessor :setup_future_usage
|
984
|
-
|
985
847
|
sig { params(setup_future_usage: String).void }
|
986
848
|
def initialize(setup_future_usage: nil); end
|
987
849
|
end
|
@@ -990,7 +852,6 @@ module Stripe
|
|
990
852
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
991
853
|
sig { returns(T.nilable(String)) }
|
992
854
|
attr_accessor :reference_prefix
|
993
|
-
|
994
855
|
sig { params(reference_prefix: T.nilable(String)).void }
|
995
856
|
def initialize(reference_prefix: nil); end
|
996
857
|
end
|
@@ -999,7 +860,6 @@ module Stripe
|
|
999
860
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
1000
861
|
}
|
1001
862
|
attr_accessor :mandate_options
|
1002
|
-
|
1003
863
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1004
864
|
#
|
1005
865
|
# 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.
|
@@ -1009,7 +869,6 @@ module Stripe
|
|
1009
869
|
# 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).
|
1010
870
|
sig { returns(String) }
|
1011
871
|
attr_accessor :setup_future_usage
|
1012
|
-
|
1013
872
|
sig {
|
1014
873
|
params(mandate_options: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions, setup_future_usage: String).void
|
1015
874
|
}
|
@@ -1025,7 +884,6 @@ module Stripe
|
|
1025
884
|
# 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).
|
1026
885
|
sig { returns(String) }
|
1027
886
|
attr_accessor :setup_future_usage
|
1028
|
-
|
1029
887
|
sig { params(setup_future_usage: String).void }
|
1030
888
|
def initialize(setup_future_usage: nil); end
|
1031
889
|
end
|
@@ -1033,7 +891,6 @@ module Stripe
|
|
1033
891
|
# 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.
|
1034
892
|
sig { returns(Integer) }
|
1035
893
|
attr_accessor :expires_after_days
|
1036
|
-
|
1037
894
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1038
895
|
#
|
1039
896
|
# 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.
|
@@ -1043,7 +900,6 @@ module Stripe
|
|
1043
900
|
# 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).
|
1044
901
|
sig { returns(String) }
|
1045
902
|
attr_accessor :setup_future_usage
|
1046
|
-
|
1047
903
|
sig { params(expires_after_days: Integer, setup_future_usage: String).void }
|
1048
904
|
def initialize(expires_after_days: nil, setup_future_usage: nil); end
|
1049
905
|
end
|
@@ -1053,7 +909,6 @@ module Stripe
|
|
1053
909
|
# Setting to false will prevent any installment plan from applying to a payment.
|
1054
910
|
sig { returns(T::Boolean) }
|
1055
911
|
attr_accessor :enabled
|
1056
|
-
|
1057
912
|
sig { params(enabled: T::Boolean).void }
|
1058
913
|
def initialize(enabled: nil); end
|
1059
914
|
end
|
@@ -1062,31 +917,24 @@ module Stripe
|
|
1062
917
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Card::Installments)
|
1063
918
|
}
|
1064
919
|
attr_accessor :installments
|
1065
|
-
|
1066
920
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1067
921
|
sig { returns(String) }
|
1068
922
|
attr_accessor :request_decremental_authorization
|
1069
|
-
|
1070
923
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1071
924
|
sig { returns(String) }
|
1072
925
|
attr_accessor :request_extended_authorization
|
1073
|
-
|
1074
926
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
1075
927
|
sig { returns(String) }
|
1076
928
|
attr_accessor :request_incremental_authorization
|
1077
|
-
|
1078
929
|
# Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.
|
1079
930
|
sig { returns(String) }
|
1080
931
|
attr_accessor :request_multicapture
|
1081
|
-
|
1082
932
|
# Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.
|
1083
933
|
sig { returns(String) }
|
1084
934
|
attr_accessor :request_overcapture
|
1085
|
-
|
1086
935
|
# 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.
|
1087
936
|
sig { returns(String) }
|
1088
937
|
attr_accessor :request_three_d_secure
|
1089
|
-
|
1090
938
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1091
939
|
#
|
1092
940
|
# 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.
|
@@ -1096,15 +944,12 @@ module Stripe
|
|
1096
944
|
# 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).
|
1097
945
|
sig { returns(String) }
|
1098
946
|
attr_accessor :setup_future_usage
|
1099
|
-
|
1100
947
|
# 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.
|
1101
948
|
sig { returns(String) }
|
1102
949
|
attr_accessor :statement_descriptor_suffix_kana
|
1103
|
-
|
1104
950
|
# 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.
|
1105
951
|
sig { returns(String) }
|
1106
952
|
attr_accessor :statement_descriptor_suffix_kanji
|
1107
|
-
|
1108
953
|
sig {
|
1109
954
|
params(installments: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Card::Installments, request_decremental_authorization: String, request_extended_authorization: String, request_incremental_authorization: String, request_multicapture: String, request_overcapture: String, request_three_d_secure: String, setup_future_usage: String, statement_descriptor_suffix_kana: String, statement_descriptor_suffix_kanji: String).void
|
1110
955
|
}
|
@@ -1131,7 +976,6 @@ module Stripe
|
|
1131
976
|
# 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).
|
1132
977
|
sig { returns(String) }
|
1133
978
|
attr_accessor :setup_future_usage
|
1134
|
-
|
1135
979
|
sig { params(setup_future_usage: String).void }
|
1136
980
|
def initialize(setup_future_usage: nil); end
|
1137
981
|
end
|
@@ -1141,7 +985,6 @@ module Stripe
|
|
1141
985
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1142
986
|
sig { returns(String) }
|
1143
987
|
attr_accessor :country
|
1144
|
-
|
1145
988
|
sig { params(country: String).void }
|
1146
989
|
def initialize(country: nil); end
|
1147
990
|
end
|
@@ -1150,17 +993,14 @@ module Stripe
|
|
1150
993
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer)
|
1151
994
|
}
|
1152
995
|
attr_accessor :eu_bank_transfer
|
1153
|
-
|
1154
996
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
1155
997
|
#
|
1156
998
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
1157
999
|
sig { returns(T::Array[String]) }
|
1158
1000
|
attr_accessor :requested_address_types
|
1159
|
-
|
1160
1001
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding.
|
1161
1002
|
sig { returns(String) }
|
1162
1003
|
attr_accessor :type
|
1163
|
-
|
1164
1004
|
sig {
|
1165
1005
|
params(eu_bank_transfer: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer, requested_address_types: T::Array[String], type: String).void
|
1166
1006
|
}
|
@@ -1171,11 +1011,9 @@ module Stripe
|
|
1171
1011
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance::BankTransfer)
|
1172
1012
|
}
|
1173
1013
|
attr_accessor :bank_transfer
|
1174
|
-
|
1175
1014
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1176
1015
|
sig { returns(String) }
|
1177
1016
|
attr_accessor :funding_type
|
1178
|
-
|
1179
1017
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1180
1018
|
#
|
1181
1019
|
# 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.
|
@@ -1185,7 +1023,6 @@ module Stripe
|
|
1185
1023
|
# 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).
|
1186
1024
|
sig { returns(String) }
|
1187
1025
|
attr_accessor :setup_future_usage
|
1188
|
-
|
1189
1026
|
sig {
|
1190
1027
|
params(bank_transfer: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance::BankTransfer, funding_type: String, setup_future_usage: String).void
|
1191
1028
|
}
|
@@ -1201,7 +1038,6 @@ module Stripe
|
|
1201
1038
|
# 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).
|
1202
1039
|
sig { returns(String) }
|
1203
1040
|
attr_accessor :setup_future_usage
|
1204
|
-
|
1205
1041
|
sig { params(setup_future_usage: String).void }
|
1206
1042
|
def initialize(setup_future_usage: nil); end
|
1207
1043
|
end
|
@@ -1215,7 +1051,6 @@ module Stripe
|
|
1215
1051
|
# 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).
|
1216
1052
|
sig { returns(String) }
|
1217
1053
|
attr_accessor :setup_future_usage
|
1218
|
-
|
1219
1054
|
sig { params(setup_future_usage: String).void }
|
1220
1055
|
def initialize(setup_future_usage: nil); end
|
1221
1056
|
end
|
@@ -1229,7 +1064,6 @@ module Stripe
|
|
1229
1064
|
# 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).
|
1230
1065
|
sig { returns(String) }
|
1231
1066
|
attr_accessor :setup_future_usage
|
1232
|
-
|
1233
1067
|
sig { params(setup_future_usage: String).void }
|
1234
1068
|
def initialize(setup_future_usage: nil); end
|
1235
1069
|
end
|
@@ -1243,7 +1077,6 @@ module Stripe
|
|
1243
1077
|
# 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).
|
1244
1078
|
sig { returns(String) }
|
1245
1079
|
attr_accessor :setup_future_usage
|
1246
|
-
|
1247
1080
|
sig { params(setup_future_usage: String).void }
|
1248
1081
|
def initialize(setup_future_usage: nil); end
|
1249
1082
|
end
|
@@ -1257,7 +1090,6 @@ module Stripe
|
|
1257
1090
|
# 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).
|
1258
1091
|
sig { returns(String) }
|
1259
1092
|
attr_accessor :setup_future_usage
|
1260
|
-
|
1261
1093
|
sig { params(setup_future_usage: String).void }
|
1262
1094
|
def initialize(setup_future_usage: nil); end
|
1263
1095
|
end
|
@@ -1265,7 +1097,6 @@ module Stripe
|
|
1265
1097
|
# Controls when the funds will be captured from the customer's account.
|
1266
1098
|
sig { returns(String) }
|
1267
1099
|
attr_accessor :capture_method
|
1268
|
-
|
1269
1100
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1270
1101
|
#
|
1271
1102
|
# 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.
|
@@ -1275,7 +1106,6 @@ module Stripe
|
|
1275
1106
|
# 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).
|
1276
1107
|
sig { returns(String) }
|
1277
1108
|
attr_accessor :setup_future_usage
|
1278
|
-
|
1279
1109
|
sig { params(capture_method: String, setup_future_usage: String).void }
|
1280
1110
|
def initialize(capture_method: nil, setup_future_usage: nil); end
|
1281
1111
|
end
|
@@ -1289,7 +1119,6 @@ module Stripe
|
|
1289
1119
|
# 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).
|
1290
1120
|
sig { returns(String) }
|
1291
1121
|
attr_accessor :setup_future_usage
|
1292
|
-
|
1293
1122
|
sig { params(setup_future_usage: String).void }
|
1294
1123
|
def initialize(setup_future_usage: nil); end
|
1295
1124
|
end
|
@@ -1297,7 +1126,6 @@ module Stripe
|
|
1297
1126
|
# 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.
|
1298
1127
|
sig { returns(Integer) }
|
1299
1128
|
attr_accessor :expires_after_days
|
1300
|
-
|
1301
1129
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1302
1130
|
#
|
1303
1131
|
# 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.
|
@@ -1307,7 +1135,6 @@ module Stripe
|
|
1307
1135
|
# 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).
|
1308
1136
|
sig { returns(String) }
|
1309
1137
|
attr_accessor :setup_future_usage
|
1310
|
-
|
1311
1138
|
sig { params(expires_after_days: Integer, setup_future_usage: String).void }
|
1312
1139
|
def initialize(expires_after_days: nil, setup_future_usage: nil); end
|
1313
1140
|
end
|
@@ -1315,7 +1142,6 @@ module Stripe
|
|
1315
1142
|
# Controls when the funds will be captured from the customer's account.
|
1316
1143
|
sig { returns(String) }
|
1317
1144
|
attr_accessor :capture_method
|
1318
|
-
|
1319
1145
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1320
1146
|
#
|
1321
1147
|
# 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.
|
@@ -1325,7 +1151,6 @@ module Stripe
|
|
1325
1151
|
# 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).
|
1326
1152
|
sig { returns(String) }
|
1327
1153
|
attr_accessor :setup_future_usage
|
1328
|
-
|
1329
1154
|
sig { params(capture_method: String, setup_future_usage: String).void }
|
1330
1155
|
def initialize(capture_method: nil, setup_future_usage: nil); end
|
1331
1156
|
end
|
@@ -1339,7 +1164,6 @@ module Stripe
|
|
1339
1164
|
# 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).
|
1340
1165
|
sig { returns(String) }
|
1341
1166
|
attr_accessor :setup_future_usage
|
1342
|
-
|
1343
1167
|
sig { params(setup_future_usage: String).void }
|
1344
1168
|
def initialize(setup_future_usage: nil); end
|
1345
1169
|
end
|
@@ -1353,7 +1177,6 @@ module Stripe
|
|
1353
1177
|
# 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).
|
1354
1178
|
sig { returns(String) }
|
1355
1179
|
attr_accessor :setup_future_usage
|
1356
|
-
|
1357
1180
|
sig { params(setup_future_usage: String).void }
|
1358
1181
|
def initialize(setup_future_usage: nil); end
|
1359
1182
|
end
|
@@ -1367,7 +1190,6 @@ module Stripe
|
|
1367
1190
|
# 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).
|
1368
1191
|
sig { returns(String) }
|
1369
1192
|
attr_accessor :setup_future_usage
|
1370
|
-
|
1371
1193
|
sig { params(setup_future_usage: String).void }
|
1372
1194
|
def initialize(setup_future_usage: nil); end
|
1373
1195
|
end
|
@@ -1375,7 +1197,6 @@ module Stripe
|
|
1375
1197
|
# Controls when the funds will be captured from the customer's account.
|
1376
1198
|
sig { returns(String) }
|
1377
1199
|
attr_accessor :capture_method
|
1378
|
-
|
1379
1200
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1380
1201
|
#
|
1381
1202
|
# 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.
|
@@ -1385,7 +1206,6 @@ module Stripe
|
|
1385
1206
|
# 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).
|
1386
1207
|
sig { returns(String) }
|
1387
1208
|
attr_accessor :setup_future_usage
|
1388
|
-
|
1389
1209
|
sig { params(capture_method: String, setup_future_usage: String).void }
|
1390
1210
|
def initialize(capture_method: nil, setup_future_usage: nil); end
|
1391
1211
|
end
|
@@ -1393,7 +1213,6 @@ module Stripe
|
|
1393
1213
|
# 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.
|
1394
1214
|
sig { returns(Integer) }
|
1395
1215
|
attr_accessor :expires_after_days
|
1396
|
-
|
1397
1216
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1398
1217
|
#
|
1399
1218
|
# 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.
|
@@ -1403,7 +1222,6 @@ module Stripe
|
|
1403
1222
|
# 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).
|
1404
1223
|
sig { returns(String) }
|
1405
1224
|
attr_accessor :setup_future_usage
|
1406
|
-
|
1407
1225
|
sig { params(expires_after_days: Integer, setup_future_usage: String).void }
|
1408
1226
|
def initialize(expires_after_days: nil, setup_future_usage: nil); end
|
1409
1227
|
end
|
@@ -1417,11 +1235,9 @@ module Stripe
|
|
1417
1235
|
# 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).
|
1418
1236
|
sig { returns(String) }
|
1419
1237
|
attr_accessor :setup_future_usage
|
1420
|
-
|
1421
1238
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
1422
1239
|
sig { returns(T::Boolean) }
|
1423
1240
|
attr_accessor :tos_shown_and_accepted
|
1424
|
-
|
1425
1241
|
sig { params(setup_future_usage: String, tos_shown_and_accepted: T::Boolean).void }
|
1426
1242
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
1427
1243
|
end
|
@@ -1429,7 +1245,6 @@ module Stripe
|
|
1429
1245
|
# Controls when the funds will be captured from the customer's account.
|
1430
1246
|
sig { returns(String) }
|
1431
1247
|
attr_accessor :capture_method
|
1432
|
-
|
1433
1248
|
sig { params(capture_method: String).void }
|
1434
1249
|
def initialize(capture_method: nil); end
|
1435
1250
|
end
|
@@ -1443,7 +1258,6 @@ module Stripe
|
|
1443
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).
|
1444
1259
|
sig { returns(String) }
|
1445
1260
|
attr_accessor :setup_future_usage
|
1446
|
-
|
1447
1261
|
sig { params(setup_future_usage: String).void }
|
1448
1262
|
def initialize(setup_future_usage: nil); end
|
1449
1263
|
end
|
@@ -1451,23 +1265,18 @@ module Stripe
|
|
1451
1265
|
# Controls when the funds will be captured from the customer's account.
|
1452
1266
|
sig { returns(T.nilable(String)) }
|
1453
1267
|
attr_accessor :capture_method
|
1454
|
-
|
1455
1268
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1456
1269
|
sig { returns(String) }
|
1457
1270
|
attr_accessor :preferred_locale
|
1458
|
-
|
1459
1271
|
# 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.
|
1460
1272
|
sig { returns(String) }
|
1461
1273
|
attr_accessor :reference
|
1462
|
-
|
1463
1274
|
# 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.
|
1464
1275
|
sig { returns(String) }
|
1465
1276
|
attr_accessor :reference_id
|
1466
|
-
|
1467
1277
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1468
1278
|
sig { returns(String) }
|
1469
1279
|
attr_accessor :risk_correlation_id
|
1470
|
-
|
1471
1280
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1472
1281
|
#
|
1473
1282
|
# 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.
|
@@ -1479,11 +1288,9 @@ module Stripe
|
|
1479
1288
|
# 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`.
|
1480
1289
|
sig { returns(T.nilable(String)) }
|
1481
1290
|
attr_accessor :setup_future_usage
|
1482
|
-
|
1483
1291
|
# 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.
|
1484
1292
|
sig { returns(T::Array[String]) }
|
1485
1293
|
attr_accessor :subsellers
|
1486
|
-
|
1487
1294
|
sig {
|
1488
1295
|
params(capture_method: T.nilable(String), preferred_locale: String, reference: String, reference_id: String, risk_correlation_id: String, setup_future_usage: T.nilable(String), subsellers: T::Array[String]).void
|
1489
1296
|
}
|
@@ -1502,31 +1309,24 @@ module Stripe
|
|
1502
1309
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1503
1310
|
sig { returns(Integer) }
|
1504
1311
|
attr_accessor :amount
|
1505
|
-
|
1506
1312
|
# 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.
|
1507
1313
|
sig { returns(String) }
|
1508
1314
|
attr_accessor :amount_type
|
1509
|
-
|
1510
1315
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1511
1316
|
sig { returns(String) }
|
1512
1317
|
attr_accessor :end_date
|
1513
|
-
|
1514
1318
|
# The periodicity at which payments will be collected.
|
1515
1319
|
sig { returns(String) }
|
1516
1320
|
attr_accessor :payment_schedule
|
1517
|
-
|
1518
1321
|
# 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.
|
1519
1322
|
sig { returns(Integer) }
|
1520
1323
|
attr_accessor :payments_per_period
|
1521
|
-
|
1522
1324
|
# The purpose for which payments are made. Defaults to retail.
|
1523
1325
|
sig { returns(String) }
|
1524
1326
|
attr_accessor :purpose
|
1525
|
-
|
1526
1327
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1527
1328
|
sig { returns(String) }
|
1528
1329
|
attr_accessor :start_date
|
1529
|
-
|
1530
1330
|
sig {
|
1531
1331
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
1532
1332
|
}
|
@@ -1545,7 +1345,6 @@ module Stripe
|
|
1545
1345
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payto::MandateOptions)
|
1546
1346
|
}
|
1547
1347
|
attr_accessor :mandate_options
|
1548
|
-
|
1549
1348
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1550
1349
|
#
|
1551
1350
|
# 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.
|
@@ -1555,7 +1354,6 @@ module Stripe
|
|
1555
1354
|
# 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).
|
1556
1355
|
sig { returns(String) }
|
1557
1356
|
attr_accessor :setup_future_usage
|
1558
|
-
|
1559
1357
|
sig {
|
1560
1358
|
params(mandate_options: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payto::MandateOptions, setup_future_usage: String).void
|
1561
1359
|
}
|
@@ -1565,7 +1363,6 @@ module Stripe
|
|
1565
1363
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
1566
1364
|
sig { returns(Integer) }
|
1567
1365
|
attr_accessor :expires_after_seconds
|
1568
|
-
|
1569
1366
|
sig { params(expires_after_seconds: Integer).void }
|
1570
1367
|
def initialize(expires_after_seconds: nil); end
|
1571
1368
|
end
|
@@ -1579,7 +1376,6 @@ module Stripe
|
|
1579
1376
|
# 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).
|
1580
1377
|
sig { returns(String) }
|
1581
1378
|
attr_accessor :setup_future_usage
|
1582
|
-
|
1583
1379
|
sig { params(setup_future_usage: String).void }
|
1584
1380
|
def initialize(setup_future_usage: nil); end
|
1585
1381
|
end
|
@@ -1587,7 +1383,6 @@ module Stripe
|
|
1587
1383
|
# Controls when the funds will be captured from the customer's account.
|
1588
1384
|
sig { returns(String) }
|
1589
1385
|
attr_accessor :capture_method
|
1590
|
-
|
1591
1386
|
sig { params(capture_method: String).void }
|
1592
1387
|
def initialize(capture_method: nil); end
|
1593
1388
|
end
|
@@ -1596,7 +1391,6 @@ module Stripe
|
|
1596
1391
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
1597
1392
|
sig { returns(T.nilable(String)) }
|
1598
1393
|
attr_accessor :reference_prefix
|
1599
|
-
|
1600
1394
|
sig { params(reference_prefix: T.nilable(String)).void }
|
1601
1395
|
def initialize(reference_prefix: nil); end
|
1602
1396
|
end
|
@@ -1605,7 +1399,6 @@ module Stripe
|
|
1605
1399
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
1606
1400
|
}
|
1607
1401
|
attr_accessor :mandate_options
|
1608
|
-
|
1609
1402
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1610
1403
|
#
|
1611
1404
|
# 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.
|
@@ -1615,7 +1408,6 @@ module Stripe
|
|
1615
1408
|
# 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).
|
1616
1409
|
sig { returns(String) }
|
1617
1410
|
attr_accessor :setup_future_usage
|
1618
|
-
|
1619
1411
|
sig {
|
1620
1412
|
params(mandate_options: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions, setup_future_usage: String).void
|
1621
1413
|
}
|
@@ -1631,7 +1423,6 @@ module Stripe
|
|
1631
1423
|
# 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).
|
1632
1424
|
sig { returns(String) }
|
1633
1425
|
attr_accessor :setup_future_usage
|
1634
|
-
|
1635
1426
|
sig { params(setup_future_usage: String).void }
|
1636
1427
|
def initialize(setup_future_usage: nil); end
|
1637
1428
|
end
|
@@ -1639,7 +1430,6 @@ module Stripe
|
|
1639
1430
|
# The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
|
1640
1431
|
sig { returns(String) }
|
1641
1432
|
attr_accessor :reference
|
1642
|
-
|
1643
1433
|
sig { params(reference: String).void }
|
1644
1434
|
def initialize(reference: nil); end
|
1645
1435
|
end
|
@@ -1648,11 +1438,9 @@ module Stripe
|
|
1648
1438
|
# 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`.
|
1649
1439
|
sig { returns(T::Array[String]) }
|
1650
1440
|
attr_accessor :permissions
|
1651
|
-
|
1652
1441
|
# List of data features that you would like to retrieve upon account creation.
|
1653
1442
|
sig { returns(T::Array[String]) }
|
1654
1443
|
attr_accessor :prefetch
|
1655
|
-
|
1656
1444
|
sig { params(permissions: T::Array[String], prefetch: T::Array[String]).void }
|
1657
1445
|
def initialize(permissions: nil, prefetch: nil); end
|
1658
1446
|
end
|
@@ -1661,7 +1449,6 @@ module Stripe
|
|
1661
1449
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
1662
1450
|
}
|
1663
1451
|
attr_accessor :financial_connections
|
1664
|
-
|
1665
1452
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1666
1453
|
#
|
1667
1454
|
# 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.
|
@@ -1671,11 +1458,9 @@ module Stripe
|
|
1671
1458
|
# 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).
|
1672
1459
|
sig { returns(String) }
|
1673
1460
|
attr_accessor :setup_future_usage
|
1674
|
-
|
1675
1461
|
# Verification method for the intent
|
1676
1462
|
sig { returns(String) }
|
1677
1463
|
attr_accessor :verification_method
|
1678
|
-
|
1679
1464
|
sig {
|
1680
1465
|
params(financial_connections: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, setup_future_usage: String, verification_method: String).void
|
1681
1466
|
}
|
@@ -1689,11 +1474,9 @@ module Stripe
|
|
1689
1474
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1690
1475
|
sig { returns(String) }
|
1691
1476
|
attr_accessor :app_id
|
1692
|
-
|
1693
1477
|
# The client type that the end customer will pay from
|
1694
1478
|
sig { returns(String) }
|
1695
1479
|
attr_accessor :client
|
1696
|
-
|
1697
1480
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1698
1481
|
#
|
1699
1482
|
# 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.
|
@@ -1703,7 +1486,6 @@ module Stripe
|
|
1703
1486
|
# 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).
|
1704
1487
|
sig { returns(String) }
|
1705
1488
|
attr_accessor :setup_future_usage
|
1706
|
-
|
1707
1489
|
sig { params(app_id: String, client: String, setup_future_usage: String).void }
|
1708
1490
|
def initialize(app_id: nil, client: nil, setup_future_usage: nil); end
|
1709
1491
|
end
|
@@ -1712,235 +1494,196 @@ module Stripe
|
|
1712
1494
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AcssDebit)
|
1713
1495
|
}
|
1714
1496
|
attr_accessor :acss_debit
|
1715
|
-
|
1716
1497
|
# contains details about the Affirm payment method options.
|
1717
1498
|
sig {
|
1718
1499
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Affirm)
|
1719
1500
|
}
|
1720
1501
|
attr_accessor :affirm
|
1721
|
-
|
1722
1502
|
# contains details about the Afterpay Clearpay payment method options.
|
1723
1503
|
sig {
|
1724
1504
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AfterpayClearpay)
|
1725
1505
|
}
|
1726
1506
|
attr_accessor :afterpay_clearpay
|
1727
|
-
|
1728
1507
|
# contains details about the Alipay payment method options.
|
1729
1508
|
sig {
|
1730
1509
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Alipay)
|
1731
1510
|
}
|
1732
1511
|
attr_accessor :alipay
|
1733
|
-
|
1734
1512
|
# contains details about the AmazonPay payment method options.
|
1735
1513
|
sig {
|
1736
1514
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AmazonPay)
|
1737
1515
|
}
|
1738
1516
|
attr_accessor :amazon_pay
|
1739
|
-
|
1740
1517
|
# contains details about the AU Becs Debit payment method options.
|
1741
1518
|
sig {
|
1742
1519
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AuBecsDebit)
|
1743
1520
|
}
|
1744
1521
|
attr_accessor :au_becs_debit
|
1745
|
-
|
1746
1522
|
# contains details about the Bacs Debit payment method options.
|
1747
1523
|
sig {
|
1748
1524
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::BacsDebit)
|
1749
1525
|
}
|
1750
1526
|
attr_accessor :bacs_debit
|
1751
|
-
|
1752
1527
|
# contains details about the Bancontact payment method options.
|
1753
1528
|
sig {
|
1754
1529
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Bancontact)
|
1755
1530
|
}
|
1756
1531
|
attr_accessor :bancontact
|
1757
|
-
|
1758
1532
|
# contains details about the Boleto payment method options.
|
1759
1533
|
sig {
|
1760
1534
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Boleto)
|
1761
1535
|
}
|
1762
1536
|
attr_accessor :boleto
|
1763
|
-
|
1764
1537
|
# contains details about the Card payment method options.
|
1765
1538
|
sig {
|
1766
1539
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Card)
|
1767
1540
|
}
|
1768
1541
|
attr_accessor :card
|
1769
|
-
|
1770
1542
|
# contains details about the Cashapp Pay payment method options.
|
1771
1543
|
sig {
|
1772
1544
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Cashapp)
|
1773
1545
|
}
|
1774
1546
|
attr_accessor :cashapp
|
1775
|
-
|
1776
1547
|
# contains details about the Customer Balance payment method options.
|
1777
1548
|
sig {
|
1778
1549
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance)
|
1779
1550
|
}
|
1780
1551
|
attr_accessor :customer_balance
|
1781
|
-
|
1782
1552
|
# contains details about the EPS payment method options.
|
1783
1553
|
sig {
|
1784
1554
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Eps)
|
1785
1555
|
}
|
1786
1556
|
attr_accessor :eps
|
1787
|
-
|
1788
1557
|
# contains details about the FPX payment method options.
|
1789
1558
|
sig {
|
1790
1559
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Fpx)
|
1791
1560
|
}
|
1792
1561
|
attr_accessor :fpx
|
1793
|
-
|
1794
1562
|
# contains details about the Giropay payment method options.
|
1795
1563
|
sig {
|
1796
1564
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Giropay)
|
1797
1565
|
}
|
1798
1566
|
attr_accessor :giropay
|
1799
|
-
|
1800
1567
|
# contains details about the Grabpay payment method options.
|
1801
1568
|
sig {
|
1802
1569
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Grabpay)
|
1803
1570
|
}
|
1804
1571
|
attr_accessor :grabpay
|
1805
|
-
|
1806
1572
|
# contains details about the Ideal payment method options.
|
1807
1573
|
sig {
|
1808
1574
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Ideal)
|
1809
1575
|
}
|
1810
1576
|
attr_accessor :ideal
|
1811
|
-
|
1812
1577
|
# contains details about the Kakao Pay payment method options.
|
1813
1578
|
sig {
|
1814
1579
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::KakaoPay)
|
1815
1580
|
}
|
1816
1581
|
attr_accessor :kakao_pay
|
1817
|
-
|
1818
1582
|
# contains details about the Klarna payment method options.
|
1819
1583
|
sig {
|
1820
1584
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Klarna)
|
1821
1585
|
}
|
1822
1586
|
attr_accessor :klarna
|
1823
|
-
|
1824
1587
|
# contains details about the Konbini payment method options.
|
1825
1588
|
sig {
|
1826
1589
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Konbini)
|
1827
1590
|
}
|
1828
1591
|
attr_accessor :konbini
|
1829
|
-
|
1830
1592
|
# contains details about the Korean card payment method options.
|
1831
1593
|
sig {
|
1832
1594
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::KrCard)
|
1833
1595
|
}
|
1834
1596
|
attr_accessor :kr_card
|
1835
|
-
|
1836
1597
|
# contains details about the Link payment method options.
|
1837
1598
|
sig {
|
1838
1599
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Link)
|
1839
1600
|
}
|
1840
1601
|
attr_accessor :link
|
1841
|
-
|
1842
1602
|
# contains details about the Mobilepay payment method options.
|
1843
1603
|
sig {
|
1844
1604
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Mobilepay)
|
1845
1605
|
}
|
1846
1606
|
attr_accessor :mobilepay
|
1847
|
-
|
1848
1607
|
# contains details about the Multibanco payment method options.
|
1849
1608
|
sig {
|
1850
1609
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Multibanco)
|
1851
1610
|
}
|
1852
1611
|
attr_accessor :multibanco
|
1853
|
-
|
1854
1612
|
# contains details about the Naver Pay payment method options.
|
1855
1613
|
sig {
|
1856
1614
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::NaverPay)
|
1857
1615
|
}
|
1858
1616
|
attr_accessor :naver_pay
|
1859
|
-
|
1860
1617
|
# contains details about the OXXO payment method options.
|
1861
1618
|
sig {
|
1862
1619
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Oxxo)
|
1863
1620
|
}
|
1864
1621
|
attr_accessor :oxxo
|
1865
|
-
|
1866
1622
|
# contains details about the P24 payment method options.
|
1867
1623
|
sig {
|
1868
1624
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::P24)
|
1869
1625
|
}
|
1870
1626
|
attr_accessor :p24
|
1871
|
-
|
1872
1627
|
# contains details about the PAYCO payment method options.
|
1873
1628
|
sig {
|
1874
1629
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payco)
|
1875
1630
|
}
|
1876
1631
|
attr_accessor :payco
|
1877
|
-
|
1878
1632
|
# contains details about the PayNow payment method options.
|
1879
1633
|
sig {
|
1880
1634
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Paynow)
|
1881
1635
|
}
|
1882
1636
|
attr_accessor :paynow
|
1883
|
-
|
1884
1637
|
# contains details about the PayPal payment method options.
|
1885
1638
|
sig {
|
1886
1639
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Paypal)
|
1887
1640
|
}
|
1888
1641
|
attr_accessor :paypal
|
1889
|
-
|
1890
1642
|
# contains details about the PayTo payment method options.
|
1891
1643
|
sig {
|
1892
1644
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payto)
|
1893
1645
|
}
|
1894
1646
|
attr_accessor :payto
|
1895
|
-
|
1896
1647
|
# contains details about the Pix payment method options.
|
1897
1648
|
sig {
|
1898
1649
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Pix)
|
1899
1650
|
}
|
1900
1651
|
attr_accessor :pix
|
1901
|
-
|
1902
1652
|
# contains details about the RevolutPay payment method options.
|
1903
1653
|
sig {
|
1904
1654
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::RevolutPay)
|
1905
1655
|
}
|
1906
1656
|
attr_accessor :revolut_pay
|
1907
|
-
|
1908
1657
|
# contains details about the Samsung Pay payment method options.
|
1909
1658
|
sig {
|
1910
1659
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SamsungPay)
|
1911
1660
|
}
|
1912
1661
|
attr_accessor :samsung_pay
|
1913
|
-
|
1914
1662
|
# contains details about the Sepa Debit payment method options.
|
1915
1663
|
sig {
|
1916
1664
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SepaDebit)
|
1917
1665
|
}
|
1918
1666
|
attr_accessor :sepa_debit
|
1919
|
-
|
1920
1667
|
# contains details about the Sofort payment method options.
|
1921
1668
|
sig {
|
1922
1669
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Sofort)
|
1923
1670
|
}
|
1924
1671
|
attr_accessor :sofort
|
1925
|
-
|
1926
1672
|
# contains details about the Swish payment method options.
|
1927
1673
|
sig {
|
1928
1674
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Swish)
|
1929
1675
|
}
|
1930
1676
|
attr_accessor :swish
|
1931
|
-
|
1932
1677
|
# contains details about the Us Bank Account payment method options.
|
1933
1678
|
sig {
|
1934
1679
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::UsBankAccount)
|
1935
1680
|
}
|
1936
1681
|
attr_accessor :us_bank_account
|
1937
|
-
|
1938
1682
|
# contains details about the WeChat Pay payment method options.
|
1939
1683
|
sig {
|
1940
1684
|
returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::WechatPay)
|
1941
1685
|
}
|
1942
1686
|
attr_accessor :wechat_pay
|
1943
|
-
|
1944
1687
|
sig {
|
1945
1688
|
params(acss_debit: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AcssDebit, affirm: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Affirm, afterpay_clearpay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AfterpayClearpay, alipay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Alipay, amazon_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AmazonPay, au_becs_debit: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::AuBecsDebit, bacs_debit: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::BacsDebit, bancontact: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Bancontact, boleto: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Boleto, card: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Card, cashapp: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Cashapp, customer_balance: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::CustomerBalance, eps: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Eps, fpx: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Fpx, giropay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Giropay, grabpay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Grabpay, ideal: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Ideal, kakao_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::KakaoPay, klarna: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Klarna, konbini: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Konbini, kr_card: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::KrCard, link: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Link, mobilepay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Mobilepay, multibanco: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Multibanco, naver_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::NaverPay, oxxo: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Oxxo, p24: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::P24, payco: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payco, paynow: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Paynow, paypal: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Payto, pix: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Pix, revolut_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::RevolutPay, samsung_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SamsungPay, sepa_debit: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SepaDebit, sofort: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Sofort, swish: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Swish, us_bank_account: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::UsBankAccount, wechat_pay: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::WechatPay).void
|
1946
1689
|
}
|
@@ -1995,7 +1738,6 @@ module Stripe
|
|
1995
1738
|
# 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.
|
1996
1739
|
sig { returns(String) }
|
1997
1740
|
attr_accessor :line_items
|
1998
|
-
|
1999
1741
|
# Determines which entity is allowed to update the shipping details.
|
2000
1742
|
#
|
2001
1743
|
# 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.
|
@@ -2003,14 +1745,12 @@ module Stripe
|
|
2003
1745
|
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
2004
1746
|
sig { returns(String) }
|
2005
1747
|
attr_accessor :shipping_details
|
2006
|
-
|
2007
1748
|
sig { params(line_items: String, shipping_details: String).void }
|
2008
1749
|
def initialize(line_items: nil, shipping_details: nil); end
|
2009
1750
|
end
|
2010
1751
|
# Permissions for updating the Checkout Session.
|
2011
1752
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::Permissions::Update) }
|
2012
1753
|
attr_accessor :update
|
2013
|
-
|
2014
1754
|
sig {
|
2015
1755
|
params(update: ::Stripe::Checkout::SessionService::CreateParams::Permissions::Update).void
|
2016
1756
|
}
|
@@ -2018,9 +1758,10 @@ module Stripe
|
|
2018
1758
|
end
|
2019
1759
|
class PhoneNumberCollection < Stripe::RequestParams
|
2020
1760
|
# Set to `true` to enable phone number collection.
|
1761
|
+
#
|
1762
|
+
# Can only be set in `payment` and `subscription` mode.
|
2021
1763
|
sig { returns(T::Boolean) }
|
2022
1764
|
attr_accessor :enabled
|
2023
|
-
|
2024
1765
|
sig { params(enabled: T::Boolean).void }
|
2025
1766
|
def initialize(enabled: nil); end
|
2026
1767
|
end
|
@@ -2028,11 +1769,9 @@ module Stripe
|
|
2028
1769
|
# 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.
|
2029
1770
|
sig { returns(T::Array[String]) }
|
2030
1771
|
attr_accessor :allow_redisplay_filters
|
2031
|
-
|
2032
1772
|
# Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
|
2033
1773
|
sig { returns(String) }
|
2034
1774
|
attr_accessor :payment_method_save
|
2035
|
-
|
2036
1775
|
sig {
|
2037
1776
|
params(allow_redisplay_filters: T::Array[String], payment_method_save: String).void
|
2038
1777
|
}
|
@@ -2042,15 +1781,12 @@ module Stripe
|
|
2042
1781
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2043
1782
|
sig { returns(String) }
|
2044
1783
|
attr_accessor :description
|
2045
|
-
|
2046
1784
|
# 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`.
|
2047
1785
|
sig { returns(T::Hash[String, String]) }
|
2048
1786
|
attr_accessor :metadata
|
2049
|
-
|
2050
1787
|
# The Stripe account for which the setup is intended.
|
2051
1788
|
sig { returns(String) }
|
2052
1789
|
attr_accessor :on_behalf_of
|
2053
|
-
|
2054
1790
|
sig {
|
2055
1791
|
params(description: String, metadata: T::Hash[String, String], on_behalf_of: String).void
|
2056
1792
|
}
|
@@ -2061,7 +1797,6 @@ module Stripe
|
|
2061
1797
|
# shipping locations.
|
2062
1798
|
sig { returns(T::Array[String]) }
|
2063
1799
|
attr_accessor :allowed_countries
|
2064
|
-
|
2065
1800
|
sig { params(allowed_countries: T::Array[String]).void }
|
2066
1801
|
def initialize(allowed_countries: nil); end
|
2067
1802
|
end
|
@@ -2072,11 +1807,9 @@ module Stripe
|
|
2072
1807
|
# A unit of time.
|
2073
1808
|
sig { returns(String) }
|
2074
1809
|
attr_accessor :unit
|
2075
|
-
|
2076
1810
|
# Must be greater than 0.
|
2077
1811
|
sig { returns(Integer) }
|
2078
1812
|
attr_accessor :value
|
2079
|
-
|
2080
1813
|
sig { params(unit: String, value: Integer).void }
|
2081
1814
|
def initialize(unit: nil, value: nil); end
|
2082
1815
|
end
|
@@ -2084,11 +1817,9 @@ module Stripe
|
|
2084
1817
|
# A unit of time.
|
2085
1818
|
sig { returns(String) }
|
2086
1819
|
attr_accessor :unit
|
2087
|
-
|
2088
1820
|
# Must be greater than 0.
|
2089
1821
|
sig { returns(Integer) }
|
2090
1822
|
attr_accessor :value
|
2091
|
-
|
2092
1823
|
sig { params(unit: String, value: Integer).void }
|
2093
1824
|
def initialize(unit: nil, value: nil); end
|
2094
1825
|
end
|
@@ -2097,13 +1828,11 @@ module Stripe
|
|
2097
1828
|
returns(::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum)
|
2098
1829
|
}
|
2099
1830
|
attr_accessor :maximum
|
2100
|
-
|
2101
1831
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
2102
1832
|
sig {
|
2103
1833
|
returns(::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum)
|
2104
1834
|
}
|
2105
1835
|
attr_accessor :minimum
|
2106
|
-
|
2107
1836
|
sig {
|
2108
1837
|
params(maximum: ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum, minimum: ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum).void
|
2109
1838
|
}
|
@@ -2114,28 +1843,23 @@ module Stripe
|
|
2114
1843
|
# A non-negative integer in cents representing how much to charge.
|
2115
1844
|
sig { returns(Integer) }
|
2116
1845
|
attr_accessor :amount
|
2117
|
-
|
2118
1846
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2119
1847
|
sig { returns(String) }
|
2120
1848
|
attr_accessor :tax_behavior
|
2121
|
-
|
2122
1849
|
sig { params(amount: Integer, tax_behavior: String).void }
|
2123
1850
|
def initialize(amount: nil, tax_behavior: nil); end
|
2124
1851
|
end
|
2125
1852
|
# A non-negative integer in cents representing how much to charge.
|
2126
1853
|
sig { returns(Integer) }
|
2127
1854
|
attr_accessor :amount
|
2128
|
-
|
2129
1855
|
# 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).
|
2130
1856
|
sig { returns(String) }
|
2131
1857
|
attr_accessor :currency
|
2132
|
-
|
2133
1858
|
# 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).
|
2134
1859
|
sig {
|
2135
1860
|
returns(T::Hash[String, ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::FixedAmount::CurrencyOptions])
|
2136
1861
|
}
|
2137
1862
|
attr_accessor :currency_options
|
2138
|
-
|
2139
1863
|
sig {
|
2140
1864
|
params(amount: Integer, currency: String, currency_options: T::Hash[String, ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::FixedAmount::CurrencyOptions]).void
|
2141
1865
|
}
|
@@ -2146,33 +1870,26 @@ module Stripe
|
|
2146
1870
|
returns(::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate)
|
2147
1871
|
}
|
2148
1872
|
attr_accessor :delivery_estimate
|
2149
|
-
|
2150
1873
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2151
1874
|
sig { returns(String) }
|
2152
1875
|
attr_accessor :display_name
|
2153
|
-
|
2154
1876
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2155
1877
|
sig {
|
2156
1878
|
returns(::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::FixedAmount)
|
2157
1879
|
}
|
2158
1880
|
attr_accessor :fixed_amount
|
2159
|
-
|
2160
1881
|
# 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`.
|
2161
1882
|
sig { returns(T::Hash[String, String]) }
|
2162
1883
|
attr_accessor :metadata
|
2163
|
-
|
2164
1884
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2165
1885
|
sig { returns(String) }
|
2166
1886
|
attr_accessor :tax_behavior
|
2167
|
-
|
2168
1887
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2169
1888
|
sig { returns(String) }
|
2170
1889
|
attr_accessor :tax_code
|
2171
|
-
|
2172
1890
|
# The type of calculation to use on the shipping rate.
|
2173
1891
|
sig { returns(String) }
|
2174
1892
|
attr_accessor :type
|
2175
|
-
|
2176
1893
|
sig {
|
2177
1894
|
params(delivery_estimate: ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::DeliveryEstimate, display_name: String, fixed_amount: ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData::FixedAmount, metadata: T::Hash[String, String], tax_behavior: String, tax_code: String, type: String).void
|
2178
1895
|
}
|
@@ -2189,13 +1906,11 @@ module Stripe
|
|
2189
1906
|
# The ID of the Shipping Rate to use for this shipping option.
|
2190
1907
|
sig { returns(String) }
|
2191
1908
|
attr_accessor :shipping_rate
|
2192
|
-
|
2193
1909
|
# Parameters to be passed to Shipping Rate creation for this shipping option.
|
2194
1910
|
sig {
|
2195
1911
|
returns(::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData)
|
2196
1912
|
}
|
2197
1913
|
attr_accessor :shipping_rate_data
|
2198
|
-
|
2199
1914
|
sig {
|
2200
1915
|
params(shipping_rate: String, shipping_rate_data: ::Stripe::Checkout::SessionService::CreateParams::ShippingOption::ShippingRateData).void
|
2201
1916
|
}
|
@@ -2207,11 +1922,9 @@ module Stripe
|
|
2207
1922
|
# The connected account being referenced when `type` is `account`.
|
2208
1923
|
sig { returns(String) }
|
2209
1924
|
attr_accessor :account
|
2210
|
-
|
2211
1925
|
# Type of the account referenced in the request.
|
2212
1926
|
sig { returns(String) }
|
2213
1927
|
attr_accessor :type
|
2214
|
-
|
2215
1928
|
sig { params(account: String, type: String).void }
|
2216
1929
|
def initialize(account: nil, type: nil); end
|
2217
1930
|
end
|
@@ -2220,7 +1933,6 @@ module Stripe
|
|
2220
1933
|
returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings::Issuer)
|
2221
1934
|
}
|
2222
1935
|
attr_accessor :issuer
|
2223
|
-
|
2224
1936
|
sig {
|
2225
1937
|
params(issuer: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings::Issuer).void
|
2226
1938
|
}
|
@@ -2230,11 +1942,9 @@ module Stripe
|
|
2230
1942
|
# 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.
|
2231
1943
|
sig { returns(Float) }
|
2232
1944
|
attr_accessor :amount_percent
|
2233
|
-
|
2234
1945
|
# ID of an existing, connected Stripe account.
|
2235
1946
|
sig { returns(String) }
|
2236
1947
|
attr_accessor :destination
|
2237
|
-
|
2238
1948
|
sig { params(amount_percent: Float, destination: String).void }
|
2239
1949
|
def initialize(amount_percent: nil, destination: nil); end
|
2240
1950
|
end
|
@@ -2243,7 +1953,6 @@ module Stripe
|
|
2243
1953
|
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
2244
1954
|
sig { returns(String) }
|
2245
1955
|
attr_accessor :missing_payment_method
|
2246
|
-
|
2247
1956
|
sig { params(missing_payment_method: String).void }
|
2248
1957
|
def initialize(missing_payment_method: nil); end
|
2249
1958
|
end
|
@@ -2252,7 +1961,6 @@ module Stripe
|
|
2252
1961
|
returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings::EndBehavior)
|
2253
1962
|
}
|
2254
1963
|
attr_accessor :end_behavior
|
2255
|
-
|
2256
1964
|
sig {
|
2257
1965
|
params(end_behavior: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings::EndBehavior).void
|
2258
1966
|
}
|
@@ -2261,64 +1969,52 @@ module Stripe
|
|
2261
1969
|
# 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).
|
2262
1970
|
sig { returns(Float) }
|
2263
1971
|
attr_accessor :application_fee_percent
|
2264
|
-
|
2265
1972
|
# A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
2266
1973
|
sig { returns(Integer) }
|
2267
1974
|
attr_accessor :billing_cycle_anchor
|
2268
|
-
|
2269
1975
|
# The tax rates that will apply to any subscription item that does not have
|
2270
1976
|
# `tax_rates` set. Invoices created will have their `default_tax_rates` populated
|
2271
1977
|
# from the subscription.
|
2272
1978
|
sig { returns(T::Array[String]) }
|
2273
1979
|
attr_accessor :default_tax_rates
|
2274
|
-
|
2275
1980
|
# The subscription's description, meant to be displayable to the customer.
|
2276
1981
|
# Use this field to optionally store an explanation of the subscription
|
2277
1982
|
# for rendering in the [customer portal](https://stripe.com/docs/customer-management).
|
2278
1983
|
sig { returns(String) }
|
2279
1984
|
attr_accessor :description
|
2280
|
-
|
2281
1985
|
# All invoices will be billed using the specified settings.
|
2282
1986
|
sig {
|
2283
1987
|
returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings)
|
2284
1988
|
}
|
2285
1989
|
attr_accessor :invoice_settings
|
2286
|
-
|
2287
1990
|
# 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`.
|
2288
1991
|
sig { returns(T::Hash[String, String]) }
|
2289
1992
|
attr_accessor :metadata
|
2290
|
-
|
2291
1993
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
2292
1994
|
sig { returns(String) }
|
2293
1995
|
attr_accessor :on_behalf_of
|
2294
|
-
|
2295
1996
|
# Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
2296
1997
|
sig { returns(String) }
|
2297
1998
|
attr_accessor :proration_behavior
|
2298
|
-
|
2299
1999
|
# 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.
|
2300
2000
|
sig {
|
2301
2001
|
returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TransferData)
|
2302
2002
|
}
|
2303
2003
|
attr_accessor :transfer_data
|
2304
|
-
|
2305
2004
|
# Unix timestamp representing the end of the trial period the customer
|
2306
2005
|
# will get before being charged for the first time. Has to be at least
|
2307
2006
|
# 48 hours in the future.
|
2308
2007
|
sig { returns(Integer) }
|
2309
2008
|
attr_accessor :trial_end
|
2310
|
-
|
2311
2009
|
# Integer representing the number of trial period days before the
|
2312
2010
|
# customer is charged for the first time. Has to be at least 1.
|
2313
2011
|
sig { returns(Integer) }
|
2314
2012
|
attr_accessor :trial_period_days
|
2315
|
-
|
2316
2013
|
# Settings related to subscription trials.
|
2317
2014
|
sig {
|
2318
2015
|
returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings)
|
2319
2016
|
}
|
2320
2017
|
attr_accessor :trial_settings
|
2321
|
-
|
2322
2018
|
sig {
|
2323
2019
|
params(application_fee_percent: Float, billing_cycle_anchor: Integer, default_tax_rates: T::Array[String], description: String, invoice_settings: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings, metadata: T::Hash[String, String], on_behalf_of: String, proration_behavior: String, transfer_data: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TransferData, trial_end: Integer, trial_period_days: Integer, trial_settings: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings).void
|
2324
2020
|
}
|
@@ -2341,60 +2037,47 @@ module Stripe
|
|
2341
2037
|
# Enable tax ID collection during checkout. Defaults to `false`.
|
2342
2038
|
sig { returns(T::Boolean) }
|
2343
2039
|
attr_accessor :enabled
|
2344
|
-
|
2345
2040
|
# Describes whether a tax ID is required during checkout. Defaults to `never`.
|
2346
2041
|
sig { returns(String) }
|
2347
2042
|
attr_accessor :required
|
2348
|
-
|
2349
2043
|
sig { params(enabled: T::Boolean, required: String).void }
|
2350
2044
|
def initialize(enabled: nil, required: nil); end
|
2351
2045
|
end
|
2352
2046
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
2353
2047
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::AdaptivePricing) }
|
2354
2048
|
attr_accessor :adaptive_pricing
|
2355
|
-
|
2356
2049
|
# Configure actions after a Checkout Session has expired.
|
2357
2050
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::AfterExpiration) }
|
2358
2051
|
attr_accessor :after_expiration
|
2359
|
-
|
2360
2052
|
# Enables user redeemable promotion codes.
|
2361
2053
|
sig { returns(T::Boolean) }
|
2362
2054
|
attr_accessor :allow_promotion_codes
|
2363
|
-
|
2364
2055
|
# Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
2365
2056
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::AutomaticTax) }
|
2366
2057
|
attr_accessor :automatic_tax
|
2367
|
-
|
2368
2058
|
# Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
2369
2059
|
sig { returns(String) }
|
2370
2060
|
attr_accessor :billing_address_collection
|
2371
|
-
|
2372
2061
|
# 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`.
|
2373
2062
|
sig { returns(String) }
|
2374
2063
|
attr_accessor :cancel_url
|
2375
|
-
|
2376
2064
|
# A unique string to reference the Checkout Session. This can be a
|
2377
2065
|
# customer ID, a cart ID, or similar, and can be used to reconcile the
|
2378
2066
|
# session with your internal systems.
|
2379
2067
|
sig { returns(String) }
|
2380
2068
|
attr_accessor :client_reference_id
|
2381
|
-
|
2382
2069
|
# Configure fields for the Checkout Session to gather active consent from customers.
|
2383
2070
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::ConsentCollection) }
|
2384
2071
|
attr_accessor :consent_collection
|
2385
|
-
|
2386
2072
|
# 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.
|
2387
2073
|
sig { returns(String) }
|
2388
2074
|
attr_accessor :currency
|
2389
|
-
|
2390
2075
|
# Collect additional information from your customer using custom fields. Up to 3 fields are supported.
|
2391
2076
|
sig { returns(T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField]) }
|
2392
2077
|
attr_accessor :custom_fields
|
2393
|
-
|
2394
2078
|
# Display additional text for your customers using custom text.
|
2395
2079
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomText) }
|
2396
2080
|
attr_accessor :custom_text
|
2397
|
-
|
2398
2081
|
# ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card
|
2399
2082
|
# payment method will be used to prefill the email, name, card details, and billing address
|
2400
2083
|
# 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)
|
@@ -2408,7 +2091,6 @@ module Stripe
|
|
2408
2091
|
# 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.
|
2409
2092
|
sig { returns(String) }
|
2410
2093
|
attr_accessor :customer
|
2411
|
-
|
2412
2094
|
# Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.
|
2413
2095
|
#
|
2414
2096
|
# When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
|
@@ -2420,7 +2102,6 @@ module Stripe
|
|
2420
2102
|
# Can only be set in `payment` and `setup` mode.
|
2421
2103
|
sig { returns(String) }
|
2422
2104
|
attr_accessor :customer_creation
|
2423
|
-
|
2424
2105
|
# If provided, this value will be used when the Customer object is created.
|
2425
2106
|
# If not provided, customers will be asked to enter their email address.
|
2426
2107
|
# Use this parameter to prefill customer data if you already have an email
|
@@ -2428,27 +2109,21 @@ module Stripe
|
|
2428
2109
|
# complete, use the `customer` field.
|
2429
2110
|
sig { returns(String) }
|
2430
2111
|
attr_accessor :customer_email
|
2431
|
-
|
2432
2112
|
# Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.
|
2433
2113
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::CustomerUpdate) }
|
2434
2114
|
attr_accessor :customer_update
|
2435
|
-
|
2436
2115
|
# The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.
|
2437
2116
|
sig { returns(T::Array[::Stripe::Checkout::SessionService::CreateParams::Discount]) }
|
2438
2117
|
attr_accessor :discounts
|
2439
|
-
|
2440
2118
|
# Specifies which fields in the response should be expanded.
|
2441
2119
|
sig { returns(T::Array[String]) }
|
2442
2120
|
attr_accessor :expand
|
2443
|
-
|
2444
2121
|
# 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.
|
2445
2122
|
sig { returns(Integer) }
|
2446
2123
|
attr_accessor :expires_at
|
2447
|
-
|
2448
2124
|
# Generate a post-purchase Invoice for one-time payments.
|
2449
2125
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation) }
|
2450
2126
|
attr_accessor :invoice_creation
|
2451
|
-
|
2452
2127
|
# A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).
|
2453
2128
|
#
|
2454
2129
|
# 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.
|
@@ -2456,23 +2131,18 @@ module Stripe
|
|
2456
2131
|
# 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.
|
2457
2132
|
sig { returns(T::Array[::Stripe::Checkout::SessionService::CreateParams::LineItem]) }
|
2458
2133
|
attr_accessor :line_items
|
2459
|
-
|
2460
2134
|
# The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
|
2461
2135
|
sig { returns(String) }
|
2462
2136
|
attr_accessor :locale
|
2463
|
-
|
2464
2137
|
# 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`.
|
2465
2138
|
sig { returns(T::Hash[String, String]) }
|
2466
2139
|
attr_accessor :metadata
|
2467
|
-
|
2468
2140
|
# The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
|
2469
2141
|
sig { returns(String) }
|
2470
2142
|
attr_accessor :mode
|
2471
|
-
|
2472
2143
|
# A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
2473
2144
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData) }
|
2474
2145
|
attr_accessor :payment_intent_data
|
2475
|
-
|
2476
2146
|
# 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.
|
2477
2147
|
# This may occur if the Checkout Session includes a free trial or a discount.
|
2478
2148
|
#
|
@@ -2481,19 +2151,15 @@ module Stripe
|
|
2481
2151
|
# 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).
|
2482
2152
|
sig { returns(String) }
|
2483
2153
|
attr_accessor :payment_method_collection
|
2484
|
-
|
2485
2154
|
# The ID of the payment method configuration to use with this Checkout session.
|
2486
2155
|
sig { returns(String) }
|
2487
2156
|
attr_accessor :payment_method_configuration
|
2488
|
-
|
2489
2157
|
# This parameter allows you to set some attributes on the payment method created during a Checkout session.
|
2490
2158
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodData) }
|
2491
2159
|
attr_accessor :payment_method_data
|
2492
|
-
|
2493
2160
|
# Payment-method-specific configuration.
|
2494
2161
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions) }
|
2495
2162
|
attr_accessor :payment_method_options
|
2496
|
-
|
2497
2163
|
# A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.
|
2498
2164
|
#
|
2499
2165
|
# You can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
@@ -2507,56 +2173,45 @@ module Stripe
|
|
2507
2173
|
# other characteristics.
|
2508
2174
|
sig { returns(T::Array[String]) }
|
2509
2175
|
attr_accessor :payment_method_types
|
2510
|
-
|
2511
2176
|
# This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
|
2512
2177
|
#
|
2513
2178
|
# For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
|
2514
2179
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::Permissions) }
|
2515
2180
|
attr_accessor :permissions
|
2516
|
-
|
2517
2181
|
# Controls phone number collection settings for the session.
|
2518
2182
|
#
|
2519
2183
|
# We recommend that you review your privacy policy and check with your legal contacts
|
2520
2184
|
# before using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).
|
2521
2185
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection) }
|
2522
2186
|
attr_accessor :phone_number_collection
|
2523
|
-
|
2524
2187
|
# 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`.
|
2525
2188
|
sig { returns(String) }
|
2526
2189
|
attr_accessor :redirect_on_completion
|
2527
|
-
|
2528
2190
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
2529
2191
|
# payment method's app or site. This parameter is required if `ui_mode` is `embedded` or `custom`
|
2530
2192
|
# and redirect-based payment methods are enabled on the session.
|
2531
2193
|
sig { returns(String) }
|
2532
2194
|
attr_accessor :return_url
|
2533
|
-
|
2534
2195
|
# Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.
|
2535
2196
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::SavedPaymentMethodOptions) }
|
2536
2197
|
attr_accessor :saved_payment_method_options
|
2537
|
-
|
2538
2198
|
# A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.
|
2539
2199
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::SetupIntentData) }
|
2540
2200
|
attr_accessor :setup_intent_data
|
2541
|
-
|
2542
2201
|
# When set, provides configuration for Checkout to collect a shipping address from a customer.
|
2543
2202
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::ShippingAddressCollection) }
|
2544
2203
|
attr_accessor :shipping_address_collection
|
2545
|
-
|
2546
2204
|
# The shipping rate options to apply to this Session. Up to a maximum of 5.
|
2547
2205
|
sig { returns(T::Array[::Stripe::Checkout::SessionService::CreateParams::ShippingOption]) }
|
2548
2206
|
attr_accessor :shipping_options
|
2549
|
-
|
2550
2207
|
# Describes the type of transaction being performed by Checkout in order to customize
|
2551
2208
|
# relevant text on the page, such as the submit button. `submit_type` can only be
|
2552
2209
|
# specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.
|
2553
2210
|
sig { returns(String) }
|
2554
2211
|
attr_accessor :submit_type
|
2555
|
-
|
2556
2212
|
# A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
2557
2213
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData) }
|
2558
2214
|
attr_accessor :subscription_data
|
2559
|
-
|
2560
2215
|
# The URL to which Stripe should send customers when payment or setup
|
2561
2216
|
# is complete.
|
2562
2217
|
# This parameter is not allowed if ui_mode is `embedded` or `custom`. If you'd like to use
|
@@ -2564,15 +2219,12 @@ module Stripe
|
|
2564
2219
|
# guide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).
|
2565
2220
|
sig { returns(String) }
|
2566
2221
|
attr_accessor :success_url
|
2567
|
-
|
2568
2222
|
# Controls tax ID collection during checkout.
|
2569
2223
|
sig { returns(::Stripe::Checkout::SessionService::CreateParams::TaxIdCollection) }
|
2570
2224
|
attr_accessor :tax_id_collection
|
2571
|
-
|
2572
2225
|
# The UI mode of the Session. Defaults to `hosted`.
|
2573
2226
|
sig { returns(String) }
|
2574
2227
|
attr_accessor :ui_mode
|
2575
|
-
|
2576
2228
|
sig {
|
2577
2229
|
params(adaptive_pricing: ::Stripe::Checkout::SessionService::CreateParams::AdaptivePricing, after_expiration: ::Stripe::Checkout::SessionService::CreateParams::AfterExpiration, allow_promotion_codes: T::Boolean, automatic_tax: ::Stripe::Checkout::SessionService::CreateParams::AutomaticTax, billing_address_collection: String, cancel_url: String, client_reference_id: String, consent_collection: ::Stripe::Checkout::SessionService::CreateParams::ConsentCollection, currency: String, custom_fields: T::Array[::Stripe::Checkout::SessionService::CreateParams::CustomField], custom_text: ::Stripe::Checkout::SessionService::CreateParams::CustomText, customer: String, customer_creation: String, customer_email: String, customer_update: ::Stripe::Checkout::SessionService::CreateParams::CustomerUpdate, discounts: T::Array[::Stripe::Checkout::SessionService::CreateParams::Discount], expand: T::Array[String], expires_at: Integer, invoice_creation: ::Stripe::Checkout::SessionService::CreateParams::InvoiceCreation, line_items: T::Array[::Stripe::Checkout::SessionService::CreateParams::LineItem], locale: String, metadata: T::Hash[String, String], mode: String, payment_intent_data: ::Stripe::Checkout::SessionService::CreateParams::PaymentIntentData, payment_method_collection: String, payment_method_configuration: String, payment_method_data: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodData, payment_method_options: ::Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions, payment_method_types: T::Array[String], permissions: ::Stripe::Checkout::SessionService::CreateParams::Permissions, phone_number_collection: ::Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection, redirect_on_completion: String, return_url: String, saved_payment_method_options: ::Stripe::Checkout::SessionService::CreateParams::SavedPaymentMethodOptions, setup_intent_data: ::Stripe::Checkout::SessionService::CreateParams::SetupIntentData, shipping_address_collection: ::Stripe::Checkout::SessionService::CreateParams::ShippingAddressCollection, shipping_options: T::Array[::Stripe::Checkout::SessionService::CreateParams::ShippingOption], submit_type: String, subscription_data: ::Stripe::Checkout::SessionService::CreateParams::SubscriptionData, success_url: String, tax_id_collection: ::Stripe::Checkout::SessionService::CreateParams::TaxIdCollection, ui_mode: String).void
|
2578
2230
|
}
|
@@ -2625,7 +2277,6 @@ module Stripe
|
|
2625
2277
|
# Specifies which fields in the response should be expanded.
|
2626
2278
|
sig { returns(T::Array[String]) }
|
2627
2279
|
attr_accessor :expand
|
2628
|
-
|
2629
2280
|
sig { params(expand: T::Array[String]).void }
|
2630
2281
|
def initialize(expand: nil); end
|
2631
2282
|
end
|
@@ -2636,27 +2287,21 @@ module Stripe
|
|
2636
2287
|
# City, district, suburb, town, or village.
|
2637
2288
|
sig { returns(String) }
|
2638
2289
|
attr_accessor :city
|
2639
|
-
|
2640
2290
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2641
2291
|
sig { returns(String) }
|
2642
2292
|
attr_accessor :country
|
2643
|
-
|
2644
2293
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2645
2294
|
sig { returns(String) }
|
2646
2295
|
attr_accessor :line1
|
2647
|
-
|
2648
2296
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2649
2297
|
sig { returns(String) }
|
2650
2298
|
attr_accessor :line2
|
2651
|
-
|
2652
2299
|
# ZIP or postal code.
|
2653
2300
|
sig { returns(String) }
|
2654
2301
|
attr_accessor :postal_code
|
2655
|
-
|
2656
2302
|
# State, county, province, or region.
|
2657
2303
|
sig { returns(String) }
|
2658
2304
|
attr_accessor :state
|
2659
|
-
|
2660
2305
|
sig {
|
2661
2306
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2662
2307
|
}
|
@@ -2674,11 +2319,9 @@ module Stripe
|
|
2674
2319
|
returns(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails::Address)
|
2675
2320
|
}
|
2676
2321
|
attr_accessor :address
|
2677
|
-
|
2678
2322
|
# The name of customer
|
2679
2323
|
sig { returns(String) }
|
2680
2324
|
attr_accessor :name
|
2681
|
-
|
2682
2325
|
sig {
|
2683
2326
|
params(address: ::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails::Address, name: String).void
|
2684
2327
|
}
|
@@ -2689,7 +2332,6 @@ module Stripe
|
|
2689
2332
|
returns(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails)
|
2690
2333
|
}
|
2691
2334
|
attr_accessor :shipping_details
|
2692
|
-
|
2693
2335
|
sig {
|
2694
2336
|
params(shipping_details: ::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation::ShippingDetails).void
|
2695
2337
|
}
|
@@ -2700,15 +2342,12 @@ module Stripe
|
|
2700
2342
|
# Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity.
|
2701
2343
|
sig { returns(T::Boolean) }
|
2702
2344
|
attr_accessor :enabled
|
2703
|
-
|
2704
2345
|
# 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.
|
2705
2346
|
sig { returns(Integer) }
|
2706
2347
|
attr_accessor :maximum
|
2707
|
-
|
2708
2348
|
# The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
2709
2349
|
sig { returns(Integer) }
|
2710
2350
|
attr_accessor :minimum
|
2711
|
-
|
2712
2351
|
sig { params(enabled: T::Boolean, maximum: Integer, minimum: Integer).void }
|
2713
2352
|
def initialize(enabled: nil, maximum: nil, minimum: nil); end
|
2714
2353
|
end
|
@@ -2717,27 +2356,21 @@ module Stripe
|
|
2717
2356
|
returns(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity)
|
2718
2357
|
}
|
2719
2358
|
attr_accessor :adjustable_quantity
|
2720
|
-
|
2721
2359
|
# ID of an existing line item.
|
2722
2360
|
sig { returns(String) }
|
2723
2361
|
attr_accessor :id
|
2724
|
-
|
2725
2362
|
# 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`.
|
2726
2363
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
2727
2364
|
attr_accessor :metadata
|
2728
|
-
|
2729
2365
|
# The ID of the [Price](https://stripe.com/docs/api/prices).
|
2730
2366
|
sig { returns(String) }
|
2731
2367
|
attr_accessor :price
|
2732
|
-
|
2733
2368
|
# The quantity of the line item being purchased.
|
2734
2369
|
sig { returns(Integer) }
|
2735
2370
|
attr_accessor :quantity
|
2736
|
-
|
2737
2371
|
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
2738
2372
|
sig { returns(T.nilable(T::Array[String])) }
|
2739
2373
|
attr_accessor :tax_rates
|
2740
|
-
|
2741
2374
|
sig {
|
2742
2375
|
params(adjustable_quantity: ::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity, id: String, metadata: T.nilable(T::Hash[String, String]), price: String, quantity: Integer, tax_rates: T.nilable(T::Array[String])).void
|
2743
2376
|
}
|
@@ -2757,11 +2390,9 @@ module Stripe
|
|
2757
2390
|
# A unit of time.
|
2758
2391
|
sig { returns(String) }
|
2759
2392
|
attr_accessor :unit
|
2760
|
-
|
2761
2393
|
# Must be greater than 0.
|
2762
2394
|
sig { returns(Integer) }
|
2763
2395
|
attr_accessor :value
|
2764
|
-
|
2765
2396
|
sig { params(unit: String, value: Integer).void }
|
2766
2397
|
def initialize(unit: nil, value: nil); end
|
2767
2398
|
end
|
@@ -2769,11 +2400,9 @@ module Stripe
|
|
2769
2400
|
# A unit of time.
|
2770
2401
|
sig { returns(String) }
|
2771
2402
|
attr_accessor :unit
|
2772
|
-
|
2773
2403
|
# Must be greater than 0.
|
2774
2404
|
sig { returns(Integer) }
|
2775
2405
|
attr_accessor :value
|
2776
|
-
|
2777
2406
|
sig { params(unit: String, value: Integer).void }
|
2778
2407
|
def initialize(unit: nil, value: nil); end
|
2779
2408
|
end
|
@@ -2782,13 +2411,11 @@ module Stripe
|
|
2782
2411
|
returns(::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum)
|
2783
2412
|
}
|
2784
2413
|
attr_accessor :maximum
|
2785
|
-
|
2786
2414
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
2787
2415
|
sig {
|
2788
2416
|
returns(::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum)
|
2789
2417
|
}
|
2790
2418
|
attr_accessor :minimum
|
2791
|
-
|
2792
2419
|
sig {
|
2793
2420
|
params(maximum: ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum, minimum: ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum).void
|
2794
2421
|
}
|
@@ -2799,28 +2426,23 @@ module Stripe
|
|
2799
2426
|
# A non-negative integer in cents representing how much to charge.
|
2800
2427
|
sig { returns(Integer) }
|
2801
2428
|
attr_accessor :amount
|
2802
|
-
|
2803
2429
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2804
2430
|
sig { returns(String) }
|
2805
2431
|
attr_accessor :tax_behavior
|
2806
|
-
|
2807
2432
|
sig { params(amount: Integer, tax_behavior: String).void }
|
2808
2433
|
def initialize(amount: nil, tax_behavior: nil); end
|
2809
2434
|
end
|
2810
2435
|
# A non-negative integer in cents representing how much to charge.
|
2811
2436
|
sig { returns(Integer) }
|
2812
2437
|
attr_accessor :amount
|
2813
|
-
|
2814
2438
|
# 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).
|
2815
2439
|
sig { returns(String) }
|
2816
2440
|
attr_accessor :currency
|
2817
|
-
|
2818
2441
|
# 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).
|
2819
2442
|
sig {
|
2820
2443
|
returns(T::Hash[String, ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::FixedAmount::CurrencyOptions])
|
2821
2444
|
}
|
2822
2445
|
attr_accessor :currency_options
|
2823
|
-
|
2824
2446
|
sig {
|
2825
2447
|
params(amount: Integer, currency: String, currency_options: T::Hash[String, ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::FixedAmount::CurrencyOptions]).void
|
2826
2448
|
}
|
@@ -2831,33 +2453,26 @@ module Stripe
|
|
2831
2453
|
returns(::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate)
|
2832
2454
|
}
|
2833
2455
|
attr_accessor :delivery_estimate
|
2834
|
-
|
2835
2456
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2836
2457
|
sig { returns(String) }
|
2837
2458
|
attr_accessor :display_name
|
2838
|
-
|
2839
2459
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2840
2460
|
sig {
|
2841
2461
|
returns(::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::FixedAmount)
|
2842
2462
|
}
|
2843
2463
|
attr_accessor :fixed_amount
|
2844
|
-
|
2845
2464
|
# 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`.
|
2846
2465
|
sig { returns(T::Hash[String, String]) }
|
2847
2466
|
attr_accessor :metadata
|
2848
|
-
|
2849
2467
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2850
2468
|
sig { returns(String) }
|
2851
2469
|
attr_accessor :tax_behavior
|
2852
|
-
|
2853
2470
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2854
2471
|
sig { returns(String) }
|
2855
2472
|
attr_accessor :tax_code
|
2856
|
-
|
2857
2473
|
# The type of calculation to use on the shipping rate.
|
2858
2474
|
sig { returns(String) }
|
2859
2475
|
attr_accessor :type
|
2860
|
-
|
2861
2476
|
sig {
|
2862
2477
|
params(delivery_estimate: ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::DeliveryEstimate, display_name: String, fixed_amount: ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData::FixedAmount, metadata: T::Hash[String, String], tax_behavior: String, tax_code: String, type: String).void
|
2863
2478
|
}
|
@@ -2874,13 +2489,11 @@ module Stripe
|
|
2874
2489
|
# The ID of the Shipping Rate to use for this shipping option.
|
2875
2490
|
sig { returns(String) }
|
2876
2491
|
attr_accessor :shipping_rate
|
2877
|
-
|
2878
2492
|
# Parameters to be passed to Shipping Rate creation for this shipping option.
|
2879
2493
|
sig {
|
2880
2494
|
returns(::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData)
|
2881
2495
|
}
|
2882
2496
|
attr_accessor :shipping_rate_data
|
2883
|
-
|
2884
2497
|
sig {
|
2885
2498
|
params(shipping_rate: String, shipping_rate_data: ::Stripe::Checkout::SessionService::UpdateParams::ShippingOption::ShippingRateData).void
|
2886
2499
|
}
|
@@ -2889,11 +2502,9 @@ module Stripe
|
|
2889
2502
|
# Information about the customer collected within the Checkout Session.
|
2890
2503
|
sig { returns(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation) }
|
2891
2504
|
attr_accessor :collected_information
|
2892
|
-
|
2893
2505
|
# Specifies which fields in the response should be expanded.
|
2894
2506
|
sig { returns(T::Array[String]) }
|
2895
2507
|
attr_accessor :expand
|
2896
|
-
|
2897
2508
|
# A list of items the customer is purchasing.
|
2898
2509
|
#
|
2899
2510
|
# When updating line items, you must retransmit the entire array of line items.
|
@@ -2909,17 +2520,14 @@ module Stripe
|
|
2909
2520
|
# To reorder a line item, specify it at the desired position in the retransmitted array.
|
2910
2521
|
sig { returns(T::Array[::Stripe::Checkout::SessionService::UpdateParams::LineItem]) }
|
2911
2522
|
attr_accessor :line_items
|
2912
|
-
|
2913
2523
|
# 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`.
|
2914
2524
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
2915
2525
|
attr_accessor :metadata
|
2916
|
-
|
2917
2526
|
# The shipping rate options to apply to this Session. Up to a maximum of 5.
|
2918
2527
|
sig {
|
2919
2528
|
returns(T.nilable(T::Array[::Stripe::Checkout::SessionService::UpdateParams::ShippingOption]))
|
2920
2529
|
}
|
2921
2530
|
attr_accessor :shipping_options
|
2922
|
-
|
2923
2531
|
sig {
|
2924
2532
|
params(collected_information: ::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation, expand: T::Array[String], line_items: T::Array[::Stripe::Checkout::SessionService::UpdateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), shipping_options: T.nilable(T::Array[::Stripe::Checkout::SessionService::UpdateParams::ShippingOption])).void
|
2925
2533
|
}
|
@@ -2935,7 +2543,6 @@ module Stripe
|
|
2935
2543
|
# Specifies which fields in the response should be expanded.
|
2936
2544
|
sig { returns(T::Array[String]) }
|
2937
2545
|
attr_accessor :expand
|
2938
|
-
|
2939
2546
|
sig { params(expand: T::Array[String]).void }
|
2940
2547
|
def initialize(expand: nil); end
|
2941
2548
|
end
|