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
@@ -9,23 +9,18 @@ module Stripe
|
|
9
9
|
# Only return orders for the given customer.
|
10
10
|
sig { returns(String) }
|
11
11
|
attr_accessor :customer
|
12
|
-
|
13
12
|
# 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.
|
14
13
|
sig { returns(String) }
|
15
14
|
attr_accessor :ending_before
|
16
|
-
|
17
15
|
# Specifies which fields in the response should be expanded.
|
18
16
|
sig { returns(T::Array[String]) }
|
19
17
|
attr_accessor :expand
|
20
|
-
|
21
18
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
22
19
|
sig { returns(Integer) }
|
23
20
|
attr_accessor :limit
|
24
|
-
|
25
21
|
# 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.
|
26
22
|
sig { returns(String) }
|
27
23
|
attr_accessor :starting_after
|
28
|
-
|
29
24
|
sig {
|
30
25
|
params(customer: String, ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String).void
|
31
26
|
}
|
@@ -42,7 +37,6 @@ module Stripe
|
|
42
37
|
# Enable automatic tax calculation which will automatically compute tax rates on this order.
|
43
38
|
sig { returns(T::Boolean) }
|
44
39
|
attr_accessor :enabled
|
45
|
-
|
46
40
|
sig { params(enabled: T::Boolean).void }
|
47
41
|
def initialize(enabled: nil); end
|
48
42
|
end
|
@@ -51,27 +45,21 @@ module Stripe
|
|
51
45
|
# City, district, suburb, town, or village.
|
52
46
|
sig { returns(String) }
|
53
47
|
attr_accessor :city
|
54
|
-
|
55
48
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
56
49
|
sig { returns(String) }
|
57
50
|
attr_accessor :country
|
58
|
-
|
59
51
|
# Address line 1 (e.g., street, PO Box, or company name).
|
60
52
|
sig { returns(String) }
|
61
53
|
attr_accessor :line1
|
62
|
-
|
63
54
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
64
55
|
sig { returns(String) }
|
65
56
|
attr_accessor :line2
|
66
|
-
|
67
57
|
# ZIP or postal code.
|
68
58
|
sig { returns(String) }
|
69
59
|
attr_accessor :postal_code
|
70
|
-
|
71
60
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
72
61
|
sig { returns(String) }
|
73
62
|
attr_accessor :state
|
74
|
-
|
75
63
|
sig {
|
76
64
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
77
65
|
}
|
@@ -87,19 +75,15 @@ module Stripe
|
|
87
75
|
# The billing address provided by the customer.
|
88
76
|
sig { returns(::Stripe::OrderService::CreateParams::BillingDetails::Address) }
|
89
77
|
attr_accessor :address
|
90
|
-
|
91
78
|
# The billing email provided by the customer.
|
92
79
|
sig { returns(String) }
|
93
80
|
attr_accessor :email
|
94
|
-
|
95
81
|
# The billing name provided by the customer.
|
96
82
|
sig { returns(String) }
|
97
83
|
attr_accessor :name
|
98
|
-
|
99
84
|
# The billing phone number provided by the customer.
|
100
85
|
sig { returns(String) }
|
101
86
|
attr_accessor :phone
|
102
|
-
|
103
87
|
sig {
|
104
88
|
params(address: ::Stripe::OrderService::CreateParams::BillingDetails::Address, email: String, name: String, phone: String).void
|
105
89
|
}
|
@@ -109,11 +93,9 @@ module Stripe
|
|
109
93
|
# The gift card to apply to the order.
|
110
94
|
sig { returns(String) }
|
111
95
|
attr_accessor :gift_card
|
112
|
-
|
113
96
|
# The type of credit to apply to the order, only `gift_card` currently supported.
|
114
97
|
sig { returns(String) }
|
115
98
|
attr_accessor :type
|
116
|
-
|
117
99
|
sig { params(gift_card: String, type: String).void }
|
118
100
|
def initialize(gift_card: nil, type: nil); end
|
119
101
|
end
|
@@ -121,15 +103,12 @@ module Stripe
|
|
121
103
|
# ID of the coupon to create a new discount for.
|
122
104
|
sig { returns(String) }
|
123
105
|
attr_accessor :coupon
|
124
|
-
|
125
106
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
126
107
|
sig { returns(String) }
|
127
108
|
attr_accessor :discount
|
128
|
-
|
129
109
|
# ID of the promotion code to create a new discount for.
|
130
110
|
sig { returns(String) }
|
131
111
|
attr_accessor :promotion_code
|
132
|
-
|
133
112
|
sig { params(coupon: String, discount: String, promotion_code: String).void }
|
134
113
|
def initialize(coupon: nil, discount: nil, promotion_code: nil); end
|
135
114
|
end
|
@@ -138,11 +117,9 @@ module Stripe
|
|
138
117
|
# ID of the coupon to create a new discount for.
|
139
118
|
sig { returns(String) }
|
140
119
|
attr_accessor :coupon
|
141
|
-
|
142
120
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
143
121
|
sig { returns(String) }
|
144
122
|
attr_accessor :discount
|
145
|
-
|
146
123
|
sig { params(coupon: String, discount: String).void }
|
147
124
|
def initialize(coupon: nil, discount: nil); end
|
148
125
|
end
|
@@ -150,25 +127,20 @@ module Stripe
|
|
150
127
|
# 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).
|
151
128
|
sig { returns(String) }
|
152
129
|
attr_accessor :currency
|
153
|
-
|
154
130
|
# ID of the product this price belongs to.
|
155
131
|
#
|
156
132
|
# Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
|
157
133
|
sig { returns(String) }
|
158
134
|
attr_accessor :product
|
159
|
-
|
160
135
|
# 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.
|
161
136
|
sig { returns(String) }
|
162
137
|
attr_accessor :tax_behavior
|
163
|
-
|
164
138
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
165
139
|
sig { returns(Integer) }
|
166
140
|
attr_accessor :unit_amount
|
167
|
-
|
168
141
|
# 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.
|
169
142
|
sig { returns(String) }
|
170
143
|
attr_accessor :unit_amount_decimal
|
171
|
-
|
172
144
|
sig {
|
173
145
|
params(currency: String, product: String, tax_behavior: String, unit_amount: Integer, unit_amount_decimal: String).void
|
174
146
|
}
|
@@ -185,62 +157,49 @@ module Stripe
|
|
185
157
|
# Height, in inches. Maximum precision is 2 decimal places.
|
186
158
|
sig { returns(Float) }
|
187
159
|
attr_accessor :height
|
188
|
-
|
189
160
|
# Length, in inches. Maximum precision is 2 decimal places.
|
190
161
|
sig { returns(Float) }
|
191
162
|
attr_accessor :length
|
192
|
-
|
193
163
|
# Weight, in ounces. Maximum precision is 2 decimal places.
|
194
164
|
sig { returns(Float) }
|
195
165
|
attr_accessor :weight
|
196
|
-
|
197
166
|
# Width, in inches. Maximum precision is 2 decimal places.
|
198
167
|
sig { returns(Float) }
|
199
168
|
attr_accessor :width
|
200
|
-
|
201
169
|
sig { params(height: Float, length: Float, weight: Float, width: Float).void }
|
202
170
|
def initialize(height: nil, length: nil, weight: nil, width: nil); end
|
203
171
|
end
|
204
172
|
# 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.
|
205
173
|
sig { returns(T.nilable(String)) }
|
206
174
|
attr_accessor :description
|
207
|
-
|
208
175
|
# A unique identifier for this product.
|
209
176
|
#
|
210
177
|
# `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
|
211
178
|
sig { returns(String) }
|
212
179
|
attr_accessor :id
|
213
|
-
|
214
180
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
215
181
|
sig { returns(T.nilable(T::Array[String])) }
|
216
182
|
attr_accessor :images
|
217
|
-
|
218
183
|
# 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`.
|
219
184
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
220
185
|
attr_accessor :metadata
|
221
|
-
|
222
186
|
# The product's name, meant to be displayable to the customer.
|
223
187
|
sig { returns(String) }
|
224
188
|
attr_accessor :name
|
225
|
-
|
226
189
|
# The dimensions of this product for shipping purposes.
|
227
190
|
sig {
|
228
191
|
returns(T.nilable(::Stripe::OrderService::CreateParams::LineItem::ProductData::PackageDimensions))
|
229
192
|
}
|
230
193
|
attr_accessor :package_dimensions
|
231
|
-
|
232
194
|
# Whether this product is shipped (i.e., physical goods).
|
233
195
|
sig { returns(T::Boolean) }
|
234
196
|
attr_accessor :shippable
|
235
|
-
|
236
197
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
237
198
|
sig { returns(T.nilable(String)) }
|
238
199
|
attr_accessor :tax_code
|
239
|
-
|
240
200
|
# A URL of a publicly-accessible webpage for this product.
|
241
201
|
sig { returns(T.nilable(String)) }
|
242
202
|
attr_accessor :url
|
243
|
-
|
244
203
|
sig {
|
245
204
|
params(description: T.nilable(String), id: String, images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, package_dimensions: T.nilable(::Stripe::OrderService::CreateParams::LineItem::ProductData::PackageDimensions), shippable: T::Boolean, tax_code: T.nilable(String), url: T.nilable(String)).void
|
246
205
|
}
|
@@ -259,19 +218,16 @@ module Stripe
|
|
259
218
|
# The description for the line item. Will default to the name of the associated product.
|
260
219
|
sig { returns(String) }
|
261
220
|
attr_accessor :description
|
262
|
-
|
263
221
|
# The discounts applied to this line item.
|
264
222
|
sig {
|
265
223
|
returns(T.nilable(T::Array[::Stripe::OrderService::CreateParams::LineItem::Discount]))
|
266
224
|
}
|
267
225
|
attr_accessor :discounts
|
268
|
-
|
269
226
|
# The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
|
270
227
|
#
|
271
228
|
# The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
|
272
229
|
sig { returns(String) }
|
273
230
|
attr_accessor :price
|
274
|
-
|
275
231
|
# Data used to generate a new Price object inline.
|
276
232
|
#
|
277
233
|
# The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
|
@@ -279,13 +235,11 @@ module Stripe
|
|
279
235
|
# Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
|
280
236
|
sig { returns(::Stripe::OrderService::CreateParams::LineItem::PriceData) }
|
281
237
|
attr_accessor :price_data
|
282
|
-
|
283
238
|
# The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
|
284
239
|
#
|
285
240
|
# The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
|
286
241
|
sig { returns(String) }
|
287
242
|
attr_accessor :product
|
288
|
-
|
289
243
|
# Defines a Product inline and adds it to the Order.
|
290
244
|
#
|
291
245
|
# `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
|
@@ -293,15 +247,12 @@ module Stripe
|
|
293
247
|
# `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
|
294
248
|
sig { returns(::Stripe::OrderService::CreateParams::LineItem::ProductData) }
|
295
249
|
attr_accessor :product_data
|
296
|
-
|
297
250
|
# The quantity of the line item.
|
298
251
|
sig { returns(Integer) }
|
299
252
|
attr_accessor :quantity
|
300
|
-
|
301
253
|
# The tax rates applied to this line item.
|
302
254
|
sig { returns(T.nilable(T::Array[String])) }
|
303
255
|
attr_accessor :tax_rates
|
304
|
-
|
305
256
|
sig {
|
306
257
|
params(description: String, discounts: T.nilable(T::Array[::Stripe::OrderService::CreateParams::LineItem::Discount]), price: String, price_data: ::Stripe::OrderService::CreateParams::LineItem::PriceData, product: String, product_data: ::Stripe::OrderService::CreateParams::LineItem::ProductData, quantity: Integer, tax_rates: T.nilable(T::Array[String])).void
|
307
258
|
}
|
@@ -326,19 +277,15 @@ module Stripe
|
|
326
277
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
327
278
|
sig { returns(T.nilable(String)) }
|
328
279
|
attr_accessor :custom_mandate_url
|
329
|
-
|
330
280
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
331
281
|
sig { returns(String) }
|
332
282
|
attr_accessor :interval_description
|
333
|
-
|
334
283
|
# Payment schedule for the mandate.
|
335
284
|
sig { returns(String) }
|
336
285
|
attr_accessor :payment_schedule
|
337
|
-
|
338
286
|
# Transaction type of the mandate.
|
339
287
|
sig { returns(String) }
|
340
288
|
attr_accessor :transaction_type
|
341
|
-
|
342
289
|
sig {
|
343
290
|
params(custom_mandate_url: T.nilable(String), interval_description: String, payment_schedule: String, transaction_type: String).void
|
344
291
|
}
|
@@ -354,7 +301,6 @@ module Stripe
|
|
354
301
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AcssDebit::MandateOptions)
|
355
302
|
}
|
356
303
|
attr_accessor :mandate_options
|
357
|
-
|
358
304
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
359
305
|
#
|
360
306
|
# 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.
|
@@ -366,11 +312,9 @@ module Stripe
|
|
366
312
|
# 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`.
|
367
313
|
sig { returns(T.nilable(String)) }
|
368
314
|
attr_accessor :setup_future_usage
|
369
|
-
|
370
315
|
# Bank account verification method.
|
371
316
|
sig { returns(String) }
|
372
317
|
attr_accessor :verification_method
|
373
|
-
|
374
318
|
sig {
|
375
319
|
params(mandate_options: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AcssDebit::MandateOptions, setup_future_usage: T.nilable(String), verification_method: String).void
|
376
320
|
}
|
@@ -388,11 +332,9 @@ module Stripe
|
|
388
332
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
389
333
|
sig { returns(String) }
|
390
334
|
attr_accessor :capture_method
|
391
|
-
|
392
335
|
# An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
|
393
336
|
sig { returns(String) }
|
394
337
|
attr_accessor :reference
|
395
|
-
|
396
338
|
# Indicates that you intend to make future payments with the payment method.
|
397
339
|
#
|
398
340
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -402,7 +344,6 @@ module Stripe
|
|
402
344
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
403
345
|
sig { returns(String) }
|
404
346
|
attr_accessor :setup_future_usage
|
405
|
-
|
406
347
|
sig {
|
407
348
|
params(capture_method: String, reference: String, setup_future_usage: String).void
|
408
349
|
}
|
@@ -420,7 +361,6 @@ module Stripe
|
|
420
361
|
# 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`.
|
421
362
|
sig { returns(T.nilable(String)) }
|
422
363
|
attr_accessor :setup_future_usage
|
423
|
-
|
424
364
|
sig { params(setup_future_usage: T.nilable(String)).void }
|
425
365
|
def initialize(setup_future_usage: nil); end
|
426
366
|
end
|
@@ -428,7 +368,6 @@ module Stripe
|
|
428
368
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
429
369
|
sig { returns(String) }
|
430
370
|
attr_accessor :preferred_language
|
431
|
-
|
432
371
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
433
372
|
#
|
434
373
|
# 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.
|
@@ -440,7 +379,6 @@ module Stripe
|
|
440
379
|
# 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`.
|
441
380
|
sig { returns(T.nilable(String)) }
|
442
381
|
attr_accessor :setup_future_usage
|
443
|
-
|
444
382
|
sig { params(preferred_language: String, setup_future_usage: T.nilable(String)).void }
|
445
383
|
def initialize(preferred_language: nil, setup_future_usage: nil); end
|
446
384
|
end
|
@@ -448,7 +386,6 @@ module Stripe
|
|
448
386
|
# Controls when the funds will be captured from the customer's account.
|
449
387
|
sig { returns(String) }
|
450
388
|
attr_accessor :capture_method
|
451
|
-
|
452
389
|
# Indicates that you intend to make future payments with the payment method.
|
453
390
|
#
|
454
391
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -458,7 +395,6 @@ module Stripe
|
|
458
395
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
459
396
|
sig { returns(String) }
|
460
397
|
attr_accessor :setup_future_usage
|
461
|
-
|
462
398
|
sig { params(capture_method: String, setup_future_usage: String).void }
|
463
399
|
def initialize(capture_method: nil, setup_future_usage: nil); end
|
464
400
|
end
|
@@ -468,7 +404,6 @@ module Stripe
|
|
468
404
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
469
405
|
sig { returns(String) }
|
470
406
|
attr_accessor :country
|
471
|
-
|
472
407
|
sig { params(country: String).void }
|
473
408
|
def initialize(country: nil); end
|
474
409
|
end
|
@@ -477,17 +412,14 @@ module Stripe
|
|
477
412
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer)
|
478
413
|
}
|
479
414
|
attr_accessor :eu_bank_transfer
|
480
|
-
|
481
415
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
482
416
|
#
|
483
417
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
484
418
|
sig { returns(T::Array[String]) }
|
485
419
|
attr_accessor :requested_address_types
|
486
|
-
|
487
420
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
488
421
|
sig { returns(String) }
|
489
422
|
attr_accessor :type
|
490
|
-
|
491
423
|
sig {
|
492
424
|
params(eu_bank_transfer: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer, requested_address_types: T::Array[String], type: String).void
|
493
425
|
}
|
@@ -498,11 +430,9 @@ module Stripe
|
|
498
430
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer)
|
499
431
|
}
|
500
432
|
attr_accessor :bank_transfer
|
501
|
-
|
502
433
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
503
434
|
sig { returns(String) }
|
504
435
|
attr_accessor :funding_type
|
505
|
-
|
506
436
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
507
437
|
#
|
508
438
|
# 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.
|
@@ -514,7 +444,6 @@ module Stripe
|
|
514
444
|
# 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`.
|
515
445
|
sig { returns(String) }
|
516
446
|
attr_accessor :setup_future_usage
|
517
|
-
|
518
447
|
sig {
|
519
448
|
params(bank_transfer: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer, funding_type: String, setup_future_usage: String).void
|
520
449
|
}
|
@@ -532,7 +461,6 @@ module Stripe
|
|
532
461
|
# 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`.
|
533
462
|
sig { returns(T.nilable(String)) }
|
534
463
|
attr_accessor :setup_future_usage
|
535
|
-
|
536
464
|
sig { params(setup_future_usage: T.nilable(String)).void }
|
537
465
|
def initialize(setup_future_usage: nil); end
|
538
466
|
end
|
@@ -544,11 +472,9 @@ module Stripe
|
|
544
472
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
545
473
|
sig { returns(T.nilable(String)) }
|
546
474
|
attr_accessor :capture_method
|
547
|
-
|
548
475
|
# Preferred language of the Klarna authorization page that the customer is redirected to
|
549
476
|
sig { returns(String) }
|
550
477
|
attr_accessor :preferred_locale
|
551
|
-
|
552
478
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
553
479
|
#
|
554
480
|
# 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.
|
@@ -560,7 +486,6 @@ module Stripe
|
|
560
486
|
# 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`.
|
561
487
|
sig { returns(String) }
|
562
488
|
attr_accessor :setup_future_usage
|
563
|
-
|
564
489
|
sig {
|
565
490
|
params(capture_method: T.nilable(String), preferred_locale: String, setup_future_usage: String).void
|
566
491
|
}
|
@@ -578,11 +503,9 @@ module Stripe
|
|
578
503
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
579
504
|
sig { returns(T.nilable(String)) }
|
580
505
|
attr_accessor :capture_method
|
581
|
-
|
582
506
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
583
507
|
sig { returns(String) }
|
584
508
|
attr_accessor :persistent_token
|
585
|
-
|
586
509
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
587
510
|
#
|
588
511
|
# 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.
|
@@ -594,7 +517,6 @@ module Stripe
|
|
594
517
|
# 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`.
|
595
518
|
sig { returns(T.nilable(String)) }
|
596
519
|
attr_accessor :setup_future_usage
|
597
|
-
|
598
520
|
sig {
|
599
521
|
params(capture_method: T.nilable(String), persistent_token: String, setup_future_usage: T.nilable(String)).void
|
600
522
|
}
|
@@ -608,7 +530,6 @@ module Stripe
|
|
608
530
|
# 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.
|
609
531
|
sig { returns(Integer) }
|
610
532
|
attr_accessor :expires_after_days
|
611
|
-
|
612
533
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
613
534
|
#
|
614
535
|
# 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.
|
@@ -620,7 +541,6 @@ module Stripe
|
|
620
541
|
# 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`.
|
621
542
|
sig { returns(String) }
|
622
543
|
attr_accessor :setup_future_usage
|
623
|
-
|
624
544
|
sig { params(expires_after_days: Integer, setup_future_usage: String).void }
|
625
545
|
def initialize(expires_after_days: nil, setup_future_usage: nil); end
|
626
546
|
end
|
@@ -636,11 +556,9 @@ module Stripe
|
|
636
556
|
# 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`.
|
637
557
|
sig { returns(String) }
|
638
558
|
attr_accessor :setup_future_usage
|
639
|
-
|
640
559
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
641
560
|
sig { returns(T::Boolean) }
|
642
561
|
attr_accessor :tos_shown_and_accepted
|
643
|
-
|
644
562
|
sig { params(setup_future_usage: String, tos_shown_and_accepted: T::Boolean).void }
|
645
563
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
646
564
|
end
|
@@ -650,48 +568,38 @@ module Stripe
|
|
650
568
|
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
651
569
|
sig { returns(Integer) }
|
652
570
|
attr_accessor :amount
|
653
|
-
|
654
571
|
# The tax behavior for the line item.
|
655
572
|
sig { returns(String) }
|
656
573
|
attr_accessor :behavior
|
657
|
-
|
658
574
|
sig { params(amount: Integer, behavior: String).void }
|
659
575
|
def initialize(amount: nil, behavior: nil); end
|
660
576
|
end
|
661
577
|
# Type of the line item.
|
662
578
|
sig { returns(String) }
|
663
579
|
attr_accessor :category
|
664
|
-
|
665
580
|
# Description of the line item.
|
666
581
|
sig { returns(String) }
|
667
582
|
attr_accessor :description
|
668
|
-
|
669
583
|
# Descriptive name of the line item.
|
670
584
|
sig { returns(String) }
|
671
585
|
attr_accessor :name
|
672
|
-
|
673
586
|
# Quantity of the line item. Must be a positive number.
|
674
587
|
sig { returns(Integer) }
|
675
588
|
attr_accessor :quantity
|
676
|
-
|
677
589
|
# Client facing stock keeping unit, article number or similar.
|
678
590
|
sig { returns(String) }
|
679
591
|
attr_accessor :sku
|
680
|
-
|
681
592
|
# The Stripe account ID of the connected account that sells the item.
|
682
593
|
sig { returns(String) }
|
683
594
|
attr_accessor :sold_by
|
684
|
-
|
685
595
|
# The tax information for the line item.
|
686
596
|
sig {
|
687
597
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem::Tax)
|
688
598
|
}
|
689
599
|
attr_accessor :tax
|
690
|
-
|
691
600
|
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
692
601
|
sig { returns(Integer) }
|
693
602
|
attr_accessor :unit_amount
|
694
|
-
|
695
603
|
sig {
|
696
604
|
params(category: String, description: String, name: String, quantity: Integer, sku: String, sold_by: String, tax: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem::Tax, unit_amount: Integer).void
|
697
605
|
}
|
@@ -709,29 +617,23 @@ module Stripe
|
|
709
617
|
# Controls when the funds will be captured from the customer's account.
|
710
618
|
sig { returns(T.nilable(String)) }
|
711
619
|
attr_accessor :capture_method
|
712
|
-
|
713
620
|
# The line items purchased by the customer.
|
714
621
|
sig {
|
715
622
|
returns(T::Array[::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem])
|
716
623
|
}
|
717
624
|
attr_accessor :line_items
|
718
|
-
|
719
625
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
720
626
|
sig { returns(String) }
|
721
627
|
attr_accessor :preferred_locale
|
722
|
-
|
723
628
|
# 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.
|
724
629
|
sig { returns(String) }
|
725
630
|
attr_accessor :reference
|
726
|
-
|
727
631
|
# 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.
|
728
632
|
sig { returns(String) }
|
729
633
|
attr_accessor :reference_id
|
730
|
-
|
731
634
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
732
635
|
sig { returns(String) }
|
733
636
|
attr_accessor :risk_correlation_id
|
734
|
-
|
735
637
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
736
638
|
#
|
737
639
|
# 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.
|
@@ -743,11 +645,9 @@ module Stripe
|
|
743
645
|
# 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`.
|
744
646
|
sig { returns(T.nilable(String)) }
|
745
647
|
attr_accessor :setup_future_usage
|
746
|
-
|
747
648
|
# 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.
|
748
649
|
sig { returns(T::Array[String]) }
|
749
650
|
attr_accessor :subsellers
|
750
|
-
|
751
651
|
sig {
|
752
652
|
params(capture_method: T.nilable(String), line_items: T::Array[::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem], preferred_locale: String, reference: String, reference_id: String, risk_correlation_id: String, setup_future_usage: T.nilable(String), subsellers: T::Array[String]).void
|
753
653
|
}
|
@@ -767,7 +667,6 @@ module Stripe
|
|
767
667
|
# 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'.
|
768
668
|
sig { returns(T.nilable(String)) }
|
769
669
|
attr_accessor :reference_prefix
|
770
|
-
|
771
670
|
sig { params(reference_prefix: T.nilable(String)).void }
|
772
671
|
def initialize(reference_prefix: nil); end
|
773
672
|
end
|
@@ -776,7 +675,6 @@ module Stripe
|
|
776
675
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::SepaDebit::MandateOptions)
|
777
676
|
}
|
778
677
|
attr_accessor :mandate_options
|
779
|
-
|
780
678
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
781
679
|
#
|
782
680
|
# 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.
|
@@ -788,7 +686,6 @@ module Stripe
|
|
788
686
|
# 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`.
|
789
687
|
sig { returns(T.nilable(String)) }
|
790
688
|
attr_accessor :setup_future_usage
|
791
|
-
|
792
689
|
sig {
|
793
690
|
params(mandate_options: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::SepaDebit::MandateOptions, setup_future_usage: T.nilable(String)).void
|
794
691
|
}
|
@@ -798,7 +695,6 @@ module Stripe
|
|
798
695
|
# Language shown to the payer on redirect.
|
799
696
|
sig { returns(T.nilable(String)) }
|
800
697
|
attr_accessor :preferred_language
|
801
|
-
|
802
698
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
803
699
|
#
|
804
700
|
# 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.
|
@@ -810,7 +706,6 @@ module Stripe
|
|
810
706
|
# 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`.
|
811
707
|
sig { returns(T.nilable(String)) }
|
812
708
|
attr_accessor :setup_future_usage
|
813
|
-
|
814
709
|
sig {
|
815
710
|
params(preferred_language: T.nilable(String), setup_future_usage: T.nilable(String)).void
|
816
711
|
}
|
@@ -820,11 +715,9 @@ module Stripe
|
|
820
715
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
821
716
|
sig { returns(String) }
|
822
717
|
attr_accessor :app_id
|
823
|
-
|
824
718
|
# The client type that the end customer will pay from
|
825
719
|
sig { returns(String) }
|
826
720
|
attr_accessor :client
|
827
|
-
|
828
721
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
829
722
|
#
|
830
723
|
# 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.
|
@@ -836,7 +729,6 @@ module Stripe
|
|
836
729
|
# 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`.
|
837
730
|
sig { returns(String) }
|
838
731
|
attr_accessor :setup_future_usage
|
839
|
-
|
840
732
|
sig { params(app_id: String, client: String, setup_future_usage: String).void }
|
841
733
|
def initialize(app_id: nil, client: nil, setup_future_usage: nil); end
|
842
734
|
end
|
@@ -845,91 +737,76 @@ module Stripe
|
|
845
737
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AcssDebit)
|
846
738
|
}
|
847
739
|
attr_accessor :acss_debit
|
848
|
-
|
849
740
|
# If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
|
850
741
|
sig {
|
851
742
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AfterpayClearpay)
|
852
743
|
}
|
853
744
|
attr_accessor :afterpay_clearpay
|
854
|
-
|
855
745
|
# If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
|
856
746
|
sig {
|
857
747
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Alipay)
|
858
748
|
}
|
859
749
|
attr_accessor :alipay
|
860
|
-
|
861
750
|
# If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
|
862
751
|
sig {
|
863
752
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Bancontact)
|
864
753
|
}
|
865
754
|
attr_accessor :bancontact
|
866
|
-
|
867
755
|
# If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
|
868
756
|
sig {
|
869
757
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Card)
|
870
758
|
}
|
871
759
|
attr_accessor :card
|
872
|
-
|
873
760
|
# If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
|
874
761
|
sig {
|
875
762
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance)
|
876
763
|
}
|
877
764
|
attr_accessor :customer_balance
|
878
|
-
|
879
765
|
# If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
|
880
766
|
sig {
|
881
767
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Ideal)
|
882
768
|
}
|
883
769
|
attr_accessor :ideal
|
884
|
-
|
885
770
|
# If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
|
886
771
|
sig {
|
887
772
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Klarna)
|
888
773
|
}
|
889
774
|
attr_accessor :klarna
|
890
|
-
|
891
775
|
# If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
|
892
776
|
sig {
|
893
777
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Link)
|
894
778
|
}
|
895
779
|
attr_accessor :link
|
896
|
-
|
897
780
|
# If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
|
898
781
|
sig {
|
899
782
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Oxxo)
|
900
783
|
}
|
901
784
|
attr_accessor :oxxo
|
902
|
-
|
903
785
|
# If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
|
904
786
|
sig {
|
905
787
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::P24)
|
906
788
|
}
|
907
789
|
attr_accessor :p24
|
908
|
-
|
909
790
|
# If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
|
910
791
|
sig {
|
911
792
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal)
|
912
793
|
}
|
913
794
|
attr_accessor :paypal
|
914
|
-
|
915
795
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
|
916
796
|
sig {
|
917
797
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::SepaDebit)
|
918
798
|
}
|
919
799
|
attr_accessor :sepa_debit
|
920
|
-
|
921
800
|
# If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
|
922
801
|
sig {
|
923
802
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Sofort)
|
924
803
|
}
|
925
804
|
attr_accessor :sofort
|
926
|
-
|
927
805
|
# If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
|
928
806
|
sig {
|
929
807
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::WechatPay)
|
930
808
|
}
|
931
809
|
attr_accessor :wechat_pay
|
932
|
-
|
933
810
|
sig {
|
934
811
|
params(acss_debit: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AcssDebit, afterpay_clearpay: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::AfterpayClearpay, alipay: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Alipay, bancontact: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Bancontact, card: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Card, customer_balance: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance, ideal: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Ideal, klarna: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Klarna, link: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Link, oxxo: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Oxxo, p24: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::P24, paypal: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Paypal, sepa_debit: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::SepaDebit, sofort: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::Sofort, wechat_pay: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions::WechatPay).void
|
935
812
|
}
|
@@ -955,44 +832,35 @@ module Stripe
|
|
955
832
|
# The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
|
956
833
|
sig { returns(Integer) }
|
957
834
|
attr_accessor :amount
|
958
|
-
|
959
835
|
# ID of the Connected account receiving the transfer.
|
960
836
|
sig { returns(String) }
|
961
837
|
attr_accessor :destination
|
962
|
-
|
963
838
|
sig { params(amount: Integer, destination: String).void }
|
964
839
|
def initialize(amount: nil, destination: nil); end
|
965
840
|
end
|
966
841
|
# 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.
|
967
842
|
sig { returns(Integer) }
|
968
843
|
attr_accessor :application_fee_amount
|
969
|
-
|
970
844
|
# PaymentMethod-specific configuration to provide to the order's PaymentIntent.
|
971
845
|
sig {
|
972
846
|
returns(::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions)
|
973
847
|
}
|
974
848
|
attr_accessor :payment_method_options
|
975
|
-
|
976
849
|
# The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
977
850
|
sig { returns(T::Array[String]) }
|
978
851
|
attr_accessor :payment_method_types
|
979
|
-
|
980
852
|
# The URL to redirect the customer to after they authenticate their payment.
|
981
853
|
sig { returns(String) }
|
982
854
|
attr_accessor :return_url
|
983
|
-
|
984
855
|
# For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
|
985
856
|
sig { returns(String) }
|
986
857
|
attr_accessor :statement_descriptor
|
987
|
-
|
988
858
|
# Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
|
989
859
|
sig { returns(String) }
|
990
860
|
attr_accessor :statement_descriptor_suffix
|
991
|
-
|
992
861
|
# Provides configuration for completing a transfer for the order after it is paid.
|
993
862
|
sig { returns(::Stripe::OrderService::CreateParams::Payment::Settings::TransferData) }
|
994
863
|
attr_accessor :transfer_data
|
995
|
-
|
996
864
|
sig {
|
997
865
|
params(application_fee_amount: Integer, payment_method_options: ::Stripe::OrderService::CreateParams::Payment::Settings::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::OrderService::CreateParams::Payment::Settings::TransferData).void
|
998
866
|
}
|
@@ -1009,7 +877,6 @@ module Stripe
|
|
1009
877
|
# Settings describing how the order should configure generated PaymentIntents.
|
1010
878
|
sig { returns(::Stripe::OrderService::CreateParams::Payment::Settings) }
|
1011
879
|
attr_accessor :settings
|
1012
|
-
|
1013
880
|
sig { params(settings: ::Stripe::OrderService::CreateParams::Payment::Settings).void }
|
1014
881
|
def initialize(settings: nil); end
|
1015
882
|
end
|
@@ -1020,11 +887,9 @@ module Stripe
|
|
1020
887
|
# A unit of time.
|
1021
888
|
sig { returns(String) }
|
1022
889
|
attr_accessor :unit
|
1023
|
-
|
1024
890
|
# Must be greater than 0.
|
1025
891
|
sig { returns(Integer) }
|
1026
892
|
attr_accessor :value
|
1027
|
-
|
1028
893
|
sig { params(unit: String, value: Integer).void }
|
1029
894
|
def initialize(unit: nil, value: nil); end
|
1030
895
|
end
|
@@ -1032,11 +897,9 @@ module Stripe
|
|
1032
897
|
# A unit of time.
|
1033
898
|
sig { returns(String) }
|
1034
899
|
attr_accessor :unit
|
1035
|
-
|
1036
900
|
# Must be greater than 0.
|
1037
901
|
sig { returns(Integer) }
|
1038
902
|
attr_accessor :value
|
1039
|
-
|
1040
903
|
sig { params(unit: String, value: Integer).void }
|
1041
904
|
def initialize(unit: nil, value: nil); end
|
1042
905
|
end
|
@@ -1045,13 +908,11 @@ module Stripe
|
|
1045
908
|
returns(::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Maximum)
|
1046
909
|
}
|
1047
910
|
attr_accessor :maximum
|
1048
|
-
|
1049
911
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
1050
912
|
sig {
|
1051
913
|
returns(::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Minimum)
|
1052
914
|
}
|
1053
915
|
attr_accessor :minimum
|
1054
|
-
|
1055
916
|
sig {
|
1056
917
|
params(maximum: ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Maximum, minimum: ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Minimum).void
|
1057
918
|
}
|
@@ -1062,28 +923,23 @@ module Stripe
|
|
1062
923
|
# A non-negative integer in cents representing how much to charge.
|
1063
924
|
sig { returns(Integer) }
|
1064
925
|
attr_accessor :amount
|
1065
|
-
|
1066
926
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
1067
927
|
sig { returns(String) }
|
1068
928
|
attr_accessor :tax_behavior
|
1069
|
-
|
1070
929
|
sig { params(amount: Integer, tax_behavior: String).void }
|
1071
930
|
def initialize(amount: nil, tax_behavior: nil); end
|
1072
931
|
end
|
1073
932
|
# A non-negative integer in cents representing how much to charge.
|
1074
933
|
sig { returns(Integer) }
|
1075
934
|
attr_accessor :amount
|
1076
|
-
|
1077
935
|
# 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).
|
1078
936
|
sig { returns(String) }
|
1079
937
|
attr_accessor :currency
|
1080
|
-
|
1081
938
|
# 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).
|
1082
939
|
sig {
|
1083
940
|
returns(T::Hash[String, ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::FixedAmount::CurrencyOptions])
|
1084
941
|
}
|
1085
942
|
attr_accessor :currency_options
|
1086
|
-
|
1087
943
|
sig {
|
1088
944
|
params(amount: Integer, currency: String, currency_options: T::Hash[String, ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::FixedAmount::CurrencyOptions]).void
|
1089
945
|
}
|
@@ -1094,33 +950,26 @@ module Stripe
|
|
1094
950
|
returns(::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate)
|
1095
951
|
}
|
1096
952
|
attr_accessor :delivery_estimate
|
1097
|
-
|
1098
953
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
1099
954
|
sig { returns(String) }
|
1100
955
|
attr_accessor :display_name
|
1101
|
-
|
1102
956
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
1103
957
|
sig {
|
1104
958
|
returns(::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::FixedAmount)
|
1105
959
|
}
|
1106
960
|
attr_accessor :fixed_amount
|
1107
|
-
|
1108
961
|
# 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`.
|
1109
962
|
sig { returns(T::Hash[String, String]) }
|
1110
963
|
attr_accessor :metadata
|
1111
|
-
|
1112
964
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
1113
965
|
sig { returns(String) }
|
1114
966
|
attr_accessor :tax_behavior
|
1115
|
-
|
1116
967
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
1117
968
|
sig { returns(String) }
|
1118
969
|
attr_accessor :tax_code
|
1119
|
-
|
1120
970
|
# The type of calculation to use on the shipping rate.
|
1121
971
|
sig { returns(String) }
|
1122
972
|
attr_accessor :type
|
1123
|
-
|
1124
973
|
sig {
|
1125
974
|
params(delivery_estimate: ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::DeliveryEstimate, display_name: String, fixed_amount: ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData::FixedAmount, metadata: T::Hash[String, String], tax_behavior: String, tax_code: String, type: String).void
|
1126
975
|
}
|
@@ -1137,11 +986,9 @@ module Stripe
|
|
1137
986
|
# The ID of the shipping rate to use for this order.
|
1138
987
|
sig { returns(String) }
|
1139
988
|
attr_accessor :shipping_rate
|
1140
|
-
|
1141
989
|
# Parameters to create a new ad-hoc shipping rate for this order.
|
1142
990
|
sig { returns(::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData) }
|
1143
991
|
attr_accessor :shipping_rate_data
|
1144
|
-
|
1145
992
|
sig {
|
1146
993
|
params(shipping_rate: String, shipping_rate_data: ::Stripe::OrderService::CreateParams::ShippingCost::ShippingRateData).void
|
1147
994
|
}
|
@@ -1152,27 +999,21 @@ module Stripe
|
|
1152
999
|
# City, district, suburb, town, or village.
|
1153
1000
|
sig { returns(String) }
|
1154
1001
|
attr_accessor :city
|
1155
|
-
|
1156
1002
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1157
1003
|
sig { returns(String) }
|
1158
1004
|
attr_accessor :country
|
1159
|
-
|
1160
1005
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1161
1006
|
sig { returns(String) }
|
1162
1007
|
attr_accessor :line1
|
1163
|
-
|
1164
1008
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1165
1009
|
sig { returns(String) }
|
1166
1010
|
attr_accessor :line2
|
1167
|
-
|
1168
1011
|
# ZIP or postal code.
|
1169
1012
|
sig { returns(String) }
|
1170
1013
|
attr_accessor :postal_code
|
1171
|
-
|
1172
1014
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
1173
1015
|
sig { returns(String) }
|
1174
1016
|
attr_accessor :state
|
1175
|
-
|
1176
1017
|
sig {
|
1177
1018
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1178
1019
|
}
|
@@ -1188,15 +1029,12 @@ module Stripe
|
|
1188
1029
|
# The shipping address for the order.
|
1189
1030
|
sig { returns(::Stripe::OrderService::CreateParams::ShippingDetails::Address) }
|
1190
1031
|
attr_accessor :address
|
1191
|
-
|
1192
1032
|
# The name of the recipient of the order.
|
1193
1033
|
sig { returns(String) }
|
1194
1034
|
attr_accessor :name
|
1195
|
-
|
1196
1035
|
# The phone number (including extension) for the recipient of the order.
|
1197
1036
|
sig { returns(T.nilable(String)) }
|
1198
1037
|
attr_accessor :phone
|
1199
|
-
|
1200
1038
|
sig {
|
1201
1039
|
params(address: ::Stripe::OrderService::CreateParams::ShippingDetails::Address, name: String, phone: T.nilable(String)).void
|
1202
1040
|
}
|
@@ -1204,25 +1042,21 @@ module Stripe
|
|
1204
1042
|
end
|
1205
1043
|
class TaxDetails < Stripe::RequestParams
|
1206
1044
|
class TaxId < Stripe::RequestParams
|
1207
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
1045
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
1208
1046
|
sig { returns(String) }
|
1209
1047
|
attr_accessor :type
|
1210
|
-
|
1211
1048
|
# Value of the tax ID.
|
1212
1049
|
sig { returns(String) }
|
1213
1050
|
attr_accessor :value
|
1214
|
-
|
1215
1051
|
sig { params(type: String, value: String).void }
|
1216
1052
|
def initialize(type: nil, value: nil); end
|
1217
1053
|
end
|
1218
1054
|
# The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
|
1219
1055
|
sig { returns(T.nilable(String)) }
|
1220
1056
|
attr_accessor :tax_exempt
|
1221
|
-
|
1222
1057
|
# The purchaser's tax IDs to be used for this order.
|
1223
1058
|
sig { returns(T::Array[::Stripe::OrderService::CreateParams::TaxDetails::TaxId]) }
|
1224
1059
|
attr_accessor :tax_ids
|
1225
|
-
|
1226
1060
|
sig {
|
1227
1061
|
params(tax_exempt: T.nilable(String), tax_ids: T::Array[::Stripe::OrderService::CreateParams::TaxDetails::TaxId]).void
|
1228
1062
|
}
|
@@ -1231,63 +1065,48 @@ module Stripe
|
|
1231
1065
|
# Settings for automatic tax calculation for this order.
|
1232
1066
|
sig { returns(::Stripe::OrderService::CreateParams::AutomaticTax) }
|
1233
1067
|
attr_accessor :automatic_tax
|
1234
|
-
|
1235
1068
|
# Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
|
1236
1069
|
sig { returns(T.nilable(::Stripe::OrderService::CreateParams::BillingDetails)) }
|
1237
1070
|
attr_accessor :billing_details
|
1238
|
-
|
1239
1071
|
# The credits to apply to the order, only `gift_card` currently supported.
|
1240
1072
|
sig { returns(T.nilable(T::Array[::Stripe::OrderService::CreateParams::Credit])) }
|
1241
1073
|
attr_accessor :credits
|
1242
|
-
|
1243
1074
|
# 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).
|
1244
1075
|
sig { returns(String) }
|
1245
1076
|
attr_accessor :currency
|
1246
|
-
|
1247
1077
|
# The customer associated with this order.
|
1248
1078
|
sig { returns(String) }
|
1249
1079
|
attr_accessor :customer
|
1250
|
-
|
1251
1080
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1252
1081
|
sig { returns(String) }
|
1253
1082
|
attr_accessor :description
|
1254
|
-
|
1255
1083
|
# The coupons, promotion codes, and/or discounts to apply to the order.
|
1256
1084
|
sig { returns(T.nilable(T::Array[::Stripe::OrderService::CreateParams::Discount])) }
|
1257
1085
|
attr_accessor :discounts
|
1258
|
-
|
1259
1086
|
# Specifies which fields in the response should be expanded.
|
1260
1087
|
sig { returns(T::Array[String]) }
|
1261
1088
|
attr_accessor :expand
|
1262
|
-
|
1263
1089
|
# The IP address of the purchaser for this order.
|
1264
1090
|
sig { returns(String) }
|
1265
1091
|
attr_accessor :ip_address
|
1266
|
-
|
1267
1092
|
# A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
|
1268
1093
|
sig { returns(T::Array[::Stripe::OrderService::CreateParams::LineItem]) }
|
1269
1094
|
attr_accessor :line_items
|
1270
|
-
|
1271
1095
|
# 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`.
|
1272
1096
|
sig { returns(T::Hash[String, String]) }
|
1273
1097
|
attr_accessor :metadata
|
1274
|
-
|
1275
1098
|
# Payment information associated with the order, including payment settings.
|
1276
1099
|
sig { returns(::Stripe::OrderService::CreateParams::Payment) }
|
1277
1100
|
attr_accessor :payment
|
1278
|
-
|
1279
1101
|
# Settings for the customer cost of shipping for this order.
|
1280
1102
|
sig { returns(T.nilable(::Stripe::OrderService::CreateParams::ShippingCost)) }
|
1281
1103
|
attr_accessor :shipping_cost
|
1282
|
-
|
1283
1104
|
# Shipping details for the order.
|
1284
1105
|
sig { returns(T.nilable(::Stripe::OrderService::CreateParams::ShippingDetails)) }
|
1285
1106
|
attr_accessor :shipping_details
|
1286
|
-
|
1287
1107
|
# Additional tax details about the purchaser to be used for this order.
|
1288
1108
|
sig { returns(::Stripe::OrderService::CreateParams::TaxDetails) }
|
1289
1109
|
attr_accessor :tax_details
|
1290
|
-
|
1291
1110
|
sig {
|
1292
1111
|
params(automatic_tax: ::Stripe::OrderService::CreateParams::AutomaticTax, billing_details: T.nilable(::Stripe::OrderService::CreateParams::BillingDetails), credits: T.nilable(T::Array[::Stripe::OrderService::CreateParams::Credit]), currency: String, customer: String, description: String, discounts: T.nilable(T::Array[::Stripe::OrderService::CreateParams::Discount]), expand: T::Array[String], ip_address: String, line_items: T::Array[::Stripe::OrderService::CreateParams::LineItem], metadata: T::Hash[String, String], payment: ::Stripe::OrderService::CreateParams::Payment, shipping_cost: T.nilable(::Stripe::OrderService::CreateParams::ShippingCost), shipping_details: T.nilable(::Stripe::OrderService::CreateParams::ShippingDetails), tax_details: ::Stripe::OrderService::CreateParams::TaxDetails).void
|
1293
1112
|
}
|
@@ -1313,7 +1132,6 @@ module Stripe
|
|
1313
1132
|
# Specifies which fields in the response should be expanded.
|
1314
1133
|
sig { returns(T::Array[String]) }
|
1315
1134
|
attr_accessor :expand
|
1316
|
-
|
1317
1135
|
sig { params(expand: T::Array[String]).void }
|
1318
1136
|
def initialize(expand: nil); end
|
1319
1137
|
end
|
@@ -1322,7 +1140,6 @@ module Stripe
|
|
1322
1140
|
# Enable automatic tax calculation which will automatically compute tax rates on this order.
|
1323
1141
|
sig { returns(T::Boolean) }
|
1324
1142
|
attr_accessor :enabled
|
1325
|
-
|
1326
1143
|
sig { params(enabled: T::Boolean).void }
|
1327
1144
|
def initialize(enabled: nil); end
|
1328
1145
|
end
|
@@ -1331,27 +1148,21 @@ module Stripe
|
|
1331
1148
|
# City, district, suburb, town, or village.
|
1332
1149
|
sig { returns(String) }
|
1333
1150
|
attr_accessor :city
|
1334
|
-
|
1335
1151
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1336
1152
|
sig { returns(String) }
|
1337
1153
|
attr_accessor :country
|
1338
|
-
|
1339
1154
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1340
1155
|
sig { returns(String) }
|
1341
1156
|
attr_accessor :line1
|
1342
|
-
|
1343
1157
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1344
1158
|
sig { returns(String) }
|
1345
1159
|
attr_accessor :line2
|
1346
|
-
|
1347
1160
|
# ZIP or postal code.
|
1348
1161
|
sig { returns(String) }
|
1349
1162
|
attr_accessor :postal_code
|
1350
|
-
|
1351
1163
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
1352
1164
|
sig { returns(String) }
|
1353
1165
|
attr_accessor :state
|
1354
|
-
|
1355
1166
|
sig {
|
1356
1167
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1357
1168
|
}
|
@@ -1367,19 +1178,15 @@ module Stripe
|
|
1367
1178
|
# The billing address provided by the customer.
|
1368
1179
|
sig { returns(::Stripe::OrderService::UpdateParams::BillingDetails::Address) }
|
1369
1180
|
attr_accessor :address
|
1370
|
-
|
1371
1181
|
# The billing email provided by the customer.
|
1372
1182
|
sig { returns(String) }
|
1373
1183
|
attr_accessor :email
|
1374
|
-
|
1375
1184
|
# The billing name provided by the customer.
|
1376
1185
|
sig { returns(String) }
|
1377
1186
|
attr_accessor :name
|
1378
|
-
|
1379
1187
|
# The billing phone number provided by the customer.
|
1380
1188
|
sig { returns(String) }
|
1381
1189
|
attr_accessor :phone
|
1382
|
-
|
1383
1190
|
sig {
|
1384
1191
|
params(address: ::Stripe::OrderService::UpdateParams::BillingDetails::Address, email: String, name: String, phone: String).void
|
1385
1192
|
}
|
@@ -1389,11 +1196,9 @@ module Stripe
|
|
1389
1196
|
# The gift card to apply to the order.
|
1390
1197
|
sig { returns(String) }
|
1391
1198
|
attr_accessor :gift_card
|
1392
|
-
|
1393
1199
|
# The type of credit to apply to the order, only `gift_card` currently supported.
|
1394
1200
|
sig { returns(String) }
|
1395
1201
|
attr_accessor :type
|
1396
|
-
|
1397
1202
|
sig { params(gift_card: String, type: String).void }
|
1398
1203
|
def initialize(gift_card: nil, type: nil); end
|
1399
1204
|
end
|
@@ -1401,15 +1206,12 @@ module Stripe
|
|
1401
1206
|
# ID of the coupon to create a new discount for.
|
1402
1207
|
sig { returns(String) }
|
1403
1208
|
attr_accessor :coupon
|
1404
|
-
|
1405
1209
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1406
1210
|
sig { returns(String) }
|
1407
1211
|
attr_accessor :discount
|
1408
|
-
|
1409
1212
|
# ID of the promotion code to create a new discount for.
|
1410
1213
|
sig { returns(String) }
|
1411
1214
|
attr_accessor :promotion_code
|
1412
|
-
|
1413
1215
|
sig { params(coupon: String, discount: String, promotion_code: String).void }
|
1414
1216
|
def initialize(coupon: nil, discount: nil, promotion_code: nil); end
|
1415
1217
|
end
|
@@ -1418,11 +1220,9 @@ module Stripe
|
|
1418
1220
|
# ID of the coupon to create a new discount for.
|
1419
1221
|
sig { returns(String) }
|
1420
1222
|
attr_accessor :coupon
|
1421
|
-
|
1422
1223
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1423
1224
|
sig { returns(String) }
|
1424
1225
|
attr_accessor :discount
|
1425
|
-
|
1426
1226
|
sig { params(coupon: String, discount: String).void }
|
1427
1227
|
def initialize(coupon: nil, discount: nil); end
|
1428
1228
|
end
|
@@ -1430,25 +1230,20 @@ module Stripe
|
|
1430
1230
|
# 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).
|
1431
1231
|
sig { returns(String) }
|
1432
1232
|
attr_accessor :currency
|
1433
|
-
|
1434
1233
|
# ID of the product this price belongs to.
|
1435
1234
|
#
|
1436
1235
|
# Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
|
1437
1236
|
sig { returns(String) }
|
1438
1237
|
attr_accessor :product
|
1439
|
-
|
1440
1238
|
# 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.
|
1441
1239
|
sig { returns(String) }
|
1442
1240
|
attr_accessor :tax_behavior
|
1443
|
-
|
1444
1241
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
1445
1242
|
sig { returns(Integer) }
|
1446
1243
|
attr_accessor :unit_amount
|
1447
|
-
|
1448
1244
|
# 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.
|
1449
1245
|
sig { returns(String) }
|
1450
1246
|
attr_accessor :unit_amount_decimal
|
1451
|
-
|
1452
1247
|
sig {
|
1453
1248
|
params(currency: String, product: String, tax_behavior: String, unit_amount: Integer, unit_amount_decimal: String).void
|
1454
1249
|
}
|
@@ -1465,62 +1260,49 @@ module Stripe
|
|
1465
1260
|
# Height, in inches. Maximum precision is 2 decimal places.
|
1466
1261
|
sig { returns(Float) }
|
1467
1262
|
attr_accessor :height
|
1468
|
-
|
1469
1263
|
# Length, in inches. Maximum precision is 2 decimal places.
|
1470
1264
|
sig { returns(Float) }
|
1471
1265
|
attr_accessor :length
|
1472
|
-
|
1473
1266
|
# Weight, in ounces. Maximum precision is 2 decimal places.
|
1474
1267
|
sig { returns(Float) }
|
1475
1268
|
attr_accessor :weight
|
1476
|
-
|
1477
1269
|
# Width, in inches. Maximum precision is 2 decimal places.
|
1478
1270
|
sig { returns(Float) }
|
1479
1271
|
attr_accessor :width
|
1480
|
-
|
1481
1272
|
sig { params(height: Float, length: Float, weight: Float, width: Float).void }
|
1482
1273
|
def initialize(height: nil, length: nil, weight: nil, width: nil); end
|
1483
1274
|
end
|
1484
1275
|
# 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.
|
1485
1276
|
sig { returns(T.nilable(String)) }
|
1486
1277
|
attr_accessor :description
|
1487
|
-
|
1488
1278
|
# A unique identifier for this product.
|
1489
1279
|
#
|
1490
1280
|
# `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
|
1491
1281
|
sig { returns(String) }
|
1492
1282
|
attr_accessor :id
|
1493
|
-
|
1494
1283
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
1495
1284
|
sig { returns(T.nilable(T::Array[String])) }
|
1496
1285
|
attr_accessor :images
|
1497
|
-
|
1498
1286
|
# 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`.
|
1499
1287
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
1500
1288
|
attr_accessor :metadata
|
1501
|
-
|
1502
1289
|
# The product's name, meant to be displayable to the customer.
|
1503
1290
|
sig { returns(String) }
|
1504
1291
|
attr_accessor :name
|
1505
|
-
|
1506
1292
|
# The dimensions of this product for shipping purposes.
|
1507
1293
|
sig {
|
1508
1294
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::LineItem::ProductData::PackageDimensions))
|
1509
1295
|
}
|
1510
1296
|
attr_accessor :package_dimensions
|
1511
|
-
|
1512
1297
|
# Whether this product is shipped (i.e., physical goods).
|
1513
1298
|
sig { returns(T::Boolean) }
|
1514
1299
|
attr_accessor :shippable
|
1515
|
-
|
1516
1300
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
1517
1301
|
sig { returns(T.nilable(String)) }
|
1518
1302
|
attr_accessor :tax_code
|
1519
|
-
|
1520
1303
|
# A URL of a publicly-accessible webpage for this product.
|
1521
1304
|
sig { returns(T.nilable(String)) }
|
1522
1305
|
attr_accessor :url
|
1523
|
-
|
1524
1306
|
sig {
|
1525
1307
|
params(description: T.nilable(String), id: String, images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, package_dimensions: T.nilable(::Stripe::OrderService::UpdateParams::LineItem::ProductData::PackageDimensions), shippable: T::Boolean, tax_code: T.nilable(String), url: T.nilable(String)).void
|
1526
1308
|
}
|
@@ -1539,23 +1321,19 @@ module Stripe
|
|
1539
1321
|
# The description for the line item. Will default to the name of the associated product.
|
1540
1322
|
sig { returns(String) }
|
1541
1323
|
attr_accessor :description
|
1542
|
-
|
1543
1324
|
# The discounts applied to this line item.
|
1544
1325
|
sig {
|
1545
1326
|
returns(T.nilable(T::Array[::Stripe::OrderService::UpdateParams::LineItem::Discount]))
|
1546
1327
|
}
|
1547
1328
|
attr_accessor :discounts
|
1548
|
-
|
1549
1329
|
# The ID of an existing line item on the order.
|
1550
1330
|
sig { returns(String) }
|
1551
1331
|
attr_accessor :id
|
1552
|
-
|
1553
1332
|
# The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
|
1554
1333
|
#
|
1555
1334
|
# The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
|
1556
1335
|
sig { returns(String) }
|
1557
1336
|
attr_accessor :price
|
1558
|
-
|
1559
1337
|
# Data used to generate a new Price object inline.
|
1560
1338
|
#
|
1561
1339
|
# The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
|
@@ -1563,13 +1341,11 @@ module Stripe
|
|
1563
1341
|
# Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
|
1564
1342
|
sig { returns(::Stripe::OrderService::UpdateParams::LineItem::PriceData) }
|
1565
1343
|
attr_accessor :price_data
|
1566
|
-
|
1567
1344
|
# The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
|
1568
1345
|
#
|
1569
1346
|
# The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
|
1570
1347
|
sig { returns(String) }
|
1571
1348
|
attr_accessor :product
|
1572
|
-
|
1573
1349
|
# Defines a Product inline and adds it to the Order.
|
1574
1350
|
#
|
1575
1351
|
# `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
|
@@ -1577,15 +1353,12 @@ module Stripe
|
|
1577
1353
|
# `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
|
1578
1354
|
sig { returns(::Stripe::OrderService::UpdateParams::LineItem::ProductData) }
|
1579
1355
|
attr_accessor :product_data
|
1580
|
-
|
1581
1356
|
# The quantity of the line item.
|
1582
1357
|
sig { returns(Integer) }
|
1583
1358
|
attr_accessor :quantity
|
1584
|
-
|
1585
1359
|
# The tax rates applied to this line item.
|
1586
1360
|
sig { returns(T.nilable(T::Array[String])) }
|
1587
1361
|
attr_accessor :tax_rates
|
1588
|
-
|
1589
1362
|
sig {
|
1590
1363
|
params(description: String, discounts: T.nilable(T::Array[::Stripe::OrderService::UpdateParams::LineItem::Discount]), id: String, price: String, price_data: ::Stripe::OrderService::UpdateParams::LineItem::PriceData, product: String, product_data: ::Stripe::OrderService::UpdateParams::LineItem::ProductData, quantity: Integer, tax_rates: T.nilable(T::Array[String])).void
|
1591
1364
|
}
|
@@ -1611,19 +1384,15 @@ module Stripe
|
|
1611
1384
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
1612
1385
|
sig { returns(T.nilable(String)) }
|
1613
1386
|
attr_accessor :custom_mandate_url
|
1614
|
-
|
1615
1387
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
1616
1388
|
sig { returns(String) }
|
1617
1389
|
attr_accessor :interval_description
|
1618
|
-
|
1619
1390
|
# Payment schedule for the mandate.
|
1620
1391
|
sig { returns(String) }
|
1621
1392
|
attr_accessor :payment_schedule
|
1622
|
-
|
1623
1393
|
# Transaction type of the mandate.
|
1624
1394
|
sig { returns(String) }
|
1625
1395
|
attr_accessor :transaction_type
|
1626
|
-
|
1627
1396
|
sig {
|
1628
1397
|
params(custom_mandate_url: T.nilable(String), interval_description: String, payment_schedule: String, transaction_type: String).void
|
1629
1398
|
}
|
@@ -1639,7 +1408,6 @@ module Stripe
|
|
1639
1408
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AcssDebit::MandateOptions)
|
1640
1409
|
}
|
1641
1410
|
attr_accessor :mandate_options
|
1642
|
-
|
1643
1411
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1644
1412
|
#
|
1645
1413
|
# 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.
|
@@ -1651,11 +1419,9 @@ module Stripe
|
|
1651
1419
|
# 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`.
|
1652
1420
|
sig { returns(T.nilable(String)) }
|
1653
1421
|
attr_accessor :setup_future_usage
|
1654
|
-
|
1655
1422
|
# Bank account verification method.
|
1656
1423
|
sig { returns(String) }
|
1657
1424
|
attr_accessor :verification_method
|
1658
|
-
|
1659
1425
|
sig {
|
1660
1426
|
params(mandate_options: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AcssDebit::MandateOptions, setup_future_usage: T.nilable(String), verification_method: String).void
|
1661
1427
|
}
|
@@ -1673,11 +1439,9 @@ module Stripe
|
|
1673
1439
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1674
1440
|
sig { returns(String) }
|
1675
1441
|
attr_accessor :capture_method
|
1676
|
-
|
1677
1442
|
# An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
|
1678
1443
|
sig { returns(String) }
|
1679
1444
|
attr_accessor :reference
|
1680
|
-
|
1681
1445
|
# Indicates that you intend to make future payments with the payment method.
|
1682
1446
|
#
|
1683
1447
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -1687,7 +1451,6 @@ module Stripe
|
|
1687
1451
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
1688
1452
|
sig { returns(String) }
|
1689
1453
|
attr_accessor :setup_future_usage
|
1690
|
-
|
1691
1454
|
sig {
|
1692
1455
|
params(capture_method: String, reference: String, setup_future_usage: String).void
|
1693
1456
|
}
|
@@ -1705,7 +1468,6 @@ module Stripe
|
|
1705
1468
|
# 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`.
|
1706
1469
|
sig { returns(T.nilable(String)) }
|
1707
1470
|
attr_accessor :setup_future_usage
|
1708
|
-
|
1709
1471
|
sig { params(setup_future_usage: T.nilable(String)).void }
|
1710
1472
|
def initialize(setup_future_usage: nil); end
|
1711
1473
|
end
|
@@ -1713,7 +1475,6 @@ module Stripe
|
|
1713
1475
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
1714
1476
|
sig { returns(String) }
|
1715
1477
|
attr_accessor :preferred_language
|
1716
|
-
|
1717
1478
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1718
1479
|
#
|
1719
1480
|
# 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.
|
@@ -1725,7 +1486,6 @@ module Stripe
|
|
1725
1486
|
# 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`.
|
1726
1487
|
sig { returns(T.nilable(String)) }
|
1727
1488
|
attr_accessor :setup_future_usage
|
1728
|
-
|
1729
1489
|
sig { params(preferred_language: String, setup_future_usage: T.nilable(String)).void }
|
1730
1490
|
def initialize(preferred_language: nil, setup_future_usage: nil); end
|
1731
1491
|
end
|
@@ -1733,7 +1493,6 @@ module Stripe
|
|
1733
1493
|
# Controls when the funds will be captured from the customer's account.
|
1734
1494
|
sig { returns(String) }
|
1735
1495
|
attr_accessor :capture_method
|
1736
|
-
|
1737
1496
|
# Indicates that you intend to make future payments with the payment method.
|
1738
1497
|
#
|
1739
1498
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -1743,7 +1502,6 @@ module Stripe
|
|
1743
1502
|
# If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.
|
1744
1503
|
sig { returns(String) }
|
1745
1504
|
attr_accessor :setup_future_usage
|
1746
|
-
|
1747
1505
|
sig { params(capture_method: String, setup_future_usage: String).void }
|
1748
1506
|
def initialize(capture_method: nil, setup_future_usage: nil); end
|
1749
1507
|
end
|
@@ -1753,7 +1511,6 @@ module Stripe
|
|
1753
1511
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1754
1512
|
sig { returns(String) }
|
1755
1513
|
attr_accessor :country
|
1756
|
-
|
1757
1514
|
sig { params(country: String).void }
|
1758
1515
|
def initialize(country: nil); end
|
1759
1516
|
end
|
@@ -1762,17 +1519,14 @@ module Stripe
|
|
1762
1519
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer)
|
1763
1520
|
}
|
1764
1521
|
attr_accessor :eu_bank_transfer
|
1765
|
-
|
1766
1522
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
1767
1523
|
#
|
1768
1524
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
1769
1525
|
sig { returns(T::Array[String]) }
|
1770
1526
|
attr_accessor :requested_address_types
|
1771
|
-
|
1772
1527
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
1773
1528
|
sig { returns(String) }
|
1774
1529
|
attr_accessor :type
|
1775
|
-
|
1776
1530
|
sig {
|
1777
1531
|
params(eu_bank_transfer: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer::EuBankTransfer, requested_address_types: T::Array[String], type: String).void
|
1778
1532
|
}
|
@@ -1783,11 +1537,9 @@ module Stripe
|
|
1783
1537
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer)
|
1784
1538
|
}
|
1785
1539
|
attr_accessor :bank_transfer
|
1786
|
-
|
1787
1540
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1788
1541
|
sig { returns(String) }
|
1789
1542
|
attr_accessor :funding_type
|
1790
|
-
|
1791
1543
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1792
1544
|
#
|
1793
1545
|
# 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.
|
@@ -1799,7 +1551,6 @@ module Stripe
|
|
1799
1551
|
# 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`.
|
1800
1552
|
sig { returns(String) }
|
1801
1553
|
attr_accessor :setup_future_usage
|
1802
|
-
|
1803
1554
|
sig {
|
1804
1555
|
params(bank_transfer: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance::BankTransfer, funding_type: String, setup_future_usage: String).void
|
1805
1556
|
}
|
@@ -1817,7 +1568,6 @@ module Stripe
|
|
1817
1568
|
# 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`.
|
1818
1569
|
sig { returns(T.nilable(String)) }
|
1819
1570
|
attr_accessor :setup_future_usage
|
1820
|
-
|
1821
1571
|
sig { params(setup_future_usage: T.nilable(String)).void }
|
1822
1572
|
def initialize(setup_future_usage: nil); end
|
1823
1573
|
end
|
@@ -1829,11 +1579,9 @@ module Stripe
|
|
1829
1579
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1830
1580
|
sig { returns(T.nilable(String)) }
|
1831
1581
|
attr_accessor :capture_method
|
1832
|
-
|
1833
1582
|
# Preferred language of the Klarna authorization page that the customer is redirected to
|
1834
1583
|
sig { returns(String) }
|
1835
1584
|
attr_accessor :preferred_locale
|
1836
|
-
|
1837
1585
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1838
1586
|
#
|
1839
1587
|
# 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.
|
@@ -1845,7 +1593,6 @@ module Stripe
|
|
1845
1593
|
# 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`.
|
1846
1594
|
sig { returns(String) }
|
1847
1595
|
attr_accessor :setup_future_usage
|
1848
|
-
|
1849
1596
|
sig {
|
1850
1597
|
params(capture_method: T.nilable(String), preferred_locale: String, setup_future_usage: String).void
|
1851
1598
|
}
|
@@ -1863,11 +1610,9 @@ module Stripe
|
|
1863
1610
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1864
1611
|
sig { returns(T.nilable(String)) }
|
1865
1612
|
attr_accessor :capture_method
|
1866
|
-
|
1867
1613
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1868
1614
|
sig { returns(String) }
|
1869
1615
|
attr_accessor :persistent_token
|
1870
|
-
|
1871
1616
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1872
1617
|
#
|
1873
1618
|
# 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.
|
@@ -1879,7 +1624,6 @@ module Stripe
|
|
1879
1624
|
# 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`.
|
1880
1625
|
sig { returns(T.nilable(String)) }
|
1881
1626
|
attr_accessor :setup_future_usage
|
1882
|
-
|
1883
1627
|
sig {
|
1884
1628
|
params(capture_method: T.nilable(String), persistent_token: String, setup_future_usage: T.nilable(String)).void
|
1885
1629
|
}
|
@@ -1893,7 +1637,6 @@ module Stripe
|
|
1893
1637
|
# 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.
|
1894
1638
|
sig { returns(Integer) }
|
1895
1639
|
attr_accessor :expires_after_days
|
1896
|
-
|
1897
1640
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1898
1641
|
#
|
1899
1642
|
# 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.
|
@@ -1905,7 +1648,6 @@ module Stripe
|
|
1905
1648
|
# 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`.
|
1906
1649
|
sig { returns(String) }
|
1907
1650
|
attr_accessor :setup_future_usage
|
1908
|
-
|
1909
1651
|
sig { params(expires_after_days: Integer, setup_future_usage: String).void }
|
1910
1652
|
def initialize(expires_after_days: nil, setup_future_usage: nil); end
|
1911
1653
|
end
|
@@ -1921,11 +1663,9 @@ module Stripe
|
|
1921
1663
|
# 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`.
|
1922
1664
|
sig { returns(String) }
|
1923
1665
|
attr_accessor :setup_future_usage
|
1924
|
-
|
1925
1666
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
1926
1667
|
sig { returns(T::Boolean) }
|
1927
1668
|
attr_accessor :tos_shown_and_accepted
|
1928
|
-
|
1929
1669
|
sig { params(setup_future_usage: String, tos_shown_and_accepted: T::Boolean).void }
|
1930
1670
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
1931
1671
|
end
|
@@ -1935,48 +1675,38 @@ module Stripe
|
|
1935
1675
|
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
1936
1676
|
sig { returns(Integer) }
|
1937
1677
|
attr_accessor :amount
|
1938
|
-
|
1939
1678
|
# The tax behavior for the line item.
|
1940
1679
|
sig { returns(String) }
|
1941
1680
|
attr_accessor :behavior
|
1942
|
-
|
1943
1681
|
sig { params(amount: Integer, behavior: String).void }
|
1944
1682
|
def initialize(amount: nil, behavior: nil); end
|
1945
1683
|
end
|
1946
1684
|
# Type of the line item.
|
1947
1685
|
sig { returns(String) }
|
1948
1686
|
attr_accessor :category
|
1949
|
-
|
1950
1687
|
# Description of the line item.
|
1951
1688
|
sig { returns(String) }
|
1952
1689
|
attr_accessor :description
|
1953
|
-
|
1954
1690
|
# Descriptive name of the line item.
|
1955
1691
|
sig { returns(String) }
|
1956
1692
|
attr_accessor :name
|
1957
|
-
|
1958
1693
|
# Quantity of the line item. Must be a positive number.
|
1959
1694
|
sig { returns(Integer) }
|
1960
1695
|
attr_accessor :quantity
|
1961
|
-
|
1962
1696
|
# Client facing stock keeping unit, article number or similar.
|
1963
1697
|
sig { returns(String) }
|
1964
1698
|
attr_accessor :sku
|
1965
|
-
|
1966
1699
|
# The Stripe account ID of the connected account that sells the item.
|
1967
1700
|
sig { returns(String) }
|
1968
1701
|
attr_accessor :sold_by
|
1969
|
-
|
1970
1702
|
# The tax information for the line item.
|
1971
1703
|
sig {
|
1972
1704
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem::Tax)
|
1973
1705
|
}
|
1974
1706
|
attr_accessor :tax
|
1975
|
-
|
1976
1707
|
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
1977
1708
|
sig { returns(Integer) }
|
1978
1709
|
attr_accessor :unit_amount
|
1979
|
-
|
1980
1710
|
sig {
|
1981
1711
|
params(category: String, description: String, name: String, quantity: Integer, sku: String, sold_by: String, tax: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem::Tax, unit_amount: Integer).void
|
1982
1712
|
}
|
@@ -1994,29 +1724,23 @@ module Stripe
|
|
1994
1724
|
# Controls when the funds will be captured from the customer's account.
|
1995
1725
|
sig { returns(T.nilable(String)) }
|
1996
1726
|
attr_accessor :capture_method
|
1997
|
-
|
1998
1727
|
# The line items purchased by the customer.
|
1999
1728
|
sig {
|
2000
1729
|
returns(T::Array[::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem])
|
2001
1730
|
}
|
2002
1731
|
attr_accessor :line_items
|
2003
|
-
|
2004
1732
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
2005
1733
|
sig { returns(String) }
|
2006
1734
|
attr_accessor :preferred_locale
|
2007
|
-
|
2008
1735
|
# 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.
|
2009
1736
|
sig { returns(String) }
|
2010
1737
|
attr_accessor :reference
|
2011
|
-
|
2012
1738
|
# 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.
|
2013
1739
|
sig { returns(String) }
|
2014
1740
|
attr_accessor :reference_id
|
2015
|
-
|
2016
1741
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
2017
1742
|
sig { returns(String) }
|
2018
1743
|
attr_accessor :risk_correlation_id
|
2019
|
-
|
2020
1744
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2021
1745
|
#
|
2022
1746
|
# 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.
|
@@ -2028,11 +1752,9 @@ module Stripe
|
|
2028
1752
|
# 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`.
|
2029
1753
|
sig { returns(T.nilable(String)) }
|
2030
1754
|
attr_accessor :setup_future_usage
|
2031
|
-
|
2032
1755
|
# 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.
|
2033
1756
|
sig { returns(T::Array[String]) }
|
2034
1757
|
attr_accessor :subsellers
|
2035
|
-
|
2036
1758
|
sig {
|
2037
1759
|
params(capture_method: T.nilable(String), line_items: T::Array[::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal::LineItem], preferred_locale: String, reference: String, reference_id: String, risk_correlation_id: String, setup_future_usage: T.nilable(String), subsellers: T::Array[String]).void
|
2038
1760
|
}
|
@@ -2052,7 +1774,6 @@ module Stripe
|
|
2052
1774
|
# 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'.
|
2053
1775
|
sig { returns(T.nilable(String)) }
|
2054
1776
|
attr_accessor :reference_prefix
|
2055
|
-
|
2056
1777
|
sig { params(reference_prefix: T.nilable(String)).void }
|
2057
1778
|
def initialize(reference_prefix: nil); end
|
2058
1779
|
end
|
@@ -2061,7 +1782,6 @@ module Stripe
|
|
2061
1782
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::SepaDebit::MandateOptions)
|
2062
1783
|
}
|
2063
1784
|
attr_accessor :mandate_options
|
2064
|
-
|
2065
1785
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2066
1786
|
#
|
2067
1787
|
# 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.
|
@@ -2073,7 +1793,6 @@ module Stripe
|
|
2073
1793
|
# 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`.
|
2074
1794
|
sig { returns(T.nilable(String)) }
|
2075
1795
|
attr_accessor :setup_future_usage
|
2076
|
-
|
2077
1796
|
sig {
|
2078
1797
|
params(mandate_options: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::SepaDebit::MandateOptions, setup_future_usage: T.nilable(String)).void
|
2079
1798
|
}
|
@@ -2083,7 +1802,6 @@ module Stripe
|
|
2083
1802
|
# Language shown to the payer on redirect.
|
2084
1803
|
sig { returns(T.nilable(String)) }
|
2085
1804
|
attr_accessor :preferred_language
|
2086
|
-
|
2087
1805
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2088
1806
|
#
|
2089
1807
|
# 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.
|
@@ -2095,7 +1813,6 @@ module Stripe
|
|
2095
1813
|
# 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`.
|
2096
1814
|
sig { returns(T.nilable(String)) }
|
2097
1815
|
attr_accessor :setup_future_usage
|
2098
|
-
|
2099
1816
|
sig {
|
2100
1817
|
params(preferred_language: T.nilable(String), setup_future_usage: T.nilable(String)).void
|
2101
1818
|
}
|
@@ -2105,11 +1822,9 @@ module Stripe
|
|
2105
1822
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
2106
1823
|
sig { returns(String) }
|
2107
1824
|
attr_accessor :app_id
|
2108
|
-
|
2109
1825
|
# The client type that the end customer will pay from
|
2110
1826
|
sig { returns(String) }
|
2111
1827
|
attr_accessor :client
|
2112
|
-
|
2113
1828
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2114
1829
|
#
|
2115
1830
|
# 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.
|
@@ -2121,7 +1836,6 @@ module Stripe
|
|
2121
1836
|
# 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`.
|
2122
1837
|
sig { returns(String) }
|
2123
1838
|
attr_accessor :setup_future_usage
|
2124
|
-
|
2125
1839
|
sig { params(app_id: String, client: String, setup_future_usage: String).void }
|
2126
1840
|
def initialize(app_id: nil, client: nil, setup_future_usage: nil); end
|
2127
1841
|
end
|
@@ -2130,91 +1844,76 @@ module Stripe
|
|
2130
1844
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AcssDebit))
|
2131
1845
|
}
|
2132
1846
|
attr_accessor :acss_debit
|
2133
|
-
|
2134
1847
|
# If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
|
2135
1848
|
sig {
|
2136
1849
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AfterpayClearpay))
|
2137
1850
|
}
|
2138
1851
|
attr_accessor :afterpay_clearpay
|
2139
|
-
|
2140
1852
|
# If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
|
2141
1853
|
sig {
|
2142
1854
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Alipay))
|
2143
1855
|
}
|
2144
1856
|
attr_accessor :alipay
|
2145
|
-
|
2146
1857
|
# If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
|
2147
1858
|
sig {
|
2148
1859
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Bancontact))
|
2149
1860
|
}
|
2150
1861
|
attr_accessor :bancontact
|
2151
|
-
|
2152
1862
|
# If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
|
2153
1863
|
sig {
|
2154
1864
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Card))
|
2155
1865
|
}
|
2156
1866
|
attr_accessor :card
|
2157
|
-
|
2158
1867
|
# If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
|
2159
1868
|
sig {
|
2160
1869
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance))
|
2161
1870
|
}
|
2162
1871
|
attr_accessor :customer_balance
|
2163
|
-
|
2164
1872
|
# If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
|
2165
1873
|
sig {
|
2166
1874
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Ideal))
|
2167
1875
|
}
|
2168
1876
|
attr_accessor :ideal
|
2169
|
-
|
2170
1877
|
# If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
|
2171
1878
|
sig {
|
2172
1879
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Klarna))
|
2173
1880
|
}
|
2174
1881
|
attr_accessor :klarna
|
2175
|
-
|
2176
1882
|
# If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
|
2177
1883
|
sig {
|
2178
1884
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Link))
|
2179
1885
|
}
|
2180
1886
|
attr_accessor :link
|
2181
|
-
|
2182
1887
|
# If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
|
2183
1888
|
sig {
|
2184
1889
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Oxxo))
|
2185
1890
|
}
|
2186
1891
|
attr_accessor :oxxo
|
2187
|
-
|
2188
1892
|
# If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
|
2189
1893
|
sig {
|
2190
1894
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::P24))
|
2191
1895
|
}
|
2192
1896
|
attr_accessor :p24
|
2193
|
-
|
2194
1897
|
# If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
|
2195
1898
|
sig {
|
2196
1899
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal))
|
2197
1900
|
}
|
2198
1901
|
attr_accessor :paypal
|
2199
|
-
|
2200
1902
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
|
2201
1903
|
sig {
|
2202
1904
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::SepaDebit))
|
2203
1905
|
}
|
2204
1906
|
attr_accessor :sepa_debit
|
2205
|
-
|
2206
1907
|
# If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
|
2207
1908
|
sig {
|
2208
1909
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Sofort))
|
2209
1910
|
}
|
2210
1911
|
attr_accessor :sofort
|
2211
|
-
|
2212
1912
|
# If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
|
2213
1913
|
sig {
|
2214
1914
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::WechatPay))
|
2215
1915
|
}
|
2216
1916
|
attr_accessor :wechat_pay
|
2217
|
-
|
2218
1917
|
sig {
|
2219
1918
|
params(acss_debit: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AcssDebit), afterpay_clearpay: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::AfterpayClearpay), alipay: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Alipay), bancontact: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Bancontact), card: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Card), customer_balance: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::CustomerBalance), ideal: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Ideal), klarna: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Klarna), link: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Link), oxxo: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Oxxo), p24: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::P24), paypal: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Paypal), sepa_debit: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::SepaDebit), sofort: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::Sofort), wechat_pay: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions::WechatPay)).void
|
2220
1919
|
}
|
@@ -2240,46 +1939,37 @@ module Stripe
|
|
2240
1939
|
# The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
|
2241
1940
|
sig { returns(Integer) }
|
2242
1941
|
attr_accessor :amount
|
2243
|
-
|
2244
1942
|
# ID of the Connected account receiving the transfer.
|
2245
1943
|
sig { returns(String) }
|
2246
1944
|
attr_accessor :destination
|
2247
|
-
|
2248
1945
|
sig { params(amount: Integer, destination: String).void }
|
2249
1946
|
def initialize(amount: nil, destination: nil); end
|
2250
1947
|
end
|
2251
1948
|
# 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.
|
2252
1949
|
sig { returns(T.nilable(Integer)) }
|
2253
1950
|
attr_accessor :application_fee_amount
|
2254
|
-
|
2255
1951
|
# PaymentMethod-specific configuration to provide to the order's PaymentIntent.
|
2256
1952
|
sig {
|
2257
1953
|
returns(::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions)
|
2258
1954
|
}
|
2259
1955
|
attr_accessor :payment_method_options
|
2260
|
-
|
2261
1956
|
# The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
2262
1957
|
sig { returns(T::Array[String]) }
|
2263
1958
|
attr_accessor :payment_method_types
|
2264
|
-
|
2265
1959
|
# The URL to redirect the customer to after they authenticate their payment.
|
2266
1960
|
sig { returns(T.nilable(String)) }
|
2267
1961
|
attr_accessor :return_url
|
2268
|
-
|
2269
1962
|
# For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
|
2270
1963
|
sig { returns(String) }
|
2271
1964
|
attr_accessor :statement_descriptor
|
2272
|
-
|
2273
1965
|
# Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
|
2274
1966
|
sig { returns(String) }
|
2275
1967
|
attr_accessor :statement_descriptor_suffix
|
2276
|
-
|
2277
1968
|
# Provides configuration for completing a transfer for the order after it is paid.
|
2278
1969
|
sig {
|
2279
1970
|
returns(T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::TransferData))
|
2280
1971
|
}
|
2281
1972
|
attr_accessor :transfer_data
|
2282
|
-
|
2283
1973
|
sig {
|
2284
1974
|
params(application_fee_amount: T.nilable(Integer), payment_method_options: ::Stripe::OrderService::UpdateParams::Payment::Settings::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: T.nilable(String), statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: T.nilable(::Stripe::OrderService::UpdateParams::Payment::Settings::TransferData)).void
|
2285
1975
|
}
|
@@ -2296,7 +1986,6 @@ module Stripe
|
|
2296
1986
|
# Settings describing how the order should configure generated PaymentIntents.
|
2297
1987
|
sig { returns(::Stripe::OrderService::UpdateParams::Payment::Settings) }
|
2298
1988
|
attr_accessor :settings
|
2299
|
-
|
2300
1989
|
sig { params(settings: ::Stripe::OrderService::UpdateParams::Payment::Settings).void }
|
2301
1990
|
def initialize(settings: nil); end
|
2302
1991
|
end
|
@@ -2307,11 +1996,9 @@ module Stripe
|
|
2307
1996
|
# A unit of time.
|
2308
1997
|
sig { returns(String) }
|
2309
1998
|
attr_accessor :unit
|
2310
|
-
|
2311
1999
|
# Must be greater than 0.
|
2312
2000
|
sig { returns(Integer) }
|
2313
2001
|
attr_accessor :value
|
2314
|
-
|
2315
2002
|
sig { params(unit: String, value: Integer).void }
|
2316
2003
|
def initialize(unit: nil, value: nil); end
|
2317
2004
|
end
|
@@ -2319,11 +2006,9 @@ module Stripe
|
|
2319
2006
|
# A unit of time.
|
2320
2007
|
sig { returns(String) }
|
2321
2008
|
attr_accessor :unit
|
2322
|
-
|
2323
2009
|
# Must be greater than 0.
|
2324
2010
|
sig { returns(Integer) }
|
2325
2011
|
attr_accessor :value
|
2326
|
-
|
2327
2012
|
sig { params(unit: String, value: Integer).void }
|
2328
2013
|
def initialize(unit: nil, value: nil); end
|
2329
2014
|
end
|
@@ -2332,13 +2017,11 @@ module Stripe
|
|
2332
2017
|
returns(::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Maximum)
|
2333
2018
|
}
|
2334
2019
|
attr_accessor :maximum
|
2335
|
-
|
2336
2020
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
2337
2021
|
sig {
|
2338
2022
|
returns(::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Minimum)
|
2339
2023
|
}
|
2340
2024
|
attr_accessor :minimum
|
2341
|
-
|
2342
2025
|
sig {
|
2343
2026
|
params(maximum: ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Maximum, minimum: ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Minimum).void
|
2344
2027
|
}
|
@@ -2349,28 +2032,23 @@ module Stripe
|
|
2349
2032
|
# A non-negative integer in cents representing how much to charge.
|
2350
2033
|
sig { returns(Integer) }
|
2351
2034
|
attr_accessor :amount
|
2352
|
-
|
2353
2035
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2354
2036
|
sig { returns(String) }
|
2355
2037
|
attr_accessor :tax_behavior
|
2356
|
-
|
2357
2038
|
sig { params(amount: Integer, tax_behavior: String).void }
|
2358
2039
|
def initialize(amount: nil, tax_behavior: nil); end
|
2359
2040
|
end
|
2360
2041
|
# A non-negative integer in cents representing how much to charge.
|
2361
2042
|
sig { returns(Integer) }
|
2362
2043
|
attr_accessor :amount
|
2363
|
-
|
2364
2044
|
# 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).
|
2365
2045
|
sig { returns(String) }
|
2366
2046
|
attr_accessor :currency
|
2367
|
-
|
2368
2047
|
# 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).
|
2369
2048
|
sig {
|
2370
2049
|
returns(T::Hash[String, ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::FixedAmount::CurrencyOptions])
|
2371
2050
|
}
|
2372
2051
|
attr_accessor :currency_options
|
2373
|
-
|
2374
2052
|
sig {
|
2375
2053
|
params(amount: Integer, currency: String, currency_options: T::Hash[String, ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::FixedAmount::CurrencyOptions]).void
|
2376
2054
|
}
|
@@ -2381,33 +2059,26 @@ module Stripe
|
|
2381
2059
|
returns(::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate)
|
2382
2060
|
}
|
2383
2061
|
attr_accessor :delivery_estimate
|
2384
|
-
|
2385
2062
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2386
2063
|
sig { returns(String) }
|
2387
2064
|
attr_accessor :display_name
|
2388
|
-
|
2389
2065
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2390
2066
|
sig {
|
2391
2067
|
returns(::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::FixedAmount)
|
2392
2068
|
}
|
2393
2069
|
attr_accessor :fixed_amount
|
2394
|
-
|
2395
2070
|
# 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`.
|
2396
2071
|
sig { returns(T::Hash[String, String]) }
|
2397
2072
|
attr_accessor :metadata
|
2398
|
-
|
2399
2073
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2400
2074
|
sig { returns(String) }
|
2401
2075
|
attr_accessor :tax_behavior
|
2402
|
-
|
2403
2076
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2404
2077
|
sig { returns(String) }
|
2405
2078
|
attr_accessor :tax_code
|
2406
|
-
|
2407
2079
|
# The type of calculation to use on the shipping rate.
|
2408
2080
|
sig { returns(String) }
|
2409
2081
|
attr_accessor :type
|
2410
|
-
|
2411
2082
|
sig {
|
2412
2083
|
params(delivery_estimate: ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::DeliveryEstimate, display_name: String, fixed_amount: ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData::FixedAmount, metadata: T::Hash[String, String], tax_behavior: String, tax_code: String, type: String).void
|
2413
2084
|
}
|
@@ -2424,11 +2095,9 @@ module Stripe
|
|
2424
2095
|
# The ID of the shipping rate to use for this order.
|
2425
2096
|
sig { returns(String) }
|
2426
2097
|
attr_accessor :shipping_rate
|
2427
|
-
|
2428
2098
|
# Parameters to create a new ad-hoc shipping rate for this order.
|
2429
2099
|
sig { returns(::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData) }
|
2430
2100
|
attr_accessor :shipping_rate_data
|
2431
|
-
|
2432
2101
|
sig {
|
2433
2102
|
params(shipping_rate: String, shipping_rate_data: ::Stripe::OrderService::UpdateParams::ShippingCost::ShippingRateData).void
|
2434
2103
|
}
|
@@ -2439,27 +2108,21 @@ module Stripe
|
|
2439
2108
|
# City, district, suburb, town, or village.
|
2440
2109
|
sig { returns(String) }
|
2441
2110
|
attr_accessor :city
|
2442
|
-
|
2443
2111
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2444
2112
|
sig { returns(String) }
|
2445
2113
|
attr_accessor :country
|
2446
|
-
|
2447
2114
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2448
2115
|
sig { returns(String) }
|
2449
2116
|
attr_accessor :line1
|
2450
|
-
|
2451
2117
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2452
2118
|
sig { returns(String) }
|
2453
2119
|
attr_accessor :line2
|
2454
|
-
|
2455
2120
|
# ZIP or postal code.
|
2456
2121
|
sig { returns(String) }
|
2457
2122
|
attr_accessor :postal_code
|
2458
|
-
|
2459
2123
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
2460
2124
|
sig { returns(String) }
|
2461
2125
|
attr_accessor :state
|
2462
|
-
|
2463
2126
|
sig {
|
2464
2127
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2465
2128
|
}
|
@@ -2475,15 +2138,12 @@ module Stripe
|
|
2475
2138
|
# The shipping address for the order.
|
2476
2139
|
sig { returns(::Stripe::OrderService::UpdateParams::ShippingDetails::Address) }
|
2477
2140
|
attr_accessor :address
|
2478
|
-
|
2479
2141
|
# The name of the recipient of the order.
|
2480
2142
|
sig { returns(String) }
|
2481
2143
|
attr_accessor :name
|
2482
|
-
|
2483
2144
|
# The phone number (including extension) for the recipient of the order.
|
2484
2145
|
sig { returns(T.nilable(String)) }
|
2485
2146
|
attr_accessor :phone
|
2486
|
-
|
2487
2147
|
sig {
|
2488
2148
|
params(address: ::Stripe::OrderService::UpdateParams::ShippingDetails::Address, name: String, phone: T.nilable(String)).void
|
2489
2149
|
}
|
@@ -2491,25 +2151,21 @@ module Stripe
|
|
2491
2151
|
end
|
2492
2152
|
class TaxDetails < Stripe::RequestParams
|
2493
2153
|
class TaxId < Stripe::RequestParams
|
2494
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
2154
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
2495
2155
|
sig { returns(String) }
|
2496
2156
|
attr_accessor :type
|
2497
|
-
|
2498
2157
|
# Value of the tax ID.
|
2499
2158
|
sig { returns(String) }
|
2500
2159
|
attr_accessor :value
|
2501
|
-
|
2502
2160
|
sig { params(type: String, value: String).void }
|
2503
2161
|
def initialize(type: nil, value: nil); end
|
2504
2162
|
end
|
2505
2163
|
# The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
|
2506
2164
|
sig { returns(T.nilable(String)) }
|
2507
2165
|
attr_accessor :tax_exempt
|
2508
|
-
|
2509
2166
|
# The purchaser's tax IDs to be used for this order.
|
2510
2167
|
sig { returns(T::Array[::Stripe::OrderService::UpdateParams::TaxDetails::TaxId]) }
|
2511
2168
|
attr_accessor :tax_ids
|
2512
|
-
|
2513
2169
|
sig {
|
2514
2170
|
params(tax_exempt: T.nilable(String), tax_ids: T::Array[::Stripe::OrderService::UpdateParams::TaxDetails::TaxId]).void
|
2515
2171
|
}
|
@@ -2518,63 +2174,48 @@ module Stripe
|
|
2518
2174
|
# Settings for automatic tax calculation for this order.
|
2519
2175
|
sig { returns(::Stripe::OrderService::UpdateParams::AutomaticTax) }
|
2520
2176
|
attr_accessor :automatic_tax
|
2521
|
-
|
2522
2177
|
# Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
|
2523
2178
|
sig { returns(T.nilable(::Stripe::OrderService::UpdateParams::BillingDetails)) }
|
2524
2179
|
attr_accessor :billing_details
|
2525
|
-
|
2526
2180
|
# The credits to apply to the order, only `gift_card` currently supported. Pass the empty string `""` to unset this field.
|
2527
2181
|
sig { returns(T.nilable(T::Array[::Stripe::OrderService::UpdateParams::Credit])) }
|
2528
2182
|
attr_accessor :credits
|
2529
|
-
|
2530
2183
|
# 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).
|
2531
2184
|
sig { returns(String) }
|
2532
2185
|
attr_accessor :currency
|
2533
|
-
|
2534
2186
|
# The customer associated with this order.
|
2535
2187
|
sig { returns(String) }
|
2536
2188
|
attr_accessor :customer
|
2537
|
-
|
2538
2189
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2539
2190
|
sig { returns(T.nilable(String)) }
|
2540
2191
|
attr_accessor :description
|
2541
|
-
|
2542
2192
|
# The coupons, promotion codes, and/or discounts to apply to the order. Pass the empty string `""` to unset this field.
|
2543
2193
|
sig { returns(T.nilable(T::Array[::Stripe::OrderService::UpdateParams::Discount])) }
|
2544
2194
|
attr_accessor :discounts
|
2545
|
-
|
2546
2195
|
# Specifies which fields in the response should be expanded.
|
2547
2196
|
sig { returns(T::Array[String]) }
|
2548
2197
|
attr_accessor :expand
|
2549
|
-
|
2550
2198
|
# The IP address of the purchaser for this order.
|
2551
2199
|
sig { returns(String) }
|
2552
2200
|
attr_accessor :ip_address
|
2553
|
-
|
2554
2201
|
# A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
|
2555
2202
|
sig { returns(T::Array[::Stripe::OrderService::UpdateParams::LineItem]) }
|
2556
2203
|
attr_accessor :line_items
|
2557
|
-
|
2558
2204
|
# 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`.
|
2559
2205
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
2560
2206
|
attr_accessor :metadata
|
2561
|
-
|
2562
2207
|
# Payment information associated with the order, including payment settings.
|
2563
2208
|
sig { returns(::Stripe::OrderService::UpdateParams::Payment) }
|
2564
2209
|
attr_accessor :payment
|
2565
|
-
|
2566
2210
|
# Settings for the customer cost of shipping for this order.
|
2567
2211
|
sig { returns(T.nilable(::Stripe::OrderService::UpdateParams::ShippingCost)) }
|
2568
2212
|
attr_accessor :shipping_cost
|
2569
|
-
|
2570
2213
|
# Shipping details for the order.
|
2571
2214
|
sig { returns(T.nilable(::Stripe::OrderService::UpdateParams::ShippingDetails)) }
|
2572
2215
|
attr_accessor :shipping_details
|
2573
|
-
|
2574
2216
|
# Additional tax details about the purchaser to be used for this order.
|
2575
2217
|
sig { returns(::Stripe::OrderService::UpdateParams::TaxDetails) }
|
2576
2218
|
attr_accessor :tax_details
|
2577
|
-
|
2578
2219
|
sig {
|
2579
2220
|
params(automatic_tax: ::Stripe::OrderService::UpdateParams::AutomaticTax, billing_details: T.nilable(::Stripe::OrderService::UpdateParams::BillingDetails), credits: T.nilable(T::Array[::Stripe::OrderService::UpdateParams::Credit]), currency: String, customer: String, description: T.nilable(String), discounts: T.nilable(T::Array[::Stripe::OrderService::UpdateParams::Discount]), expand: T::Array[String], ip_address: String, line_items: T::Array[::Stripe::OrderService::UpdateParams::LineItem], metadata: T.nilable(T::Hash[String, String]), payment: ::Stripe::OrderService::UpdateParams::Payment, shipping_cost: T.nilable(::Stripe::OrderService::UpdateParams::ShippingCost), shipping_details: T.nilable(::Stripe::OrderService::UpdateParams::ShippingDetails), tax_details: ::Stripe::OrderService::UpdateParams::TaxDetails).void
|
2580
2221
|
}
|
@@ -2600,7 +2241,6 @@ module Stripe
|
|
2600
2241
|
# Specifies which fields in the response should be expanded.
|
2601
2242
|
sig { returns(T::Array[String]) }
|
2602
2243
|
attr_accessor :expand
|
2603
|
-
|
2604
2244
|
sig { params(expand: T::Array[String]).void }
|
2605
2245
|
def initialize(expand: nil); end
|
2606
2246
|
end
|
@@ -2608,7 +2248,6 @@ module Stripe
|
|
2608
2248
|
# Specifies which fields in the response should be expanded.
|
2609
2249
|
sig { returns(T::Array[String]) }
|
2610
2250
|
attr_accessor :expand
|
2611
|
-
|
2612
2251
|
sig { params(expand: T::Array[String]).void }
|
2613
2252
|
def initialize(expand: nil); end
|
2614
2253
|
end
|
@@ -2616,11 +2255,9 @@ module Stripe
|
|
2616
2255
|
# Specifies which fields in the response should be expanded.
|
2617
2256
|
sig { returns(T::Array[String]) }
|
2618
2257
|
attr_accessor :expand
|
2619
|
-
|
2620
2258
|
# `expected_total` should always be set to the order's `amount_total` field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order.
|
2621
2259
|
sig { returns(Integer) }
|
2622
2260
|
attr_accessor :expected_total
|
2623
|
-
|
2624
2261
|
sig { params(expand: T::Array[String], expected_total: Integer).void }
|
2625
2262
|
def initialize(expand: nil, expected_total: nil); end
|
2626
2263
|
end
|