stripe 18.3.0.pre.alpha.1 → 18.3.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 +1 -37
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -66
- data/lib/stripe/event_types.rb +0 -512
- data/lib/stripe/object_types.rb +1 -90
- data/lib/stripe/params/account_create_params.rb +3 -338
- data/lib/stripe/params/account_person_create_params.rb +0 -32
- data/lib/stripe/params/account_person_update_params.rb +0 -32
- data/lib/stripe/params/account_session_create_params.rb +4 -246
- data/lib/stripe/params/account_update_params.rb +2 -300
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- 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 +1 -13
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
- 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/charge_capture_params.rb +0 -1648
- data/lib/stripe/params/charge_update_params.rb +0 -1648
- data/lib/stripe/params/checkout/session_create_params.rb +19 -234
- data/lib/stripe/params/checkout/session_update_params.rb +2 -157
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -77
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +1 -30
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -107
- data/lib/stripe/params/invoice_create_preview_params.rb +10 -942
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +2 -49
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
- data/lib/stripe/params/invoice_update_params.rb +2 -107
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- 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 +16 -1629
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3121
- data/lib/stripe/params/payment_intent_create_params.rb +138 -3136
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +15 -23
- data/lib/stripe/params/payment_intent_update_params.rb +186 -3198
- data/lib/stripe/params/payment_link_create_params.rb +4 -19
- data/lib/stripe/params/payment_link_update_params.rb +3 -3
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1 -106
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1 -106
- data/lib/stripe/params/payment_method_create_params.rb +0 -77
- data/lib/stripe/params/plan_create_params.rb +1 -16
- data/lib/stripe/params/price_create_params.rb +1 -16
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +1 -17
- data/lib/stripe/params/product_update_params.rb +1 -17
- data/lib/stripe/params/quote_create_params.rb +3 -1021
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -1029
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -187
- data/lib/stripe/params/setup_intent_create_params.rb +3 -187
- data/lib/stripe/params/setup_intent_update_params.rb +4 -188
- data/lib/stripe/params/subscription_create_params.rb +5 -270
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -231
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -231
- data/lib/stripe/params/subscription_update_params.rb +4 -253
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +1 -33
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -32
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -77
- 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/token_create_params.rb +0 -64
- data/lib/stripe/params/transfer_create_params.rb +0 -8
- 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/v2/core/account_create_params.rb +28 -959
- data/lib/stripe/params/v2/core/account_token_create_params.rb +25 -251
- data/lib/stripe/params/v2/core/account_update_params.rb +28 -938
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params.rb +1 -274
- data/lib/stripe/resources/account.rb +1 -182
- data/lib/stripe/resources/account_session.rb +3 -111
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- 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 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -58
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/card.rb +1 -20
- data/lib/stripe/resources/charge.rb +2 -234
- data/lib/stripe/resources/checkout/session.rb +7 -199
- data/lib/stripe/resources/confirmation_token.rb +1 -152
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +1 -1
- data/lib/stripe/resources/customer_session.rb +0 -36
- 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 -25
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +3 -170
- data/lib/stripe/resources/invoice_item.rb +2 -108
- data/lib/stripe/resources/invoice_line_item.rb +3 -147
- data/lib/stripe/resources/issuing/card.rb +0 -4
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -43
- data/lib/stripe/resources/payment_attempt_record.rb +2 -182
- data/lib/stripe/resources/payment_intent.rb +22 -800
- data/lib/stripe/resources/payment_link.rb +1 -1
- data/lib/stripe/resources/payment_method.rb +1 -174
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +2 -182
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/plan.rb +0 -2
- data/lib/stripe/resources/price.rb +0 -22
- data/lib/stripe/resources/quote.rb +2 -806
- data/lib/stripe/resources/radar/payment_evaluation.rb +515 -0
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +1 -49
- data/lib/stripe/resources/setup_intent.rb +1 -128
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +1 -250
- data/lib/stripe/resources/subscription_item.rb +1 -43
- data/lib/stripe/resources/subscription_schedule.rb +3 -290
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -36
- 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 +2 -32
- data/lib/stripe/resources/v2/core/account.rb +63 -1671
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources.rb +1 -218
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- 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/invoice_service.rb +1 -1
- data/lib/stripe/services/issuing_service.rb +1 -6
- 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/{product_catalog/trial_offer_service.rb → radar/payment_evaluation_service.rb} +4 -4
- data/lib/stripe/services/radar_service.rb +2 -2
- 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 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -12
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -2
- data/lib/stripe/services/v2/core/account_service.rb +0 -10
- data/lib/stripe/services/v2/core/account_token_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -10
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +0 -4
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +1 -99
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +4 -16
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +85390 -164572
- metadata +7 -595
- 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_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_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_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 -86
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
- 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 -78
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
- 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_iam_api_key_created_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
- 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_created_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_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
- 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/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_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/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- 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_refill_params.rb +0 -37
- 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 -138
- 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/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- 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 -2061
- 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 -2065
- 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/product_catalog/trial_offer_create_params.rb +0 -63
- 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/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -41
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
- 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/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- 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 -425
- 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 -278
- 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/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/iam/api_key_create_params.rb +0 -51
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
- 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/currency_conversion_create_params.rb +0 -68
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_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 -23
- 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 -62
- 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 -134
- 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 -82
- 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 -93
- 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 -57
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
- 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/payments/settlement_allocation_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
- 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/balance_transfer.rb +0 -139
- 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 -183
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -509
- 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/program.rb +0 -69
- 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/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -527
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1200
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/transit_balance.rb +0 -45
- 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 -483
- 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 -274
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -134
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -103
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
- data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -223
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -347
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -204
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -157
- 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 -280
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- 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/issuing/program_service.rb +0 -52
- 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/product_catalog_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/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment_service.rb +0 -13
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- 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/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/iam/api_key_service.rb +0 -76
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
- 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 -75
- 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 -65
- 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 -35
- data/lib/stripe/services/v2/payment_service.rb +0 -17
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/manual_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
|
@@ -27,20 +27,22 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
-
class
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
class AmountDetails < ::Stripe::StripeObject
|
|
31
|
+
class Error < ::Stripe::StripeObject
|
|
32
|
+
# The code of the error that occurred when validating the current amount details.
|
|
33
|
+
attr_reader :code
|
|
34
|
+
# A message providing more details about the error.
|
|
35
|
+
attr_reader :message
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
def self.inner_class_types
|
|
38
|
+
@inner_class_types = {}
|
|
39
|
+
end
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
def self.field_remappings
|
|
42
|
+
@field_remappings = {}
|
|
43
|
+
end
|
|
40
44
|
end
|
|
41
|
-
end
|
|
42
45
|
|
|
43
|
-
class AmountDetails < ::Stripe::StripeObject
|
|
44
46
|
class Shipping < ::Stripe::StripeObject
|
|
45
47
|
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
46
48
|
attr_reader :amount
|
|
@@ -89,7 +91,9 @@ module Stripe
|
|
|
89
91
|
#
|
|
90
92
|
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
91
93
|
attr_reader :discount_amount
|
|
92
|
-
#
|
|
94
|
+
# Attribute for field error
|
|
95
|
+
attr_reader :error
|
|
96
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
93
97
|
attr_reader :line_items
|
|
94
98
|
# Attribute for field shipping
|
|
95
99
|
attr_reader :shipping
|
|
@@ -99,44 +103,7 @@ module Stripe
|
|
|
99
103
|
attr_reader :tip
|
|
100
104
|
|
|
101
105
|
def self.inner_class_types
|
|
102
|
-
@inner_class_types = { shipping: Shipping, tax: Tax, tip: Tip }
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
def self.field_remappings
|
|
106
|
-
@field_remappings = {}
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
class AsyncWorkflows < ::Stripe::StripeObject
|
|
111
|
-
class Inputs < ::Stripe::StripeObject
|
|
112
|
-
class Tax < ::Stripe::StripeObject
|
|
113
|
-
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
114
|
-
attr_reader :calculation
|
|
115
|
-
|
|
116
|
-
def self.inner_class_types
|
|
117
|
-
@inner_class_types = {}
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
def self.field_remappings
|
|
121
|
-
@field_remappings = {}
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
# Attribute for field tax
|
|
125
|
-
attr_reader :tax
|
|
126
|
-
|
|
127
|
-
def self.inner_class_types
|
|
128
|
-
@inner_class_types = { tax: Tax }
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
def self.field_remappings
|
|
132
|
-
@field_remappings = {}
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
|
-
# Attribute for field inputs
|
|
136
|
-
attr_reader :inputs
|
|
137
|
-
|
|
138
|
-
def self.inner_class_types
|
|
139
|
-
@inner_class_types = { inputs: Inputs }
|
|
106
|
+
@inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
|
|
140
107
|
end
|
|
141
108
|
|
|
142
109
|
def self.field_remappings
|
|
@@ -1235,388 +1202,19 @@ module Stripe
|
|
|
1235
1202
|
end
|
|
1236
1203
|
|
|
1237
1204
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1238
|
-
class Benefit < ::Stripe::StripeObject
|
|
1239
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
1240
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1241
|
-
attr_reader :siret
|
|
1242
|
-
|
|
1243
|
-
def self.inner_class_types
|
|
1244
|
-
@inner_class_types = {}
|
|
1245
|
-
end
|
|
1246
|
-
|
|
1247
|
-
def self.field_remappings
|
|
1248
|
-
@field_remappings = {}
|
|
1249
|
-
end
|
|
1250
|
-
end
|
|
1251
|
-
# Attribute for field fr_meal_voucher
|
|
1252
|
-
attr_reader :fr_meal_voucher
|
|
1253
|
-
|
|
1254
|
-
def self.inner_class_types
|
|
1255
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1256
|
-
end
|
|
1257
|
-
|
|
1258
|
-
def self.field_remappings
|
|
1259
|
-
@field_remappings = {}
|
|
1260
|
-
end
|
|
1261
|
-
end
|
|
1262
|
-
|
|
1263
|
-
class CarRental < ::Stripe::StripeObject
|
|
1264
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1265
|
-
# The name of the affiliate that originated the purchase.
|
|
1266
|
-
attr_reader :name
|
|
1267
|
-
|
|
1268
|
-
def self.inner_class_types
|
|
1269
|
-
@inner_class_types = {}
|
|
1270
|
-
end
|
|
1271
|
-
|
|
1272
|
-
def self.field_remappings
|
|
1273
|
-
@field_remappings = {}
|
|
1274
|
-
end
|
|
1275
|
-
end
|
|
1276
|
-
|
|
1277
|
-
class Delivery < ::Stripe::StripeObject
|
|
1278
|
-
class Recipient < ::Stripe::StripeObject
|
|
1279
|
-
# The email of the recipient the ticket is delivered to.
|
|
1280
|
-
attr_reader :email
|
|
1281
|
-
# The name of the recipient the ticket is delivered to.
|
|
1282
|
-
attr_reader :name
|
|
1283
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1284
|
-
attr_reader :phone
|
|
1285
|
-
|
|
1286
|
-
def self.inner_class_types
|
|
1287
|
-
@inner_class_types = {}
|
|
1288
|
-
end
|
|
1289
|
-
|
|
1290
|
-
def self.field_remappings
|
|
1291
|
-
@field_remappings = {}
|
|
1292
|
-
end
|
|
1293
|
-
end
|
|
1294
|
-
# The delivery method for the payment
|
|
1295
|
-
attr_reader :mode
|
|
1296
|
-
# Attribute for field recipient
|
|
1297
|
-
attr_reader :recipient
|
|
1298
|
-
|
|
1299
|
-
def self.inner_class_types
|
|
1300
|
-
@inner_class_types = { recipient: Recipient }
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
def self.field_remappings
|
|
1304
|
-
@field_remappings = {}
|
|
1305
|
-
end
|
|
1306
|
-
end
|
|
1307
|
-
|
|
1308
|
-
class Distance < ::Stripe::StripeObject
|
|
1309
|
-
# Distance traveled.
|
|
1310
|
-
attr_reader :amount
|
|
1311
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1312
|
-
attr_reader :unit
|
|
1313
|
-
|
|
1314
|
-
def self.inner_class_types
|
|
1315
|
-
@inner_class_types = {}
|
|
1316
|
-
end
|
|
1317
|
-
|
|
1318
|
-
def self.field_remappings
|
|
1319
|
-
@field_remappings = {}
|
|
1320
|
-
end
|
|
1321
|
-
end
|
|
1322
|
-
|
|
1323
|
-
class Driver < ::Stripe::StripeObject
|
|
1324
|
-
# Driver's identification number.
|
|
1325
|
-
attr_reader :driver_identification_number
|
|
1326
|
-
# Driver's tax number.
|
|
1327
|
-
attr_reader :driver_tax_number
|
|
1328
|
-
# Full name of the driver on the reservation.
|
|
1329
|
-
attr_reader :name
|
|
1330
|
-
|
|
1331
|
-
def self.inner_class_types
|
|
1332
|
-
@inner_class_types = {}
|
|
1333
|
-
end
|
|
1334
|
-
|
|
1335
|
-
def self.field_remappings
|
|
1336
|
-
@field_remappings = {}
|
|
1337
|
-
end
|
|
1338
|
-
end
|
|
1339
|
-
|
|
1340
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1341
|
-
# City, district, suburb, town, or village.
|
|
1342
|
-
attr_reader :city
|
|
1343
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1344
|
-
attr_reader :country
|
|
1345
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1346
|
-
attr_reader :line1
|
|
1347
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1348
|
-
attr_reader :line2
|
|
1349
|
-
# ZIP or postal code.
|
|
1350
|
-
attr_reader :postal_code
|
|
1351
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1352
|
-
attr_reader :state
|
|
1353
|
-
|
|
1354
|
-
def self.inner_class_types
|
|
1355
|
-
@inner_class_types = {}
|
|
1356
|
-
end
|
|
1357
|
-
|
|
1358
|
-
def self.field_remappings
|
|
1359
|
-
@field_remappings = {}
|
|
1360
|
-
end
|
|
1361
|
-
end
|
|
1362
|
-
|
|
1363
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1364
|
-
# City, district, suburb, town, or village.
|
|
1365
|
-
attr_reader :city
|
|
1366
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1367
|
-
attr_reader :country
|
|
1368
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1369
|
-
attr_reader :line1
|
|
1370
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1371
|
-
attr_reader :line2
|
|
1372
|
-
# ZIP or postal code.
|
|
1373
|
-
attr_reader :postal_code
|
|
1374
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1375
|
-
attr_reader :state
|
|
1376
|
-
|
|
1377
|
-
def self.inner_class_types
|
|
1378
|
-
@inner_class_types = {}
|
|
1379
|
-
end
|
|
1380
|
-
|
|
1381
|
-
def self.field_remappings
|
|
1382
|
-
@field_remappings = {}
|
|
1383
|
-
end
|
|
1384
|
-
end
|
|
1385
|
-
# Attribute for field affiliate
|
|
1386
|
-
attr_reader :affiliate
|
|
1387
|
-
# The booking number associated with the car rental.
|
|
1388
|
-
attr_reader :booking_number
|
|
1389
|
-
# Class code of the car.
|
|
1390
|
-
attr_reader :car_class_code
|
|
1391
|
-
# Make of the car.
|
|
1392
|
-
attr_reader :car_make
|
|
1393
|
-
# Model of the car.
|
|
1394
|
-
attr_reader :car_model
|
|
1395
|
-
# The name of the rental car company.
|
|
1396
|
-
attr_reader :company
|
|
1397
|
-
# The customer service phone number of the car rental company.
|
|
1398
|
-
attr_reader :customer_service_phone_number
|
|
1399
|
-
# Number of days the car is being rented.
|
|
1400
|
-
attr_reader :days_rented
|
|
1401
|
-
# Attribute for field delivery
|
|
1402
|
-
attr_reader :delivery
|
|
1403
|
-
# Attribute for field distance
|
|
1404
|
-
attr_reader :distance
|
|
1405
|
-
# The details of the drivers associated with the trip.
|
|
1406
|
-
attr_reader :drivers
|
|
1407
|
-
# List of additional charges being billed.
|
|
1408
|
-
attr_reader :extra_charges
|
|
1409
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1410
|
-
attr_reader :no_show
|
|
1411
|
-
# Attribute for field pickup_address
|
|
1412
|
-
attr_reader :pickup_address
|
|
1413
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1414
|
-
attr_reader :pickup_at
|
|
1415
|
-
# Name of the pickup location.
|
|
1416
|
-
attr_reader :pickup_location_name
|
|
1417
|
-
# Rental rate.
|
|
1418
|
-
attr_reader :rate_amount
|
|
1419
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1420
|
-
attr_reader :rate_interval
|
|
1421
|
-
# The full name of the person or entity renting the car.
|
|
1422
|
-
attr_reader :renter_name
|
|
1423
|
-
# Attribute for field return_address
|
|
1424
|
-
attr_reader :return_address
|
|
1425
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1426
|
-
attr_reader :return_at
|
|
1427
|
-
# Name of the return location.
|
|
1428
|
-
attr_reader :return_location_name
|
|
1429
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1430
|
-
attr_reader :tax_exempt
|
|
1431
|
-
# The vehicle identification number of the car.
|
|
1432
|
-
attr_reader :vehicle_identification_number
|
|
1433
|
-
|
|
1434
|
-
def self.inner_class_types
|
|
1435
|
-
@inner_class_types = {
|
|
1436
|
-
affiliate: Affiliate,
|
|
1437
|
-
delivery: Delivery,
|
|
1438
|
-
distance: Distance,
|
|
1439
|
-
drivers: Driver,
|
|
1440
|
-
pickup_address: PickupAddress,
|
|
1441
|
-
return_address: ReturnAddress,
|
|
1442
|
-
}
|
|
1443
|
-
end
|
|
1444
|
-
|
|
1445
|
-
def self.field_remappings
|
|
1446
|
-
@field_remappings = {}
|
|
1447
|
-
end
|
|
1448
|
-
end
|
|
1449
|
-
|
|
1450
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1451
|
-
class Address < ::Stripe::StripeObject
|
|
1452
|
-
# City, district, suburb, town, or village.
|
|
1453
|
-
attr_reader :city
|
|
1454
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1455
|
-
attr_reader :country
|
|
1456
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1457
|
-
attr_reader :line1
|
|
1458
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1459
|
-
attr_reader :line2
|
|
1460
|
-
# ZIP or postal code.
|
|
1461
|
-
attr_reader :postal_code
|
|
1462
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1463
|
-
attr_reader :state
|
|
1464
|
-
|
|
1465
|
-
def self.inner_class_types
|
|
1466
|
-
@inner_class_types = {}
|
|
1467
|
-
end
|
|
1468
|
-
|
|
1469
|
-
def self.field_remappings
|
|
1470
|
-
@field_remappings = {}
|
|
1471
|
-
end
|
|
1472
|
-
end
|
|
1473
|
-
|
|
1474
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1475
|
-
# The name of the affiliate that originated the purchase.
|
|
1476
|
-
attr_reader :name
|
|
1477
|
-
|
|
1478
|
-
def self.inner_class_types
|
|
1479
|
-
@inner_class_types = {}
|
|
1480
|
-
end
|
|
1481
|
-
|
|
1482
|
-
def self.field_remappings
|
|
1483
|
-
@field_remappings = {}
|
|
1484
|
-
end
|
|
1485
|
-
end
|
|
1486
|
-
|
|
1487
|
-
class Delivery < ::Stripe::StripeObject
|
|
1488
|
-
class Recipient < ::Stripe::StripeObject
|
|
1489
|
-
# The email of the recipient the ticket is delivered to.
|
|
1490
|
-
attr_reader :email
|
|
1491
|
-
# The name of the recipient the ticket is delivered to.
|
|
1492
|
-
attr_reader :name
|
|
1493
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1494
|
-
attr_reader :phone
|
|
1495
|
-
|
|
1496
|
-
def self.inner_class_types
|
|
1497
|
-
@inner_class_types = {}
|
|
1498
|
-
end
|
|
1499
|
-
|
|
1500
|
-
def self.field_remappings
|
|
1501
|
-
@field_remappings = {}
|
|
1502
|
-
end
|
|
1503
|
-
end
|
|
1504
|
-
# The delivery method for the payment
|
|
1505
|
-
attr_reader :mode
|
|
1506
|
-
# Attribute for field recipient
|
|
1507
|
-
attr_reader :recipient
|
|
1508
|
-
|
|
1509
|
-
def self.inner_class_types
|
|
1510
|
-
@inner_class_types = { recipient: Recipient }
|
|
1511
|
-
end
|
|
1512
|
-
|
|
1513
|
-
def self.field_remappings
|
|
1514
|
-
@field_remappings = {}
|
|
1515
|
-
end
|
|
1516
|
-
end
|
|
1517
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1518
|
-
attr_reader :access_controlled_venue
|
|
1519
|
-
# Attribute for field address
|
|
1520
|
-
attr_reader :address
|
|
1521
|
-
# Attribute for field affiliate
|
|
1522
|
-
attr_reader :affiliate
|
|
1523
|
-
# The name of the company
|
|
1524
|
-
attr_reader :company
|
|
1525
|
-
# Attribute for field delivery
|
|
1526
|
-
attr_reader :delivery
|
|
1527
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1528
|
-
attr_reader :ends_at
|
|
1529
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1530
|
-
attr_reader :genre
|
|
1531
|
-
# The name of the event.
|
|
1532
|
-
attr_reader :name
|
|
1533
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1534
|
-
attr_reader :starts_at
|
|
1535
|
-
|
|
1536
|
-
def self.inner_class_types
|
|
1537
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1538
|
-
end
|
|
1539
|
-
|
|
1540
|
-
def self.field_remappings
|
|
1541
|
-
@field_remappings = {}
|
|
1542
|
-
end
|
|
1543
|
-
end
|
|
1544
|
-
|
|
1545
|
-
class Subscription < ::Stripe::StripeObject
|
|
1546
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1547
|
-
# The name of the affiliate that originated the purchase.
|
|
1548
|
-
attr_reader :name
|
|
1549
|
-
|
|
1550
|
-
def self.inner_class_types
|
|
1551
|
-
@inner_class_types = {}
|
|
1552
|
-
end
|
|
1553
|
-
|
|
1554
|
-
def self.field_remappings
|
|
1555
|
-
@field_remappings = {}
|
|
1556
|
-
end
|
|
1557
|
-
end
|
|
1558
|
-
|
|
1559
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
1560
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1561
|
-
attr_reader :count
|
|
1562
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1563
|
-
attr_reader :interval
|
|
1564
|
-
|
|
1565
|
-
def self.inner_class_types
|
|
1566
|
-
@inner_class_types = {}
|
|
1567
|
-
end
|
|
1568
|
-
|
|
1569
|
-
def self.field_remappings
|
|
1570
|
-
@field_remappings = {}
|
|
1571
|
-
end
|
|
1572
|
-
end
|
|
1573
|
-
# Attribute for field affiliate
|
|
1574
|
-
attr_reader :affiliate
|
|
1575
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
1576
|
-
attr_reader :auto_renewal
|
|
1577
|
-
# Attribute for field billing_interval
|
|
1578
|
-
attr_reader :billing_interval
|
|
1579
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1580
|
-
attr_reader :ends_at
|
|
1581
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1582
|
-
attr_reader :name
|
|
1583
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1584
|
-
attr_reader :starts_at
|
|
1585
|
-
|
|
1586
|
-
def self.inner_class_types
|
|
1587
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
1588
|
-
end
|
|
1589
|
-
|
|
1590
|
-
def self.field_remappings
|
|
1591
|
-
@field_remappings = {}
|
|
1592
|
-
end
|
|
1593
|
-
end
|
|
1594
|
-
# Attribute for field benefit
|
|
1595
|
-
attr_reader :benefit
|
|
1596
|
-
# Attribute for field car_rental
|
|
1597
|
-
attr_reader :car_rental
|
|
1598
1205
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1599
1206
|
#
|
|
1600
1207
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1601
1208
|
attr_reader :customer_reference
|
|
1602
|
-
# Attribute for field event_details
|
|
1603
|
-
attr_reader :event_details
|
|
1604
1209
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1605
1210
|
#
|
|
1606
1211
|
# 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`.
|
|
1607
1212
|
#
|
|
1608
1213
|
# 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.
|
|
1609
1214
|
attr_reader :order_reference
|
|
1610
|
-
# Attribute for field subscription
|
|
1611
|
-
attr_reader :subscription
|
|
1612
1215
|
|
|
1613
1216
|
def self.inner_class_types
|
|
1614
|
-
@inner_class_types = {
|
|
1615
|
-
benefit: Benefit,
|
|
1616
|
-
car_rental: CarRental,
|
|
1617
|
-
event_details: EventDetails,
|
|
1618
|
-
subscription: Subscription,
|
|
1619
|
-
}
|
|
1217
|
+
@inner_class_types = {}
|
|
1620
1218
|
end
|
|
1621
1219
|
|
|
1622
1220
|
def self.field_remappings
|
|
@@ -1994,43 +1592,6 @@ module Stripe
|
|
|
1994
1592
|
@field_remappings = {}
|
|
1995
1593
|
end
|
|
1996
1594
|
end
|
|
1997
|
-
|
|
1998
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
1999
|
-
class Address < ::Stripe::StripeObject
|
|
2000
|
-
# City, district, suburb, town, or village.
|
|
2001
|
-
attr_reader :city
|
|
2002
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2003
|
-
attr_reader :country
|
|
2004
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
2005
|
-
attr_reader :line1
|
|
2006
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2007
|
-
attr_reader :line2
|
|
2008
|
-
# ZIP or postal code.
|
|
2009
|
-
attr_reader :postal_code
|
|
2010
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2011
|
-
attr_reader :state
|
|
2012
|
-
|
|
2013
|
-
def self.inner_class_types
|
|
2014
|
-
@inner_class_types = {}
|
|
2015
|
-
end
|
|
2016
|
-
|
|
2017
|
-
def self.field_remappings
|
|
2018
|
-
@field_remappings = {}
|
|
2019
|
-
end
|
|
2020
|
-
end
|
|
2021
|
-
# Attribute for field address
|
|
2022
|
-
attr_reader :address
|
|
2023
|
-
# Phone number
|
|
2024
|
-
attr_reader :phone
|
|
2025
|
-
|
|
2026
|
-
def self.inner_class_types
|
|
2027
|
-
@inner_class_types = { address: Address }
|
|
2028
|
-
end
|
|
2029
|
-
|
|
2030
|
-
def self.field_remappings
|
|
2031
|
-
@field_remappings = {}
|
|
2032
|
-
end
|
|
2033
|
-
end
|
|
2034
1595
|
# Controls when the funds will be captured from the customer's account.
|
|
2035
1596
|
attr_reader :capture_method
|
|
2036
1597
|
# Installment details for this payment.
|
|
@@ -2041,8 +1602,6 @@ module Stripe
|
|
|
2041
1602
|
attr_reader :mandate_options
|
|
2042
1603
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
2043
1604
|
attr_reader :network
|
|
2044
|
-
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
2045
|
-
attr_reader :request_decremental_authorization
|
|
2046
1605
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2047
1606
|
attr_reader :request_extended_authorization
|
|
2048
1607
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2051,8 +1610,6 @@ module Stripe
|
|
|
2051
1610
|
attr_reader :request_multicapture
|
|
2052
1611
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
2053
1612
|
attr_reader :request_overcapture
|
|
2054
|
-
# Request partial authorization on this PaymentIntent.
|
|
2055
|
-
attr_reader :request_partial_authorization
|
|
2056
1613
|
# 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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2057
1614
|
attr_reader :request_three_d_secure
|
|
2058
1615
|
# 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).
|
|
@@ -2069,15 +1626,9 @@ module Stripe
|
|
|
2069
1626
|
attr_reader :statement_descriptor_suffix_kana
|
|
2070
1627
|
# 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.
|
|
2071
1628
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2072
|
-
# Attribute for field statement_details
|
|
2073
|
-
attr_reader :statement_details
|
|
2074
1629
|
|
|
2075
1630
|
def self.inner_class_types
|
|
2076
|
-
@inner_class_types = {
|
|
2077
|
-
installments: Installments,
|
|
2078
|
-
mandate_options: MandateOptions,
|
|
2079
|
-
statement_details: StatementDetails,
|
|
2080
|
-
}
|
|
1631
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
2081
1632
|
end
|
|
2082
1633
|
|
|
2083
1634
|
def self.field_remappings
|
|
@@ -2266,25 +1817,6 @@ module Stripe
|
|
|
2266
1817
|
end
|
|
2267
1818
|
end
|
|
2268
1819
|
|
|
2269
|
-
class Gopay < ::Stripe::StripeObject
|
|
2270
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2271
|
-
#
|
|
2272
|
-
# 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.
|
|
2273
|
-
#
|
|
2274
|
-
# 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.
|
|
2275
|
-
#
|
|
2276
|
-
# 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).
|
|
2277
|
-
attr_reader :setup_future_usage
|
|
2278
|
-
|
|
2279
|
-
def self.inner_class_types
|
|
2280
|
-
@inner_class_types = {}
|
|
2281
|
-
end
|
|
2282
|
-
|
|
2283
|
-
def self.field_remappings
|
|
2284
|
-
@field_remappings = {}
|
|
2285
|
-
end
|
|
2286
|
-
end
|
|
2287
|
-
|
|
2288
1820
|
class Grabpay < ::Stripe::StripeObject
|
|
2289
1821
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2290
1822
|
#
|
|
@@ -2304,29 +1836,6 @@ module Stripe
|
|
|
2304
1836
|
end
|
|
2305
1837
|
end
|
|
2306
1838
|
|
|
2307
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
2308
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2309
|
-
attr_reader :expires_after
|
|
2310
|
-
# 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.
|
|
2311
|
-
attr_reader :expires_at
|
|
2312
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2313
|
-
#
|
|
2314
|
-
# 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.
|
|
2315
|
-
#
|
|
2316
|
-
# 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.
|
|
2317
|
-
#
|
|
2318
|
-
# 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).
|
|
2319
|
-
attr_reader :setup_future_usage
|
|
2320
|
-
|
|
2321
|
-
def self.inner_class_types
|
|
2322
|
-
@inner_class_types = {}
|
|
2323
|
-
end
|
|
2324
|
-
|
|
2325
|
-
def self.field_remappings
|
|
2326
|
-
@field_remappings = {}
|
|
2327
|
-
end
|
|
2328
|
-
end
|
|
2329
|
-
|
|
2330
1839
|
class Ideal < ::Stripe::StripeObject
|
|
2331
1840
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2332
1841
|
#
|
|
@@ -2655,56 +2164,12 @@ module Stripe
|
|
|
2655
2164
|
end
|
|
2656
2165
|
|
|
2657
2166
|
class Paypal < ::Stripe::StripeObject
|
|
2658
|
-
class LineItem < ::Stripe::StripeObject
|
|
2659
|
-
class Tax < ::Stripe::StripeObject
|
|
2660
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2661
|
-
attr_reader :amount
|
|
2662
|
-
# The tax behavior for the line item.
|
|
2663
|
-
attr_reader :behavior
|
|
2664
|
-
|
|
2665
|
-
def self.inner_class_types
|
|
2666
|
-
@inner_class_types = {}
|
|
2667
|
-
end
|
|
2668
|
-
|
|
2669
|
-
def self.field_remappings
|
|
2670
|
-
@field_remappings = {}
|
|
2671
|
-
end
|
|
2672
|
-
end
|
|
2673
|
-
# Type of the line item.
|
|
2674
|
-
attr_reader :category
|
|
2675
|
-
# Description of the line item.
|
|
2676
|
-
attr_reader :description
|
|
2677
|
-
# Descriptive name of the line item.
|
|
2678
|
-
attr_reader :name
|
|
2679
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
2680
|
-
attr_reader :quantity
|
|
2681
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2682
|
-
attr_reader :sku
|
|
2683
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
2684
|
-
attr_reader :sold_by
|
|
2685
|
-
# Attribute for field tax
|
|
2686
|
-
attr_reader :tax
|
|
2687
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2688
|
-
attr_reader :unit_amount
|
|
2689
|
-
|
|
2690
|
-
def self.inner_class_types
|
|
2691
|
-
@inner_class_types = { tax: Tax }
|
|
2692
|
-
end
|
|
2693
|
-
|
|
2694
|
-
def self.field_remappings
|
|
2695
|
-
@field_remappings = {}
|
|
2696
|
-
end
|
|
2697
|
-
end
|
|
2698
2167
|
# Controls when the funds will be captured from the customer's account.
|
|
2699
2168
|
attr_reader :capture_method
|
|
2700
|
-
# The line items purchased by the customer.
|
|
2701
|
-
attr_reader :line_items
|
|
2702
2169
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2703
2170
|
attr_reader :preferred_locale
|
|
2704
2171
|
# 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.
|
|
2705
2172
|
attr_reader :reference
|
|
2706
|
-
# 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.
|
|
2707
|
-
attr_reader :reference_id
|
|
2708
2173
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2709
2174
|
#
|
|
2710
2175
|
# 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.
|
|
@@ -2713,19 +2178,7 @@ module Stripe
|
|
|
2713
2178
|
#
|
|
2714
2179
|
# 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).
|
|
2715
2180
|
attr_reader :setup_future_usage
|
|
2716
|
-
# 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.
|
|
2717
|
-
attr_reader :subsellers
|
|
2718
2181
|
|
|
2719
|
-
def self.inner_class_types
|
|
2720
|
-
@inner_class_types = { line_items: LineItem }
|
|
2721
|
-
end
|
|
2722
|
-
|
|
2723
|
-
def self.field_remappings
|
|
2724
|
-
@field_remappings = {}
|
|
2725
|
-
end
|
|
2726
|
-
end
|
|
2727
|
-
|
|
2728
|
-
class Paypay < ::Stripe::StripeObject
|
|
2729
2182
|
def self.inner_class_types
|
|
2730
2183
|
@inner_class_types = {}
|
|
2731
2184
|
end
|
|
@@ -2779,59 +2232,12 @@ module Stripe
|
|
|
2779
2232
|
end
|
|
2780
2233
|
|
|
2781
2234
|
class Pix < ::Stripe::StripeObject
|
|
2782
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
2783
|
-
# Amount to be charged for future payments.
|
|
2784
|
-
attr_reader :amount
|
|
2785
|
-
# Determines if the amount includes the IOF tax.
|
|
2786
|
-
attr_reader :amount_includes_iof
|
|
2787
|
-
# Type of amount.
|
|
2788
|
-
attr_reader :amount_type
|
|
2789
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
2790
|
-
attr_reader :currency
|
|
2791
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
2792
|
-
attr_reader :end_date
|
|
2793
|
-
# Schedule at which the future payments will be charged.
|
|
2794
|
-
attr_reader :payment_schedule
|
|
2795
|
-
# Subscription name displayed to buyers in their bank app.
|
|
2796
|
-
attr_reader :reference
|
|
2797
|
-
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
2798
|
-
attr_reader :start_date
|
|
2799
|
-
|
|
2800
|
-
def self.inner_class_types
|
|
2801
|
-
@inner_class_types = {}
|
|
2802
|
-
end
|
|
2803
|
-
|
|
2804
|
-
def self.field_remappings
|
|
2805
|
-
@field_remappings = {}
|
|
2806
|
-
end
|
|
2807
|
-
end
|
|
2808
2235
|
# Determines if the amount includes the IOF tax.
|
|
2809
2236
|
attr_reader :amount_includes_iof
|
|
2810
2237
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
2811
2238
|
attr_reader :expires_after_seconds
|
|
2812
2239
|
# The timestamp at which the Pix expires.
|
|
2813
2240
|
attr_reader :expires_at
|
|
2814
|
-
# Attribute for field mandate_options
|
|
2815
|
-
attr_reader :mandate_options
|
|
2816
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2817
|
-
#
|
|
2818
|
-
# 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.
|
|
2819
|
-
#
|
|
2820
|
-
# 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.
|
|
2821
|
-
#
|
|
2822
|
-
# 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).
|
|
2823
|
-
attr_reader :setup_future_usage
|
|
2824
|
-
|
|
2825
|
-
def self.inner_class_types
|
|
2826
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
2827
|
-
end
|
|
2828
|
-
|
|
2829
|
-
def self.field_remappings
|
|
2830
|
-
@field_remappings = {}
|
|
2831
|
-
end
|
|
2832
|
-
end
|
|
2833
|
-
|
|
2834
|
-
class Promptpay < ::Stripe::StripeObject
|
|
2835
2241
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2836
2242
|
#
|
|
2837
2243
|
# 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.
|
|
@@ -2850,7 +2256,7 @@ module Stripe
|
|
|
2850
2256
|
end
|
|
2851
2257
|
end
|
|
2852
2258
|
|
|
2853
|
-
class
|
|
2259
|
+
class Promptpay < ::Stripe::StripeObject
|
|
2854
2260
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2855
2261
|
#
|
|
2856
2262
|
# 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.
|
|
@@ -2869,16 +2275,6 @@ module Stripe
|
|
|
2869
2275
|
end
|
|
2870
2276
|
end
|
|
2871
2277
|
|
|
2872
|
-
class Rechnung < ::Stripe::StripeObject
|
|
2873
|
-
def self.inner_class_types
|
|
2874
|
-
@inner_class_types = {}
|
|
2875
|
-
end
|
|
2876
|
-
|
|
2877
|
-
def self.field_remappings
|
|
2878
|
-
@field_remappings = {}
|
|
2879
|
-
end
|
|
2880
|
-
end
|
|
2881
|
-
|
|
2882
2278
|
class RevolutPay < ::Stripe::StripeObject
|
|
2883
2279
|
# Controls when the funds will be captured from the customer's account.
|
|
2884
2280
|
attr_reader :capture_method
|
|
@@ -2961,25 +2357,6 @@ module Stripe
|
|
|
2961
2357
|
end
|
|
2962
2358
|
end
|
|
2963
2359
|
|
|
2964
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
2965
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2966
|
-
#
|
|
2967
|
-
# 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.
|
|
2968
|
-
#
|
|
2969
|
-
# 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.
|
|
2970
|
-
#
|
|
2971
|
-
# 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).
|
|
2972
|
-
attr_reader :setup_future_usage
|
|
2973
|
-
|
|
2974
|
-
def self.inner_class_types
|
|
2975
|
-
@inner_class_types = {}
|
|
2976
|
-
end
|
|
2977
|
-
|
|
2978
|
-
def self.field_remappings
|
|
2979
|
-
@field_remappings = {}
|
|
2980
|
-
end
|
|
2981
|
-
end
|
|
2982
|
-
|
|
2983
2360
|
class Sofort < ::Stripe::StripeObject
|
|
2984
2361
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2985
2362
|
attr_reader :preferred_language
|
|
@@ -3001,25 +2378,6 @@ module Stripe
|
|
|
3001
2378
|
end
|
|
3002
2379
|
end
|
|
3003
2380
|
|
|
3004
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
3005
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3006
|
-
#
|
|
3007
|
-
# 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.
|
|
3008
|
-
#
|
|
3009
|
-
# 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.
|
|
3010
|
-
#
|
|
3011
|
-
# 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).
|
|
3012
|
-
attr_reader :setup_future_usage
|
|
3013
|
-
|
|
3014
|
-
def self.inner_class_types
|
|
3015
|
-
@inner_class_types = {}
|
|
3016
|
-
end
|
|
3017
|
-
|
|
3018
|
-
def self.field_remappings
|
|
3019
|
-
@field_remappings = {}
|
|
3020
|
-
end
|
|
3021
|
-
end
|
|
3022
|
-
|
|
3023
2381
|
class Swish < ::Stripe::StripeObject
|
|
3024
2382
|
# A reference for this payment to be displayed in the Swish app.
|
|
3025
2383
|
attr_reader :reference
|
|
@@ -3065,21 +2423,6 @@ module Stripe
|
|
|
3065
2423
|
class Filters < ::Stripe::StripeObject
|
|
3066
2424
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3067
2425
|
attr_reader :account_subcategories
|
|
3068
|
-
# The institution to use to filter for possible accounts to link.
|
|
3069
|
-
attr_reader :institution
|
|
3070
|
-
|
|
3071
|
-
def self.inner_class_types
|
|
3072
|
-
@inner_class_types = {}
|
|
3073
|
-
end
|
|
3074
|
-
|
|
3075
|
-
def self.field_remappings
|
|
3076
|
-
@field_remappings = {}
|
|
3077
|
-
end
|
|
3078
|
-
end
|
|
3079
|
-
|
|
3080
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
3081
|
-
# Settings for configuring manual entry of account details.
|
|
3082
|
-
attr_reader :mode
|
|
3083
2426
|
|
|
3084
2427
|
def self.inner_class_types
|
|
3085
2428
|
@inner_class_types = {}
|
|
@@ -3091,8 +2434,6 @@ module Stripe
|
|
|
3091
2434
|
end
|
|
3092
2435
|
# Attribute for field filters
|
|
3093
2436
|
attr_reader :filters
|
|
3094
|
-
# Attribute for field manual_entry
|
|
3095
|
-
attr_reader :manual_entry
|
|
3096
2437
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
3097
2438
|
attr_reader :permissions
|
|
3098
2439
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -3101,7 +2442,7 @@ module Stripe
|
|
|
3101
2442
|
attr_reader :return_url
|
|
3102
2443
|
|
|
3103
2444
|
def self.inner_class_types
|
|
3104
|
-
@inner_class_types = { filters: Filters
|
|
2445
|
+
@inner_class_types = { filters: Filters }
|
|
3105
2446
|
end
|
|
3106
2447
|
|
|
3107
2448
|
def self.field_remappings
|
|
@@ -3125,8 +2466,6 @@ module Stripe
|
|
|
3125
2466
|
attr_reader :financial_connections
|
|
3126
2467
|
# Attribute for field mandate_options
|
|
3127
2468
|
attr_reader :mandate_options
|
|
3128
|
-
# Preferred transaction settlement speed
|
|
3129
|
-
attr_reader :preferred_settlement_speed
|
|
3130
2469
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3131
2470
|
#
|
|
3132
2471
|
# 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.
|
|
@@ -3139,6 +2478,8 @@ module Stripe
|
|
|
3139
2478
|
attr_reader :target_date
|
|
3140
2479
|
# Bank account verification method.
|
|
3141
2480
|
attr_reader :verification_method
|
|
2481
|
+
# Preferred transaction settlement speed
|
|
2482
|
+
attr_reader :preferred_settlement_speed
|
|
3142
2483
|
|
|
3143
2484
|
def self.inner_class_types
|
|
3144
2485
|
@inner_class_types = {
|
|
@@ -3233,12 +2574,8 @@ module Stripe
|
|
|
3233
2574
|
attr_reader :fpx
|
|
3234
2575
|
# Attribute for field giropay
|
|
3235
2576
|
attr_reader :giropay
|
|
3236
|
-
# Attribute for field gopay
|
|
3237
|
-
attr_reader :gopay
|
|
3238
2577
|
# Attribute for field grabpay
|
|
3239
2578
|
attr_reader :grabpay
|
|
3240
|
-
# Attribute for field id_bank_transfer
|
|
3241
|
-
attr_reader :id_bank_transfer
|
|
3242
2579
|
# Attribute for field ideal
|
|
3243
2580
|
attr_reader :ideal
|
|
3244
2581
|
# Attribute for field interac_present
|
|
@@ -3275,18 +2612,12 @@ module Stripe
|
|
|
3275
2612
|
attr_reader :paynow
|
|
3276
2613
|
# Attribute for field paypal
|
|
3277
2614
|
attr_reader :paypal
|
|
3278
|
-
# Attribute for field paypay
|
|
3279
|
-
attr_reader :paypay
|
|
3280
2615
|
# Attribute for field payto
|
|
3281
2616
|
attr_reader :payto
|
|
3282
2617
|
# Attribute for field pix
|
|
3283
2618
|
attr_reader :pix
|
|
3284
2619
|
# Attribute for field promptpay
|
|
3285
2620
|
attr_reader :promptpay
|
|
3286
|
-
# Attribute for field qris
|
|
3287
|
-
attr_reader :qris
|
|
3288
|
-
# Attribute for field rechnung
|
|
3289
|
-
attr_reader :rechnung
|
|
3290
2621
|
# Attribute for field revolut_pay
|
|
3291
2622
|
attr_reader :revolut_pay
|
|
3292
2623
|
# Attribute for field samsung_pay
|
|
@@ -3295,12 +2626,8 @@ module Stripe
|
|
|
3295
2626
|
attr_reader :satispay
|
|
3296
2627
|
# Attribute for field sepa_debit
|
|
3297
2628
|
attr_reader :sepa_debit
|
|
3298
|
-
# Attribute for field shopeepay
|
|
3299
|
-
attr_reader :shopeepay
|
|
3300
2629
|
# Attribute for field sofort
|
|
3301
2630
|
attr_reader :sofort
|
|
3302
|
-
# Attribute for field stripe_balance
|
|
3303
|
-
attr_reader :stripe_balance
|
|
3304
2631
|
# Attribute for field swish
|
|
3305
2632
|
attr_reader :swish
|
|
3306
2633
|
# Attribute for field twint
|
|
@@ -3334,9 +2661,7 @@ module Stripe
|
|
|
3334
2661
|
eps: Eps,
|
|
3335
2662
|
fpx: Fpx,
|
|
3336
2663
|
giropay: Giropay,
|
|
3337
|
-
gopay: Gopay,
|
|
3338
2664
|
grabpay: Grabpay,
|
|
3339
|
-
id_bank_transfer: IdBankTransfer,
|
|
3340
2665
|
ideal: Ideal,
|
|
3341
2666
|
interac_present: InteracPresent,
|
|
3342
2667
|
kakao_pay: KakaoPay,
|
|
@@ -3355,19 +2680,14 @@ module Stripe
|
|
|
3355
2680
|
payco: Payco,
|
|
3356
2681
|
paynow: Paynow,
|
|
3357
2682
|
paypal: Paypal,
|
|
3358
|
-
paypay: Paypay,
|
|
3359
2683
|
payto: Payto,
|
|
3360
2684
|
pix: Pix,
|
|
3361
2685
|
promptpay: Promptpay,
|
|
3362
|
-
qris: Qris,
|
|
3363
|
-
rechnung: Rechnung,
|
|
3364
2686
|
revolut_pay: RevolutPay,
|
|
3365
2687
|
samsung_pay: SamsungPay,
|
|
3366
2688
|
satispay: Satispay,
|
|
3367
2689
|
sepa_debit: SepaDebit,
|
|
3368
|
-
shopeepay: Shopeepay,
|
|
3369
2690
|
sofort: Sofort,
|
|
3370
|
-
stripe_balance: StripeBalance,
|
|
3371
2691
|
swish: Swish,
|
|
3372
2692
|
twint: Twint,
|
|
3373
2693
|
us_bank_account: UsBankAccount,
|
|
@@ -3381,19 +2701,6 @@ module Stripe
|
|
|
3381
2701
|
end
|
|
3382
2702
|
end
|
|
3383
2703
|
|
|
3384
|
-
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
3385
|
-
# Whether this feature is enabled.
|
|
3386
|
-
attr_reader :enabled
|
|
3387
|
-
|
|
3388
|
-
def self.inner_class_types
|
|
3389
|
-
@inner_class_types = {}
|
|
3390
|
-
end
|
|
3391
|
-
|
|
3392
|
-
def self.field_remappings
|
|
3393
|
-
@field_remappings = {}
|
|
3394
|
-
end
|
|
3395
|
-
end
|
|
3396
|
-
|
|
3397
2704
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
3398
2705
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
3399
2706
|
attr_reader :presentment_amount
|
|
@@ -3509,8 +2816,6 @@ module Stripe
|
|
|
3509
2816
|
@field_remappings = {}
|
|
3510
2817
|
end
|
|
3511
2818
|
end
|
|
3512
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
3513
|
-
attr_reader :allocated_funds
|
|
3514
2819
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
3515
2820
|
attr_reader :amount
|
|
3516
2821
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3523,8 +2828,6 @@ module Stripe
|
|
|
3523
2828
|
attr_reader :application
|
|
3524
2829
|
# 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://docs.stripe.com/payments/connected-accounts).
|
|
3525
2830
|
attr_reader :application_fee_amount
|
|
3526
|
-
# Attribute for field async_workflows
|
|
3527
|
-
attr_reader :async_workflows
|
|
3528
2831
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3529
2832
|
attr_reader :automatic_payment_methods
|
|
3530
2833
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -3561,8 +2864,6 @@ module Stripe
|
|
|
3561
2864
|
attr_reader :description
|
|
3562
2865
|
# The list of payment method types to exclude from use with this payment.
|
|
3563
2866
|
attr_reader :excluded_payment_method_types
|
|
3564
|
-
# The FX Quote used for the PaymentIntent.
|
|
3565
|
-
attr_reader :fx_quote
|
|
3566
2867
|
# Attribute for field hooks
|
|
3567
2868
|
attr_reader :hooks
|
|
3568
2869
|
# Unique identifier for the object.
|
|
@@ -3592,8 +2893,6 @@ module Stripe
|
|
|
3592
2893
|
attr_reader :payment_method_options
|
|
3593
2894
|
# The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
3594
2895
|
attr_reader :payment_method_types
|
|
3595
|
-
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
3596
|
-
attr_reader :payments_orchestration
|
|
3597
2896
|
# Attribute for field presentment_details
|
|
3598
2897
|
attr_reader :presentment_details
|
|
3599
2898
|
# If present, this property tells you about the processing state of the payment.
|
|
@@ -3602,8 +2901,6 @@ module Stripe
|
|
|
3602
2901
|
attr_reader :receipt_email
|
|
3603
2902
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3604
2903
|
attr_reader :review
|
|
3605
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3606
|
-
attr_reader :secret_key_confirmation
|
|
3607
2904
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3608
2905
|
#
|
|
3609
2906
|
# 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.
|
|
@@ -3628,8 +2925,6 @@ module Stripe
|
|
|
3628
2925
|
attr_reader :transfer_data
|
|
3629
2926
|
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3630
2927
|
attr_reader :transfer_group
|
|
3631
|
-
# ID of the shared payment token granted to be used in this PaymentIntent
|
|
3632
|
-
attr_reader :shared_payment_granted_token
|
|
3633
2928
|
|
|
3634
2929
|
# Manually reconcile the remaining amount for a customer_balance PaymentIntent.
|
|
3635
2930
|
def apply_customer_balance(params = {}, opts = {})
|
|
@@ -3799,56 +3094,6 @@ module Stripe
|
|
|
3799
3094
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3800
3095
|
end
|
|
3801
3096
|
|
|
3802
|
-
# Perform a decremental authorization on an eligible
|
|
3803
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3804
|
-
# PaymentIntent's status must be requires_capture and
|
|
3805
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3806
|
-
# must be available.
|
|
3807
|
-
#
|
|
3808
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3809
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3810
|
-
#
|
|
3811
|
-
# After decrement, the PaymentIntent object
|
|
3812
|
-
# returns with the updated
|
|
3813
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3814
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3815
|
-
#
|
|
3816
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3817
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3818
|
-
def decrement_authorization(params = {}, opts = {})
|
|
3819
|
-
request_stripe_object(
|
|
3820
|
-
method: :post,
|
|
3821
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
3822
|
-
params: params,
|
|
3823
|
-
opts: opts
|
|
3824
|
-
)
|
|
3825
|
-
end
|
|
3826
|
-
|
|
3827
|
-
# Perform a decremental authorization on an eligible
|
|
3828
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3829
|
-
# PaymentIntent's status must be requires_capture and
|
|
3830
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3831
|
-
# must be available.
|
|
3832
|
-
#
|
|
3833
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3834
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3835
|
-
#
|
|
3836
|
-
# After decrement, the PaymentIntent object
|
|
3837
|
-
# returns with the updated
|
|
3838
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3839
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3840
|
-
#
|
|
3841
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3842
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3843
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
3844
|
-
request_stripe_object(
|
|
3845
|
-
method: :post,
|
|
3846
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
3847
|
-
params: params,
|
|
3848
|
-
opts: opts
|
|
3849
|
-
)
|
|
3850
|
-
end
|
|
3851
|
-
|
|
3852
3097
|
# Perform an incremental authorization on an eligible
|
|
3853
3098
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3854
3099
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3933,26 +3178,6 @@ module Stripe
|
|
|
3933
3178
|
search(params, opts).auto_paging_each(&blk)
|
|
3934
3179
|
end
|
|
3935
3180
|
|
|
3936
|
-
# Trigger an external action on a PaymentIntent.
|
|
3937
|
-
def trigger_action(params = {}, opts = {})
|
|
3938
|
-
request_stripe_object(
|
|
3939
|
-
method: :post,
|
|
3940
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
3941
|
-
params: params,
|
|
3942
|
-
opts: opts
|
|
3943
|
-
)
|
|
3944
|
-
end
|
|
3945
|
-
|
|
3946
|
-
# Trigger an external action on a PaymentIntent.
|
|
3947
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
3948
|
-
request_stripe_object(
|
|
3949
|
-
method: :post,
|
|
3950
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
3951
|
-
params: params,
|
|
3952
|
-
opts: opts
|
|
3953
|
-
)
|
|
3954
|
-
end
|
|
3955
|
-
|
|
3956
3181
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3957
3182
|
#
|
|
3958
3183
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3991,9 +3216,7 @@ module Stripe
|
|
|
3991
3216
|
|
|
3992
3217
|
def self.inner_class_types
|
|
3993
3218
|
@inner_class_types = {
|
|
3994
|
-
allocated_funds: AllocatedFunds,
|
|
3995
3219
|
amount_details: AmountDetails,
|
|
3996
|
-
async_workflows: AsyncWorkflows,
|
|
3997
3220
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3998
3221
|
hooks: Hooks,
|
|
3999
3222
|
last_payment_error: LastPaymentError,
|
|
@@ -4001,7 +3224,6 @@ module Stripe
|
|
|
4001
3224
|
payment_details: PaymentDetails,
|
|
4002
3225
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
4003
3226
|
payment_method_options: PaymentMethodOptions,
|
|
4004
|
-
payments_orchestration: PaymentsOrchestration,
|
|
4005
3227
|
presentment_details: PresentmentDetails,
|
|
4006
3228
|
processing: Processing,
|
|
4007
3229
|
shipping: Shipping,
|