stripe 20.2.0.pre.beta.1 → 21.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_operations/request.rb +2 -0
- data/lib/stripe/api_requestor.rb +1 -4
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +0 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +3 -87
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +1 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +109 -3062
- data/lib/stripe/params/payment_intent_create_params.rb +122 -3075
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +76 -3060
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +5 -116
- data/lib/stripe/params/tax/registration_create_params.rb +1 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- 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_payment_create_params.rb +0 -19
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +5 -392
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +4 -376
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +0 -364
- data/lib/stripe/request_options.rb +18 -0
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +1 -227
- data/lib/stripe/resources/checkout/session.rb +3 -91
- data/lib/stripe/resources/confirmation_token.rb +0 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +0 -18
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +0 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +1 -177
- data/lib/stripe/resources/payment_intent.rb +24 -1602
- data/lib/stripe/resources/payment_method.rb +0 -151
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +1 -177
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/registration.rb +1 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- 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_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/core/account.rb +2 -802
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +36 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +2 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +0 -181
- data/lib/stripe/stripe_client.rb +1 -4
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_event_notification_handler.rb +0 -216
- data/lib/stripe/stripe_object.rb +60 -1
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +33552 -100276
- metadata +6 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_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_under_review_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_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_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_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/authorization_retrieve_params.rb +0 -15
- 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/invoice_detach_payment_params.rb +0 -16
- 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_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- 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 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- 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/radar/billing_evaluation_create_params.rb +0 -231
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_list_params.rb +0 -37
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -71
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- 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/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -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 -257
- 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 -263
- 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/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- 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 -112
- 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_disable_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/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_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 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- 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 -149
- 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 -927
- data/lib/stripe/resources/payment_plan.rb +0 -213
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- 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 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- 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/authorization_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_service.rb +0 -53
- data/lib/stripe/services/payment_plan_service.rb +0 -50
- 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/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- 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/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -44,38 +44,6 @@ module Stripe
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
class Display < ::Stripe::StripeObject
|
|
48
|
-
# Attribute for field description
|
|
49
|
-
attr_reader :description
|
|
50
|
-
# Attribute for field images
|
|
51
|
-
attr_reader :images
|
|
52
|
-
# Attribute for field name
|
|
53
|
-
attr_reader :name
|
|
54
|
-
|
|
55
|
-
def self.inner_class_types
|
|
56
|
-
@inner_class_types = {}
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
def self.field_remappings
|
|
60
|
-
@field_remappings = {}
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
class TaxCalculationReference < ::Stripe::StripeObject
|
|
65
|
-
# The calculation identifier for tax calculation response.
|
|
66
|
-
attr_reader :calculation_id
|
|
67
|
-
# The calculation identifier for tax calculation response line item.
|
|
68
|
-
attr_reader :calculation_item_id
|
|
69
|
-
|
|
70
|
-
def self.inner_class_types
|
|
71
|
-
@inner_class_types = {}
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
def self.field_remappings
|
|
75
|
-
@field_remappings = {}
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
47
|
class Tax < ::Stripe::StripeObject
|
|
80
48
|
# Amount of tax applied for this rate.
|
|
81
49
|
attr_reader :amount
|
|
@@ -112,8 +80,6 @@ module Stripe
|
|
|
112
80
|
attr_reader :description
|
|
113
81
|
# The discounts applied to the line item.
|
|
114
82
|
attr_reader :discounts
|
|
115
|
-
# Attribute for field display
|
|
116
|
-
attr_reader :display
|
|
117
83
|
# Unique identifier for the object.
|
|
118
84
|
attr_reader :id
|
|
119
85
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
@@ -122,14 +88,8 @@ module Stripe
|
|
|
122
88
|
attr_reader :object
|
|
123
89
|
# The price used to generate the line item.
|
|
124
90
|
attr_reader :price
|
|
125
|
-
# The ID of the product for this line item.
|
|
126
|
-
#
|
|
127
|
-
# This will always be the same as `price.product`.
|
|
128
|
-
attr_reader :product
|
|
129
91
|
# The quantity of products being purchased.
|
|
130
92
|
attr_reader :quantity
|
|
131
|
-
# The tax calculation identifiers of the line item.
|
|
132
|
-
attr_reader :tax_calculation_reference
|
|
133
93
|
# The taxes applied to the line item.
|
|
134
94
|
attr_reader :taxes
|
|
135
95
|
|
|
@@ -137,8 +97,6 @@ module Stripe
|
|
|
137
97
|
@inner_class_types = {
|
|
138
98
|
adjustable_quantity: AdjustableQuantity,
|
|
139
99
|
discounts: Discount,
|
|
140
|
-
display: Display,
|
|
141
|
-
tax_calculation_reference: TaxCalculationReference,
|
|
142
100
|
taxes: Tax,
|
|
143
101
|
}
|
|
144
102
|
end
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
module Stripe
|
|
5
5
|
# A Mandate is a record of the permission that your customer gives you to debit their payment method.
|
|
6
6
|
class Mandate < APIResource
|
|
7
|
-
extend Stripe::APIOperations::List
|
|
8
|
-
|
|
9
7
|
OBJECT_NAME = "mandate"
|
|
10
8
|
def self.object_name
|
|
11
9
|
"mandate"
|
|
@@ -248,13 +246,8 @@ module Stripe
|
|
|
248
246
|
class Paypal < ::Stripe::StripeObject
|
|
249
247
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
250
248
|
attr_reader :billing_agreement_id
|
|
251
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
252
|
-
attr_reader :fingerprint
|
|
253
249
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
254
250
|
attr_reader :payer_id
|
|
255
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
256
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
257
|
-
attr_reader :verified_email
|
|
258
251
|
|
|
259
252
|
def self.inner_class_types
|
|
260
253
|
@inner_class_types = {}
|
|
@@ -492,11 +485,6 @@ module Stripe
|
|
|
492
485
|
# The type of the mandate.
|
|
493
486
|
attr_reader :type
|
|
494
487
|
|
|
495
|
-
# Retrieves a list of Mandates for a given PaymentMethod.
|
|
496
|
-
def self.list(params = {}, opts = {})
|
|
497
|
-
request_stripe_object(method: :get, path: "/v1/mandates", params: params, opts: opts)
|
|
498
|
-
end
|
|
499
|
-
|
|
500
488
|
def self.inner_class_types
|
|
501
489
|
@inner_class_types = {
|
|
502
490
|
customer_acceptance: CustomerAcceptance,
|
|
@@ -287,8 +287,6 @@ module Stripe
|
|
|
287
287
|
class Card < ::Stripe::StripeObject
|
|
288
288
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
289
289
|
attr_reader :brand
|
|
290
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
291
|
-
attr_reader :brand_product
|
|
292
290
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
293
291
|
attr_reader :country
|
|
294
292
|
# Two-digit number representing the card's expiration month.
|
|
@@ -935,16 +933,6 @@ module Stripe
|
|
|
935
933
|
end
|
|
936
934
|
end
|
|
937
935
|
|
|
938
|
-
class Gopay < ::Stripe::StripeObject
|
|
939
|
-
def self.inner_class_types
|
|
940
|
-
@inner_class_types = {}
|
|
941
|
-
end
|
|
942
|
-
|
|
943
|
-
def self.field_remappings
|
|
944
|
-
@field_remappings = {}
|
|
945
|
-
end
|
|
946
|
-
end
|
|
947
|
-
|
|
948
936
|
class Grabpay < ::Stripe::StripeObject
|
|
949
937
|
# Unique transaction id generated by GrabPay
|
|
950
938
|
attr_reader :transaction_id
|
|
@@ -958,27 +946,6 @@ module Stripe
|
|
|
958
946
|
end
|
|
959
947
|
end
|
|
960
948
|
|
|
961
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
962
|
-
# Account number of the bank account to transfer funds to.
|
|
963
|
-
attr_reader :account_number
|
|
964
|
-
# Bank where the account is located.
|
|
965
|
-
attr_reader :bank
|
|
966
|
-
# Local bank code of the bank.
|
|
967
|
-
attr_reader :bank_code
|
|
968
|
-
# Name of the bank associated with the bank account.
|
|
969
|
-
attr_reader :bank_name
|
|
970
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
971
|
-
attr_reader :display_name
|
|
972
|
-
|
|
973
|
-
def self.inner_class_types
|
|
974
|
-
@inner_class_types = {}
|
|
975
|
-
end
|
|
976
|
-
|
|
977
|
-
def self.field_remappings
|
|
978
|
-
@field_remappings = {}
|
|
979
|
-
end
|
|
980
|
-
end
|
|
981
|
-
|
|
982
949
|
class Ideal < ::Stripe::StripeObject
|
|
983
950
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
984
951
|
attr_reader :bank
|
|
@@ -1404,52 +1371,6 @@ module Stripe
|
|
|
1404
1371
|
@field_remappings = {}
|
|
1405
1372
|
end
|
|
1406
1373
|
end
|
|
1407
|
-
|
|
1408
|
-
class Shipping < ::Stripe::StripeObject
|
|
1409
|
-
# City, district, suburb, town, or village.
|
|
1410
|
-
attr_reader :city
|
|
1411
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1412
|
-
attr_reader :country
|
|
1413
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1414
|
-
attr_reader :line1
|
|
1415
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1416
|
-
attr_reader :line2
|
|
1417
|
-
# ZIP or postal code.
|
|
1418
|
-
attr_reader :postal_code
|
|
1419
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1420
|
-
attr_reader :state
|
|
1421
|
-
|
|
1422
|
-
def self.inner_class_types
|
|
1423
|
-
@inner_class_types = {}
|
|
1424
|
-
end
|
|
1425
|
-
|
|
1426
|
-
def self.field_remappings
|
|
1427
|
-
@field_remappings = {}
|
|
1428
|
-
end
|
|
1429
|
-
end
|
|
1430
|
-
|
|
1431
|
-
class VerifiedAddress < ::Stripe::StripeObject
|
|
1432
|
-
# City, district, suburb, town, or village.
|
|
1433
|
-
attr_reader :city
|
|
1434
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1435
|
-
attr_reader :country
|
|
1436
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1437
|
-
attr_reader :line1
|
|
1438
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1439
|
-
attr_reader :line2
|
|
1440
|
-
# ZIP or postal code.
|
|
1441
|
-
attr_reader :postal_code
|
|
1442
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1443
|
-
attr_reader :state
|
|
1444
|
-
|
|
1445
|
-
def self.inner_class_types
|
|
1446
|
-
@inner_class_types = {}
|
|
1447
|
-
end
|
|
1448
|
-
|
|
1449
|
-
def self.field_remappings
|
|
1450
|
-
@field_remappings = {}
|
|
1451
|
-
end
|
|
1452
|
-
end
|
|
1453
1374
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1454
1375
|
attr_reader :country
|
|
1455
1376
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1462,29 +1383,11 @@ module Stripe
|
|
|
1462
1383
|
attr_reader :payer_name
|
|
1463
1384
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1464
1385
|
attr_reader :seller_protection
|
|
1465
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1466
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1467
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1468
|
-
attr_reader :shipping
|
|
1469
1386
|
# A unique ID generated by PayPal for this transaction.
|
|
1470
1387
|
attr_reader :transaction_id
|
|
1471
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1472
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1473
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1474
|
-
attr_reader :verified_address
|
|
1475
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1476
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1477
|
-
attr_reader :verified_email
|
|
1478
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1479
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1480
|
-
attr_reader :verified_name
|
|
1481
1388
|
|
|
1482
1389
|
def self.inner_class_types
|
|
1483
|
-
@inner_class_types = {
|
|
1484
|
-
seller_protection: SellerProtection,
|
|
1485
|
-
shipping: Shipping,
|
|
1486
|
-
verified_address: VerifiedAddress,
|
|
1487
|
-
}
|
|
1390
|
+
@inner_class_types = { seller_protection: SellerProtection }
|
|
1488
1391
|
end
|
|
1489
1392
|
|
|
1490
1393
|
def self.field_remappings
|
|
@@ -1549,36 +1452,11 @@ module Stripe
|
|
|
1549
1452
|
end
|
|
1550
1453
|
end
|
|
1551
1454
|
|
|
1552
|
-
class Qris < ::Stripe::StripeObject
|
|
1553
|
-
def self.inner_class_types
|
|
1554
|
-
@inner_class_types = {}
|
|
1555
|
-
end
|
|
1556
|
-
|
|
1557
|
-
def self.field_remappings
|
|
1558
|
-
@field_remappings = {}
|
|
1559
|
-
end
|
|
1560
|
-
end
|
|
1561
|
-
|
|
1562
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1563
|
-
# Payment portal URL.
|
|
1564
|
-
attr_reader :payment_portal_url
|
|
1565
|
-
|
|
1566
|
-
def self.inner_class_types
|
|
1567
|
-
@inner_class_types = {}
|
|
1568
|
-
end
|
|
1569
|
-
|
|
1570
|
-
def self.field_remappings
|
|
1571
|
-
@field_remappings = {}
|
|
1572
|
-
end
|
|
1573
|
-
end
|
|
1574
|
-
|
|
1575
1455
|
class RevolutPay < ::Stripe::StripeObject
|
|
1576
1456
|
class Funding < ::Stripe::StripeObject
|
|
1577
1457
|
class Card < ::Stripe::StripeObject
|
|
1578
1458
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1579
1459
|
attr_reader :brand
|
|
1580
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1581
|
-
attr_reader :brand_product
|
|
1582
1460
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1583
1461
|
attr_reader :country
|
|
1584
1462
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1721,16 +1599,6 @@ module Stripe
|
|
|
1721
1599
|
end
|
|
1722
1600
|
end
|
|
1723
1601
|
|
|
1724
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1725
|
-
def self.inner_class_types
|
|
1726
|
-
@inner_class_types = {}
|
|
1727
|
-
end
|
|
1728
|
-
|
|
1729
|
-
def self.field_remappings
|
|
1730
|
-
@field_remappings = {}
|
|
1731
|
-
end
|
|
1732
|
-
end
|
|
1733
|
-
|
|
1734
1602
|
class Sofort < ::Stripe::StripeObject
|
|
1735
1603
|
# Bank code of bank associated with the bank account.
|
|
1736
1604
|
attr_reader :bank_code
|
|
@@ -1770,19 +1638,6 @@ module Stripe
|
|
|
1770
1638
|
end
|
|
1771
1639
|
end
|
|
1772
1640
|
|
|
1773
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
1774
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1775
|
-
attr_reader :account
|
|
1776
|
-
|
|
1777
|
-
def self.inner_class_types
|
|
1778
|
-
@inner_class_types = {}
|
|
1779
|
-
end
|
|
1780
|
-
|
|
1781
|
-
def self.field_remappings
|
|
1782
|
-
@field_remappings = {}
|
|
1783
|
-
end
|
|
1784
|
-
end
|
|
1785
|
-
|
|
1786
1641
|
class Sunbit < ::Stripe::StripeObject
|
|
1787
1642
|
# The Sunbit transaction ID associated with this payment.
|
|
1788
1643
|
attr_reader :transaction_id
|
|
@@ -1897,16 +1752,6 @@ module Stripe
|
|
|
1897
1752
|
end
|
|
1898
1753
|
end
|
|
1899
1754
|
|
|
1900
|
-
class Wero < ::Stripe::StripeObject
|
|
1901
|
-
def self.inner_class_types
|
|
1902
|
-
@inner_class_types = {}
|
|
1903
|
-
end
|
|
1904
|
-
|
|
1905
|
-
def self.field_remappings
|
|
1906
|
-
@field_remappings = {}
|
|
1907
|
-
end
|
|
1908
|
-
end
|
|
1909
|
-
|
|
1910
1755
|
class Zip < ::Stripe::StripeObject
|
|
1911
1756
|
def self.inner_class_types
|
|
1912
1757
|
@inner_class_types = {}
|
|
@@ -1968,12 +1813,8 @@ module Stripe
|
|
|
1968
1813
|
attr_reader :fpx
|
|
1969
1814
|
# Attribute for field giropay
|
|
1970
1815
|
attr_reader :giropay
|
|
1971
|
-
# Attribute for field gopay
|
|
1972
|
-
attr_reader :gopay
|
|
1973
1816
|
# Attribute for field grabpay
|
|
1974
1817
|
attr_reader :grabpay
|
|
1975
|
-
# Attribute for field id_bank_transfer
|
|
1976
|
-
attr_reader :id_bank_transfer
|
|
1977
1818
|
# Attribute for field ideal
|
|
1978
1819
|
attr_reader :ideal
|
|
1979
1820
|
# Attribute for field interac_present
|
|
@@ -2022,10 +1863,6 @@ module Stripe
|
|
|
2022
1863
|
attr_reader :pix
|
|
2023
1864
|
# Attribute for field promptpay
|
|
2024
1865
|
attr_reader :promptpay
|
|
2025
|
-
# Attribute for field qris
|
|
2026
|
-
attr_reader :qris
|
|
2027
|
-
# Attribute for field rechnung
|
|
2028
|
-
attr_reader :rechnung
|
|
2029
1866
|
# Attribute for field revolut_pay
|
|
2030
1867
|
attr_reader :revolut_pay
|
|
2031
1868
|
# Attribute for field samsung_pay
|
|
@@ -2040,14 +1877,10 @@ module Stripe
|
|
|
2040
1877
|
attr_reader :sepa_debit
|
|
2041
1878
|
# Attribute for field sequra
|
|
2042
1879
|
attr_reader :sequra
|
|
2043
|
-
# Attribute for field shopeepay
|
|
2044
|
-
attr_reader :shopeepay
|
|
2045
1880
|
# Attribute for field sofort
|
|
2046
1881
|
attr_reader :sofort
|
|
2047
1882
|
# Attribute for field stripe_account
|
|
2048
1883
|
attr_reader :stripe_account
|
|
2049
|
-
# Attribute for field stripe_balance
|
|
2050
|
-
attr_reader :stripe_balance
|
|
2051
1884
|
# Attribute for field sunbit
|
|
2052
1885
|
attr_reader :sunbit
|
|
2053
1886
|
# Attribute for field swish
|
|
@@ -2066,8 +1899,6 @@ module Stripe
|
|
|
2066
1899
|
attr_reader :wechat
|
|
2067
1900
|
# Attribute for field wechat_pay
|
|
2068
1901
|
attr_reader :wechat_pay
|
|
2069
|
-
# Attribute for field wero
|
|
2070
|
-
attr_reader :wero
|
|
2071
1902
|
# Attribute for field zip
|
|
2072
1903
|
attr_reader :zip
|
|
2073
1904
|
|
|
@@ -2098,9 +1929,7 @@ module Stripe
|
|
|
2098
1929
|
eps: Eps,
|
|
2099
1930
|
fpx: Fpx,
|
|
2100
1931
|
giropay: Giropay,
|
|
2101
|
-
gopay: Gopay,
|
|
2102
1932
|
grabpay: Grabpay,
|
|
2103
|
-
id_bank_transfer: IdBankTransfer,
|
|
2104
1933
|
ideal: Ideal,
|
|
2105
1934
|
interac_present: InteracPresent,
|
|
2106
1935
|
kakao_pay: KakaoPay,
|
|
@@ -2124,8 +1953,6 @@ module Stripe
|
|
|
2124
1953
|
payto: Payto,
|
|
2125
1954
|
pix: Pix,
|
|
2126
1955
|
promptpay: Promptpay,
|
|
2127
|
-
qris: Qris,
|
|
2128
|
-
rechnung: Rechnung,
|
|
2129
1956
|
revolut_pay: RevolutPay,
|
|
2130
1957
|
samsung_pay: SamsungPay,
|
|
2131
1958
|
satispay: Satispay,
|
|
@@ -2133,10 +1960,8 @@ module Stripe
|
|
|
2133
1960
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2134
1961
|
sepa_debit: SepaDebit,
|
|
2135
1962
|
sequra: Sequra,
|
|
2136
|
-
shopeepay: Shopeepay,
|
|
2137
1963
|
sofort: Sofort,
|
|
2138
1964
|
stripe_account: StripeAccount,
|
|
2139
|
-
stripe_balance: StripeBalance,
|
|
2140
1965
|
sunbit: Sunbit,
|
|
2141
1966
|
swish: Swish,
|
|
2142
1967
|
twint: Twint,
|
|
@@ -2144,7 +1969,6 @@ module Stripe
|
|
|
2144
1969
|
us_bank_account: UsBankAccount,
|
|
2145
1970
|
wechat: Wechat,
|
|
2146
1971
|
wechat_pay: WechatPay,
|
|
2147
|
-
wero: Wero,
|
|
2148
1972
|
zip: Zip,
|
|
2149
1973
|
}
|
|
2150
1974
|
end
|