stripe 17.2.0.pre.alpha.2 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -1037
- data/lib/stripe/object_types.rb +0 -81
- data/lib/stripe/params/account_create_params.rb +2 -301
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -263
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -709
- data/lib/stripe/params/charge_update_params.rb +0 -709
- data/lib/stripe/params/checkout/session_create_params.rb +4 -273
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_session_create_params.rb +3 -37
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -8
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +30 -736
- data/lib/stripe/params/payment_intent_confirm_params.rb +52 -1242
- data/lib/stripe/params/payment_intent_create_params.rb +47 -1245
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -63
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +51 -1280
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -254
- data/lib/stripe/params/setup_intent_create_params.rb +3 -260
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +4 -261
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
- data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +1 -9
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params.rb +0 -246
- data/lib/stripe/resources/account.rb +2 -167
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -60
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +1 -20
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -253
- data/lib/stripe/resources/checkout/session.rb +4 -246
- data/lib/stripe/resources/confirmation_token.rb +0 -173
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -38
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +2 -153
- data/lib/stripe/resources/invoice_item.rb +2 -94
- data/lib/stripe/resources/invoice_line_item.rb +1 -131
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_attempt_record.rb +1 -203
- data/lib/stripe/resources/payment_intent.rb +23 -840
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
- data/lib/stripe/resources/payment_method.rb +0 -195
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/payment_record.rb +1 -203
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -172
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -6
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/event.rb +2 -6
- data/lib/stripe/resources.rb +0 -386
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -9
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -5
- data/lib/stripe/services.rb +0 -84
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +33169 -103667
- metadata +4 -720
- data/lib/stripe/events/v1_account_updated_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
- data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
- data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
- data/lib/stripe/events/v1_customer_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v1_file_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payout_created_event.rb +0 -44
- data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
- data/lib/stripe/events/v1_person_created_event.rb +0 -44
- data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_person_updated_event.rb +0 -44
- data/lib/stripe/events/v1_plan_created_event.rb +0 -44
- data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v1_price_created_event.rb +0 -44
- data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_price_updated_event.rb +0 -44
- data/lib/stripe/events/v1_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_product_updated_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
- data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
- data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_quote_created_event.rb +0 -44
- data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
- data/lib/stripe/events/v1_refund_created_event.rb +0 -44
- data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
- data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_review_closed_event.rb +0 -44
- data/lib/stripe/events/v1_review_opened_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
- data/lib/stripe/events/v1_source_failed_event.rb +0 -44
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
- data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_topup_created_event.rb +0 -44
- data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2943
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2975
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -402
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
- data/lib/stripe/resources/v2/core/account.rb +0 -4967
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -140
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -33
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -79,26 +79,32 @@ module Stripe
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total tax on
|
|
82
|
+
# The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
83
|
+
#
|
|
84
|
+
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
83
85
|
attr_accessor :total_tax_amount
|
|
84
86
|
|
|
85
87
|
def initialize(total_tax_amount: nil)
|
|
86
88
|
@total_tax_amount = total_tax_amount
|
|
87
89
|
end
|
|
88
90
|
end
|
|
89
|
-
# The
|
|
91
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
92
|
+
#
|
|
93
|
+
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
90
94
|
attr_accessor :discount_amount
|
|
91
95
|
# Payment method-specific information for line items.
|
|
92
96
|
attr_accessor :payment_method_options
|
|
93
|
-
#
|
|
97
|
+
# The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
|
|
94
98
|
attr_accessor :product_code
|
|
95
|
-
#
|
|
99
|
+
# The product name of the line item. Required for L3 rates. At most 1024 characters long.
|
|
100
|
+
#
|
|
101
|
+
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
96
102
|
attr_accessor :product_name
|
|
97
|
-
#
|
|
103
|
+
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
98
104
|
attr_accessor :quantity
|
|
99
105
|
# Contains information about the tax on the item.
|
|
100
106
|
attr_accessor :tax
|
|
101
|
-
#
|
|
107
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
102
108
|
attr_accessor :unit_cost
|
|
103
109
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
104
110
|
attr_accessor :unit_of_measure
|
|
@@ -125,11 +131,11 @@ module Stripe
|
|
|
125
131
|
end
|
|
126
132
|
|
|
127
133
|
class Shipping < ::Stripe::RequestParams
|
|
128
|
-
#
|
|
134
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
129
135
|
attr_accessor :amount
|
|
130
|
-
#
|
|
136
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
131
137
|
attr_accessor :from_postal_code
|
|
132
|
-
#
|
|
138
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
133
139
|
attr_accessor :to_postal_code
|
|
134
140
|
|
|
135
141
|
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
@@ -140,14 +146,18 @@ module Stripe
|
|
|
140
146
|
end
|
|
141
147
|
|
|
142
148
|
class Tax < ::Stripe::RequestParams
|
|
143
|
-
#
|
|
149
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
150
|
+
#
|
|
151
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
144
152
|
attr_accessor :total_tax_amount
|
|
145
153
|
|
|
146
154
|
def initialize(total_tax_amount: nil)
|
|
147
155
|
@total_tax_amount = total_tax_amount
|
|
148
156
|
end
|
|
149
157
|
end
|
|
150
|
-
# The total discount applied on the transaction.
|
|
158
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
159
|
+
#
|
|
160
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
151
161
|
attr_accessor :discount_amount
|
|
152
162
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
153
163
|
attr_accessor :line_items
|
|
@@ -164,31 +174,6 @@ module Stripe
|
|
|
164
174
|
end
|
|
165
175
|
end
|
|
166
176
|
|
|
167
|
-
class Hooks < ::Stripe::RequestParams
|
|
168
|
-
class Inputs < ::Stripe::RequestParams
|
|
169
|
-
class Tax < ::Stripe::RequestParams
|
|
170
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
171
|
-
attr_accessor :calculation
|
|
172
|
-
|
|
173
|
-
def initialize(calculation: nil)
|
|
174
|
-
@calculation = calculation
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
# Tax arguments for automations
|
|
178
|
-
attr_accessor :tax
|
|
179
|
-
|
|
180
|
-
def initialize(tax: nil)
|
|
181
|
-
@tax = tax
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
# Arguments passed in automations
|
|
185
|
-
attr_accessor :inputs
|
|
186
|
-
|
|
187
|
-
def initialize(inputs: nil)
|
|
188
|
-
@inputs = inputs
|
|
189
|
-
end
|
|
190
|
-
end
|
|
191
|
-
|
|
192
177
|
class MandateData < ::Stripe::RequestParams
|
|
193
178
|
class CustomerAcceptance < ::Stripe::RequestParams
|
|
194
179
|
class Offline < ::Stripe::RequestParams; end
|
|
@@ -216,741 +201,33 @@ module Stripe
|
|
|
216
201
|
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
|
217
202
|
@accepted_at = accepted_at
|
|
218
203
|
@offline = offline
|
|
219
|
-
@online = online
|
|
220
|
-
@type = type
|
|
221
|
-
end
|
|
222
|
-
end
|
|
223
|
-
# This hash contains details about the customer acceptance of the Mandate.
|
|
224
|
-
attr_accessor :customer_acceptance
|
|
225
|
-
|
|
226
|
-
def initialize(customer_acceptance: nil)
|
|
227
|
-
@customer_acceptance = customer_acceptance
|
|
228
|
-
end
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
232
|
-
class Benefit < ::Stripe::RequestParams
|
|
233
|
-
class FrMealVoucher < ::Stripe::RequestParams
|
|
234
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
235
|
-
attr_accessor :siret
|
|
236
|
-
|
|
237
|
-
def initialize(siret: nil)
|
|
238
|
-
@siret = siret
|
|
239
|
-
end
|
|
240
|
-
end
|
|
241
|
-
# French meal voucher benefit details for this PaymentIntent.
|
|
242
|
-
attr_accessor :fr_meal_voucher
|
|
243
|
-
|
|
244
|
-
def initialize(fr_meal_voucher: nil)
|
|
245
|
-
@fr_meal_voucher = fr_meal_voucher
|
|
246
|
-
end
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
class CarRental < ::Stripe::RequestParams
|
|
250
|
-
class Affiliate < ::Stripe::RequestParams
|
|
251
|
-
# The name of the affiliate that originated the purchase.
|
|
252
|
-
attr_accessor :name
|
|
253
|
-
|
|
254
|
-
def initialize(name: nil)
|
|
255
|
-
@name = name
|
|
256
|
-
end
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
class Delivery < ::Stripe::RequestParams
|
|
260
|
-
class Recipient < ::Stripe::RequestParams
|
|
261
|
-
# The email of the recipient the ticket is delivered to.
|
|
262
|
-
attr_accessor :email
|
|
263
|
-
# The name of the recipient the ticket is delivered to.
|
|
264
|
-
attr_accessor :name
|
|
265
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
266
|
-
attr_accessor :phone
|
|
267
|
-
|
|
268
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
269
|
-
@email = email
|
|
270
|
-
@name = name
|
|
271
|
-
@phone = phone
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
# The delivery method for the payment
|
|
275
|
-
attr_accessor :mode
|
|
276
|
-
# Details of the recipient.
|
|
277
|
-
attr_accessor :recipient
|
|
278
|
-
|
|
279
|
-
def initialize(mode: nil, recipient: nil)
|
|
280
|
-
@mode = mode
|
|
281
|
-
@recipient = recipient
|
|
282
|
-
end
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
class Distance < ::Stripe::RequestParams
|
|
286
|
-
# Distance traveled.
|
|
287
|
-
attr_accessor :amount
|
|
288
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
289
|
-
attr_accessor :unit
|
|
290
|
-
|
|
291
|
-
def initialize(amount: nil, unit: nil)
|
|
292
|
-
@amount = amount
|
|
293
|
-
@unit = unit
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
|
-
|
|
297
|
-
class Driver < ::Stripe::RequestParams
|
|
298
|
-
# Driver's identification number.
|
|
299
|
-
attr_accessor :driver_identification_number
|
|
300
|
-
# Driver's tax number.
|
|
301
|
-
attr_accessor :driver_tax_number
|
|
302
|
-
# Full name of the person or entity on the car reservation.
|
|
303
|
-
attr_accessor :name
|
|
304
|
-
|
|
305
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
306
|
-
@driver_identification_number = driver_identification_number
|
|
307
|
-
@driver_tax_number = driver_tax_number
|
|
308
|
-
@name = name
|
|
309
|
-
end
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
class PickupAddress < ::Stripe::RequestParams
|
|
313
|
-
# City, district, suburb, town, or village.
|
|
314
|
-
attr_accessor :city
|
|
315
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
316
|
-
attr_accessor :country
|
|
317
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
318
|
-
attr_accessor :line1
|
|
319
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
320
|
-
attr_accessor :line2
|
|
321
|
-
# ZIP or postal code.
|
|
322
|
-
attr_accessor :postal_code
|
|
323
|
-
# State, county, province, or region.
|
|
324
|
-
attr_accessor :state
|
|
325
|
-
|
|
326
|
-
def initialize(
|
|
327
|
-
city: nil,
|
|
328
|
-
country: nil,
|
|
329
|
-
line1: nil,
|
|
330
|
-
line2: nil,
|
|
331
|
-
postal_code: nil,
|
|
332
|
-
state: nil
|
|
333
|
-
)
|
|
334
|
-
@city = city
|
|
335
|
-
@country = country
|
|
336
|
-
@line1 = line1
|
|
337
|
-
@line2 = line2
|
|
338
|
-
@postal_code = postal_code
|
|
339
|
-
@state = state
|
|
340
|
-
end
|
|
341
|
-
end
|
|
342
|
-
|
|
343
|
-
class ReturnAddress < ::Stripe::RequestParams
|
|
344
|
-
# City, district, suburb, town, or village.
|
|
345
|
-
attr_accessor :city
|
|
346
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
347
|
-
attr_accessor :country
|
|
348
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
349
|
-
attr_accessor :line1
|
|
350
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
351
|
-
attr_accessor :line2
|
|
352
|
-
# ZIP or postal code.
|
|
353
|
-
attr_accessor :postal_code
|
|
354
|
-
# State, county, province, or region.
|
|
355
|
-
attr_accessor :state
|
|
356
|
-
|
|
357
|
-
def initialize(
|
|
358
|
-
city: nil,
|
|
359
|
-
country: nil,
|
|
360
|
-
line1: nil,
|
|
361
|
-
line2: nil,
|
|
362
|
-
postal_code: nil,
|
|
363
|
-
state: nil
|
|
364
|
-
)
|
|
365
|
-
@city = city
|
|
366
|
-
@country = country
|
|
367
|
-
@line1 = line1
|
|
368
|
-
@line2 = line2
|
|
369
|
-
@postal_code = postal_code
|
|
370
|
-
@state = state
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
# Affiliate details for this purchase.
|
|
374
|
-
attr_accessor :affiliate
|
|
375
|
-
# The booking number associated with the car rental.
|
|
376
|
-
attr_accessor :booking_number
|
|
377
|
-
# Class code of the car.
|
|
378
|
-
attr_accessor :car_class_code
|
|
379
|
-
# Make of the car.
|
|
380
|
-
attr_accessor :car_make
|
|
381
|
-
# Model of the car.
|
|
382
|
-
attr_accessor :car_model
|
|
383
|
-
# The name of the rental car company.
|
|
384
|
-
attr_accessor :company
|
|
385
|
-
# The customer service phone number of the car rental company.
|
|
386
|
-
attr_accessor :customer_service_phone_number
|
|
387
|
-
# Number of days the car is being rented.
|
|
388
|
-
attr_accessor :days_rented
|
|
389
|
-
# Delivery details for this purchase.
|
|
390
|
-
attr_accessor :delivery
|
|
391
|
-
# The details of the distance traveled during the rental period.
|
|
392
|
-
attr_accessor :distance
|
|
393
|
-
# The details of the passengers in the travel reservation
|
|
394
|
-
attr_accessor :drivers
|
|
395
|
-
# List of additional charges being billed.
|
|
396
|
-
attr_accessor :extra_charges
|
|
397
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
398
|
-
attr_accessor :no_show
|
|
399
|
-
# Car pick-up address.
|
|
400
|
-
attr_accessor :pickup_address
|
|
401
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
402
|
-
attr_accessor :pickup_at
|
|
403
|
-
# Name of the pickup location.
|
|
404
|
-
attr_accessor :pickup_location_name
|
|
405
|
-
# Rental rate.
|
|
406
|
-
attr_accessor :rate_amount
|
|
407
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
408
|
-
attr_accessor :rate_interval
|
|
409
|
-
# The name of the person or entity renting the car.
|
|
410
|
-
attr_accessor :renter_name
|
|
411
|
-
# Car return address.
|
|
412
|
-
attr_accessor :return_address
|
|
413
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
414
|
-
attr_accessor :return_at
|
|
415
|
-
# Name of the return location.
|
|
416
|
-
attr_accessor :return_location_name
|
|
417
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
418
|
-
attr_accessor :tax_exempt
|
|
419
|
-
# The vehicle identification number.
|
|
420
|
-
attr_accessor :vehicle_identification_number
|
|
421
|
-
|
|
422
|
-
def initialize(
|
|
423
|
-
affiliate: nil,
|
|
424
|
-
booking_number: nil,
|
|
425
|
-
car_class_code: nil,
|
|
426
|
-
car_make: nil,
|
|
427
|
-
car_model: nil,
|
|
428
|
-
company: nil,
|
|
429
|
-
customer_service_phone_number: nil,
|
|
430
|
-
days_rented: nil,
|
|
431
|
-
delivery: nil,
|
|
432
|
-
distance: nil,
|
|
433
|
-
drivers: nil,
|
|
434
|
-
extra_charges: nil,
|
|
435
|
-
no_show: nil,
|
|
436
|
-
pickup_address: nil,
|
|
437
|
-
pickup_at: nil,
|
|
438
|
-
pickup_location_name: nil,
|
|
439
|
-
rate_amount: nil,
|
|
440
|
-
rate_interval: nil,
|
|
441
|
-
renter_name: nil,
|
|
442
|
-
return_address: nil,
|
|
443
|
-
return_at: nil,
|
|
444
|
-
return_location_name: nil,
|
|
445
|
-
tax_exempt: nil,
|
|
446
|
-
vehicle_identification_number: nil
|
|
447
|
-
)
|
|
448
|
-
@affiliate = affiliate
|
|
449
|
-
@booking_number = booking_number
|
|
450
|
-
@car_class_code = car_class_code
|
|
451
|
-
@car_make = car_make
|
|
452
|
-
@car_model = car_model
|
|
453
|
-
@company = company
|
|
454
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
455
|
-
@days_rented = days_rented
|
|
456
|
-
@delivery = delivery
|
|
457
|
-
@distance = distance
|
|
458
|
-
@drivers = drivers
|
|
459
|
-
@extra_charges = extra_charges
|
|
460
|
-
@no_show = no_show
|
|
461
|
-
@pickup_address = pickup_address
|
|
462
|
-
@pickup_at = pickup_at
|
|
463
|
-
@pickup_location_name = pickup_location_name
|
|
464
|
-
@rate_amount = rate_amount
|
|
465
|
-
@rate_interval = rate_interval
|
|
466
|
-
@renter_name = renter_name
|
|
467
|
-
@return_address = return_address
|
|
468
|
-
@return_at = return_at
|
|
469
|
-
@return_location_name = return_location_name
|
|
470
|
-
@tax_exempt = tax_exempt
|
|
471
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
472
|
-
end
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
class EventDetails < ::Stripe::RequestParams
|
|
476
|
-
class Address < ::Stripe::RequestParams
|
|
477
|
-
# City, district, suburb, town, or village.
|
|
478
|
-
attr_accessor :city
|
|
479
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
480
|
-
attr_accessor :country
|
|
481
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
482
|
-
attr_accessor :line1
|
|
483
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
484
|
-
attr_accessor :line2
|
|
485
|
-
# ZIP or postal code.
|
|
486
|
-
attr_accessor :postal_code
|
|
487
|
-
# State, county, province, or region.
|
|
488
|
-
attr_accessor :state
|
|
489
|
-
|
|
490
|
-
def initialize(
|
|
491
|
-
city: nil,
|
|
492
|
-
country: nil,
|
|
493
|
-
line1: nil,
|
|
494
|
-
line2: nil,
|
|
495
|
-
postal_code: nil,
|
|
496
|
-
state: nil
|
|
497
|
-
)
|
|
498
|
-
@city = city
|
|
499
|
-
@country = country
|
|
500
|
-
@line1 = line1
|
|
501
|
-
@line2 = line2
|
|
502
|
-
@postal_code = postal_code
|
|
503
|
-
@state = state
|
|
504
|
-
end
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
class Affiliate < ::Stripe::RequestParams
|
|
508
|
-
# The name of the affiliate that originated the purchase.
|
|
509
|
-
attr_accessor :name
|
|
510
|
-
|
|
511
|
-
def initialize(name: nil)
|
|
512
|
-
@name = name
|
|
513
|
-
end
|
|
514
|
-
end
|
|
515
|
-
|
|
516
|
-
class Delivery < ::Stripe::RequestParams
|
|
517
|
-
class Recipient < ::Stripe::RequestParams
|
|
518
|
-
# The email of the recipient the ticket is delivered to.
|
|
519
|
-
attr_accessor :email
|
|
520
|
-
# The name of the recipient the ticket is delivered to.
|
|
521
|
-
attr_accessor :name
|
|
522
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
523
|
-
attr_accessor :phone
|
|
524
|
-
|
|
525
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
526
|
-
@email = email
|
|
527
|
-
@name = name
|
|
528
|
-
@phone = phone
|
|
529
|
-
end
|
|
530
|
-
end
|
|
531
|
-
# The delivery method for the payment
|
|
532
|
-
attr_accessor :mode
|
|
533
|
-
# Details of the recipient.
|
|
534
|
-
attr_accessor :recipient
|
|
535
|
-
|
|
536
|
-
def initialize(mode: nil, recipient: nil)
|
|
537
|
-
@mode = mode
|
|
538
|
-
@recipient = recipient
|
|
539
|
-
end
|
|
540
|
-
end
|
|
541
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
542
|
-
attr_accessor :access_controlled_venue
|
|
543
|
-
# The event location's address.
|
|
544
|
-
attr_accessor :address
|
|
545
|
-
# Affiliate details for this purchase.
|
|
546
|
-
attr_accessor :affiliate
|
|
547
|
-
# The name of the company
|
|
548
|
-
attr_accessor :company
|
|
549
|
-
# Delivery details for this purchase.
|
|
550
|
-
attr_accessor :delivery
|
|
551
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
552
|
-
attr_accessor :ends_at
|
|
553
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
554
|
-
attr_accessor :genre
|
|
555
|
-
# The name of the event.
|
|
556
|
-
attr_accessor :name
|
|
557
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
558
|
-
attr_accessor :starts_at
|
|
559
|
-
|
|
560
|
-
def initialize(
|
|
561
|
-
access_controlled_venue: nil,
|
|
562
|
-
address: nil,
|
|
563
|
-
affiliate: nil,
|
|
564
|
-
company: nil,
|
|
565
|
-
delivery: nil,
|
|
566
|
-
ends_at: nil,
|
|
567
|
-
genre: nil,
|
|
568
|
-
name: nil,
|
|
569
|
-
starts_at: nil
|
|
570
|
-
)
|
|
571
|
-
@access_controlled_venue = access_controlled_venue
|
|
572
|
-
@address = address
|
|
573
|
-
@affiliate = affiliate
|
|
574
|
-
@company = company
|
|
575
|
-
@delivery = delivery
|
|
576
|
-
@ends_at = ends_at
|
|
577
|
-
@genre = genre
|
|
578
|
-
@name = name
|
|
579
|
-
@starts_at = starts_at
|
|
580
|
-
end
|
|
581
|
-
end
|
|
582
|
-
|
|
583
|
-
class Flight < ::Stripe::RequestParams
|
|
584
|
-
class Affiliate < ::Stripe::RequestParams
|
|
585
|
-
# The name of the affiliate that originated the purchase.
|
|
586
|
-
attr_accessor :name
|
|
587
|
-
|
|
588
|
-
def initialize(name: nil)
|
|
589
|
-
@name = name
|
|
590
|
-
end
|
|
591
|
-
end
|
|
592
|
-
|
|
593
|
-
class Delivery < ::Stripe::RequestParams
|
|
594
|
-
class Recipient < ::Stripe::RequestParams
|
|
595
|
-
# The email of the recipient the ticket is delivered to.
|
|
596
|
-
attr_accessor :email
|
|
597
|
-
# The name of the recipient the ticket is delivered to.
|
|
598
|
-
attr_accessor :name
|
|
599
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
600
|
-
attr_accessor :phone
|
|
601
|
-
|
|
602
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
603
|
-
@email = email
|
|
604
|
-
@name = name
|
|
605
|
-
@phone = phone
|
|
606
|
-
end
|
|
607
|
-
end
|
|
608
|
-
# The delivery method for the payment
|
|
609
|
-
attr_accessor :mode
|
|
610
|
-
# Details of the recipient.
|
|
611
|
-
attr_accessor :recipient
|
|
612
|
-
|
|
613
|
-
def initialize(mode: nil, recipient: nil)
|
|
614
|
-
@mode = mode
|
|
615
|
-
@recipient = recipient
|
|
616
|
-
end
|
|
617
|
-
end
|
|
618
|
-
|
|
619
|
-
class Passenger < ::Stripe::RequestParams
|
|
620
|
-
# Full name of the person or entity on the flight reservation.
|
|
621
|
-
attr_accessor :name
|
|
622
|
-
|
|
623
|
-
def initialize(name: nil)
|
|
624
|
-
@name = name
|
|
625
|
-
end
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
class Segment < ::Stripe::RequestParams
|
|
629
|
-
# The flight segment amount.
|
|
630
|
-
attr_accessor :amount
|
|
631
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
632
|
-
attr_accessor :arrival_airport
|
|
633
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
634
|
-
attr_accessor :arrives_at
|
|
635
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
636
|
-
attr_accessor :carrier
|
|
637
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
638
|
-
attr_accessor :departs_at
|
|
639
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
640
|
-
attr_accessor :departure_airport
|
|
641
|
-
# The flight number associated with the segment
|
|
642
|
-
attr_accessor :flight_number
|
|
643
|
-
# The fare class for the segment.
|
|
644
|
-
attr_accessor :service_class
|
|
645
|
-
|
|
646
|
-
def initialize(
|
|
647
|
-
amount: nil,
|
|
648
|
-
arrival_airport: nil,
|
|
649
|
-
arrives_at: nil,
|
|
650
|
-
carrier: nil,
|
|
651
|
-
departs_at: nil,
|
|
652
|
-
departure_airport: nil,
|
|
653
|
-
flight_number: nil,
|
|
654
|
-
service_class: nil
|
|
655
|
-
)
|
|
656
|
-
@amount = amount
|
|
657
|
-
@arrival_airport = arrival_airport
|
|
658
|
-
@arrives_at = arrives_at
|
|
659
|
-
@carrier = carrier
|
|
660
|
-
@departs_at = departs_at
|
|
661
|
-
@departure_airport = departure_airport
|
|
662
|
-
@flight_number = flight_number
|
|
663
|
-
@service_class = service_class
|
|
664
|
-
end
|
|
665
|
-
end
|
|
666
|
-
# Affiliate details for this purchase.
|
|
667
|
-
attr_accessor :affiliate
|
|
668
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
669
|
-
attr_accessor :agency_number
|
|
670
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
671
|
-
attr_accessor :carrier
|
|
672
|
-
# Delivery details for this purchase.
|
|
673
|
-
attr_accessor :delivery
|
|
674
|
-
# The name of the person or entity on the reservation.
|
|
675
|
-
attr_accessor :passenger_name
|
|
676
|
-
# The details of the passengers in the travel reservation.
|
|
677
|
-
attr_accessor :passengers
|
|
678
|
-
# The individual flight segments associated with the trip.
|
|
679
|
-
attr_accessor :segments
|
|
680
|
-
# The ticket number associated with the travel reservation.
|
|
681
|
-
attr_accessor :ticket_number
|
|
682
|
-
|
|
683
|
-
def initialize(
|
|
684
|
-
affiliate: nil,
|
|
685
|
-
agency_number: nil,
|
|
686
|
-
carrier: nil,
|
|
687
|
-
delivery: nil,
|
|
688
|
-
passenger_name: nil,
|
|
689
|
-
passengers: nil,
|
|
690
|
-
segments: nil,
|
|
691
|
-
ticket_number: nil
|
|
692
|
-
)
|
|
693
|
-
@affiliate = affiliate
|
|
694
|
-
@agency_number = agency_number
|
|
695
|
-
@carrier = carrier
|
|
696
|
-
@delivery = delivery
|
|
697
|
-
@passenger_name = passenger_name
|
|
698
|
-
@passengers = passengers
|
|
699
|
-
@segments = segments
|
|
700
|
-
@ticket_number = ticket_number
|
|
701
|
-
end
|
|
702
|
-
end
|
|
703
|
-
|
|
704
|
-
class Lodging < ::Stripe::RequestParams
|
|
705
|
-
class Address < ::Stripe::RequestParams
|
|
706
|
-
# City, district, suburb, town, or village.
|
|
707
|
-
attr_accessor :city
|
|
708
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
709
|
-
attr_accessor :country
|
|
710
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
711
|
-
attr_accessor :line1
|
|
712
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
713
|
-
attr_accessor :line2
|
|
714
|
-
# ZIP or postal code.
|
|
715
|
-
attr_accessor :postal_code
|
|
716
|
-
# State, county, province, or region.
|
|
717
|
-
attr_accessor :state
|
|
718
|
-
|
|
719
|
-
def initialize(
|
|
720
|
-
city: nil,
|
|
721
|
-
country: nil,
|
|
722
|
-
line1: nil,
|
|
723
|
-
line2: nil,
|
|
724
|
-
postal_code: nil,
|
|
725
|
-
state: nil
|
|
726
|
-
)
|
|
727
|
-
@city = city
|
|
728
|
-
@country = country
|
|
729
|
-
@line1 = line1
|
|
730
|
-
@line2 = line2
|
|
731
|
-
@postal_code = postal_code
|
|
732
|
-
@state = state
|
|
733
|
-
end
|
|
734
|
-
end
|
|
735
|
-
|
|
736
|
-
class Affiliate < ::Stripe::RequestParams
|
|
737
|
-
# The name of the affiliate that originated the purchase.
|
|
738
|
-
attr_accessor :name
|
|
739
|
-
|
|
740
|
-
def initialize(name: nil)
|
|
741
|
-
@name = name
|
|
742
|
-
end
|
|
743
|
-
end
|
|
744
|
-
|
|
745
|
-
class Delivery < ::Stripe::RequestParams
|
|
746
|
-
class Recipient < ::Stripe::RequestParams
|
|
747
|
-
# The email of the recipient the ticket is delivered to.
|
|
748
|
-
attr_accessor :email
|
|
749
|
-
# The name of the recipient the ticket is delivered to.
|
|
750
|
-
attr_accessor :name
|
|
751
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
752
|
-
attr_accessor :phone
|
|
753
|
-
|
|
754
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
755
|
-
@email = email
|
|
756
|
-
@name = name
|
|
757
|
-
@phone = phone
|
|
758
|
-
end
|
|
759
|
-
end
|
|
760
|
-
# The delivery method for the payment
|
|
761
|
-
attr_accessor :mode
|
|
762
|
-
# Details of the recipient.
|
|
763
|
-
attr_accessor :recipient
|
|
764
|
-
|
|
765
|
-
def initialize(mode: nil, recipient: nil)
|
|
766
|
-
@mode = mode
|
|
767
|
-
@recipient = recipient
|
|
768
|
-
end
|
|
769
|
-
end
|
|
770
|
-
|
|
771
|
-
class Passenger < ::Stripe::RequestParams
|
|
772
|
-
# Full name of the person or entity on the lodging reservation.
|
|
773
|
-
attr_accessor :name
|
|
774
|
-
|
|
775
|
-
def initialize(name: nil)
|
|
776
|
-
@name = name
|
|
777
|
-
end
|
|
778
|
-
end
|
|
779
|
-
# The lodging location's address.
|
|
780
|
-
attr_accessor :address
|
|
781
|
-
# The number of adults on the booking
|
|
782
|
-
attr_accessor :adults
|
|
783
|
-
# Affiliate details for this purchase.
|
|
784
|
-
attr_accessor :affiliate
|
|
785
|
-
# The booking number associated with the lodging reservation.
|
|
786
|
-
attr_accessor :booking_number
|
|
787
|
-
# The lodging category
|
|
788
|
-
attr_accessor :category
|
|
789
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
790
|
-
attr_accessor :checkin_at
|
|
791
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
792
|
-
attr_accessor :checkout_at
|
|
793
|
-
# The customer service phone number of the lodging company.
|
|
794
|
-
attr_accessor :customer_service_phone_number
|
|
795
|
-
# The daily lodging room rate.
|
|
796
|
-
attr_accessor :daily_room_rate_amount
|
|
797
|
-
# Delivery details for this purchase.
|
|
798
|
-
attr_accessor :delivery
|
|
799
|
-
# List of additional charges being billed.
|
|
800
|
-
attr_accessor :extra_charges
|
|
801
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
802
|
-
attr_accessor :fire_safety_act_compliance
|
|
803
|
-
# The name of the lodging location.
|
|
804
|
-
attr_accessor :name
|
|
805
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
806
|
-
attr_accessor :no_show
|
|
807
|
-
# The number of rooms on the booking
|
|
808
|
-
attr_accessor :number_of_rooms
|
|
809
|
-
# The details of the passengers in the travel reservation
|
|
810
|
-
attr_accessor :passengers
|
|
811
|
-
# The phone number of the lodging location.
|
|
812
|
-
attr_accessor :property_phone_number
|
|
813
|
-
# The room class for this purchase.
|
|
814
|
-
attr_accessor :room_class
|
|
815
|
-
# The number of room nights
|
|
816
|
-
attr_accessor :room_nights
|
|
817
|
-
# The total tax amount associating with the room reservation.
|
|
818
|
-
attr_accessor :total_room_tax_amount
|
|
819
|
-
# The total tax amount
|
|
820
|
-
attr_accessor :total_tax_amount
|
|
821
|
-
|
|
822
|
-
def initialize(
|
|
823
|
-
address: nil,
|
|
824
|
-
adults: nil,
|
|
825
|
-
affiliate: nil,
|
|
826
|
-
booking_number: nil,
|
|
827
|
-
category: nil,
|
|
828
|
-
checkin_at: nil,
|
|
829
|
-
checkout_at: nil,
|
|
830
|
-
customer_service_phone_number: nil,
|
|
831
|
-
daily_room_rate_amount: nil,
|
|
832
|
-
delivery: nil,
|
|
833
|
-
extra_charges: nil,
|
|
834
|
-
fire_safety_act_compliance: nil,
|
|
835
|
-
name: nil,
|
|
836
|
-
no_show: nil,
|
|
837
|
-
number_of_rooms: nil,
|
|
838
|
-
passengers: nil,
|
|
839
|
-
property_phone_number: nil,
|
|
840
|
-
room_class: nil,
|
|
841
|
-
room_nights: nil,
|
|
842
|
-
total_room_tax_amount: nil,
|
|
843
|
-
total_tax_amount: nil
|
|
844
|
-
)
|
|
845
|
-
@address = address
|
|
846
|
-
@adults = adults
|
|
847
|
-
@affiliate = affiliate
|
|
848
|
-
@booking_number = booking_number
|
|
849
|
-
@category = category
|
|
850
|
-
@checkin_at = checkin_at
|
|
851
|
-
@checkout_at = checkout_at
|
|
852
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
853
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
|
854
|
-
@delivery = delivery
|
|
855
|
-
@extra_charges = extra_charges
|
|
856
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
857
|
-
@name = name
|
|
858
|
-
@no_show = no_show
|
|
859
|
-
@number_of_rooms = number_of_rooms
|
|
860
|
-
@passengers = passengers
|
|
861
|
-
@property_phone_number = property_phone_number
|
|
862
|
-
@room_class = room_class
|
|
863
|
-
@room_nights = room_nights
|
|
864
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
865
|
-
@total_tax_amount = total_tax_amount
|
|
866
|
-
end
|
|
867
|
-
end
|
|
868
|
-
|
|
869
|
-
class Subscription < ::Stripe::RequestParams
|
|
870
|
-
class Affiliate < ::Stripe::RequestParams
|
|
871
|
-
# The name of the affiliate that originated the purchase.
|
|
872
|
-
attr_accessor :name
|
|
873
|
-
|
|
874
|
-
def initialize(name: nil)
|
|
875
|
-
@name = name
|
|
876
|
-
end
|
|
877
|
-
end
|
|
878
|
-
|
|
879
|
-
class BillingInterval < ::Stripe::RequestParams
|
|
880
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
881
|
-
attr_accessor :count
|
|
882
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
883
|
-
attr_accessor :interval
|
|
884
|
-
|
|
885
|
-
def initialize(count: nil, interval: nil)
|
|
886
|
-
@count = count
|
|
887
|
-
@interval = interval
|
|
888
|
-
end
|
|
889
|
-
end
|
|
890
|
-
# Affiliate details for this purchase.
|
|
891
|
-
attr_accessor :affiliate
|
|
892
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
893
|
-
attr_accessor :auto_renewal
|
|
894
|
-
# Subscription billing details for this purchase.
|
|
895
|
-
attr_accessor :billing_interval
|
|
896
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
897
|
-
attr_accessor :ends_at
|
|
898
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
899
|
-
attr_accessor :name
|
|
900
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
901
|
-
attr_accessor :starts_at
|
|
902
|
-
|
|
903
|
-
def initialize(
|
|
904
|
-
affiliate: nil,
|
|
905
|
-
auto_renewal: nil,
|
|
906
|
-
billing_interval: nil,
|
|
907
|
-
ends_at: nil,
|
|
908
|
-
name: nil,
|
|
909
|
-
starts_at: nil
|
|
910
|
-
)
|
|
911
|
-
@affiliate = affiliate
|
|
912
|
-
@auto_renewal = auto_renewal
|
|
913
|
-
@billing_interval = billing_interval
|
|
914
|
-
@ends_at = ends_at
|
|
915
|
-
@name = name
|
|
916
|
-
@starts_at = starts_at
|
|
204
|
+
@online = online
|
|
205
|
+
@type = type
|
|
917
206
|
end
|
|
918
207
|
end
|
|
919
|
-
#
|
|
920
|
-
attr_accessor :
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
208
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
209
|
+
attr_accessor :customer_acceptance
|
|
210
|
+
|
|
211
|
+
def initialize(customer_acceptance: nil)
|
|
212
|
+
@customer_acceptance = customer_acceptance
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
217
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
218
|
+
#
|
|
219
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
924
220
|
attr_accessor :customer_reference
|
|
925
|
-
#
|
|
926
|
-
|
|
927
|
-
#
|
|
928
|
-
|
|
929
|
-
#
|
|
930
|
-
attr_accessor :lodging
|
|
931
|
-
# A unique value assigned by the business to identify the transaction.
|
|
221
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
222
|
+
#
|
|
223
|
+
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
224
|
+
#
|
|
225
|
+
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
932
226
|
attr_accessor :order_reference
|
|
933
|
-
# Subscription details for this PaymentIntent
|
|
934
|
-
attr_accessor :subscription
|
|
935
227
|
|
|
936
|
-
def initialize(
|
|
937
|
-
benefit: nil,
|
|
938
|
-
car_rental: nil,
|
|
939
|
-
customer_reference: nil,
|
|
940
|
-
event_details: nil,
|
|
941
|
-
flight: nil,
|
|
942
|
-
lodging: nil,
|
|
943
|
-
order_reference: nil,
|
|
944
|
-
subscription: nil
|
|
945
|
-
)
|
|
946
|
-
@benefit = benefit
|
|
947
|
-
@car_rental = car_rental
|
|
228
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
948
229
|
@customer_reference = customer_reference
|
|
949
|
-
@event_details = event_details
|
|
950
|
-
@flight = flight
|
|
951
|
-
@lodging = lodging
|
|
952
230
|
@order_reference = order_reference
|
|
953
|
-
@subscription = subscription
|
|
954
231
|
end
|
|
955
232
|
end
|
|
956
233
|
|
|
@@ -1091,18 +368,8 @@ module Stripe
|
|
|
1091
368
|
end
|
|
1092
369
|
|
|
1093
370
|
class Giropay < ::Stripe::RequestParams; end
|
|
1094
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
1095
371
|
class Grabpay < ::Stripe::RequestParams; end
|
|
1096
372
|
|
|
1097
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
1098
|
-
# Bank where the account is held.
|
|
1099
|
-
attr_accessor :bank
|
|
1100
|
-
|
|
1101
|
-
def initialize(bank: nil)
|
|
1102
|
-
@bank = bank
|
|
1103
|
-
end
|
|
1104
|
-
end
|
|
1105
|
-
|
|
1106
373
|
class Ideal < ::Stripe::RequestParams
|
|
1107
374
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
1108
375
|
attr_accessor :bank
|
|
@@ -1200,26 +467,8 @@ module Stripe
|
|
|
1200
467
|
class Payco < ::Stripe::RequestParams; end
|
|
1201
468
|
class Paynow < ::Stripe::RequestParams; end
|
|
1202
469
|
class Paypal < ::Stripe::RequestParams; end
|
|
1203
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
1204
|
-
|
|
1205
|
-
class Payto < ::Stripe::RequestParams
|
|
1206
|
-
# The account number for the bank account.
|
|
1207
|
-
attr_accessor :account_number
|
|
1208
|
-
# Bank-State-Branch number of the bank account.
|
|
1209
|
-
attr_accessor :bsb_number
|
|
1210
|
-
# The PayID alias for the bank account.
|
|
1211
|
-
attr_accessor :pay_id
|
|
1212
|
-
|
|
1213
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1214
|
-
@account_number = account_number
|
|
1215
|
-
@bsb_number = bsb_number
|
|
1216
|
-
@pay_id = pay_id
|
|
1217
|
-
end
|
|
1218
|
-
end
|
|
1219
|
-
|
|
1220
470
|
class Pix < ::Stripe::RequestParams; end
|
|
1221
471
|
class Promptpay < ::Stripe::RequestParams; end
|
|
1222
|
-
class Qris < ::Stripe::RequestParams; end
|
|
1223
472
|
|
|
1224
473
|
class RadarOptions < ::Stripe::RequestParams
|
|
1225
474
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -1230,29 +479,6 @@ module Stripe
|
|
|
1230
479
|
end
|
|
1231
480
|
end
|
|
1232
481
|
|
|
1233
|
-
class Rechnung < ::Stripe::RequestParams
|
|
1234
|
-
class Dob < ::Stripe::RequestParams
|
|
1235
|
-
# The day of birth, between 1 and 31.
|
|
1236
|
-
attr_accessor :day
|
|
1237
|
-
# The month of birth, between 1 and 12.
|
|
1238
|
-
attr_accessor :month
|
|
1239
|
-
# The four-digit year of birth.
|
|
1240
|
-
attr_accessor :year
|
|
1241
|
-
|
|
1242
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
1243
|
-
@day = day
|
|
1244
|
-
@month = month
|
|
1245
|
-
@year = year
|
|
1246
|
-
end
|
|
1247
|
-
end
|
|
1248
|
-
# Customer's date of birth
|
|
1249
|
-
attr_accessor :dob
|
|
1250
|
-
|
|
1251
|
-
def initialize(dob: nil)
|
|
1252
|
-
@dob = dob
|
|
1253
|
-
end
|
|
1254
|
-
end
|
|
1255
|
-
|
|
1256
482
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
1257
483
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
1258
484
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -1266,8 +492,6 @@ module Stripe
|
|
|
1266
492
|
end
|
|
1267
493
|
end
|
|
1268
494
|
|
|
1269
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
1270
|
-
|
|
1271
495
|
class Sofort < ::Stripe::RequestParams
|
|
1272
496
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1273
497
|
attr_accessor :country
|
|
@@ -1277,18 +501,6 @@ module Stripe
|
|
|
1277
501
|
end
|
|
1278
502
|
end
|
|
1279
503
|
|
|
1280
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
1281
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1282
|
-
attr_accessor :account
|
|
1283
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1284
|
-
attr_accessor :source_type
|
|
1285
|
-
|
|
1286
|
-
def initialize(account: nil, source_type: nil)
|
|
1287
|
-
@account = account
|
|
1288
|
-
@source_type = source_type
|
|
1289
|
-
end
|
|
1290
|
-
end
|
|
1291
|
-
|
|
1292
504
|
class Swish < ::Stripe::RequestParams; end
|
|
1293
505
|
class Twint < ::Stripe::RequestParams; end
|
|
1294
506
|
|
|
@@ -1361,12 +573,8 @@ module Stripe
|
|
|
1361
573
|
attr_accessor :fpx
|
|
1362
574
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1363
575
|
attr_accessor :giropay
|
|
1364
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1365
|
-
attr_accessor :gopay
|
|
1366
576
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1367
577
|
attr_accessor :grabpay
|
|
1368
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1369
|
-
attr_accessor :id_bank_transfer
|
|
1370
578
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1371
579
|
attr_accessor :ideal
|
|
1372
580
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -1405,20 +613,12 @@ module Stripe
|
|
|
1405
613
|
attr_accessor :paynow
|
|
1406
614
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1407
615
|
attr_accessor :paypal
|
|
1408
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1409
|
-
attr_accessor :paypay
|
|
1410
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1411
|
-
attr_accessor :payto
|
|
1412
616
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1413
617
|
attr_accessor :pix
|
|
1414
618
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1415
619
|
attr_accessor :promptpay
|
|
1416
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1417
|
-
attr_accessor :qris
|
|
1418
620
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1419
621
|
attr_accessor :radar_options
|
|
1420
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1421
|
-
attr_accessor :rechnung
|
|
1422
622
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1423
623
|
attr_accessor :revolut_pay
|
|
1424
624
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -1427,12 +627,8 @@ module Stripe
|
|
|
1427
627
|
attr_accessor :satispay
|
|
1428
628
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1429
629
|
attr_accessor :sepa_debit
|
|
1430
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1431
|
-
attr_accessor :shopeepay
|
|
1432
630
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1433
631
|
attr_accessor :sofort
|
|
1434
|
-
# This hash contains details about the Stripe balance payment method.
|
|
1435
|
-
attr_accessor :stripe_balance
|
|
1436
632
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
1437
633
|
attr_accessor :swish
|
|
1438
634
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -1467,9 +663,7 @@ module Stripe
|
|
|
1467
663
|
eps: nil,
|
|
1468
664
|
fpx: nil,
|
|
1469
665
|
giropay: nil,
|
|
1470
|
-
gopay: nil,
|
|
1471
666
|
grabpay: nil,
|
|
1472
|
-
id_bank_transfer: nil,
|
|
1473
667
|
ideal: nil,
|
|
1474
668
|
interac_present: nil,
|
|
1475
669
|
kakao_pay: nil,
|
|
@@ -1489,20 +683,14 @@ module Stripe
|
|
|
1489
683
|
payco: nil,
|
|
1490
684
|
paynow: nil,
|
|
1491
685
|
paypal: nil,
|
|
1492
|
-
paypay: nil,
|
|
1493
|
-
payto: nil,
|
|
1494
686
|
pix: nil,
|
|
1495
687
|
promptpay: nil,
|
|
1496
|
-
qris: nil,
|
|
1497
688
|
radar_options: nil,
|
|
1498
|
-
rechnung: nil,
|
|
1499
689
|
revolut_pay: nil,
|
|
1500
690
|
samsung_pay: nil,
|
|
1501
691
|
satispay: nil,
|
|
1502
692
|
sepa_debit: nil,
|
|
1503
|
-
shopeepay: nil,
|
|
1504
693
|
sofort: nil,
|
|
1505
|
-
stripe_balance: nil,
|
|
1506
694
|
swish: nil,
|
|
1507
695
|
twint: nil,
|
|
1508
696
|
type: nil,
|
|
@@ -1530,9 +718,7 @@ module Stripe
|
|
|
1530
718
|
@eps = eps
|
|
1531
719
|
@fpx = fpx
|
|
1532
720
|
@giropay = giropay
|
|
1533
|
-
@gopay = gopay
|
|
1534
721
|
@grabpay = grabpay
|
|
1535
|
-
@id_bank_transfer = id_bank_transfer
|
|
1536
722
|
@ideal = ideal
|
|
1537
723
|
@interac_present = interac_present
|
|
1538
724
|
@kakao_pay = kakao_pay
|
|
@@ -1552,20 +738,14 @@ module Stripe
|
|
|
1552
738
|
@payco = payco
|
|
1553
739
|
@paynow = paynow
|
|
1554
740
|
@paypal = paypal
|
|
1555
|
-
@paypay = paypay
|
|
1556
|
-
@payto = payto
|
|
1557
741
|
@pix = pix
|
|
1558
742
|
@promptpay = promptpay
|
|
1559
|
-
@qris = qris
|
|
1560
743
|
@radar_options = radar_options
|
|
1561
|
-
@rechnung = rechnung
|
|
1562
744
|
@revolut_pay = revolut_pay
|
|
1563
745
|
@samsung_pay = samsung_pay
|
|
1564
746
|
@satispay = satispay
|
|
1565
747
|
@sepa_debit = sepa_debit
|
|
1566
|
-
@shopeepay = shopeepay
|
|
1567
748
|
@sofort = sofort
|
|
1568
|
-
@stripe_balance = stripe_balance
|
|
1569
749
|
@swish = swish
|
|
1570
750
|
@twint = twint
|
|
1571
751
|
@type = type
|
|
@@ -1936,48 +1116,6 @@ module Stripe
|
|
|
1936
1116
|
end
|
|
1937
1117
|
end
|
|
1938
1118
|
|
|
1939
|
-
class StatementDetails < ::Stripe::RequestParams
|
|
1940
|
-
class Address < ::Stripe::RequestParams
|
|
1941
|
-
# City, district, suburb, town, or village.
|
|
1942
|
-
attr_accessor :city
|
|
1943
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1944
|
-
attr_accessor :country
|
|
1945
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1946
|
-
attr_accessor :line1
|
|
1947
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1948
|
-
attr_accessor :line2
|
|
1949
|
-
# ZIP or postal code.
|
|
1950
|
-
attr_accessor :postal_code
|
|
1951
|
-
# State, county, province, or region.
|
|
1952
|
-
attr_accessor :state
|
|
1953
|
-
|
|
1954
|
-
def initialize(
|
|
1955
|
-
city: nil,
|
|
1956
|
-
country: nil,
|
|
1957
|
-
line1: nil,
|
|
1958
|
-
line2: nil,
|
|
1959
|
-
postal_code: nil,
|
|
1960
|
-
state: nil
|
|
1961
|
-
)
|
|
1962
|
-
@city = city
|
|
1963
|
-
@country = country
|
|
1964
|
-
@line1 = line1
|
|
1965
|
-
@line2 = line2
|
|
1966
|
-
@postal_code = postal_code
|
|
1967
|
-
@state = state
|
|
1968
|
-
end
|
|
1969
|
-
end
|
|
1970
|
-
# Please pass in an address that is within your Stripe user account country
|
|
1971
|
-
attr_accessor :address
|
|
1972
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
1973
|
-
attr_accessor :phone
|
|
1974
|
-
|
|
1975
|
-
def initialize(address: nil, phone: nil)
|
|
1976
|
-
@address = address
|
|
1977
|
-
@phone = phone
|
|
1978
|
-
end
|
|
1979
|
-
end
|
|
1980
|
-
|
|
1981
1119
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1982
1120
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1983
1121
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -2072,8 +1210,6 @@ module Stripe
|
|
|
2072
1210
|
attr_accessor :moto
|
|
2073
1211
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
2074
1212
|
attr_accessor :network
|
|
2075
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2076
|
-
attr_accessor :request_decremental_authorization
|
|
2077
1213
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2078
1214
|
attr_accessor :request_extended_authorization
|
|
2079
1215
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2082,8 +1218,6 @@ module Stripe
|
|
|
2082
1218
|
attr_accessor :request_multicapture
|
|
2083
1219
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
2084
1220
|
attr_accessor :request_overcapture
|
|
2085
|
-
# Request partial authorization on this PaymentIntent.
|
|
2086
|
-
attr_accessor :request_partial_authorization
|
|
2087
1221
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2088
1222
|
attr_accessor :request_three_d_secure
|
|
2089
1223
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -2102,8 +1236,6 @@ module Stripe
|
|
|
2102
1236
|
attr_accessor :statement_descriptor_suffix_kana
|
|
2103
1237
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2104
1238
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2105
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2106
|
-
attr_accessor :statement_details
|
|
2107
1239
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
2108
1240
|
# the authentication details to use for this payment.
|
|
2109
1241
|
attr_accessor :three_d_secure
|
|
@@ -2115,18 +1247,15 @@ module Stripe
|
|
|
2115
1247
|
mandate_options: nil,
|
|
2116
1248
|
moto: nil,
|
|
2117
1249
|
network: nil,
|
|
2118
|
-
request_decremental_authorization: nil,
|
|
2119
1250
|
request_extended_authorization: nil,
|
|
2120
1251
|
request_incremental_authorization: nil,
|
|
2121
1252
|
request_multicapture: nil,
|
|
2122
1253
|
request_overcapture: nil,
|
|
2123
|
-
request_partial_authorization: nil,
|
|
2124
1254
|
request_three_d_secure: nil,
|
|
2125
1255
|
require_cvc_recollection: nil,
|
|
2126
1256
|
setup_future_usage: nil,
|
|
2127
1257
|
statement_descriptor_suffix_kana: nil,
|
|
2128
1258
|
statement_descriptor_suffix_kanji: nil,
|
|
2129
|
-
statement_details: nil,
|
|
2130
1259
|
three_d_secure: nil
|
|
2131
1260
|
)
|
|
2132
1261
|
@capture_method = capture_method
|
|
@@ -2135,18 +1264,15 @@ module Stripe
|
|
|
2135
1264
|
@mandate_options = mandate_options
|
|
2136
1265
|
@moto = moto
|
|
2137
1266
|
@network = network
|
|
2138
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
2139
1267
|
@request_extended_authorization = request_extended_authorization
|
|
2140
1268
|
@request_incremental_authorization = request_incremental_authorization
|
|
2141
1269
|
@request_multicapture = request_multicapture
|
|
2142
1270
|
@request_overcapture = request_overcapture
|
|
2143
|
-
@request_partial_authorization = request_partial_authorization
|
|
2144
1271
|
@request_three_d_secure = request_three_d_secure
|
|
2145
1272
|
@require_cvc_recollection = require_cvc_recollection
|
|
2146
1273
|
@setup_future_usage = setup_future_usage
|
|
2147
1274
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
2148
1275
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2149
|
-
@statement_details = statement_details
|
|
2150
1276
|
@three_d_secure = three_d_secure
|
|
2151
1277
|
end
|
|
2152
1278
|
end
|
|
@@ -2160,6 +1286,12 @@ module Stripe
|
|
|
2160
1286
|
@requested_priority = requested_priority
|
|
2161
1287
|
end
|
|
2162
1288
|
end
|
|
1289
|
+
# Controls when the funds are captured from the customer's account.
|
|
1290
|
+
#
|
|
1291
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
1292
|
+
#
|
|
1293
|
+
# 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.
|
|
1294
|
+
attr_accessor :capture_method
|
|
2163
1295
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
|
|
2164
1296
|
attr_accessor :request_extended_authorization
|
|
2165
1297
|
# Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
|
|
@@ -2168,10 +1300,12 @@ module Stripe
|
|
|
2168
1300
|
attr_accessor :routing
|
|
2169
1301
|
|
|
2170
1302
|
def initialize(
|
|
1303
|
+
capture_method: nil,
|
|
2171
1304
|
request_extended_authorization: nil,
|
|
2172
1305
|
request_incremental_authorization_support: nil,
|
|
2173
1306
|
routing: nil
|
|
2174
1307
|
)
|
|
1308
|
+
@capture_method = capture_method
|
|
2175
1309
|
@request_extended_authorization = request_extended_authorization
|
|
2176
1310
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
2177
1311
|
@routing = routing
|
|
@@ -2317,23 +1451,6 @@ module Stripe
|
|
|
2317
1451
|
end
|
|
2318
1452
|
end
|
|
2319
1453
|
|
|
2320
|
-
class Gopay < ::Stripe::RequestParams
|
|
2321
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2322
|
-
#
|
|
2323
|
-
# 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.
|
|
2324
|
-
#
|
|
2325
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2326
|
-
#
|
|
2327
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2328
|
-
#
|
|
2329
|
-
# 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`.
|
|
2330
|
-
attr_accessor :setup_future_usage
|
|
2331
|
-
|
|
2332
|
-
def initialize(setup_future_usage: nil)
|
|
2333
|
-
@setup_future_usage = setup_future_usage
|
|
2334
|
-
end
|
|
2335
|
-
end
|
|
2336
|
-
|
|
2337
1454
|
class Grabpay < ::Stripe::RequestParams
|
|
2338
1455
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2339
1456
|
#
|
|
@@ -2351,29 +1468,6 @@ module Stripe
|
|
|
2351
1468
|
end
|
|
2352
1469
|
end
|
|
2353
1470
|
|
|
2354
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
2355
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
2356
|
-
attr_accessor :expires_after
|
|
2357
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2358
|
-
attr_accessor :expires_at
|
|
2359
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2360
|
-
#
|
|
2361
|
-
# 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.
|
|
2362
|
-
#
|
|
2363
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2364
|
-
#
|
|
2365
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2366
|
-
#
|
|
2367
|
-
# 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`.
|
|
2368
|
-
attr_accessor :setup_future_usage
|
|
2369
|
-
|
|
2370
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2371
|
-
@expires_after = expires_after
|
|
2372
|
-
@expires_at = expires_at
|
|
2373
|
-
@setup_future_usage = setup_future_usage
|
|
2374
|
-
end
|
|
2375
|
-
end
|
|
2376
|
-
|
|
2377
1471
|
class Ideal < ::Stripe::RequestParams
|
|
2378
1472
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2379
1473
|
#
|
|
@@ -2775,65 +1869,12 @@ module Stripe
|
|
|
2775
1869
|
end
|
|
2776
1870
|
|
|
2777
1871
|
class Paypal < ::Stripe::RequestParams
|
|
2778
|
-
class LineItem < ::Stripe::RequestParams
|
|
2779
|
-
class Tax < ::Stripe::RequestParams
|
|
2780
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2781
|
-
attr_accessor :amount
|
|
2782
|
-
# The tax behavior for the line item.
|
|
2783
|
-
attr_accessor :behavior
|
|
2784
|
-
|
|
2785
|
-
def initialize(amount: nil, behavior: nil)
|
|
2786
|
-
@amount = amount
|
|
2787
|
-
@behavior = behavior
|
|
2788
|
-
end
|
|
2789
|
-
end
|
|
2790
|
-
# Type of the line item.
|
|
2791
|
-
attr_accessor :category
|
|
2792
|
-
# Description of the line item.
|
|
2793
|
-
attr_accessor :description
|
|
2794
|
-
# Descriptive name of the line item.
|
|
2795
|
-
attr_accessor :name
|
|
2796
|
-
# Quantity of the line item. Must be a positive number.
|
|
2797
|
-
attr_accessor :quantity
|
|
2798
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2799
|
-
attr_accessor :sku
|
|
2800
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
2801
|
-
attr_accessor :sold_by
|
|
2802
|
-
# The tax information for the line item.
|
|
2803
|
-
attr_accessor :tax
|
|
2804
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2805
|
-
attr_accessor :unit_amount
|
|
2806
|
-
|
|
2807
|
-
def initialize(
|
|
2808
|
-
category: nil,
|
|
2809
|
-
description: nil,
|
|
2810
|
-
name: nil,
|
|
2811
|
-
quantity: nil,
|
|
2812
|
-
sku: nil,
|
|
2813
|
-
sold_by: nil,
|
|
2814
|
-
tax: nil,
|
|
2815
|
-
unit_amount: nil
|
|
2816
|
-
)
|
|
2817
|
-
@category = category
|
|
2818
|
-
@description = description
|
|
2819
|
-
@name = name
|
|
2820
|
-
@quantity = quantity
|
|
2821
|
-
@sku = sku
|
|
2822
|
-
@sold_by = sold_by
|
|
2823
|
-
@tax = tax
|
|
2824
|
-
@unit_amount = unit_amount
|
|
2825
|
-
end
|
|
2826
|
-
end
|
|
2827
1872
|
# Controls when the funds will be captured from the customer's account.
|
|
2828
1873
|
attr_accessor :capture_method
|
|
2829
|
-
# The line items purchased by the customer.
|
|
2830
|
-
attr_accessor :line_items
|
|
2831
1874
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
2832
1875
|
attr_accessor :preferred_locale
|
|
2833
1876
|
# 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.
|
|
2834
1877
|
attr_accessor :reference
|
|
2835
|
-
# 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.
|
|
2836
|
-
attr_accessor :reference_id
|
|
2837
1878
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
2838
1879
|
attr_accessor :risk_correlation_id
|
|
2839
1880
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2846,140 +1887,29 @@ module Stripe
|
|
|
2846
1887
|
#
|
|
2847
1888
|
# 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`.
|
|
2848
1889
|
attr_accessor :setup_future_usage
|
|
2849
|
-
# 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.
|
|
2850
|
-
attr_accessor :subsellers
|
|
2851
1890
|
|
|
2852
1891
|
def initialize(
|
|
2853
1892
|
capture_method: nil,
|
|
2854
|
-
line_items: nil,
|
|
2855
1893
|
preferred_locale: nil,
|
|
2856
1894
|
reference: nil,
|
|
2857
|
-
reference_id: nil,
|
|
2858
1895
|
risk_correlation_id: nil,
|
|
2859
|
-
setup_future_usage: nil
|
|
2860
|
-
subsellers: nil
|
|
1896
|
+
setup_future_usage: nil
|
|
2861
1897
|
)
|
|
2862
1898
|
@capture_method = capture_method
|
|
2863
|
-
@line_items = line_items
|
|
2864
1899
|
@preferred_locale = preferred_locale
|
|
2865
1900
|
@reference = reference
|
|
2866
|
-
@reference_id = reference_id
|
|
2867
1901
|
@risk_correlation_id = risk_correlation_id
|
|
2868
1902
|
@setup_future_usage = setup_future_usage
|
|
2869
|
-
@subsellers = subsellers
|
|
2870
|
-
end
|
|
2871
|
-
end
|
|
2872
|
-
|
|
2873
|
-
class Paypay < ::Stripe::RequestParams
|
|
2874
|
-
# Controls when the funds are captured from the customer's account.
|
|
2875
|
-
#
|
|
2876
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
2877
|
-
#
|
|
2878
|
-
# 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.
|
|
2879
|
-
attr_accessor :capture_method
|
|
2880
|
-
|
|
2881
|
-
def initialize(capture_method: nil)
|
|
2882
|
-
@capture_method = capture_method
|
|
2883
|
-
end
|
|
2884
|
-
end
|
|
2885
|
-
|
|
2886
|
-
class Payto < ::Stripe::RequestParams
|
|
2887
|
-
class MandateOptions < ::Stripe::RequestParams
|
|
2888
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2889
|
-
attr_accessor :amount
|
|
2890
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2891
|
-
attr_accessor :amount_type
|
|
2892
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2893
|
-
attr_accessor :end_date
|
|
2894
|
-
# The periodicity at which payments will be collected.
|
|
2895
|
-
attr_accessor :payment_schedule
|
|
2896
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2897
|
-
attr_accessor :payments_per_period
|
|
2898
|
-
# The purpose for which payments are made. Defaults to retail.
|
|
2899
|
-
attr_accessor :purpose
|
|
2900
|
-
|
|
2901
|
-
def initialize(
|
|
2902
|
-
amount: nil,
|
|
2903
|
-
amount_type: nil,
|
|
2904
|
-
end_date: nil,
|
|
2905
|
-
payment_schedule: nil,
|
|
2906
|
-
payments_per_period: nil,
|
|
2907
|
-
purpose: nil
|
|
2908
|
-
)
|
|
2909
|
-
@amount = amount
|
|
2910
|
-
@amount_type = amount_type
|
|
2911
|
-
@end_date = end_date
|
|
2912
|
-
@payment_schedule = payment_schedule
|
|
2913
|
-
@payments_per_period = payments_per_period
|
|
2914
|
-
@purpose = purpose
|
|
2915
|
-
end
|
|
2916
|
-
end
|
|
2917
|
-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
|
2918
|
-
attr_accessor :mandate_options
|
|
2919
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2920
|
-
#
|
|
2921
|
-
# 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.
|
|
2922
|
-
#
|
|
2923
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2924
|
-
#
|
|
2925
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2926
|
-
#
|
|
2927
|
-
# 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`.
|
|
2928
|
-
attr_accessor :setup_future_usage
|
|
2929
|
-
|
|
2930
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2931
|
-
@mandate_options = mandate_options
|
|
2932
|
-
@setup_future_usage = setup_future_usage
|
|
2933
1903
|
end
|
|
2934
1904
|
end
|
|
2935
1905
|
|
|
2936
1906
|
class Pix < ::Stripe::RequestParams
|
|
2937
|
-
class MandateOptions < ::Stripe::RequestParams
|
|
2938
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2939
|
-
attr_accessor :amount
|
|
2940
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2941
|
-
attr_accessor :amount_includes_iof
|
|
2942
|
-
# Type of amount. Defaults to `maximum`.
|
|
2943
|
-
attr_accessor :amount_type
|
|
2944
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2945
|
-
attr_accessor :currency
|
|
2946
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
2947
|
-
attr_accessor :end_date
|
|
2948
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2949
|
-
attr_accessor :payment_schedule
|
|
2950
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2951
|
-
attr_accessor :reference
|
|
2952
|
-
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
2953
|
-
attr_accessor :start_date
|
|
2954
|
-
|
|
2955
|
-
def initialize(
|
|
2956
|
-
amount: nil,
|
|
2957
|
-
amount_includes_iof: nil,
|
|
2958
|
-
amount_type: nil,
|
|
2959
|
-
currency: nil,
|
|
2960
|
-
end_date: nil,
|
|
2961
|
-
payment_schedule: nil,
|
|
2962
|
-
reference: nil,
|
|
2963
|
-
start_date: nil
|
|
2964
|
-
)
|
|
2965
|
-
@amount = amount
|
|
2966
|
-
@amount_includes_iof = amount_includes_iof
|
|
2967
|
-
@amount_type = amount_type
|
|
2968
|
-
@currency = currency
|
|
2969
|
-
@end_date = end_date
|
|
2970
|
-
@payment_schedule = payment_schedule
|
|
2971
|
-
@reference = reference
|
|
2972
|
-
@start_date = start_date
|
|
2973
|
-
end
|
|
2974
|
-
end
|
|
2975
1907
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2976
1908
|
attr_accessor :amount_includes_iof
|
|
2977
1909
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
2978
1910
|
attr_accessor :expires_after_seconds
|
|
2979
1911
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
2980
1912
|
attr_accessor :expires_at
|
|
2981
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2982
|
-
attr_accessor :mandate_options
|
|
2983
1913
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2984
1914
|
#
|
|
2985
1915
|
# 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.
|
|
@@ -2995,13 +1925,11 @@ module Stripe
|
|
|
2995
1925
|
amount_includes_iof: nil,
|
|
2996
1926
|
expires_after_seconds: nil,
|
|
2997
1927
|
expires_at: nil,
|
|
2998
|
-
mandate_options: nil,
|
|
2999
1928
|
setup_future_usage: nil
|
|
3000
1929
|
)
|
|
3001
1930
|
@amount_includes_iof = amount_includes_iof
|
|
3002
1931
|
@expires_after_seconds = expires_after_seconds
|
|
3003
1932
|
@expires_at = expires_at
|
|
3004
|
-
@mandate_options = mandate_options
|
|
3005
1933
|
@setup_future_usage = setup_future_usage
|
|
3006
1934
|
end
|
|
3007
1935
|
end
|
|
@@ -3023,25 +1951,6 @@ module Stripe
|
|
|
3023
1951
|
end
|
|
3024
1952
|
end
|
|
3025
1953
|
|
|
3026
|
-
class Qris < ::Stripe::RequestParams
|
|
3027
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3028
|
-
#
|
|
3029
|
-
# 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.
|
|
3030
|
-
#
|
|
3031
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3032
|
-
#
|
|
3033
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3034
|
-
#
|
|
3035
|
-
# 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`.
|
|
3036
|
-
attr_accessor :setup_future_usage
|
|
3037
|
-
|
|
3038
|
-
def initialize(setup_future_usage: nil)
|
|
3039
|
-
@setup_future_usage = setup_future_usage
|
|
3040
|
-
end
|
|
3041
|
-
end
|
|
3042
|
-
|
|
3043
|
-
class Rechnung < ::Stripe::RequestParams; end
|
|
3044
|
-
|
|
3045
1954
|
class RevolutPay < ::Stripe::RequestParams
|
|
3046
1955
|
# Controls when the funds are captured from the customer's account.
|
|
3047
1956
|
#
|
|
@@ -3121,23 +2030,6 @@ module Stripe
|
|
|
3121
2030
|
end
|
|
3122
2031
|
end
|
|
3123
2032
|
|
|
3124
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
3125
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3126
|
-
#
|
|
3127
|
-
# 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.
|
|
3128
|
-
#
|
|
3129
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3130
|
-
#
|
|
3131
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3132
|
-
#
|
|
3133
|
-
# 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`.
|
|
3134
|
-
attr_accessor :setup_future_usage
|
|
3135
|
-
|
|
3136
|
-
def initialize(setup_future_usage: nil)
|
|
3137
|
-
@setup_future_usage = setup_future_usage
|
|
3138
|
-
end
|
|
3139
|
-
end
|
|
3140
|
-
|
|
3141
2033
|
class Sofort < ::Stripe::RequestParams
|
|
3142
2034
|
# Language shown to the payer on redirect.
|
|
3143
2035
|
attr_accessor :preferred_language
|
|
@@ -3158,23 +2050,6 @@ module Stripe
|
|
|
3158
2050
|
end
|
|
3159
2051
|
end
|
|
3160
2052
|
|
|
3161
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
3162
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3163
|
-
#
|
|
3164
|
-
# 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.
|
|
3165
|
-
#
|
|
3166
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3167
|
-
#
|
|
3168
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3169
|
-
#
|
|
3170
|
-
# 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`.
|
|
3171
|
-
attr_accessor :setup_future_usage
|
|
3172
|
-
|
|
3173
|
-
def initialize(setup_future_usage: nil)
|
|
3174
|
-
@setup_future_usage = setup_future_usage
|
|
3175
|
-
end
|
|
3176
|
-
end
|
|
3177
|
-
|
|
3178
2053
|
class Swish < ::Stripe::RequestParams
|
|
3179
2054
|
# A reference for this payment to be displayed in the Swish app.
|
|
3180
2055
|
attr_accessor :reference
|
|
@@ -3217,27 +2092,13 @@ module Stripe
|
|
|
3217
2092
|
class Filters < ::Stripe::RequestParams
|
|
3218
2093
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3219
2094
|
attr_accessor :account_subcategories
|
|
3220
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
3221
|
-
attr_accessor :institution
|
|
3222
2095
|
|
|
3223
|
-
def initialize(account_subcategories: nil
|
|
2096
|
+
def initialize(account_subcategories: nil)
|
|
3224
2097
|
@account_subcategories = account_subcategories
|
|
3225
|
-
@institution = institution
|
|
3226
|
-
end
|
|
3227
|
-
end
|
|
3228
|
-
|
|
3229
|
-
class ManualEntry < ::Stripe::RequestParams
|
|
3230
|
-
# Settings for configuring manual entry of account details.
|
|
3231
|
-
attr_accessor :mode
|
|
3232
|
-
|
|
3233
|
-
def initialize(mode: nil)
|
|
3234
|
-
@mode = mode
|
|
3235
2098
|
end
|
|
3236
2099
|
end
|
|
3237
2100
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3238
2101
|
attr_accessor :filters
|
|
3239
|
-
# Customize manual entry behavior
|
|
3240
|
-
attr_accessor :manual_entry
|
|
3241
2102
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3242
2103
|
attr_accessor :permissions
|
|
3243
2104
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -3245,15 +2106,8 @@ module Stripe
|
|
|
3245
2106
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
3246
2107
|
attr_accessor :return_url
|
|
3247
2108
|
|
|
3248
|
-
def initialize(
|
|
3249
|
-
filters: nil,
|
|
3250
|
-
manual_entry: nil,
|
|
3251
|
-
permissions: nil,
|
|
3252
|
-
prefetch: nil,
|
|
3253
|
-
return_url: nil
|
|
3254
|
-
)
|
|
2109
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
3255
2110
|
@filters = filters
|
|
3256
|
-
@manual_entry = manual_entry
|
|
3257
2111
|
@permissions = permissions
|
|
3258
2112
|
@prefetch = prefetch
|
|
3259
2113
|
@return_url = return_url
|
|
@@ -3398,12 +2252,8 @@ module Stripe
|
|
|
3398
2252
|
attr_accessor :fpx
|
|
3399
2253
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
3400
2254
|
attr_accessor :giropay
|
|
3401
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3402
|
-
attr_accessor :gopay
|
|
3403
2255
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
3404
2256
|
attr_accessor :grabpay
|
|
3405
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3406
|
-
attr_accessor :id_bank_transfer
|
|
3407
2257
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
3408
2258
|
attr_accessor :ideal
|
|
3409
2259
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -3440,18 +2290,10 @@ module Stripe
|
|
|
3440
2290
|
attr_accessor :paynow
|
|
3441
2291
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
3442
2292
|
attr_accessor :paypal
|
|
3443
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3444
|
-
attr_accessor :paypay
|
|
3445
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3446
|
-
attr_accessor :payto
|
|
3447
2293
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
3448
2294
|
attr_accessor :pix
|
|
3449
2295
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
3450
2296
|
attr_accessor :promptpay
|
|
3451
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3452
|
-
attr_accessor :qris
|
|
3453
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3454
|
-
attr_accessor :rechnung
|
|
3455
2297
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
3456
2298
|
attr_accessor :revolut_pay
|
|
3457
2299
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -3460,12 +2302,8 @@ module Stripe
|
|
|
3460
2302
|
attr_accessor :satispay
|
|
3461
2303
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3462
2304
|
attr_accessor :sepa_debit
|
|
3463
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3464
|
-
attr_accessor :shopeepay
|
|
3465
2305
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
3466
2306
|
attr_accessor :sofort
|
|
3467
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3468
|
-
attr_accessor :stripe_balance
|
|
3469
2307
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
3470
2308
|
attr_accessor :swish
|
|
3471
2309
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -3498,9 +2336,7 @@ module Stripe
|
|
|
3498
2336
|
eps: nil,
|
|
3499
2337
|
fpx: nil,
|
|
3500
2338
|
giropay: nil,
|
|
3501
|
-
gopay: nil,
|
|
3502
2339
|
grabpay: nil,
|
|
3503
|
-
id_bank_transfer: nil,
|
|
3504
2340
|
ideal: nil,
|
|
3505
2341
|
interac_present: nil,
|
|
3506
2342
|
kakao_pay: nil,
|
|
@@ -3519,19 +2355,13 @@ module Stripe
|
|
|
3519
2355
|
payco: nil,
|
|
3520
2356
|
paynow: nil,
|
|
3521
2357
|
paypal: nil,
|
|
3522
|
-
paypay: nil,
|
|
3523
|
-
payto: nil,
|
|
3524
2358
|
pix: nil,
|
|
3525
2359
|
promptpay: nil,
|
|
3526
|
-
qris: nil,
|
|
3527
|
-
rechnung: nil,
|
|
3528
2360
|
revolut_pay: nil,
|
|
3529
2361
|
samsung_pay: nil,
|
|
3530
2362
|
satispay: nil,
|
|
3531
2363
|
sepa_debit: nil,
|
|
3532
|
-
shopeepay: nil,
|
|
3533
2364
|
sofort: nil,
|
|
3534
|
-
stripe_balance: nil,
|
|
3535
2365
|
swish: nil,
|
|
3536
2366
|
twint: nil,
|
|
3537
2367
|
us_bank_account: nil,
|
|
@@ -3558,9 +2388,7 @@ module Stripe
|
|
|
3558
2388
|
@eps = eps
|
|
3559
2389
|
@fpx = fpx
|
|
3560
2390
|
@giropay = giropay
|
|
3561
|
-
@gopay = gopay
|
|
3562
2391
|
@grabpay = grabpay
|
|
3563
|
-
@id_bank_transfer = id_bank_transfer
|
|
3564
2392
|
@ideal = ideal
|
|
3565
2393
|
@interac_present = interac_present
|
|
3566
2394
|
@kakao_pay = kakao_pay
|
|
@@ -3579,19 +2407,13 @@ module Stripe
|
|
|
3579
2407
|
@payco = payco
|
|
3580
2408
|
@paynow = paynow
|
|
3581
2409
|
@paypal = paypal
|
|
3582
|
-
@paypay = paypay
|
|
3583
|
-
@payto = payto
|
|
3584
2410
|
@pix = pix
|
|
3585
2411
|
@promptpay = promptpay
|
|
3586
|
-
@qris = qris
|
|
3587
|
-
@rechnung = rechnung
|
|
3588
2412
|
@revolut_pay = revolut_pay
|
|
3589
2413
|
@samsung_pay = samsung_pay
|
|
3590
2414
|
@satispay = satispay
|
|
3591
2415
|
@sepa_debit = sepa_debit
|
|
3592
|
-
@shopeepay = shopeepay
|
|
3593
2416
|
@sofort = sofort
|
|
3594
|
-
@stripe_balance = stripe_balance
|
|
3595
2417
|
@swish = swish
|
|
3596
2418
|
@twint = twint
|
|
3597
2419
|
@us_bank_account = us_bank_account
|
|
@@ -3661,8 +2483,6 @@ module Stripe
|
|
|
3661
2483
|
end
|
|
3662
2484
|
# Provides industry-specific information about the amount.
|
|
3663
2485
|
attr_accessor :amount_details
|
|
3664
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
|
3665
|
-
attr_accessor :application_fee_amount
|
|
3666
2486
|
# Controls when the funds will be captured from the customer's account.
|
|
3667
2487
|
attr_accessor :capture_method
|
|
3668
2488
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
@@ -3675,10 +2495,6 @@ module Stripe
|
|
|
3675
2495
|
attr_accessor :excluded_payment_method_types
|
|
3676
2496
|
# Specifies which fields in the response should be expanded.
|
|
3677
2497
|
attr_accessor :expand
|
|
3678
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3679
|
-
attr_accessor :fx_quote
|
|
3680
|
-
# Automations to be run during the PaymentIntent lifecycle
|
|
3681
|
-
attr_accessor :hooks
|
|
3682
2498
|
# ID of the mandate that's used for this payment.
|
|
3683
2499
|
attr_accessor :mandate
|
|
3684
2500
|
# Attribute for param field mandate_data
|
|
@@ -3723,14 +2539,11 @@ module Stripe
|
|
|
3723
2539
|
|
|
3724
2540
|
def initialize(
|
|
3725
2541
|
amount_details: nil,
|
|
3726
|
-
application_fee_amount: nil,
|
|
3727
2542
|
capture_method: nil,
|
|
3728
2543
|
confirmation_token: nil,
|
|
3729
2544
|
error_on_requires_action: nil,
|
|
3730
2545
|
excluded_payment_method_types: nil,
|
|
3731
2546
|
expand: nil,
|
|
3732
|
-
fx_quote: nil,
|
|
3733
|
-
hooks: nil,
|
|
3734
2547
|
mandate: nil,
|
|
3735
2548
|
mandate_data: nil,
|
|
3736
2549
|
off_session: nil,
|
|
@@ -3747,14 +2560,11 @@ module Stripe
|
|
|
3747
2560
|
use_stripe_sdk: nil
|
|
3748
2561
|
)
|
|
3749
2562
|
@amount_details = amount_details
|
|
3750
|
-
@application_fee_amount = application_fee_amount
|
|
3751
2563
|
@capture_method = capture_method
|
|
3752
2564
|
@confirmation_token = confirmation_token
|
|
3753
2565
|
@error_on_requires_action = error_on_requires_action
|
|
3754
2566
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
3755
2567
|
@expand = expand
|
|
3756
|
-
@fx_quote = fx_quote
|
|
3757
|
-
@hooks = hooks
|
|
3758
2568
|
@mandate = mandate
|
|
3759
2569
|
@mandate_data = mandate_data
|
|
3760
2570
|
@off_session = off_session
|