stripe 16.1.0.pre.beta.1 → 17.0.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 +3 -35
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/object_types.rb +0 -58
- data/lib/stripe/params/account_create_params.rb +1 -300
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +0 -262
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -709
- data/lib/stripe/params/charge_update_params.rb +0 -709
- data/lib/stripe/params/checkout/session_create_params.rb +3 -193
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_session_create_params.rb +1 -4
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
- data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
- data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params.rb +0 -169
- data/lib/stripe/request_options.rb +1 -3
- data/lib/stripe/resources/account.rb +1 -166
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_grant.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -234
- data/lib/stripe/resources/checkout/session.rb +4 -154
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -2
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +1 -152
- data/lib/stripe/resources/invoice_item.rb +0 -4
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/invoice_payment.rb +0 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_intent.rb +4 -848
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources.rb +0 -116
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -44
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -10
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -61
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +2 -9
- data/lib/stripe/stripe_object.rb +15 -9
- data/lib/stripe/util.rb +3 -9
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +98094 -162674
- metadata +5 -351
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/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/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
- 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_record_report_payment_attempt_canceled_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
- data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
- data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- 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 -75
- 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/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/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/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_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_create_params.rb +0 -33
- 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_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
- 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 -77
- 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/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/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/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
- data/lib/stripe/resources/payment_record.rb +0 -2208
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- 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/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3851
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- 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 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/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/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
- data/lib/stripe/services/payment_record_service.rb +0 -89
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/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 -31
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -3,184 +3,6 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
class PaymentIntentConfirmParams < Stripe::RequestParams
|
6
|
-
class AmountDetails < Stripe::RequestParams
|
7
|
-
class LineItem < Stripe::RequestParams
|
8
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
9
|
-
class Card < Stripe::RequestParams
|
10
|
-
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
11
|
-
attr_accessor :commodity_code
|
12
|
-
|
13
|
-
def initialize(commodity_code: nil)
|
14
|
-
@commodity_code = commodity_code
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
class CardPresent < Stripe::RequestParams
|
19
|
-
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
20
|
-
attr_accessor :commodity_code
|
21
|
-
|
22
|
-
def initialize(commodity_code: nil)
|
23
|
-
@commodity_code = commodity_code
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
class Klarna < Stripe::RequestParams
|
28
|
-
# URL to an image for the product. Max length, 4096 characters.
|
29
|
-
attr_accessor :image_url
|
30
|
-
# URL to the product page. Max length, 4096 characters.
|
31
|
-
attr_accessor :product_url
|
32
|
-
# Reference for the subscription this line item is for.
|
33
|
-
attr_accessor :subscription_reference
|
34
|
-
|
35
|
-
def initialize(image_url: nil, product_url: nil, subscription_reference: nil)
|
36
|
-
@image_url = image_url
|
37
|
-
@product_url = product_url
|
38
|
-
@subscription_reference = subscription_reference
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
class Paypal < Stripe::RequestParams
|
43
|
-
# Type of the line item.
|
44
|
-
attr_accessor :category
|
45
|
-
# Description of the line item.
|
46
|
-
attr_accessor :description
|
47
|
-
# The Stripe account ID of the connected account that sells the item.
|
48
|
-
attr_accessor :sold_by
|
49
|
-
|
50
|
-
def initialize(category: nil, description: nil, sold_by: nil)
|
51
|
-
@category = category
|
52
|
-
@description = description
|
53
|
-
@sold_by = sold_by
|
54
|
-
end
|
55
|
-
end
|
56
|
-
# This sub-hash contains line item details that are specific to `card` payment method."
|
57
|
-
attr_accessor :card
|
58
|
-
# This sub-hash contains line item details that are specific to `card_present` payment method."
|
59
|
-
attr_accessor :card_present
|
60
|
-
# This sub-hash contains line item details that are specific to `klarna` payment method."
|
61
|
-
attr_accessor :klarna
|
62
|
-
# This sub-hash contains line item details that are specific to `paypal` payment method."
|
63
|
-
attr_accessor :paypal
|
64
|
-
|
65
|
-
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
66
|
-
@card = card
|
67
|
-
@card_present = card_present
|
68
|
-
@klarna = klarna
|
69
|
-
@paypal = paypal
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
class Tax < Stripe::RequestParams
|
74
|
-
# The total tax on an item. Non-negative integer.
|
75
|
-
attr_accessor :total_tax_amount
|
76
|
-
|
77
|
-
def initialize(total_tax_amount: nil)
|
78
|
-
@total_tax_amount = total_tax_amount
|
79
|
-
end
|
80
|
-
end
|
81
|
-
# The amount an item was discounted for. Positive integer.
|
82
|
-
attr_accessor :discount_amount
|
83
|
-
# Payment method-specific information for line items.
|
84
|
-
attr_accessor :payment_method_options
|
85
|
-
# Unique identifier of the product. At most 12 characters long.
|
86
|
-
attr_accessor :product_code
|
87
|
-
# Name of the product. At most 100 characters long.
|
88
|
-
attr_accessor :product_name
|
89
|
-
# Number of items of the product. Positive integer.
|
90
|
-
attr_accessor :quantity
|
91
|
-
# Contains information about the tax on the item.
|
92
|
-
attr_accessor :tax
|
93
|
-
# Cost of the product. Non-negative integer.
|
94
|
-
attr_accessor :unit_cost
|
95
|
-
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
96
|
-
attr_accessor :unit_of_measure
|
97
|
-
|
98
|
-
def initialize(
|
99
|
-
discount_amount: nil,
|
100
|
-
payment_method_options: nil,
|
101
|
-
product_code: nil,
|
102
|
-
product_name: nil,
|
103
|
-
quantity: nil,
|
104
|
-
tax: nil,
|
105
|
-
unit_cost: nil,
|
106
|
-
unit_of_measure: nil
|
107
|
-
)
|
108
|
-
@discount_amount = discount_amount
|
109
|
-
@payment_method_options = payment_method_options
|
110
|
-
@product_code = product_code
|
111
|
-
@product_name = product_name
|
112
|
-
@quantity = quantity
|
113
|
-
@tax = tax
|
114
|
-
@unit_cost = unit_cost
|
115
|
-
@unit_of_measure = unit_of_measure
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
class Shipping < Stripe::RequestParams
|
120
|
-
# Portion of the amount that is for shipping.
|
121
|
-
attr_accessor :amount
|
122
|
-
# The postal code that represents the shipping source.
|
123
|
-
attr_accessor :from_postal_code
|
124
|
-
# The postal code that represents the shipping destination.
|
125
|
-
attr_accessor :to_postal_code
|
126
|
-
|
127
|
-
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
128
|
-
@amount = amount
|
129
|
-
@from_postal_code = from_postal_code
|
130
|
-
@to_postal_code = to_postal_code
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
class Tax < Stripe::RequestParams
|
135
|
-
# Total portion of the amount that is for tax.
|
136
|
-
attr_accessor :total_tax_amount
|
137
|
-
|
138
|
-
def initialize(total_tax_amount: nil)
|
139
|
-
@total_tax_amount = total_tax_amount
|
140
|
-
end
|
141
|
-
end
|
142
|
-
# The total discount applied on the transaction.
|
143
|
-
attr_accessor :discount_amount
|
144
|
-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
145
|
-
attr_accessor :line_items
|
146
|
-
# Contains information about the shipping portion of the amount.
|
147
|
-
attr_accessor :shipping
|
148
|
-
# Contains information about the tax portion of the amount.
|
149
|
-
attr_accessor :tax
|
150
|
-
|
151
|
-
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
152
|
-
@discount_amount = discount_amount
|
153
|
-
@line_items = line_items
|
154
|
-
@shipping = shipping
|
155
|
-
@tax = tax
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
class Hooks < Stripe::RequestParams
|
160
|
-
class Inputs < Stripe::RequestParams
|
161
|
-
class Tax < Stripe::RequestParams
|
162
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
163
|
-
attr_accessor :calculation
|
164
|
-
|
165
|
-
def initialize(calculation: nil)
|
166
|
-
@calculation = calculation
|
167
|
-
end
|
168
|
-
end
|
169
|
-
# Tax arguments for automations
|
170
|
-
attr_accessor :tax
|
171
|
-
|
172
|
-
def initialize(tax: nil)
|
173
|
-
@tax = tax
|
174
|
-
end
|
175
|
-
end
|
176
|
-
# Arguments passed in automations
|
177
|
-
attr_accessor :inputs
|
178
|
-
|
179
|
-
def initialize(inputs: nil)
|
180
|
-
@inputs = inputs
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
6
|
class MandateData < Stripe::RequestParams
|
185
7
|
class CustomerAcceptance < Stripe::RequestParams
|
186
8
|
class Offline < Stripe::RequestParams; end
|
@@ -199,729 +21,24 @@ module Stripe
|
|
199
21
|
# The time at which the customer accepted the Mandate.
|
200
22
|
attr_accessor :accepted_at
|
201
23
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
202
|
-
attr_accessor :offline
|
203
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
204
|
-
attr_accessor :online
|
205
|
-
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
206
|
-
attr_accessor :type
|
207
|
-
|
208
|
-
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
209
|
-
@accepted_at = accepted_at
|
210
|
-
@offline = offline
|
211
|
-
@online = online
|
212
|
-
@type = type
|
213
|
-
end
|
214
|
-
end
|
215
|
-
# This hash contains details about the customer acceptance of the Mandate.
|
216
|
-
attr_accessor :customer_acceptance
|
217
|
-
|
218
|
-
def initialize(customer_acceptance: nil)
|
219
|
-
@customer_acceptance = customer_acceptance
|
220
|
-
end
|
221
|
-
end
|
222
|
-
|
223
|
-
class PaymentDetails < Stripe::RequestParams
|
224
|
-
class CarRental < Stripe::RequestParams
|
225
|
-
class Affiliate < Stripe::RequestParams
|
226
|
-
# The name of the affiliate that originated the purchase.
|
227
|
-
attr_accessor :name
|
228
|
-
|
229
|
-
def initialize(name: nil)
|
230
|
-
@name = name
|
231
|
-
end
|
232
|
-
end
|
233
|
-
|
234
|
-
class Delivery < Stripe::RequestParams
|
235
|
-
class Recipient < Stripe::RequestParams
|
236
|
-
# The email of the recipient the ticket is delivered to.
|
237
|
-
attr_accessor :email
|
238
|
-
# The name of the recipient the ticket is delivered to.
|
239
|
-
attr_accessor :name
|
240
|
-
# The phone number of the recipient the ticket is delivered to.
|
241
|
-
attr_accessor :phone
|
242
|
-
|
243
|
-
def initialize(email: nil, name: nil, phone: nil)
|
244
|
-
@email = email
|
245
|
-
@name = name
|
246
|
-
@phone = phone
|
247
|
-
end
|
248
|
-
end
|
249
|
-
# The delivery method for the payment
|
250
|
-
attr_accessor :mode
|
251
|
-
# Details of the recipient.
|
252
|
-
attr_accessor :recipient
|
253
|
-
|
254
|
-
def initialize(mode: nil, recipient: nil)
|
255
|
-
@mode = mode
|
256
|
-
@recipient = recipient
|
257
|
-
end
|
258
|
-
end
|
259
|
-
|
260
|
-
class Distance < Stripe::RequestParams
|
261
|
-
# Distance traveled.
|
262
|
-
attr_accessor :amount
|
263
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
264
|
-
attr_accessor :unit
|
265
|
-
|
266
|
-
def initialize(amount: nil, unit: nil)
|
267
|
-
@amount = amount
|
268
|
-
@unit = unit
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
class Driver < Stripe::RequestParams
|
273
|
-
# Driver's identification number.
|
274
|
-
attr_accessor :driver_identification_number
|
275
|
-
# Driver's tax number.
|
276
|
-
attr_accessor :driver_tax_number
|
277
|
-
# Full name of the person or entity on the car reservation.
|
278
|
-
attr_accessor :name
|
279
|
-
|
280
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
281
|
-
@driver_identification_number = driver_identification_number
|
282
|
-
@driver_tax_number = driver_tax_number
|
283
|
-
@name = name
|
284
|
-
end
|
285
|
-
end
|
286
|
-
|
287
|
-
class PickupAddress < Stripe::RequestParams
|
288
|
-
# City, district, suburb, town, or village.
|
289
|
-
attr_accessor :city
|
290
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
291
|
-
attr_accessor :country
|
292
|
-
# Address line 1, such as the street, PO Box, or company name.
|
293
|
-
attr_accessor :line1
|
294
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
295
|
-
attr_accessor :line2
|
296
|
-
# ZIP or postal code.
|
297
|
-
attr_accessor :postal_code
|
298
|
-
# State, county, province, or region.
|
299
|
-
attr_accessor :state
|
300
|
-
|
301
|
-
def initialize(
|
302
|
-
city: nil,
|
303
|
-
country: nil,
|
304
|
-
line1: nil,
|
305
|
-
line2: nil,
|
306
|
-
postal_code: nil,
|
307
|
-
state: nil
|
308
|
-
)
|
309
|
-
@city = city
|
310
|
-
@country = country
|
311
|
-
@line1 = line1
|
312
|
-
@line2 = line2
|
313
|
-
@postal_code = postal_code
|
314
|
-
@state = state
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
|
-
class ReturnAddress < Stripe::RequestParams
|
319
|
-
# City, district, suburb, town, or village.
|
320
|
-
attr_accessor :city
|
321
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
322
|
-
attr_accessor :country
|
323
|
-
# Address line 1, such as the street, PO Box, or company name.
|
324
|
-
attr_accessor :line1
|
325
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
326
|
-
attr_accessor :line2
|
327
|
-
# ZIP or postal code.
|
328
|
-
attr_accessor :postal_code
|
329
|
-
# State, county, province, or region.
|
330
|
-
attr_accessor :state
|
331
|
-
|
332
|
-
def initialize(
|
333
|
-
city: nil,
|
334
|
-
country: nil,
|
335
|
-
line1: nil,
|
336
|
-
line2: nil,
|
337
|
-
postal_code: nil,
|
338
|
-
state: nil
|
339
|
-
)
|
340
|
-
@city = city
|
341
|
-
@country = country
|
342
|
-
@line1 = line1
|
343
|
-
@line2 = line2
|
344
|
-
@postal_code = postal_code
|
345
|
-
@state = state
|
346
|
-
end
|
347
|
-
end
|
348
|
-
# Affiliate details for this purchase.
|
349
|
-
attr_accessor :affiliate
|
350
|
-
# The booking number associated with the car rental.
|
351
|
-
attr_accessor :booking_number
|
352
|
-
# Class code of the car.
|
353
|
-
attr_accessor :car_class_code
|
354
|
-
# Make of the car.
|
355
|
-
attr_accessor :car_make
|
356
|
-
# Model of the car.
|
357
|
-
attr_accessor :car_model
|
358
|
-
# The name of the rental car company.
|
359
|
-
attr_accessor :company
|
360
|
-
# The customer service phone number of the car rental company.
|
361
|
-
attr_accessor :customer_service_phone_number
|
362
|
-
# Number of days the car is being rented.
|
363
|
-
attr_accessor :days_rented
|
364
|
-
# Delivery details for this purchase.
|
365
|
-
attr_accessor :delivery
|
366
|
-
# The details of the distance traveled during the rental period.
|
367
|
-
attr_accessor :distance
|
368
|
-
# The details of the passengers in the travel reservation
|
369
|
-
attr_accessor :drivers
|
370
|
-
# List of additional charges being billed.
|
371
|
-
attr_accessor :extra_charges
|
372
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
373
|
-
attr_accessor :no_show
|
374
|
-
# Car pick-up address.
|
375
|
-
attr_accessor :pickup_address
|
376
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
377
|
-
attr_accessor :pickup_at
|
378
|
-
# Name of the pickup location.
|
379
|
-
attr_accessor :pickup_location_name
|
380
|
-
# Rental rate.
|
381
|
-
attr_accessor :rate_amount
|
382
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
383
|
-
attr_accessor :rate_interval
|
384
|
-
# The name of the person or entity renting the car.
|
385
|
-
attr_accessor :renter_name
|
386
|
-
# Car return address.
|
387
|
-
attr_accessor :return_address
|
388
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
389
|
-
attr_accessor :return_at
|
390
|
-
# Name of the return location.
|
391
|
-
attr_accessor :return_location_name
|
392
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
393
|
-
attr_accessor :tax_exempt
|
394
|
-
# The vehicle identification number.
|
395
|
-
attr_accessor :vehicle_identification_number
|
396
|
-
|
397
|
-
def initialize(
|
398
|
-
affiliate: nil,
|
399
|
-
booking_number: nil,
|
400
|
-
car_class_code: nil,
|
401
|
-
car_make: nil,
|
402
|
-
car_model: nil,
|
403
|
-
company: nil,
|
404
|
-
customer_service_phone_number: nil,
|
405
|
-
days_rented: nil,
|
406
|
-
delivery: nil,
|
407
|
-
distance: nil,
|
408
|
-
drivers: nil,
|
409
|
-
extra_charges: nil,
|
410
|
-
no_show: nil,
|
411
|
-
pickup_address: nil,
|
412
|
-
pickup_at: nil,
|
413
|
-
pickup_location_name: nil,
|
414
|
-
rate_amount: nil,
|
415
|
-
rate_interval: nil,
|
416
|
-
renter_name: nil,
|
417
|
-
return_address: nil,
|
418
|
-
return_at: nil,
|
419
|
-
return_location_name: nil,
|
420
|
-
tax_exempt: nil,
|
421
|
-
vehicle_identification_number: nil
|
422
|
-
)
|
423
|
-
@affiliate = affiliate
|
424
|
-
@booking_number = booking_number
|
425
|
-
@car_class_code = car_class_code
|
426
|
-
@car_make = car_make
|
427
|
-
@car_model = car_model
|
428
|
-
@company = company
|
429
|
-
@customer_service_phone_number = customer_service_phone_number
|
430
|
-
@days_rented = days_rented
|
431
|
-
@delivery = delivery
|
432
|
-
@distance = distance
|
433
|
-
@drivers = drivers
|
434
|
-
@extra_charges = extra_charges
|
435
|
-
@no_show = no_show
|
436
|
-
@pickup_address = pickup_address
|
437
|
-
@pickup_at = pickup_at
|
438
|
-
@pickup_location_name = pickup_location_name
|
439
|
-
@rate_amount = rate_amount
|
440
|
-
@rate_interval = rate_interval
|
441
|
-
@renter_name = renter_name
|
442
|
-
@return_address = return_address
|
443
|
-
@return_at = return_at
|
444
|
-
@return_location_name = return_location_name
|
445
|
-
@tax_exempt = tax_exempt
|
446
|
-
@vehicle_identification_number = vehicle_identification_number
|
447
|
-
end
|
448
|
-
end
|
449
|
-
|
450
|
-
class EventDetails < Stripe::RequestParams
|
451
|
-
class Address < Stripe::RequestParams
|
452
|
-
# City, district, suburb, town, or village.
|
453
|
-
attr_accessor :city
|
454
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
455
|
-
attr_accessor :country
|
456
|
-
# Address line 1, such as the street, PO Box, or company name.
|
457
|
-
attr_accessor :line1
|
458
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
459
|
-
attr_accessor :line2
|
460
|
-
# ZIP or postal code.
|
461
|
-
attr_accessor :postal_code
|
462
|
-
# State, county, province, or region.
|
463
|
-
attr_accessor :state
|
464
|
-
|
465
|
-
def initialize(
|
466
|
-
city: nil,
|
467
|
-
country: nil,
|
468
|
-
line1: nil,
|
469
|
-
line2: nil,
|
470
|
-
postal_code: nil,
|
471
|
-
state: nil
|
472
|
-
)
|
473
|
-
@city = city
|
474
|
-
@country = country
|
475
|
-
@line1 = line1
|
476
|
-
@line2 = line2
|
477
|
-
@postal_code = postal_code
|
478
|
-
@state = state
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
class Affiliate < Stripe::RequestParams
|
483
|
-
# The name of the affiliate that originated the purchase.
|
484
|
-
attr_accessor :name
|
485
|
-
|
486
|
-
def initialize(name: nil)
|
487
|
-
@name = name
|
488
|
-
end
|
489
|
-
end
|
490
|
-
|
491
|
-
class Delivery < Stripe::RequestParams
|
492
|
-
class Recipient < Stripe::RequestParams
|
493
|
-
# The email of the recipient the ticket is delivered to.
|
494
|
-
attr_accessor :email
|
495
|
-
# The name of the recipient the ticket is delivered to.
|
496
|
-
attr_accessor :name
|
497
|
-
# The phone number of the recipient the ticket is delivered to.
|
498
|
-
attr_accessor :phone
|
499
|
-
|
500
|
-
def initialize(email: nil, name: nil, phone: nil)
|
501
|
-
@email = email
|
502
|
-
@name = name
|
503
|
-
@phone = phone
|
504
|
-
end
|
505
|
-
end
|
506
|
-
# The delivery method for the payment
|
507
|
-
attr_accessor :mode
|
508
|
-
# Details of the recipient.
|
509
|
-
attr_accessor :recipient
|
510
|
-
|
511
|
-
def initialize(mode: nil, recipient: nil)
|
512
|
-
@mode = mode
|
513
|
-
@recipient = recipient
|
514
|
-
end
|
515
|
-
end
|
516
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
517
|
-
attr_accessor :access_controlled_venue
|
518
|
-
# The event location's address.
|
519
|
-
attr_accessor :address
|
520
|
-
# Affiliate details for this purchase.
|
521
|
-
attr_accessor :affiliate
|
522
|
-
# The name of the company
|
523
|
-
attr_accessor :company
|
524
|
-
# Delivery details for this purchase.
|
525
|
-
attr_accessor :delivery
|
526
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
527
|
-
attr_accessor :ends_at
|
528
|
-
# Type of the event entertainment (concert, sports event etc)
|
529
|
-
attr_accessor :genre
|
530
|
-
# The name of the event.
|
531
|
-
attr_accessor :name
|
532
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
533
|
-
attr_accessor :starts_at
|
534
|
-
|
535
|
-
def initialize(
|
536
|
-
access_controlled_venue: nil,
|
537
|
-
address: nil,
|
538
|
-
affiliate: nil,
|
539
|
-
company: nil,
|
540
|
-
delivery: nil,
|
541
|
-
ends_at: nil,
|
542
|
-
genre: nil,
|
543
|
-
name: nil,
|
544
|
-
starts_at: nil
|
545
|
-
)
|
546
|
-
@access_controlled_venue = access_controlled_venue
|
547
|
-
@address = address
|
548
|
-
@affiliate = affiliate
|
549
|
-
@company = company
|
550
|
-
@delivery = delivery
|
551
|
-
@ends_at = ends_at
|
552
|
-
@genre = genre
|
553
|
-
@name = name
|
554
|
-
@starts_at = starts_at
|
555
|
-
end
|
556
|
-
end
|
557
|
-
|
558
|
-
class Flight < Stripe::RequestParams
|
559
|
-
class Affiliate < Stripe::RequestParams
|
560
|
-
# The name of the affiliate that originated the purchase.
|
561
|
-
attr_accessor :name
|
562
|
-
|
563
|
-
def initialize(name: nil)
|
564
|
-
@name = name
|
565
|
-
end
|
566
|
-
end
|
567
|
-
|
568
|
-
class Delivery < Stripe::RequestParams
|
569
|
-
class Recipient < Stripe::RequestParams
|
570
|
-
# The email of the recipient the ticket is delivered to.
|
571
|
-
attr_accessor :email
|
572
|
-
# The name of the recipient the ticket is delivered to.
|
573
|
-
attr_accessor :name
|
574
|
-
# The phone number of the recipient the ticket is delivered to.
|
575
|
-
attr_accessor :phone
|
576
|
-
|
577
|
-
def initialize(email: nil, name: nil, phone: nil)
|
578
|
-
@email = email
|
579
|
-
@name = name
|
580
|
-
@phone = phone
|
581
|
-
end
|
582
|
-
end
|
583
|
-
# The delivery method for the payment
|
584
|
-
attr_accessor :mode
|
585
|
-
# Details of the recipient.
|
586
|
-
attr_accessor :recipient
|
587
|
-
|
588
|
-
def initialize(mode: nil, recipient: nil)
|
589
|
-
@mode = mode
|
590
|
-
@recipient = recipient
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
class Passenger < Stripe::RequestParams
|
595
|
-
# Full name of the person or entity on the flight reservation.
|
596
|
-
attr_accessor :name
|
597
|
-
|
598
|
-
def initialize(name: nil)
|
599
|
-
@name = name
|
600
|
-
end
|
601
|
-
end
|
602
|
-
|
603
|
-
class Segment < Stripe::RequestParams
|
604
|
-
# The flight segment amount.
|
605
|
-
attr_accessor :amount
|
606
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
607
|
-
attr_accessor :arrival_airport
|
608
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
609
|
-
attr_accessor :arrives_at
|
610
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
611
|
-
attr_accessor :carrier
|
612
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
613
|
-
attr_accessor :departs_at
|
614
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
615
|
-
attr_accessor :departure_airport
|
616
|
-
# The flight number associated with the segment
|
617
|
-
attr_accessor :flight_number
|
618
|
-
# The fare class for the segment.
|
619
|
-
attr_accessor :service_class
|
620
|
-
|
621
|
-
def initialize(
|
622
|
-
amount: nil,
|
623
|
-
arrival_airport: nil,
|
624
|
-
arrives_at: nil,
|
625
|
-
carrier: nil,
|
626
|
-
departs_at: nil,
|
627
|
-
departure_airport: nil,
|
628
|
-
flight_number: nil,
|
629
|
-
service_class: nil
|
630
|
-
)
|
631
|
-
@amount = amount
|
632
|
-
@arrival_airport = arrival_airport
|
633
|
-
@arrives_at = arrives_at
|
634
|
-
@carrier = carrier
|
635
|
-
@departs_at = departs_at
|
636
|
-
@departure_airport = departure_airport
|
637
|
-
@flight_number = flight_number
|
638
|
-
@service_class = service_class
|
639
|
-
end
|
640
|
-
end
|
641
|
-
# Affiliate details for this purchase.
|
642
|
-
attr_accessor :affiliate
|
643
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
644
|
-
attr_accessor :agency_number
|
645
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
646
|
-
attr_accessor :carrier
|
647
|
-
# Delivery details for this purchase.
|
648
|
-
attr_accessor :delivery
|
649
|
-
# The name of the person or entity on the reservation.
|
650
|
-
attr_accessor :passenger_name
|
651
|
-
# The details of the passengers in the travel reservation.
|
652
|
-
attr_accessor :passengers
|
653
|
-
# The individual flight segments associated with the trip.
|
654
|
-
attr_accessor :segments
|
655
|
-
# The ticket number associated with the travel reservation.
|
656
|
-
attr_accessor :ticket_number
|
657
|
-
|
658
|
-
def initialize(
|
659
|
-
affiliate: nil,
|
660
|
-
agency_number: nil,
|
661
|
-
carrier: nil,
|
662
|
-
delivery: nil,
|
663
|
-
passenger_name: nil,
|
664
|
-
passengers: nil,
|
665
|
-
segments: nil,
|
666
|
-
ticket_number: nil
|
667
|
-
)
|
668
|
-
@affiliate = affiliate
|
669
|
-
@agency_number = agency_number
|
670
|
-
@carrier = carrier
|
671
|
-
@delivery = delivery
|
672
|
-
@passenger_name = passenger_name
|
673
|
-
@passengers = passengers
|
674
|
-
@segments = segments
|
675
|
-
@ticket_number = ticket_number
|
676
|
-
end
|
677
|
-
end
|
678
|
-
|
679
|
-
class Lodging < Stripe::RequestParams
|
680
|
-
class Address < Stripe::RequestParams
|
681
|
-
# City, district, suburb, town, or village.
|
682
|
-
attr_accessor :city
|
683
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
684
|
-
attr_accessor :country
|
685
|
-
# Address line 1, such as the street, PO Box, or company name.
|
686
|
-
attr_accessor :line1
|
687
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
688
|
-
attr_accessor :line2
|
689
|
-
# ZIP or postal code.
|
690
|
-
attr_accessor :postal_code
|
691
|
-
# State, county, province, or region.
|
692
|
-
attr_accessor :state
|
693
|
-
|
694
|
-
def initialize(
|
695
|
-
city: nil,
|
696
|
-
country: nil,
|
697
|
-
line1: nil,
|
698
|
-
line2: nil,
|
699
|
-
postal_code: nil,
|
700
|
-
state: nil
|
701
|
-
)
|
702
|
-
@city = city
|
703
|
-
@country = country
|
704
|
-
@line1 = line1
|
705
|
-
@line2 = line2
|
706
|
-
@postal_code = postal_code
|
707
|
-
@state = state
|
708
|
-
end
|
709
|
-
end
|
710
|
-
|
711
|
-
class Affiliate < Stripe::RequestParams
|
712
|
-
# The name of the affiliate that originated the purchase.
|
713
|
-
attr_accessor :name
|
714
|
-
|
715
|
-
def initialize(name: nil)
|
716
|
-
@name = name
|
717
|
-
end
|
718
|
-
end
|
719
|
-
|
720
|
-
class Delivery < Stripe::RequestParams
|
721
|
-
class Recipient < Stripe::RequestParams
|
722
|
-
# The email of the recipient the ticket is delivered to.
|
723
|
-
attr_accessor :email
|
724
|
-
# The name of the recipient the ticket is delivered to.
|
725
|
-
attr_accessor :name
|
726
|
-
# The phone number of the recipient the ticket is delivered to.
|
727
|
-
attr_accessor :phone
|
728
|
-
|
729
|
-
def initialize(email: nil, name: nil, phone: nil)
|
730
|
-
@email = email
|
731
|
-
@name = name
|
732
|
-
@phone = phone
|
733
|
-
end
|
734
|
-
end
|
735
|
-
# The delivery method for the payment
|
736
|
-
attr_accessor :mode
|
737
|
-
# Details of the recipient.
|
738
|
-
attr_accessor :recipient
|
739
|
-
|
740
|
-
def initialize(mode: nil, recipient: nil)
|
741
|
-
@mode = mode
|
742
|
-
@recipient = recipient
|
743
|
-
end
|
744
|
-
end
|
745
|
-
|
746
|
-
class Passenger < Stripe::RequestParams
|
747
|
-
# Full name of the person or entity on the lodging reservation.
|
748
|
-
attr_accessor :name
|
749
|
-
|
750
|
-
def initialize(name: nil)
|
751
|
-
@name = name
|
752
|
-
end
|
753
|
-
end
|
754
|
-
# The lodging location's address.
|
755
|
-
attr_accessor :address
|
756
|
-
# The number of adults on the booking
|
757
|
-
attr_accessor :adults
|
758
|
-
# Affiliate details for this purchase.
|
759
|
-
attr_accessor :affiliate
|
760
|
-
# The booking number associated with the lodging reservation.
|
761
|
-
attr_accessor :booking_number
|
762
|
-
# The lodging category
|
763
|
-
attr_accessor :category
|
764
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
765
|
-
attr_accessor :checkin_at
|
766
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
767
|
-
attr_accessor :checkout_at
|
768
|
-
# The customer service phone number of the lodging company.
|
769
|
-
attr_accessor :customer_service_phone_number
|
770
|
-
# The daily lodging room rate.
|
771
|
-
attr_accessor :daily_room_rate_amount
|
772
|
-
# Delivery details for this purchase.
|
773
|
-
attr_accessor :delivery
|
774
|
-
# List of additional charges being billed.
|
775
|
-
attr_accessor :extra_charges
|
776
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
777
|
-
attr_accessor :fire_safety_act_compliance
|
778
|
-
# The name of the lodging location.
|
779
|
-
attr_accessor :name
|
780
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
781
|
-
attr_accessor :no_show
|
782
|
-
# The number of rooms on the booking
|
783
|
-
attr_accessor :number_of_rooms
|
784
|
-
# The details of the passengers in the travel reservation
|
785
|
-
attr_accessor :passengers
|
786
|
-
# The phone number of the lodging location.
|
787
|
-
attr_accessor :property_phone_number
|
788
|
-
# The room class for this purchase.
|
789
|
-
attr_accessor :room_class
|
790
|
-
# The number of room nights
|
791
|
-
attr_accessor :room_nights
|
792
|
-
# The total tax amount associating with the room reservation.
|
793
|
-
attr_accessor :total_room_tax_amount
|
794
|
-
# The total tax amount
|
795
|
-
attr_accessor :total_tax_amount
|
796
|
-
|
797
|
-
def initialize(
|
798
|
-
address: nil,
|
799
|
-
adults: nil,
|
800
|
-
affiliate: nil,
|
801
|
-
booking_number: nil,
|
802
|
-
category: nil,
|
803
|
-
checkin_at: nil,
|
804
|
-
checkout_at: nil,
|
805
|
-
customer_service_phone_number: nil,
|
806
|
-
daily_room_rate_amount: nil,
|
807
|
-
delivery: nil,
|
808
|
-
extra_charges: nil,
|
809
|
-
fire_safety_act_compliance: nil,
|
810
|
-
name: nil,
|
811
|
-
no_show: nil,
|
812
|
-
number_of_rooms: nil,
|
813
|
-
passengers: nil,
|
814
|
-
property_phone_number: nil,
|
815
|
-
room_class: nil,
|
816
|
-
room_nights: nil,
|
817
|
-
total_room_tax_amount: nil,
|
818
|
-
total_tax_amount: nil
|
819
|
-
)
|
820
|
-
@address = address
|
821
|
-
@adults = adults
|
822
|
-
@affiliate = affiliate
|
823
|
-
@booking_number = booking_number
|
824
|
-
@category = category
|
825
|
-
@checkin_at = checkin_at
|
826
|
-
@checkout_at = checkout_at
|
827
|
-
@customer_service_phone_number = customer_service_phone_number
|
828
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
829
|
-
@delivery = delivery
|
830
|
-
@extra_charges = extra_charges
|
831
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
832
|
-
@name = name
|
833
|
-
@no_show = no_show
|
834
|
-
@number_of_rooms = number_of_rooms
|
835
|
-
@passengers = passengers
|
836
|
-
@property_phone_number = property_phone_number
|
837
|
-
@room_class = room_class
|
838
|
-
@room_nights = room_nights
|
839
|
-
@total_room_tax_amount = total_room_tax_amount
|
840
|
-
@total_tax_amount = total_tax_amount
|
841
|
-
end
|
842
|
-
end
|
843
|
-
|
844
|
-
class Subscription < Stripe::RequestParams
|
845
|
-
class Affiliate < Stripe::RequestParams
|
846
|
-
# The name of the affiliate that originated the purchase.
|
847
|
-
attr_accessor :name
|
848
|
-
|
849
|
-
def initialize(name: nil)
|
850
|
-
@name = name
|
851
|
-
end
|
852
|
-
end
|
853
|
-
|
854
|
-
class BillingInterval < Stripe::RequestParams
|
855
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
856
|
-
attr_accessor :count
|
857
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
858
|
-
attr_accessor :interval
|
24
|
+
attr_accessor :offline
|
25
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
26
|
+
attr_accessor :online
|
27
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
28
|
+
attr_accessor :type
|
859
29
|
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
30
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
31
|
+
@accepted_at = accepted_at
|
32
|
+
@offline = offline
|
33
|
+
@online = online
|
34
|
+
@type = type
|
864
35
|
end
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
attr_accessor :auto_renewal
|
869
|
-
# Subscription billing details for this purchase.
|
870
|
-
attr_accessor :billing_interval
|
871
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
872
|
-
attr_accessor :ends_at
|
873
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
874
|
-
attr_accessor :name
|
875
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
876
|
-
attr_accessor :starts_at
|
877
|
-
|
878
|
-
def initialize(
|
879
|
-
affiliate: nil,
|
880
|
-
auto_renewal: nil,
|
881
|
-
billing_interval: nil,
|
882
|
-
ends_at: nil,
|
883
|
-
name: nil,
|
884
|
-
starts_at: nil
|
885
|
-
)
|
886
|
-
@affiliate = affiliate
|
887
|
-
@auto_renewal = auto_renewal
|
888
|
-
@billing_interval = billing_interval
|
889
|
-
@ends_at = ends_at
|
890
|
-
@name = name
|
891
|
-
@starts_at = starts_at
|
892
|
-
end
|
893
|
-
end
|
894
|
-
# Car rental details for this PaymentIntent.
|
895
|
-
attr_accessor :car_rental
|
896
|
-
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
897
|
-
attr_accessor :customer_reference
|
898
|
-
# Event details for this PaymentIntent
|
899
|
-
attr_accessor :event_details
|
900
|
-
# Flight reservation details for this PaymentIntent
|
901
|
-
attr_accessor :flight
|
902
|
-
# Lodging reservation details for this PaymentIntent
|
903
|
-
attr_accessor :lodging
|
904
|
-
# A unique value assigned by the business to identify the transaction.
|
905
|
-
attr_accessor :order_reference
|
906
|
-
# Subscription details for this PaymentIntent
|
907
|
-
attr_accessor :subscription
|
36
|
+
end
|
37
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
38
|
+
attr_accessor :customer_acceptance
|
908
39
|
|
909
|
-
def initialize(
|
910
|
-
|
911
|
-
customer_reference: nil,
|
912
|
-
event_details: nil,
|
913
|
-
flight: nil,
|
914
|
-
lodging: nil,
|
915
|
-
order_reference: nil,
|
916
|
-
subscription: nil
|
917
|
-
)
|
918
|
-
@car_rental = car_rental
|
919
|
-
@customer_reference = customer_reference
|
920
|
-
@event_details = event_details
|
921
|
-
@flight = flight
|
922
|
-
@lodging = lodging
|
923
|
-
@order_reference = order_reference
|
924
|
-
@subscription = subscription
|
40
|
+
def initialize(customer_acceptance: nil)
|
41
|
+
@customer_acceptance = customer_acceptance
|
925
42
|
end
|
926
43
|
end
|
927
44
|
|
@@ -1062,18 +179,8 @@ module Stripe
|
|
1062
179
|
end
|
1063
180
|
|
1064
181
|
class Giropay < Stripe::RequestParams; end
|
1065
|
-
class Gopay < Stripe::RequestParams; end
|
1066
182
|
class Grabpay < Stripe::RequestParams; end
|
1067
183
|
|
1068
|
-
class IdBankTransfer < Stripe::RequestParams
|
1069
|
-
# Bank where the account is held.
|
1070
|
-
attr_accessor :bank
|
1071
|
-
|
1072
|
-
def initialize(bank: nil)
|
1073
|
-
@bank = bank
|
1074
|
-
end
|
1075
|
-
end
|
1076
|
-
|
1077
184
|
class Ideal < Stripe::RequestParams
|
1078
185
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1079
186
|
attr_accessor :bank
|
@@ -1171,26 +278,8 @@ module Stripe
|
|
1171
278
|
class Payco < Stripe::RequestParams; end
|
1172
279
|
class Paynow < Stripe::RequestParams; end
|
1173
280
|
class Paypal < Stripe::RequestParams; end
|
1174
|
-
class Paypay < Stripe::RequestParams; end
|
1175
|
-
|
1176
|
-
class Payto < Stripe::RequestParams
|
1177
|
-
# The account number for the bank account.
|
1178
|
-
attr_accessor :account_number
|
1179
|
-
# Bank-State-Branch number of the bank account.
|
1180
|
-
attr_accessor :bsb_number
|
1181
|
-
# The PayID alias for the bank account.
|
1182
|
-
attr_accessor :pay_id
|
1183
|
-
|
1184
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1185
|
-
@account_number = account_number
|
1186
|
-
@bsb_number = bsb_number
|
1187
|
-
@pay_id = pay_id
|
1188
|
-
end
|
1189
|
-
end
|
1190
|
-
|
1191
281
|
class Pix < Stripe::RequestParams; end
|
1192
282
|
class Promptpay < Stripe::RequestParams; end
|
1193
|
-
class Qris < Stripe::RequestParams; end
|
1194
283
|
|
1195
284
|
class RadarOptions < Stripe::RequestParams
|
1196
285
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
@@ -1201,29 +290,6 @@ module Stripe
|
|
1201
290
|
end
|
1202
291
|
end
|
1203
292
|
|
1204
|
-
class Rechnung < Stripe::RequestParams
|
1205
|
-
class Dob < Stripe::RequestParams
|
1206
|
-
# The day of birth, between 1 and 31.
|
1207
|
-
attr_accessor :day
|
1208
|
-
# The month of birth, between 1 and 12.
|
1209
|
-
attr_accessor :month
|
1210
|
-
# The four-digit year of birth.
|
1211
|
-
attr_accessor :year
|
1212
|
-
|
1213
|
-
def initialize(day: nil, month: nil, year: nil)
|
1214
|
-
@day = day
|
1215
|
-
@month = month
|
1216
|
-
@year = year
|
1217
|
-
end
|
1218
|
-
end
|
1219
|
-
# Customer's date of birth
|
1220
|
-
attr_accessor :dob
|
1221
|
-
|
1222
|
-
def initialize(dob: nil)
|
1223
|
-
@dob = dob
|
1224
|
-
end
|
1225
|
-
end
|
1226
|
-
|
1227
293
|
class RevolutPay < Stripe::RequestParams; end
|
1228
294
|
class SamsungPay < Stripe::RequestParams; end
|
1229
295
|
class Satispay < Stripe::RequestParams; end
|
@@ -1237,8 +303,6 @@ module Stripe
|
|
1237
303
|
end
|
1238
304
|
end
|
1239
305
|
|
1240
|
-
class Shopeepay < Stripe::RequestParams; end
|
1241
|
-
|
1242
306
|
class Sofort < Stripe::RequestParams
|
1243
307
|
# Two-letter ISO code representing the country the bank account is located in.
|
1244
308
|
attr_accessor :country
|
@@ -1248,18 +312,6 @@ module Stripe
|
|
1248
312
|
end
|
1249
313
|
end
|
1250
314
|
|
1251
|
-
class StripeBalance < Stripe::RequestParams
|
1252
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1253
|
-
attr_accessor :account
|
1254
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1255
|
-
attr_accessor :source_type
|
1256
|
-
|
1257
|
-
def initialize(account: nil, source_type: nil)
|
1258
|
-
@account = account
|
1259
|
-
@source_type = source_type
|
1260
|
-
end
|
1261
|
-
end
|
1262
|
-
|
1263
315
|
class Swish < Stripe::RequestParams; end
|
1264
316
|
class Twint < Stripe::RequestParams; end
|
1265
317
|
|
@@ -1332,12 +384,8 @@ module Stripe
|
|
1332
384
|
attr_accessor :fpx
|
1333
385
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1334
386
|
attr_accessor :giropay
|
1335
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1336
|
-
attr_accessor :gopay
|
1337
387
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1338
388
|
attr_accessor :grabpay
|
1339
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1340
|
-
attr_accessor :id_bank_transfer
|
1341
389
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1342
390
|
attr_accessor :ideal
|
1343
391
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1376,20 +424,12 @@ module Stripe
|
|
1376
424
|
attr_accessor :paynow
|
1377
425
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1378
426
|
attr_accessor :paypal
|
1379
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
1380
|
-
attr_accessor :paypay
|
1381
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1382
|
-
attr_accessor :payto
|
1383
427
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1384
428
|
attr_accessor :pix
|
1385
429
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1386
430
|
attr_accessor :promptpay
|
1387
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1388
|
-
attr_accessor :qris
|
1389
431
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1390
432
|
attr_accessor :radar_options
|
1391
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1392
|
-
attr_accessor :rechnung
|
1393
433
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1394
434
|
attr_accessor :revolut_pay
|
1395
435
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1398,12 +438,8 @@ module Stripe
|
|
1398
438
|
attr_accessor :satispay
|
1399
439
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1400
440
|
attr_accessor :sepa_debit
|
1401
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1402
|
-
attr_accessor :shopeepay
|
1403
441
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1404
442
|
attr_accessor :sofort
|
1405
|
-
# This hash contains details about the Stripe balance payment method.
|
1406
|
-
attr_accessor :stripe_balance
|
1407
443
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1408
444
|
attr_accessor :swish
|
1409
445
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1438,9 +474,7 @@ module Stripe
|
|
1438
474
|
eps: nil,
|
1439
475
|
fpx: nil,
|
1440
476
|
giropay: nil,
|
1441
|
-
gopay: nil,
|
1442
477
|
grabpay: nil,
|
1443
|
-
id_bank_transfer: nil,
|
1444
478
|
ideal: nil,
|
1445
479
|
interac_present: nil,
|
1446
480
|
kakao_pay: nil,
|
@@ -1460,20 +494,14 @@ module Stripe
|
|
1460
494
|
payco: nil,
|
1461
495
|
paynow: nil,
|
1462
496
|
paypal: nil,
|
1463
|
-
paypay: nil,
|
1464
|
-
payto: nil,
|
1465
497
|
pix: nil,
|
1466
498
|
promptpay: nil,
|
1467
|
-
qris: nil,
|
1468
499
|
radar_options: nil,
|
1469
|
-
rechnung: nil,
|
1470
500
|
revolut_pay: nil,
|
1471
501
|
samsung_pay: nil,
|
1472
502
|
satispay: nil,
|
1473
503
|
sepa_debit: nil,
|
1474
|
-
shopeepay: nil,
|
1475
504
|
sofort: nil,
|
1476
|
-
stripe_balance: nil,
|
1477
505
|
swish: nil,
|
1478
506
|
twint: nil,
|
1479
507
|
type: nil,
|
@@ -1501,9 +529,7 @@ module Stripe
|
|
1501
529
|
@eps = eps
|
1502
530
|
@fpx = fpx
|
1503
531
|
@giropay = giropay
|
1504
|
-
@gopay = gopay
|
1505
532
|
@grabpay = grabpay
|
1506
|
-
@id_bank_transfer = id_bank_transfer
|
1507
533
|
@ideal = ideal
|
1508
534
|
@interac_present = interac_present
|
1509
535
|
@kakao_pay = kakao_pay
|
@@ -1523,20 +549,14 @@ module Stripe
|
|
1523
549
|
@payco = payco
|
1524
550
|
@paynow = paynow
|
1525
551
|
@paypal = paypal
|
1526
|
-
@paypay = paypay
|
1527
|
-
@payto = payto
|
1528
552
|
@pix = pix
|
1529
553
|
@promptpay = promptpay
|
1530
|
-
@qris = qris
|
1531
554
|
@radar_options = radar_options
|
1532
|
-
@rechnung = rechnung
|
1533
555
|
@revolut_pay = revolut_pay
|
1534
556
|
@samsung_pay = samsung_pay
|
1535
557
|
@satispay = satispay
|
1536
558
|
@sepa_debit = sepa_debit
|
1537
|
-
@shopeepay = shopeepay
|
1538
559
|
@sofort = sofort
|
1539
|
-
@stripe_balance = stripe_balance
|
1540
560
|
@swish = swish
|
1541
561
|
@twint = twint
|
1542
562
|
@type = type
|
@@ -1907,48 +927,6 @@ module Stripe
|
|
1907
927
|
end
|
1908
928
|
end
|
1909
929
|
|
1910
|
-
class StatementDetails < Stripe::RequestParams
|
1911
|
-
class Address < Stripe::RequestParams
|
1912
|
-
# City, district, suburb, town, or village.
|
1913
|
-
attr_accessor :city
|
1914
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1915
|
-
attr_accessor :country
|
1916
|
-
# Address line 1, such as the street, PO Box, or company name.
|
1917
|
-
attr_accessor :line1
|
1918
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
1919
|
-
attr_accessor :line2
|
1920
|
-
# ZIP or postal code.
|
1921
|
-
attr_accessor :postal_code
|
1922
|
-
# State, county, province, or region.
|
1923
|
-
attr_accessor :state
|
1924
|
-
|
1925
|
-
def initialize(
|
1926
|
-
city: nil,
|
1927
|
-
country: nil,
|
1928
|
-
line1: nil,
|
1929
|
-
line2: nil,
|
1930
|
-
postal_code: nil,
|
1931
|
-
state: nil
|
1932
|
-
)
|
1933
|
-
@city = city
|
1934
|
-
@country = country
|
1935
|
-
@line1 = line1
|
1936
|
-
@line2 = line2
|
1937
|
-
@postal_code = postal_code
|
1938
|
-
@state = state
|
1939
|
-
end
|
1940
|
-
end
|
1941
|
-
# Please pass in an address that is within your Stripe user account country
|
1942
|
-
attr_accessor :address
|
1943
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
1944
|
-
attr_accessor :phone
|
1945
|
-
|
1946
|
-
def initialize(address: nil, phone: nil)
|
1947
|
-
@address = address
|
1948
|
-
@phone = phone
|
1949
|
-
end
|
1950
|
-
end
|
1951
|
-
|
1952
930
|
class ThreeDSecure < Stripe::RequestParams
|
1953
931
|
class NetworkOptions < Stripe::RequestParams
|
1954
932
|
class CartesBancaires < Stripe::RequestParams
|
@@ -2043,8 +1021,6 @@ module Stripe
|
|
2043
1021
|
attr_accessor :moto
|
2044
1022
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
2045
1023
|
attr_accessor :network
|
2046
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
2047
|
-
attr_accessor :request_decremental_authorization
|
2048
1024
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
2049
1025
|
attr_accessor :request_extended_authorization
|
2050
1026
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -2053,8 +1029,6 @@ module Stripe
|
|
2053
1029
|
attr_accessor :request_multicapture
|
2054
1030
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
2055
1031
|
attr_accessor :request_overcapture
|
2056
|
-
# Request partial authorization on this PaymentIntent.
|
2057
|
-
attr_accessor :request_partial_authorization
|
2058
1032
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
2059
1033
|
attr_accessor :request_three_d_secure
|
2060
1034
|
# 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).
|
@@ -2073,8 +1047,6 @@ module Stripe
|
|
2073
1047
|
attr_accessor :statement_descriptor_suffix_kana
|
2074
1048
|
# 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.
|
2075
1049
|
attr_accessor :statement_descriptor_suffix_kanji
|
2076
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
2077
|
-
attr_accessor :statement_details
|
2078
1050
|
# If 3D Secure authentication was performed with a third-party provider,
|
2079
1051
|
# the authentication details to use for this payment.
|
2080
1052
|
attr_accessor :three_d_secure
|
@@ -2086,18 +1058,15 @@ module Stripe
|
|
2086
1058
|
mandate_options: nil,
|
2087
1059
|
moto: nil,
|
2088
1060
|
network: nil,
|
2089
|
-
request_decremental_authorization: nil,
|
2090
1061
|
request_extended_authorization: nil,
|
2091
1062
|
request_incremental_authorization: nil,
|
2092
1063
|
request_multicapture: nil,
|
2093
1064
|
request_overcapture: nil,
|
2094
|
-
request_partial_authorization: nil,
|
2095
1065
|
request_three_d_secure: nil,
|
2096
1066
|
require_cvc_recollection: nil,
|
2097
1067
|
setup_future_usage: nil,
|
2098
1068
|
statement_descriptor_suffix_kana: nil,
|
2099
1069
|
statement_descriptor_suffix_kanji: nil,
|
2100
|
-
statement_details: nil,
|
2101
1070
|
three_d_secure: nil
|
2102
1071
|
)
|
2103
1072
|
@capture_method = capture_method
|
@@ -2106,18 +1075,15 @@ module Stripe
|
|
2106
1075
|
@mandate_options = mandate_options
|
2107
1076
|
@moto = moto
|
2108
1077
|
@network = network
|
2109
|
-
@request_decremental_authorization = request_decremental_authorization
|
2110
1078
|
@request_extended_authorization = request_extended_authorization
|
2111
1079
|
@request_incremental_authorization = request_incremental_authorization
|
2112
1080
|
@request_multicapture = request_multicapture
|
2113
1081
|
@request_overcapture = request_overcapture
|
2114
|
-
@request_partial_authorization = request_partial_authorization
|
2115
1082
|
@request_three_d_secure = request_three_d_secure
|
2116
1083
|
@require_cvc_recollection = require_cvc_recollection
|
2117
1084
|
@setup_future_usage = setup_future_usage
|
2118
1085
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
2119
1086
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
2120
|
-
@statement_details = statement_details
|
2121
1087
|
@three_d_secure = three_d_secure
|
2122
1088
|
end
|
2123
1089
|
end
|
@@ -2288,23 +1254,6 @@ module Stripe
|
|
2288
1254
|
end
|
2289
1255
|
end
|
2290
1256
|
|
2291
|
-
class Gopay < Stripe::RequestParams
|
2292
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2293
|
-
#
|
2294
|
-
# 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.
|
2295
|
-
#
|
2296
|
-
# 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.
|
2297
|
-
#
|
2298
|
-
# 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).
|
2299
|
-
#
|
2300
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2301
|
-
attr_accessor :setup_future_usage
|
2302
|
-
|
2303
|
-
def initialize(setup_future_usage: nil)
|
2304
|
-
@setup_future_usage = setup_future_usage
|
2305
|
-
end
|
2306
|
-
end
|
2307
|
-
|
2308
1257
|
class Grabpay < Stripe::RequestParams
|
2309
1258
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2310
1259
|
#
|
@@ -2322,29 +1271,6 @@ module Stripe
|
|
2322
1271
|
end
|
2323
1272
|
end
|
2324
1273
|
|
2325
|
-
class IdBankTransfer < Stripe::RequestParams
|
2326
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
2327
|
-
attr_accessor :expires_after
|
2328
|
-
# 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.
|
2329
|
-
attr_accessor :expires_at
|
2330
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2331
|
-
#
|
2332
|
-
# 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.
|
2333
|
-
#
|
2334
|
-
# 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.
|
2335
|
-
#
|
2336
|
-
# 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).
|
2337
|
-
#
|
2338
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2339
|
-
attr_accessor :setup_future_usage
|
2340
|
-
|
2341
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
2342
|
-
@expires_after = expires_after
|
2343
|
-
@expires_at = expires_at
|
2344
|
-
@setup_future_usage = setup_future_usage
|
2345
|
-
end
|
2346
|
-
end
|
2347
|
-
|
2348
1274
|
class Ideal < Stripe::RequestParams
|
2349
1275
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2350
1276
|
#
|
@@ -2746,65 +1672,12 @@ module Stripe
|
|
2746
1672
|
end
|
2747
1673
|
|
2748
1674
|
class Paypal < Stripe::RequestParams
|
2749
|
-
class LineItem < Stripe::RequestParams
|
2750
|
-
class Tax < Stripe::RequestParams
|
2751
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2752
|
-
attr_accessor :amount
|
2753
|
-
# The tax behavior for the line item.
|
2754
|
-
attr_accessor :behavior
|
2755
|
-
|
2756
|
-
def initialize(amount: nil, behavior: nil)
|
2757
|
-
@amount = amount
|
2758
|
-
@behavior = behavior
|
2759
|
-
end
|
2760
|
-
end
|
2761
|
-
# Type of the line item.
|
2762
|
-
attr_accessor :category
|
2763
|
-
# Description of the line item.
|
2764
|
-
attr_accessor :description
|
2765
|
-
# Descriptive name of the line item.
|
2766
|
-
attr_accessor :name
|
2767
|
-
# Quantity of the line item. Must be a positive number.
|
2768
|
-
attr_accessor :quantity
|
2769
|
-
# Client facing stock keeping unit, article number or similar.
|
2770
|
-
attr_accessor :sku
|
2771
|
-
# The Stripe account ID of the connected account that sells the item.
|
2772
|
-
attr_accessor :sold_by
|
2773
|
-
# The tax information for the line item.
|
2774
|
-
attr_accessor :tax
|
2775
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2776
|
-
attr_accessor :unit_amount
|
2777
|
-
|
2778
|
-
def initialize(
|
2779
|
-
category: nil,
|
2780
|
-
description: nil,
|
2781
|
-
name: nil,
|
2782
|
-
quantity: nil,
|
2783
|
-
sku: nil,
|
2784
|
-
sold_by: nil,
|
2785
|
-
tax: nil,
|
2786
|
-
unit_amount: nil
|
2787
|
-
)
|
2788
|
-
@category = category
|
2789
|
-
@description = description
|
2790
|
-
@name = name
|
2791
|
-
@quantity = quantity
|
2792
|
-
@sku = sku
|
2793
|
-
@sold_by = sold_by
|
2794
|
-
@tax = tax
|
2795
|
-
@unit_amount = unit_amount
|
2796
|
-
end
|
2797
|
-
end
|
2798
1675
|
# Controls when the funds will be captured from the customer's account.
|
2799
1676
|
attr_accessor :capture_method
|
2800
|
-
# The line items purchased by the customer.
|
2801
|
-
attr_accessor :line_items
|
2802
1677
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
2803
1678
|
attr_accessor :preferred_locale
|
2804
1679
|
# 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.
|
2805
1680
|
attr_accessor :reference
|
2806
|
-
# 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.
|
2807
|
-
attr_accessor :reference_id
|
2808
1681
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
2809
1682
|
attr_accessor :risk_correlation_id
|
2810
1683
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -2817,140 +1690,29 @@ module Stripe
|
|
2817
1690
|
#
|
2818
1691
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2819
1692
|
attr_accessor :setup_future_usage
|
2820
|
-
# 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.
|
2821
|
-
attr_accessor :subsellers
|
2822
1693
|
|
2823
1694
|
def initialize(
|
2824
1695
|
capture_method: nil,
|
2825
|
-
line_items: nil,
|
2826
1696
|
preferred_locale: nil,
|
2827
1697
|
reference: nil,
|
2828
|
-
reference_id: nil,
|
2829
1698
|
risk_correlation_id: nil,
|
2830
|
-
setup_future_usage: nil
|
2831
|
-
subsellers: nil
|
1699
|
+
setup_future_usage: nil
|
2832
1700
|
)
|
2833
1701
|
@capture_method = capture_method
|
2834
|
-
@line_items = line_items
|
2835
1702
|
@preferred_locale = preferred_locale
|
2836
1703
|
@reference = reference
|
2837
|
-
@reference_id = reference_id
|
2838
1704
|
@risk_correlation_id = risk_correlation_id
|
2839
1705
|
@setup_future_usage = setup_future_usage
|
2840
|
-
@subsellers = subsellers
|
2841
|
-
end
|
2842
|
-
end
|
2843
|
-
|
2844
|
-
class Paypay < Stripe::RequestParams
|
2845
|
-
# Controls when the funds are captured from the customer's account.
|
2846
|
-
#
|
2847
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
2848
|
-
#
|
2849
|
-
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
2850
|
-
attr_accessor :capture_method
|
2851
|
-
|
2852
|
-
def initialize(capture_method: nil)
|
2853
|
-
@capture_method = capture_method
|
2854
|
-
end
|
2855
|
-
end
|
2856
|
-
|
2857
|
-
class Payto < Stripe::RequestParams
|
2858
|
-
class MandateOptions < Stripe::RequestParams
|
2859
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2860
|
-
attr_accessor :amount
|
2861
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2862
|
-
attr_accessor :amount_type
|
2863
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2864
|
-
attr_accessor :end_date
|
2865
|
-
# The periodicity at which payments will be collected.
|
2866
|
-
attr_accessor :payment_schedule
|
2867
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2868
|
-
attr_accessor :payments_per_period
|
2869
|
-
# The purpose for which payments are made. Defaults to retail.
|
2870
|
-
attr_accessor :purpose
|
2871
|
-
|
2872
|
-
def initialize(
|
2873
|
-
amount: nil,
|
2874
|
-
amount_type: nil,
|
2875
|
-
end_date: nil,
|
2876
|
-
payment_schedule: nil,
|
2877
|
-
payments_per_period: nil,
|
2878
|
-
purpose: nil
|
2879
|
-
)
|
2880
|
-
@amount = amount
|
2881
|
-
@amount_type = amount_type
|
2882
|
-
@end_date = end_date
|
2883
|
-
@payment_schedule = payment_schedule
|
2884
|
-
@payments_per_period = payments_per_period
|
2885
|
-
@purpose = purpose
|
2886
|
-
end
|
2887
|
-
end
|
2888
|
-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
2889
|
-
attr_accessor :mandate_options
|
2890
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2891
|
-
#
|
2892
|
-
# 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.
|
2893
|
-
#
|
2894
|
-
# 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.
|
2895
|
-
#
|
2896
|
-
# 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).
|
2897
|
-
#
|
2898
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2899
|
-
attr_accessor :setup_future_usage
|
2900
|
-
|
2901
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
2902
|
-
@mandate_options = mandate_options
|
2903
|
-
@setup_future_usage = setup_future_usage
|
2904
1706
|
end
|
2905
1707
|
end
|
2906
1708
|
|
2907
1709
|
class Pix < Stripe::RequestParams
|
2908
|
-
class MandateOptions < Stripe::RequestParams
|
2909
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
2910
|
-
attr_accessor :amount
|
2911
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2912
|
-
attr_accessor :amount_includes_iof
|
2913
|
-
# Type of amount. Defaults to `maximum`.
|
2914
|
-
attr_accessor :amount_type
|
2915
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
2916
|
-
attr_accessor :currency
|
2917
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
2918
|
-
attr_accessor :end_date
|
2919
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
2920
|
-
attr_accessor :payment_schedule
|
2921
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
2922
|
-
attr_accessor :reference
|
2923
|
-
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
2924
|
-
attr_accessor :start_date
|
2925
|
-
|
2926
|
-
def initialize(
|
2927
|
-
amount: nil,
|
2928
|
-
amount_includes_iof: nil,
|
2929
|
-
amount_type: nil,
|
2930
|
-
currency: nil,
|
2931
|
-
end_date: nil,
|
2932
|
-
payment_schedule: nil,
|
2933
|
-
reference: nil,
|
2934
|
-
start_date: nil
|
2935
|
-
)
|
2936
|
-
@amount = amount
|
2937
|
-
@amount_includes_iof = amount_includes_iof
|
2938
|
-
@amount_type = amount_type
|
2939
|
-
@currency = currency
|
2940
|
-
@end_date = end_date
|
2941
|
-
@payment_schedule = payment_schedule
|
2942
|
-
@reference = reference
|
2943
|
-
@start_date = start_date
|
2944
|
-
end
|
2945
|
-
end
|
2946
1710
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2947
1711
|
attr_accessor :amount_includes_iof
|
2948
1712
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
2949
1713
|
attr_accessor :expires_after_seconds
|
2950
1714
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
2951
1715
|
attr_accessor :expires_at
|
2952
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
2953
|
-
attr_accessor :mandate_options
|
2954
1716
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2955
1717
|
#
|
2956
1718
|
# 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.
|
@@ -2966,13 +1728,11 @@ module Stripe
|
|
2966
1728
|
amount_includes_iof: nil,
|
2967
1729
|
expires_after_seconds: nil,
|
2968
1730
|
expires_at: nil,
|
2969
|
-
mandate_options: nil,
|
2970
1731
|
setup_future_usage: nil
|
2971
1732
|
)
|
2972
1733
|
@amount_includes_iof = amount_includes_iof
|
2973
1734
|
@expires_after_seconds = expires_after_seconds
|
2974
1735
|
@expires_at = expires_at
|
2975
|
-
@mandate_options = mandate_options
|
2976
1736
|
@setup_future_usage = setup_future_usage
|
2977
1737
|
end
|
2978
1738
|
end
|
@@ -2994,25 +1754,6 @@ module Stripe
|
|
2994
1754
|
end
|
2995
1755
|
end
|
2996
1756
|
|
2997
|
-
class Qris < Stripe::RequestParams
|
2998
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2999
|
-
#
|
3000
|
-
# 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.
|
3001
|
-
#
|
3002
|
-
# 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.
|
3003
|
-
#
|
3004
|
-
# 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).
|
3005
|
-
#
|
3006
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3007
|
-
attr_accessor :setup_future_usage
|
3008
|
-
|
3009
|
-
def initialize(setup_future_usage: nil)
|
3010
|
-
@setup_future_usage = setup_future_usage
|
3011
|
-
end
|
3012
|
-
end
|
3013
|
-
|
3014
|
-
class Rechnung < Stripe::RequestParams; end
|
3015
|
-
|
3016
1757
|
class RevolutPay < Stripe::RequestParams
|
3017
1758
|
# Controls when the funds are captured from the customer's account.
|
3018
1759
|
#
|
@@ -3092,23 +1833,6 @@ module Stripe
|
|
3092
1833
|
end
|
3093
1834
|
end
|
3094
1835
|
|
3095
|
-
class Shopeepay < Stripe::RequestParams
|
3096
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3097
|
-
#
|
3098
|
-
# 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.
|
3099
|
-
#
|
3100
|
-
# 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.
|
3101
|
-
#
|
3102
|
-
# 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).
|
3103
|
-
#
|
3104
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3105
|
-
attr_accessor :setup_future_usage
|
3106
|
-
|
3107
|
-
def initialize(setup_future_usage: nil)
|
3108
|
-
@setup_future_usage = setup_future_usage
|
3109
|
-
end
|
3110
|
-
end
|
3111
|
-
|
3112
1836
|
class Sofort < Stripe::RequestParams
|
3113
1837
|
# Language shown to the payer on redirect.
|
3114
1838
|
attr_accessor :preferred_language
|
@@ -3129,23 +1853,6 @@ module Stripe
|
|
3129
1853
|
end
|
3130
1854
|
end
|
3131
1855
|
|
3132
|
-
class StripeBalance < Stripe::RequestParams
|
3133
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3134
|
-
#
|
3135
|
-
# 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.
|
3136
|
-
#
|
3137
|
-
# 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.
|
3138
|
-
#
|
3139
|
-
# 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).
|
3140
|
-
#
|
3141
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3142
|
-
attr_accessor :setup_future_usage
|
3143
|
-
|
3144
|
-
def initialize(setup_future_usage: nil)
|
3145
|
-
@setup_future_usage = setup_future_usage
|
3146
|
-
end
|
3147
|
-
end
|
3148
|
-
|
3149
1856
|
class Swish < Stripe::RequestParams
|
3150
1857
|
# A reference for this payment to be displayed in the Swish app.
|
3151
1858
|
attr_accessor :reference
|
@@ -3188,27 +1895,13 @@ module Stripe
|
|
3188
1895
|
class Filters < Stripe::RequestParams
|
3189
1896
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3190
1897
|
attr_accessor :account_subcategories
|
3191
|
-
# ID of the institution to use to filter for selectable accounts.
|
3192
|
-
attr_accessor :institution
|
3193
1898
|
|
3194
|
-
def initialize(account_subcategories: nil
|
1899
|
+
def initialize(account_subcategories: nil)
|
3195
1900
|
@account_subcategories = account_subcategories
|
3196
|
-
@institution = institution
|
3197
|
-
end
|
3198
|
-
end
|
3199
|
-
|
3200
|
-
class ManualEntry < Stripe::RequestParams
|
3201
|
-
# Settings for configuring manual entry of account details.
|
3202
|
-
attr_accessor :mode
|
3203
|
-
|
3204
|
-
def initialize(mode: nil)
|
3205
|
-
@mode = mode
|
3206
1901
|
end
|
3207
1902
|
end
|
3208
1903
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3209
1904
|
attr_accessor :filters
|
3210
|
-
# Customize manual entry behavior
|
3211
|
-
attr_accessor :manual_entry
|
3212
1905
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3213
1906
|
attr_accessor :permissions
|
3214
1907
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3216,15 +1909,8 @@ module Stripe
|
|
3216
1909
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
3217
1910
|
attr_accessor :return_url
|
3218
1911
|
|
3219
|
-
def initialize(
|
3220
|
-
filters: nil,
|
3221
|
-
manual_entry: nil,
|
3222
|
-
permissions: nil,
|
3223
|
-
prefetch: nil,
|
3224
|
-
return_url: nil
|
3225
|
-
)
|
1912
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3226
1913
|
@filters = filters
|
3227
|
-
@manual_entry = manual_entry
|
3228
1914
|
@permissions = permissions
|
3229
1915
|
@prefetch = prefetch
|
3230
1916
|
@return_url = return_url
|
@@ -3369,12 +2055,8 @@ module Stripe
|
|
3369
2055
|
attr_accessor :fpx
|
3370
2056
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
3371
2057
|
attr_accessor :giropay
|
3372
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
3373
|
-
attr_accessor :gopay
|
3374
2058
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
3375
2059
|
attr_accessor :grabpay
|
3376
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
3377
|
-
attr_accessor :id_bank_transfer
|
3378
2060
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
3379
2061
|
attr_accessor :ideal
|
3380
2062
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
@@ -3411,18 +2093,10 @@ module Stripe
|
|
3411
2093
|
attr_accessor :paynow
|
3412
2094
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3413
2095
|
attr_accessor :paypal
|
3414
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
3415
|
-
attr_accessor :paypay
|
3416
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
3417
|
-
attr_accessor :payto
|
3418
2096
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
3419
2097
|
attr_accessor :pix
|
3420
2098
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
3421
2099
|
attr_accessor :promptpay
|
3422
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
3423
|
-
attr_accessor :qris
|
3424
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
3425
|
-
attr_accessor :rechnung
|
3426
2100
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
3427
2101
|
attr_accessor :revolut_pay
|
3428
2102
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
@@ -3431,12 +2105,8 @@ module Stripe
|
|
3431
2105
|
attr_accessor :satispay
|
3432
2106
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3433
2107
|
attr_accessor :sepa_debit
|
3434
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
3435
|
-
attr_accessor :shopeepay
|
3436
2108
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
3437
2109
|
attr_accessor :sofort
|
3438
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
3439
|
-
attr_accessor :stripe_balance
|
3440
2110
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
3441
2111
|
attr_accessor :swish
|
3442
2112
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
@@ -3469,9 +2139,7 @@ module Stripe
|
|
3469
2139
|
eps: nil,
|
3470
2140
|
fpx: nil,
|
3471
2141
|
giropay: nil,
|
3472
|
-
gopay: nil,
|
3473
2142
|
grabpay: nil,
|
3474
|
-
id_bank_transfer: nil,
|
3475
2143
|
ideal: nil,
|
3476
2144
|
interac_present: nil,
|
3477
2145
|
kakao_pay: nil,
|
@@ -3490,19 +2158,13 @@ module Stripe
|
|
3490
2158
|
payco: nil,
|
3491
2159
|
paynow: nil,
|
3492
2160
|
paypal: nil,
|
3493
|
-
paypay: nil,
|
3494
|
-
payto: nil,
|
3495
2161
|
pix: nil,
|
3496
2162
|
promptpay: nil,
|
3497
|
-
qris: nil,
|
3498
|
-
rechnung: nil,
|
3499
2163
|
revolut_pay: nil,
|
3500
2164
|
samsung_pay: nil,
|
3501
2165
|
satispay: nil,
|
3502
2166
|
sepa_debit: nil,
|
3503
|
-
shopeepay: nil,
|
3504
2167
|
sofort: nil,
|
3505
|
-
stripe_balance: nil,
|
3506
2168
|
swish: nil,
|
3507
2169
|
twint: nil,
|
3508
2170
|
us_bank_account: nil,
|
@@ -3529,9 +2191,7 @@ module Stripe
|
|
3529
2191
|
@eps = eps
|
3530
2192
|
@fpx = fpx
|
3531
2193
|
@giropay = giropay
|
3532
|
-
@gopay = gopay
|
3533
2194
|
@grabpay = grabpay
|
3534
|
-
@id_bank_transfer = id_bank_transfer
|
3535
2195
|
@ideal = ideal
|
3536
2196
|
@interac_present = interac_present
|
3537
2197
|
@kakao_pay = kakao_pay
|
@@ -3550,19 +2210,13 @@ module Stripe
|
|
3550
2210
|
@payco = payco
|
3551
2211
|
@paynow = paynow
|
3552
2212
|
@paypal = paypal
|
3553
|
-
@paypay = paypay
|
3554
|
-
@payto = payto
|
3555
2213
|
@pix = pix
|
3556
2214
|
@promptpay = promptpay
|
3557
|
-
@qris = qris
|
3558
|
-
@rechnung = rechnung
|
3559
2215
|
@revolut_pay = revolut_pay
|
3560
2216
|
@samsung_pay = samsung_pay
|
3561
2217
|
@satispay = satispay
|
3562
2218
|
@sepa_debit = sepa_debit
|
3563
|
-
@shopeepay = shopeepay
|
3564
2219
|
@sofort = sofort
|
3565
|
-
@stripe_balance = stripe_balance
|
3566
2220
|
@swish = swish
|
3567
2221
|
@twint = twint
|
3568
2222
|
@us_bank_account = us_bank_account
|
@@ -3630,10 +2284,6 @@ module Stripe
|
|
3630
2284
|
@tracking_number = tracking_number
|
3631
2285
|
end
|
3632
2286
|
end
|
3633
|
-
# Provides industry-specific information about the amount.
|
3634
|
-
attr_accessor :amount_details
|
3635
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
3636
|
-
attr_accessor :application_fee_amount
|
3637
2287
|
# Controls when the funds will be captured from the customer's account.
|
3638
2288
|
attr_accessor :capture_method
|
3639
2289
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
@@ -3646,18 +2296,12 @@ module Stripe
|
|
3646
2296
|
attr_accessor :excluded_payment_method_types
|
3647
2297
|
# Specifies which fields in the response should be expanded.
|
3648
2298
|
attr_accessor :expand
|
3649
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
3650
|
-
attr_accessor :fx_quote
|
3651
|
-
# Automations to be run during the PaymentIntent lifecycle
|
3652
|
-
attr_accessor :hooks
|
3653
2299
|
# ID of the mandate that's used for this payment.
|
3654
2300
|
attr_accessor :mandate
|
3655
2301
|
# Attribute for param field mandate_data
|
3656
2302
|
attr_accessor :mandate_data
|
3657
2303
|
# Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
|
3658
2304
|
attr_accessor :off_session
|
3659
|
-
# Provides industry-specific information about the charge.
|
3660
|
-
attr_accessor :payment_details
|
3661
2305
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
|
3662
2306
|
# If the payment method is attached to a Customer, it must match the [customer](https://stripe.com/docs/api#create_payment_intent-customer) that is set on this PaymentIntent.
|
3663
2307
|
attr_accessor :payment_method
|
@@ -3693,19 +2337,14 @@ module Stripe
|
|
3693
2337
|
attr_accessor :use_stripe_sdk
|
3694
2338
|
|
3695
2339
|
def initialize(
|
3696
|
-
amount_details: nil,
|
3697
|
-
application_fee_amount: nil,
|
3698
2340
|
capture_method: nil,
|
3699
2341
|
confirmation_token: nil,
|
3700
2342
|
error_on_requires_action: nil,
|
3701
2343
|
excluded_payment_method_types: nil,
|
3702
2344
|
expand: nil,
|
3703
|
-
fx_quote: nil,
|
3704
|
-
hooks: nil,
|
3705
2345
|
mandate: nil,
|
3706
2346
|
mandate_data: nil,
|
3707
2347
|
off_session: nil,
|
3708
|
-
payment_details: nil,
|
3709
2348
|
payment_method: nil,
|
3710
2349
|
payment_method_data: nil,
|
3711
2350
|
payment_method_options: nil,
|
@@ -3717,19 +2356,14 @@ module Stripe
|
|
3717
2356
|
shipping: nil,
|
3718
2357
|
use_stripe_sdk: nil
|
3719
2358
|
)
|
3720
|
-
@amount_details = amount_details
|
3721
|
-
@application_fee_amount = application_fee_amount
|
3722
2359
|
@capture_method = capture_method
|
3723
2360
|
@confirmation_token = confirmation_token
|
3724
2361
|
@error_on_requires_action = error_on_requires_action
|
3725
2362
|
@excluded_payment_method_types = excluded_payment_method_types
|
3726
2363
|
@expand = expand
|
3727
|
-
@fx_quote = fx_quote
|
3728
|
-
@hooks = hooks
|
3729
2364
|
@mandate = mandate
|
3730
2365
|
@mandate_data = mandate_data
|
3731
2366
|
@off_session = off_session
|
3732
|
-
@payment_details = payment_details
|
3733
2367
|
@payment_method = payment_method
|
3734
2368
|
@payment_method_data = payment_method_data
|
3735
2369
|
@payment_method_options = payment_method_options
|