stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- 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/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- 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 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- 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 +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- 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 +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- 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 -4
- 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 +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -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 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -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_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/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_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 -41
- 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 +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -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/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- 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_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_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_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_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/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/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- 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 -67
- 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/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/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/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/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/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/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -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 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- 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 -87
- 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/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/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 -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/authorization.rb +0 -82
- 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 -927
- 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/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/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/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- 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/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- 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 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- 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/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/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- 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/tax/location_service.rb +0 -45
- 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/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- 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 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- 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/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/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Events
|
|
6
|
-
# Occurs when an Agreement is confirmed by one party.
|
|
7
|
-
class V2OrchestratedCommerceAgreementConfirmedEvent < Stripe::V2::Core::Event
|
|
8
|
-
def self.lookup_type
|
|
9
|
-
"v2.orchestrated_commerce.agreement.confirmed"
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
class V2OrchestratedCommerceAgreementConfirmedEventData < ::Stripe::StripeObject
|
|
13
|
-
class OrchestratorDetails < ::Stripe::StripeObject
|
|
14
|
-
# The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
15
|
-
attr_reader :name
|
|
16
|
-
# The Network ID of the orchestrator.
|
|
17
|
-
attr_reader :network_business_profile
|
|
18
|
-
|
|
19
|
-
def self.inner_class_types
|
|
20
|
-
@inner_class_types = {}
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def self.field_remappings
|
|
24
|
-
@field_remappings = {}
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
class SellerDetails < ::Stripe::StripeObject
|
|
29
|
-
# The Network ID of the seller.
|
|
30
|
-
attr_reader :network_business_profile
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = {}
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# The time at which the orchestrator confirmed the agreement.
|
|
41
|
-
attr_reader :orchestrator_confirmed_at
|
|
42
|
-
# Details about the orchestrator.
|
|
43
|
-
attr_reader :orchestrator_details
|
|
44
|
-
# The time at which the seller confirmed the agreement.
|
|
45
|
-
attr_reader :seller_confirmed_at
|
|
46
|
-
# Details about the seller.
|
|
47
|
-
attr_reader :seller_details
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {
|
|
51
|
-
orchestrator_details: OrchestratorDetails,
|
|
52
|
-
seller_details: SellerDetails,
|
|
53
|
-
}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
def self.inner_class_types
|
|
62
|
-
@inner_class_types = { data: V2OrchestratedCommerceAgreementConfirmedEventData }
|
|
63
|
-
end
|
|
64
|
-
attr_reader :data, :related_object
|
|
65
|
-
|
|
66
|
-
# Retrieves the related object from the API. Makes an API request on every call.
|
|
67
|
-
def fetch_related_object
|
|
68
|
-
_request(
|
|
69
|
-
method: :get,
|
|
70
|
-
path: related_object.url,
|
|
71
|
-
base_address: :api,
|
|
72
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Occurs when an Agreement is confirmed by one party.
|
|
78
|
-
class V2OrchestratedCommerceAgreementConfirmedEventNotification < Stripe::V2::Core::EventNotification
|
|
79
|
-
def self.lookup_type
|
|
80
|
-
"v2.orchestrated_commerce.agreement.confirmed"
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
attr_reader :related_object
|
|
84
|
-
|
|
85
|
-
# Retrieves the Agreement related to this EventNotification from the Stripe API. Makes an API request on every call.
|
|
86
|
-
def fetch_related_object
|
|
87
|
-
resp = @client.raw_request(
|
|
88
|
-
:get,
|
|
89
|
-
related_object.url,
|
|
90
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
|
|
91
|
-
usage: ["fetch_related_object"]
|
|
92
|
-
)
|
|
93
|
-
@client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
end
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Events
|
|
6
|
-
# Occurs when an Agreement is created.
|
|
7
|
-
class V2OrchestratedCommerceAgreementCreatedEvent < Stripe::V2::Core::Event
|
|
8
|
-
def self.lookup_type
|
|
9
|
-
"v2.orchestrated_commerce.agreement.created"
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
class V2OrchestratedCommerceAgreementCreatedEventData < ::Stripe::StripeObject
|
|
13
|
-
class OrchestratorDetails < ::Stripe::StripeObject
|
|
14
|
-
# The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
15
|
-
attr_reader :name
|
|
16
|
-
# The Network ID of the orchestrator.
|
|
17
|
-
attr_reader :network_business_profile
|
|
18
|
-
|
|
19
|
-
def self.inner_class_types
|
|
20
|
-
@inner_class_types = {}
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def self.field_remappings
|
|
24
|
-
@field_remappings = {}
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
class SellerDetails < ::Stripe::StripeObject
|
|
29
|
-
# The Network ID of the seller.
|
|
30
|
-
attr_reader :network_business_profile
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = {}
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# The time at which the agreement was created.
|
|
41
|
-
attr_reader :created
|
|
42
|
-
# The party that initiated the agreement.
|
|
43
|
-
attr_reader :initiated_by
|
|
44
|
-
# Details about the orchestrator.
|
|
45
|
-
attr_reader :orchestrator_details
|
|
46
|
-
# Details about the seller.
|
|
47
|
-
attr_reader :seller_details
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {
|
|
51
|
-
orchestrator_details: OrchestratorDetails,
|
|
52
|
-
seller_details: SellerDetails,
|
|
53
|
-
}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
def self.inner_class_types
|
|
62
|
-
@inner_class_types = { data: V2OrchestratedCommerceAgreementCreatedEventData }
|
|
63
|
-
end
|
|
64
|
-
attr_reader :data, :related_object
|
|
65
|
-
|
|
66
|
-
# Retrieves the related object from the API. Makes an API request on every call.
|
|
67
|
-
def fetch_related_object
|
|
68
|
-
_request(
|
|
69
|
-
method: :get,
|
|
70
|
-
path: related_object.url,
|
|
71
|
-
base_address: :api,
|
|
72
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Occurs when an Agreement is created.
|
|
78
|
-
class V2OrchestratedCommerceAgreementCreatedEventNotification < Stripe::V2::Core::EventNotification
|
|
79
|
-
def self.lookup_type
|
|
80
|
-
"v2.orchestrated_commerce.agreement.created"
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
attr_reader :related_object
|
|
84
|
-
|
|
85
|
-
# Retrieves the Agreement related to this EventNotification from the Stripe API. Makes an API request on every call.
|
|
86
|
-
def fetch_related_object
|
|
87
|
-
resp = @client.raw_request(
|
|
88
|
-
:get,
|
|
89
|
-
related_object.url,
|
|
90
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
|
|
91
|
-
usage: ["fetch_related_object"]
|
|
92
|
-
)
|
|
93
|
-
@client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
end
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Events
|
|
6
|
-
# Occurs when an Agreement is partially confirmed (confirmed by one party but not both).
|
|
7
|
-
class V2OrchestratedCommerceAgreementPartiallyConfirmedEvent < Stripe::V2::Core::Event
|
|
8
|
-
def self.lookup_type
|
|
9
|
-
"v2.orchestrated_commerce.agreement.partially_confirmed"
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
class V2OrchestratedCommerceAgreementPartiallyConfirmedEventData < ::Stripe::StripeObject
|
|
13
|
-
class OrchestratorDetails < ::Stripe::StripeObject
|
|
14
|
-
# The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
15
|
-
attr_reader :name
|
|
16
|
-
# The Network ID of the orchestrator.
|
|
17
|
-
attr_reader :network_business_profile
|
|
18
|
-
|
|
19
|
-
def self.inner_class_types
|
|
20
|
-
@inner_class_types = {}
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def self.field_remappings
|
|
24
|
-
@field_remappings = {}
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
class SellerDetails < ::Stripe::StripeObject
|
|
29
|
-
# The Network ID of the seller.
|
|
30
|
-
attr_reader :network_business_profile
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = {}
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# The time at which the orchestrator confirmed the agreement.
|
|
41
|
-
attr_reader :orchestrator_confirmed_at
|
|
42
|
-
# Details about the orchestrator.
|
|
43
|
-
attr_reader :orchestrator_details
|
|
44
|
-
# The time at which the seller confirmed the agreement.
|
|
45
|
-
attr_reader :seller_confirmed_at
|
|
46
|
-
# Details about the seller.
|
|
47
|
-
attr_reader :seller_details
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {
|
|
51
|
-
orchestrator_details: OrchestratorDetails,
|
|
52
|
-
seller_details: SellerDetails,
|
|
53
|
-
}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
def self.inner_class_types
|
|
62
|
-
@inner_class_types = { data: V2OrchestratedCommerceAgreementPartiallyConfirmedEventData }
|
|
63
|
-
end
|
|
64
|
-
attr_reader :data, :related_object
|
|
65
|
-
|
|
66
|
-
# Retrieves the related object from the API. Makes an API request on every call.
|
|
67
|
-
def fetch_related_object
|
|
68
|
-
_request(
|
|
69
|
-
method: :get,
|
|
70
|
-
path: related_object.url,
|
|
71
|
-
base_address: :api,
|
|
72
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Occurs when an Agreement is partially confirmed (confirmed by one party but not both).
|
|
78
|
-
class V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification < Stripe::V2::Core::EventNotification
|
|
79
|
-
def self.lookup_type
|
|
80
|
-
"v2.orchestrated_commerce.agreement.partially_confirmed"
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
attr_reader :related_object
|
|
84
|
-
|
|
85
|
-
# Retrieves the Agreement related to this EventNotification from the Stripe API. Makes an API request on every call.
|
|
86
|
-
def fetch_related_object
|
|
87
|
-
resp = @client.raw_request(
|
|
88
|
-
:get,
|
|
89
|
-
related_object.url,
|
|
90
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
|
|
91
|
-
usage: ["fetch_related_object"]
|
|
92
|
-
)
|
|
93
|
-
@client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
end
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Events
|
|
6
|
-
# Occurs when an Agreement is terminated.
|
|
7
|
-
class V2OrchestratedCommerceAgreementTerminatedEvent < Stripe::V2::Core::Event
|
|
8
|
-
def self.lookup_type
|
|
9
|
-
"v2.orchestrated_commerce.agreement.terminated"
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
class V2OrchestratedCommerceAgreementTerminatedEventData < ::Stripe::StripeObject
|
|
13
|
-
class OrchestratorDetails < ::Stripe::StripeObject
|
|
14
|
-
# The name of the orchestrator. This can be the name of the agent or the name of the business.
|
|
15
|
-
attr_reader :name
|
|
16
|
-
# The Network ID of the orchestrator.
|
|
17
|
-
attr_reader :network_business_profile
|
|
18
|
-
|
|
19
|
-
def self.inner_class_types
|
|
20
|
-
@inner_class_types = {}
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def self.field_remappings
|
|
24
|
-
@field_remappings = {}
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
class SellerDetails < ::Stripe::StripeObject
|
|
29
|
-
# The Network ID of the seller.
|
|
30
|
-
attr_reader :network_business_profile
|
|
31
|
-
|
|
32
|
-
def self.inner_class_types
|
|
33
|
-
@inner_class_types = {}
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def self.field_remappings
|
|
37
|
-
@field_remappings = {}
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
# Details about the orchestrator.
|
|
41
|
-
attr_reader :orchestrator_details
|
|
42
|
-
# Details about the seller.
|
|
43
|
-
attr_reader :seller_details
|
|
44
|
-
# The time at which the agreement was terminated.
|
|
45
|
-
attr_reader :terminated_at
|
|
46
|
-
# The party that terminated the agreement.
|
|
47
|
-
attr_reader :terminated_by
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {
|
|
51
|
-
orchestrator_details: OrchestratorDetails,
|
|
52
|
-
seller_details: SellerDetails,
|
|
53
|
-
}
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def self.field_remappings
|
|
57
|
-
@field_remappings = {}
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
def self.inner_class_types
|
|
62
|
-
@inner_class_types = { data: V2OrchestratedCommerceAgreementTerminatedEventData }
|
|
63
|
-
end
|
|
64
|
-
attr_reader :data, :related_object
|
|
65
|
-
|
|
66
|
-
# Retrieves the related object from the API. Makes an API request on every call.
|
|
67
|
-
def fetch_related_object
|
|
68
|
-
_request(
|
|
69
|
-
method: :get,
|
|
70
|
-
path: related_object.url,
|
|
71
|
-
base_address: :api,
|
|
72
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Occurs when an Agreement is terminated.
|
|
78
|
-
class V2OrchestratedCommerceAgreementTerminatedEventNotification < Stripe::V2::Core::EventNotification
|
|
79
|
-
def self.lookup_type
|
|
80
|
-
"v2.orchestrated_commerce.agreement.terminated"
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
attr_reader :related_object
|
|
84
|
-
|
|
85
|
-
# Retrieves the Agreement related to this EventNotification from the Stripe API. Makes an API request on every call.
|
|
86
|
-
def fetch_related_object
|
|
87
|
-
resp = @client.raw_request(
|
|
88
|
-
:get,
|
|
89
|
-
related_object.url,
|
|
90
|
-
opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
|
|
91
|
-
usage: ["fetch_related_object"]
|
|
92
|
-
)
|
|
93
|
-
@client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class AccountNoticeListParams < ::Stripe::RequestParams
|
|
6
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
7
|
-
attr_accessor :ending_before
|
|
8
|
-
# Specifies which fields in the response should be expanded.
|
|
9
|
-
attr_accessor :expand
|
|
10
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
11
|
-
attr_accessor :limit
|
|
12
|
-
# Set to false to only return unsent AccountNotices.
|
|
13
|
-
attr_accessor :sent
|
|
14
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
15
|
-
attr_accessor :starting_after
|
|
16
|
-
|
|
17
|
-
def initialize(ending_before: nil, expand: nil, limit: nil, sent: nil, starting_after: nil)
|
|
18
|
-
@ending_before = ending_before
|
|
19
|
-
@expand = expand
|
|
20
|
-
@limit = limit
|
|
21
|
-
@sent = sent
|
|
22
|
-
@starting_after = starting_after
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class AccountNoticeRetrieveParams < ::Stripe::RequestParams
|
|
6
|
-
# Specifies which fields in the response should be expanded.
|
|
7
|
-
attr_accessor :expand
|
|
8
|
-
|
|
9
|
-
def initialize(expand: nil)
|
|
10
|
-
@expand = expand
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class AccountNoticeUpdateParams < ::Stripe::RequestParams
|
|
6
|
-
class Email < ::Stripe::RequestParams
|
|
7
|
-
# Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
8
|
-
attr_accessor :plain_text
|
|
9
|
-
# Email address of the recipient.
|
|
10
|
-
attr_accessor :recipient
|
|
11
|
-
# Subject of the email.
|
|
12
|
-
attr_accessor :subject
|
|
13
|
-
|
|
14
|
-
def initialize(plain_text: nil, recipient: nil, subject: nil)
|
|
15
|
-
@plain_text = plain_text
|
|
16
|
-
@recipient = recipient
|
|
17
|
-
@subject = subject
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
# Information about the email you sent.
|
|
21
|
-
attr_accessor :email
|
|
22
|
-
# Specifies which fields in the response should be expanded.
|
|
23
|
-
attr_accessor :expand
|
|
24
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
25
|
-
attr_accessor :metadata
|
|
26
|
-
# Date when you sent the notice.
|
|
27
|
-
attr_accessor :sent_at
|
|
28
|
-
|
|
29
|
-
def initialize(email: nil, expand: nil, metadata: nil, sent_at: nil)
|
|
30
|
-
@email = email
|
|
31
|
-
@expand = expand
|
|
32
|
-
@metadata = metadata
|
|
33
|
-
@sent_at = sent_at
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Billing
|
|
6
|
-
module Analytics
|
|
7
|
-
class MeterUsageRetrieveParams < ::Stripe::RequestParams
|
|
8
|
-
class Meter < ::Stripe::RequestParams
|
|
9
|
-
# Key-value pairs used to filter usage events by meter dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events.
|
|
10
|
-
attr_accessor :dimension_filters
|
|
11
|
-
# List of meter dimension keys to group by. If specified, usage events will be grouped by the given meter dimension key's values.
|
|
12
|
-
attr_accessor :dimension_group_by_keys
|
|
13
|
-
# Meter id to query usage for.
|
|
14
|
-
attr_accessor :meter
|
|
15
|
-
# Key-value pairs used to filter usage events by high cardinality tenant dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events.
|
|
16
|
-
attr_accessor :tenant_filters
|
|
17
|
-
|
|
18
|
-
def initialize(
|
|
19
|
-
dimension_filters: nil,
|
|
20
|
-
dimension_group_by_keys: nil,
|
|
21
|
-
meter: nil,
|
|
22
|
-
tenant_filters: nil
|
|
23
|
-
)
|
|
24
|
-
@dimension_filters = dimension_filters
|
|
25
|
-
@dimension_group_by_keys = dimension_group_by_keys
|
|
26
|
-
@meter = meter
|
|
27
|
-
@tenant_filters = tenant_filters
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
# The customer id to fetch meter usage data for.
|
|
31
|
-
attr_accessor :customer
|
|
32
|
-
# The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.
|
|
33
|
-
attr_accessor :ends_at
|
|
34
|
-
# Specifies which fields in the response should be expanded.
|
|
35
|
-
attr_accessor :expand
|
|
36
|
-
# An array of meter parameters to specify which meters to include in the usage data. If not specified, usage across all meters for the customer is included.
|
|
37
|
-
attr_accessor :meters
|
|
38
|
-
# The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.
|
|
39
|
-
attr_accessor :starts_at
|
|
40
|
-
# The timezone to use for the start and end times. Defaults to UTC if not specified.
|
|
41
|
-
attr_accessor :timezone
|
|
42
|
-
# Specifies what granularity to use when aggregating meter usage events. If not specified, a single event would be returned for the specified time range.
|
|
43
|
-
attr_accessor :value_grouping_window
|
|
44
|
-
|
|
45
|
-
def initialize(
|
|
46
|
-
customer: nil,
|
|
47
|
-
ends_at: nil,
|
|
48
|
-
expand: nil,
|
|
49
|
-
meters: nil,
|
|
50
|
-
starts_at: nil,
|
|
51
|
-
timezone: nil,
|
|
52
|
-
value_grouping_window: nil
|
|
53
|
-
)
|
|
54
|
-
@customer = customer
|
|
55
|
-
@ends_at = ends_at
|
|
56
|
-
@expand = expand
|
|
57
|
-
@meters = meters
|
|
58
|
-
@starts_at = starts_at
|
|
59
|
-
@timezone = timezone
|
|
60
|
-
@value_grouping_window = value_grouping_window
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Capital
|
|
6
|
-
class FinancingOfferListParams < ::Stripe::RequestParams
|
|
7
|
-
class Created < ::Stripe::RequestParams
|
|
8
|
-
# Minimum value to filter by (exclusive)
|
|
9
|
-
attr_accessor :gt
|
|
10
|
-
# Minimum value to filter by (inclusive)
|
|
11
|
-
attr_accessor :gte
|
|
12
|
-
# Maximum value to filter by (exclusive)
|
|
13
|
-
attr_accessor :lt
|
|
14
|
-
# Maximum value to filter by (inclusive)
|
|
15
|
-
attr_accessor :lte
|
|
16
|
-
|
|
17
|
-
def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
|
|
18
|
-
@gt = gt
|
|
19
|
-
@gte = gte
|
|
20
|
-
@lt = lt
|
|
21
|
-
@lte = lte
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
# limit list to offers belonging to given connected account
|
|
25
|
-
attr_accessor :connected_account
|
|
26
|
-
# Only return offers that were created during the given date interval.
|
|
27
|
-
attr_accessor :created
|
|
28
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
29
|
-
attr_accessor :ending_before
|
|
30
|
-
# Specifies which fields in the response should be expanded.
|
|
31
|
-
attr_accessor :expand
|
|
32
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
33
|
-
attr_accessor :limit
|
|
34
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
35
|
-
attr_accessor :starting_after
|
|
36
|
-
# limit list to offers with given status
|
|
37
|
-
attr_accessor :status
|
|
38
|
-
|
|
39
|
-
def initialize(
|
|
40
|
-
connected_account: nil,
|
|
41
|
-
created: nil,
|
|
42
|
-
ending_before: nil,
|
|
43
|
-
expand: nil,
|
|
44
|
-
limit: nil,
|
|
45
|
-
starting_after: nil,
|
|
46
|
-
status: nil
|
|
47
|
-
)
|
|
48
|
-
@connected_account = connected_account
|
|
49
|
-
@created = created
|
|
50
|
-
@ending_before = ending_before
|
|
51
|
-
@expand = expand
|
|
52
|
-
@limit = limit
|
|
53
|
-
@starting_after = starting_after
|
|
54
|
-
@status = status
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Capital
|
|
6
|
-
class FinancingOfferMarkDeliveredParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Capital
|
|
6
|
-
class FinancingOfferRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Capital
|
|
6
|
-
class FinancingSummaryRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Capital
|
|
6
|
-
class FinancingTransactionListParams < ::Stripe::RequestParams
|
|
7
|
-
# For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge.
|
|
8
|
-
attr_accessor :charge
|
|
9
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
10
|
-
attr_accessor :ending_before
|
|
11
|
-
# Specifies which fields in the response should be expanded.
|
|
12
|
-
attr_accessor :expand
|
|
13
|
-
# Returns transactions that were created that apply to this financing offer ID.
|
|
14
|
-
attr_accessor :financing_offer
|
|
15
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
16
|
-
attr_accessor :limit
|
|
17
|
-
# Only returns transactions that are responsible for reversing this financing transaction ID.
|
|
18
|
-
attr_accessor :reversed_transaction
|
|
19
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
20
|
-
attr_accessor :starting_after
|
|
21
|
-
# For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this Treasury Transaction.
|
|
22
|
-
attr_accessor :treasury_transaction
|
|
23
|
-
|
|
24
|
-
def initialize(
|
|
25
|
-
charge: nil,
|
|
26
|
-
ending_before: nil,
|
|
27
|
-
expand: nil,
|
|
28
|
-
financing_offer: nil,
|
|
29
|
-
limit: nil,
|
|
30
|
-
reversed_transaction: nil,
|
|
31
|
-
starting_after: nil,
|
|
32
|
-
treasury_transaction: nil
|
|
33
|
-
)
|
|
34
|
-
@charge = charge
|
|
35
|
-
@ending_before = ending_before
|
|
36
|
-
@expand = expand
|
|
37
|
-
@financing_offer = financing_offer
|
|
38
|
-
@limit = limit
|
|
39
|
-
@reversed_transaction = reversed_transaction
|
|
40
|
-
@starting_after = starting_after
|
|
41
|
-
@treasury_transaction = treasury_transaction
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|