stripe 5.55.0 → 18.2.0.pre.beta.1
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/{bin → exe}/stripe-console +1 -1
- data/lib/data/ca-certificates.crt +1805 -2337
- data/lib/stripe/api_operations/create.rb +6 -2
- data/lib/stripe/api_operations/delete.rb +12 -7
- data/lib/stripe/api_operations/list.rb +6 -9
- data/lib/stripe/api_operations/nested_resource.rb +59 -31
- data/lib/stripe/api_operations/request.rb +30 -65
- data/lib/stripe/api_operations/save.rb +20 -10
- data/lib/stripe/api_operations/search.rb +11 -9
- data/lib/stripe/api_operations/singleton_save.rb +90 -0
- data/lib/stripe/api_requestor.rb +1173 -0
- data/lib/stripe/api_resource.rb +51 -18
- data/lib/stripe/api_resource_test_helpers.rb +9 -3
- data/lib/stripe/{resources/usage_record.rb → api_version.rb} +2 -2
- data/lib/stripe/connection_manager.rb +6 -10
- data/lib/stripe/errors.rb +74 -20
- data/lib/stripe/event_types.rb +242 -0
- data/lib/stripe/events/unknown_event_notification.rb +19 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/instrumentation.rb +37 -15
- data/lib/stripe/list_object.rb +5 -3
- data/lib/stripe/multipart_encoder.rb +7 -7
- data/lib/stripe/oauth.rb +14 -21
- data/lib/stripe/object_types.rb +220 -103
- data/lib/stripe/params/account_capability_list_params.rb +13 -0
- data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_capability_update_params.rb +18 -0
- data/lib/stripe/params/account_create_params.rb +2440 -0
- data/lib/stripe/params/account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_create_params.rb +134 -0
- data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_list_params.rb +25 -0
- data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_external_account_update_params.rb +91 -0
- data/lib/stripe/params/account_link_create_params.rb +52 -0
- data/lib/stripe/params/account_list_params.rb +42 -0
- data/lib/stripe/params/account_login_link_create_params.rb +13 -0
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +435 -0
- data/lib/stripe/params/account_person_delete_params.rb +6 -0
- data/lib/stripe/params/account_person_list_params.rb +61 -0
- data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_person_update_params.rb +435 -0
- data/lib/stripe/params/account_persons_params.rb +61 -0
- data/lib/stripe/params/account_reject_params.rb +16 -0
- data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
- data/lib/stripe/params/account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_session_create_params.rb +823 -0
- data/lib/stripe/params/account_update_params.rb +2350 -0
- data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
- data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_list_params.rb +52 -0
- data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
- data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
- data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
- data/lib/stripe/params/apps/secret_create_params.rb +38 -0
- data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
- data/lib/stripe/params/apps/secret_find_params.rb +32 -0
- data/lib/stripe/params/apps/secret_list_params.rb +38 -0
- data/lib/stripe/params/balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_update_params.rb +67 -0
- data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
- data/lib/stripe/params/billing/alert_create_params.rb +52 -0
- data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_list_params.rb +37 -0
- data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
- data/lib/stripe/params/billing/meter_create_params.rb +70 -0
- data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
- data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
- data/lib/stripe/params/billing/meter_list_params.rb +27 -0
- data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/meter_update_params.rb +18 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1705 -0
- data/lib/stripe/params/charge_create_params.rb +172 -0
- data/lib/stripe/params/charge_list_params.rb +60 -0
- data/lib/stripe/params/charge_retrieve_params.rb +13 -0
- data/lib/stripe/params/charge_search_params.rb +22 -0
- data/lib/stripe/params/charge_update_params.rb +1750 -0
- data/lib/stripe/params/checkout/session_create_params.rb +2654 -0
- data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_params.rb +87 -0
- data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/checkout/session_update_params.rb +466 -0
- data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
- data/lib/stripe/params/climate/order_create_params.rb +49 -0
- data/lib/stripe/params/climate/order_list_params.rb +24 -0
- data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/order_update_params.rb +29 -0
- data/lib/stripe/params/climate/product_list_params.rb +24 -0
- data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
- data/lib/stripe/params/confirmation_token_create_params.rb +747 -0
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
- data/lib/stripe/params/country_spec_list_params.rb +22 -0
- data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_create_params.rb +96 -0
- data/lib/stripe/params/coupon_delete_params.rb +6 -0
- data/lib/stripe/params/coupon_list_params.rb +42 -0
- data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_update_params.rb +30 -0
- data/lib/stripe/params/credit_note_create_params.rb +161 -0
- data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
- data/lib/stripe/params/credit_note_list_params.rb +60 -0
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +173 -0
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +173 -0
- data/lib/stripe/params/credit_note_preview_params.rb +161 -0
- data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
- data/lib/stripe/params/credit_note_update_params.rb +19 -0
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
- data/lib/stripe/params/customer_create_params.rb +259 -0
- data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
- data/lib/stripe/params/customer_delete_params.rb +6 -0
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
- data/lib/stripe/params/customer_list_params.rb +56 -0
- data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
- data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
- data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
- data/lib/stripe/params/customer_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
- data/lib/stripe/params/customer_search_params.rb +22 -0
- data/lib/stripe/params/customer_session_create_params.rb +219 -0
- data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
- data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_update_params.rb +243 -0
- data/lib/stripe/params/dispute_close_params.rb +13 -0
- data/lib/stripe/params/dispute_list_params.rb +56 -0
- data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
- data/lib/stripe/params/dispute_update_params.rb +317 -0
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
- data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
- data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
- data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
- data/lib/stripe/params/event_list_params.rb +60 -0
- data/lib/stripe/params/event_retrieve_params.rb +13 -0
- data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/file_create_params.rb +36 -0
- data/lib/stripe/params/file_link_create_params.rb +22 -0
- data/lib/stripe/params/file_link_list_params.rb +56 -0
- data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_link_update_params.rb +19 -0
- data/lib/stripe/params/file_list_params.rb +52 -0
- data/lib/stripe/params/file_retrieve_params.rb +13 -0
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +97 -0
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
- data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
- data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +263 -0
- data/lib/stripe/params/invoice_attach_payment_params.rb +61 -0
- data/lib/stripe/params/invoice_create_params.rb +723 -0
- data/lib/stripe/params/invoice_create_preview_params.rb +1810 -0
- data/lib/stripe/params/invoice_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +181 -0
- data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_item_list_params.rb +64 -0
- data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_item_update_params.rb +161 -0
- data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
- data/lib/stripe/params/invoice_line_item_update_params.rb +249 -0
- data/lib/stripe/params/invoice_list_params.rb +90 -0
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
- data/lib/stripe/params/invoice_pay_params.rb +41 -0
- data/lib/stripe/params/invoice_payment_list_params.rb +75 -0
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
- data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_search_params.rb +22 -0
- data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +263 -0
- data/lib/stripe/params/invoice_update_params.rb +687 -0
- data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +372 -0
- data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
- data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
- data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
- data/lib/stripe/params/issuing/card_create_params.rb +213 -0
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_list_params.rb +78 -0
- data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_update_params.rb +181 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +239 -0
- data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
- data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_list_params.rb +58 -0
- data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_update_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +66 -0
- data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +2061 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2065 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
- data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1906 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +5647 -0
- data/lib/stripe/params/payment_intent_create_params.rb +5756 -0
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +295 -0
- data/lib/stripe/params/payment_intent_list_params.rb +56 -0
- data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_intent_search_params.rb +22 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +5660 -0
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/payment_link_create_params.rb +815 -0
- data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_params.rb +25 -0
- data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_link_update_params.rb +603 -0
- data/lib/stripe/params/payment_method_attach_params.rb +19 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1303 -0
- data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1303 -0
- data/lib/stripe/params/payment_method_create_params.rb +694 -0
- data/lib/stripe/params/payment_method_detach_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
- data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
- data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
- data/lib/stripe/params/payment_method_list_params.rb +43 -0
- data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_update_params.rb +139 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +13 -0
- data/lib/stripe/params/payout_create_params.rb +51 -0
- data/lib/stripe/params/payout_list_params.rb +78 -0
- data/lib/stripe/params/payout_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_reverse_params.rb +16 -0
- data/lib/stripe/params/payout_update_params.rb +16 -0
- data/lib/stripe/params/plan_create_params.rb +158 -0
- data/lib/stripe/params/plan_delete_params.rb +6 -0
- data/lib/stripe/params/plan_list_params.rb +56 -0
- data/lib/stripe/params/plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/plan_update_params.rb +35 -0
- data/lib/stripe/params/price_create_params.rb +278 -0
- data/lib/stripe/params/price_list_params.rb +87 -0
- data/lib/stripe/params/price_retrieve_params.rb +13 -0
- data/lib/stripe/params/price_search_params.rb +22 -0
- data/lib/stripe/params/price_update_params.rb +132 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_create_params.rb +243 -0
- data/lib/stripe/params/product_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_create_params.rb +16 -0
- data/lib/stripe/params/product_feature_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_list_params.rb +22 -0
- data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_list_params.rb +68 -0
- data/lib/stripe/params/product_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_search_params.rb +22 -0
- data/lib/stripe/params/product_update_params.rb +96 -0
- data/lib/stripe/params/promotion_code_create_params.rb +95 -0
- data/lib/stripe/params/promotion_code_list_params.rb +68 -0
- data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/promotion_code_update_params.rb +38 -0
- data/lib/stripe/params/quote_accept_params.rb +13 -0
- data/lib/stripe/params/quote_cancel_params.rb +13 -0
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
- data/lib/stripe/params/quote_create_params.rb +1103 -0
- data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
- data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +47 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_pdf_params.rb +13 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1072 -0
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
- data/lib/stripe/{resources/usage_record_summary.rb → params/radar/value_list_delete_params.rb} +2 -2
- data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
- data/lib/stripe/params/refund_cancel_params.rb +13 -0
- data/lib/stripe/params/refund_create_params.rb +59 -0
- data/lib/stripe/params/refund_expire_params.rb +13 -0
- data/lib/stripe/params/refund_list_params.rb +56 -0
- data/lib/stripe/params/refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/refund_update_params.rb +16 -0
- data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
- data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/review_approve_params.rb +13 -0
- data/lib/stripe/params/review_list_params.rb +42 -0
- data/lib/stripe/params/review_retrieve_params.rb +13 -0
- data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
- data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +1272 -0
- data/lib/stripe/params/setup_intent_create_params.rb +1362 -0
- data/lib/stripe/params/setup_intent_list_params.rb +66 -0
- data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/setup_intent_update_params.rb +1257 -0
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
- data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/source_create_params.rb +317 -0
- data/lib/stripe/params/source_detach_params.rb +13 -0
- data/lib/stripe/params/source_retrieve_params.rb +16 -0
- data/lib/stripe/params/source_transaction_list_params.rb +22 -0
- data/lib/stripe/params/source_update_params.rb +259 -0
- data/lib/stripe/params/source_verify_params.rb +16 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +33 -0
- data/lib/stripe/params/subscription_create_params.rb +982 -0
- data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
- data/lib/stripe/params/subscription_item_create_params.rb +178 -0
- data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
- data/lib/stripe/params/subscription_item_list_params.rb +31 -0
- data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_item_update_params.rb +162 -0
- data/lib/stripe/params/subscription_list_params.rb +133 -0
- data/lib/stripe/params/subscription_migrate_params.rb +35 -0
- data/lib/stripe/params/subscription_resume_params.rb +27 -0
- data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +752 -0
- data/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
- data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +720 -0
- data/lib/stripe/params/subscription_search_params.rb +22 -0
- data/lib/stripe/params/subscription_update_params.rb +941 -0
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +2031 -0
- data/lib/stripe/params/tax/registration_list_params.rb +27 -0
- data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_update_params.rb +21 -0
- data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/settings_update_params.rb +71 -0
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_code_list_params.rb +22 -0
- data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_id_create_params.rb +39 -0
- data/lib/stripe/params/tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/tax_id_list_params.rb +42 -0
- data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_create_params.rb +55 -0
- data/lib/stripe/params/tax_rate_list_params.rb +56 -0
- data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_update_params.rb +47 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +625 -0
- data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +625 -0
- data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
- data/lib/stripe/params/terminal/location_create_params.rb +153 -0
- data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/location_list_params.rb +24 -0
- data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/location_update_params.rb +153 -0
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
- data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
- data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +749 -0
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +374 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +92 -0
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +92 -0
- data/lib/stripe/params/token_create_params.rb +1210 -0
- data/lib/stripe/params/token_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_cancel_params.rb +13 -0
- data/lib/stripe/params/topup_create_params.rb +43 -0
- data/lib/stripe/params/topup_list_params.rb +74 -0
- data/lib/stripe/params/topup_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_update_params.rb +19 -0
- data/lib/stripe/params/transfer_create_params.rb +51 -0
- data/lib/stripe/params/transfer_list_params.rb +56 -0
- data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
- data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
- data/lib/stripe/params/transfer_update_params.rb +19 -0
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +208 -0
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +166 -0
- data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +166 -0
- data/lib/stripe/params/treasury/financial_account_update_params.rb +223 -0
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +105 -0
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +90 -0
- data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/received_debit_create_params.rb +90 -0
- data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/{resources/issuing/card_details.rb → params/v2/billing/cadence_cancel_params.rb} +3 -3
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2363 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1023 -0
- data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2409 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +497 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +497 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +45 -0
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +62 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +79 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +89 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +34 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
- data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
- data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
- data/lib/stripe/params.rb +767 -0
- data/lib/stripe/request_options.rb +138 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/resources/account.rb +1320 -26
- data/lib/stripe/resources/account_link.rb +29 -0
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +764 -0
- data/lib/stripe/resources/alipay_account.rb +1 -1
- data/lib/stripe/resources/apple_pay_domain.rb +59 -0
- data/lib/stripe/resources/application.rb +28 -0
- data/lib/stripe/resources/application_fee.rb +64 -2
- data/lib/stripe/resources/application_fee_refund.rb +34 -2
- data/lib/stripe/resources/apps/secret.rb +96 -0
- data/lib/stripe/resources/balance.rb +332 -0
- data/lib/stripe/resources/balance_settings.rb +92 -0
- data/lib/stripe/resources/balance_transaction.rb +80 -0
- data/lib/stripe/resources/bank_account.rb +177 -6
- data/lib/stripe/resources/billing/alert.rb +142 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +34 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
- data/lib/stripe/resources/billing/credit_grant.rb +200 -0
- data/lib/stripe/resources/billing/meter.rb +178 -0
- data/lib/stripe/resources/billing/meter_event.rb +49 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +292 -0
- data/lib/stripe/resources/billing_portal/session.rb +228 -0
- data/lib/stripe/resources/capability.rb +147 -2
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +129 -3
- data/lib/stripe/resources/cash_balance.rb +39 -0
- data/lib/stripe/resources/charge.rb +2516 -3
- data/lib/stripe/resources/checkout/session.rb +2454 -4
- data/lib/stripe/resources/climate/order.rb +173 -0
- data/lib/stripe/resources/climate/product.rb +72 -0
- data/lib/stripe/resources/climate/supplier.rb +69 -0
- data/lib/stripe/resources/confirmation_token.rb +1873 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +32 -0
- data/lib/stripe/resources/country_spec.rb +82 -0
- data/lib/stripe/resources/coupon.rb +143 -0
- data/lib/stripe/resources/credit_note.rb +290 -8
- data/lib/stripe/resources/credit_note_line_item.rb +133 -0
- data/lib/stripe/resources/customer.rb +403 -27
- data/lib/stripe/resources/customer_balance_transaction.rb +48 -1
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
- data/lib/stripe/resources/customer_session.rb +264 -0
- data/lib/stripe/resources/discount.rb +58 -0
- data/lib/stripe/resources/dispute.rb +466 -2
- data/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
- data/lib/stripe/resources/entitlements/feature.rb +72 -0
- data/lib/stripe/resources/ephemeral_key.rb +44 -0
- data/lib/stripe/resources/event.rb +149 -0
- data/lib/stripe/resources/exchange_rate.rb +59 -0
- data/lib/stripe/resources/file.rb +65 -12
- data/lib/stripe/resources/file_link.rb +53 -0
- data/lib/stripe/resources/financial_connections/account.rb +342 -5
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +29 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +21 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +140 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +73 -0
- data/lib/stripe/resources/forwarding/request.rb +163 -0
- data/lib/stripe/resources/funding_instructions.rb +510 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_report.rb +396 -0
- data/lib/stripe/resources/identity/verification_session.rb +397 -4
- data/lib/stripe/resources/invoice.rb +1393 -20
- data/lib/stripe/resources/invoice_item.rb +214 -0
- data/lib/stripe/resources/invoice_line_item.rb +341 -1
- data/lib/stripe/resources/invoice_payment.rb +92 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +90 -0
- data/lib/stripe/resources/issuing/authorization.rb +650 -4
- data/lib/stripe/resources/issuing/card.rb +410 -4
- data/lib/stripe/resources/issuing/cardholder.rb +278 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +301 -2
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +206 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +195 -0
- data/lib/stripe/resources/issuing/transaction.rb +444 -0
- data/lib/stripe/resources/line_item.rb +142 -0
- data/lib/stripe/resources/login_link.rb +20 -0
- data/lib/stripe/resources/mandate.rb +433 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +960 -6
- data/lib/stripe/resources/payment_attempt_record.rb +2165 -0
- data/lib/stripe/resources/payment_intent.rb +3886 -14
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
- data/lib/stripe/resources/payment_link.rb +772 -2
- data/lib/stripe/resources/payment_method.rb +1792 -4
- data/lib/stripe/resources/payment_method_configuration.rb +2090 -0
- data/lib/stripe/resources/payment_method_domain.rb +280 -0
- data/lib/stripe/resources/payment_record.rb +2295 -0
- data/lib/stripe/resources/payout.rb +139 -4
- data/lib/stripe/resources/person.rb +475 -1
- data/lib/stripe/resources/plan.rb +137 -0
- data/lib/stripe/resources/price.rb +240 -1
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +138 -1
- data/lib/stripe/resources/product_feature.rb +33 -0
- data/lib/stripe/resources/promotion_code.rb +110 -0
- data/lib/stripe/resources/quote.rb +1173 -36
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1182 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +42 -0
- data/lib/stripe/resources/radar/value_list.rb +87 -0
- data/lib/stripe/resources/radar/value_list_item.rb +71 -0
- data/lib/stripe/resources/refund.rb +748 -4
- data/lib/stripe/resources/reporting/report_run.rb +91 -0
- data/lib/stripe/resources/reporting/report_type.rb +48 -1
- data/lib/stripe/resources/reserve/hold.rb +74 -0
- data/lib/stripe/resources/reserve/plan.rb +78 -0
- data/lib/stripe/resources/reserve/release.rb +77 -0
- data/lib/stripe/resources/reserve_transaction.rb +30 -0
- data/lib/stripe/resources/reversal.rb +46 -2
- data/lib/stripe/resources/review.rb +99 -2
- data/lib/stripe/resources/setup_attempt.rb +664 -0
- data/lib/stripe/resources/setup_intent.rb +816 -6
- data/lib/stripe/resources/shipping_rate.rb +132 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +60 -0
- data/lib/stripe/resources/source.rb +973 -10
- data/lib/stripe/resources/source_mandate_notification.rb +98 -0
- data/lib/stripe/resources/source_transaction.rb +146 -0
- data/lib/stripe/resources/subscription.rb +979 -5
- data/lib/stripe/resources/subscription_item.rb +132 -10
- data/lib/stripe/resources/subscription_schedule.rb +780 -4
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/calculation.rb +321 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +2259 -0
- data/lib/stripe/resources/tax/settings.rb +131 -0
- data/lib/stripe/resources/tax/transaction.rb +287 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
- data/lib/stripe/resources/tax_code.rb +26 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
- data/lib/stripe/resources/tax_id.rb +103 -11
- data/lib/stripe/resources/tax_rate.rb +87 -0
- data/lib/stripe/resources/terminal/configuration.rb +724 -0
- data/lib/stripe/resources/terminal/connection_token.rb +31 -0
- data/lib/stripe/resources/terminal/location.rb +168 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +752 -10
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +110 -2
- data/lib/stripe/resources/token.rb +66 -0
- data/lib/stripe/resources/topup.rb +80 -2
- data/lib/stripe/resources/transfer.rb +74 -6
- data/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
- data/lib/stripe/resources/treasury/financial_account.rb +255 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +398 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +418 -0
- data/lib/stripe/resources/treasury/received_credit.rb +291 -0
- data/lib/stripe/resources/treasury/received_debit.rb +256 -0
- data/lib/stripe/resources/treasury/transaction.rb +143 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +609 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +52 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +37 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +4115 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +69 -0
- data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +83 -0
- data/lib/stripe/resources/v2/deleted_object.rb +21 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +44 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +82 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +188 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +197 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +261 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +202 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +240 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +111 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +246 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +152 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +180 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +153 -0
- data/lib/stripe/resources/webhook_endpoint.rb +90 -0
- data/lib/stripe/resources.rb +175 -11
- data/lib/stripe/search_result_object.rb +5 -2
- data/lib/stripe/services/account_capability_service.rb +39 -0
- data/lib/stripe/services/account_external_account_service.rb +68 -0
- data/lib/stripe/services/account_link_service.rb +17 -0
- data/lib/stripe/services/account_login_link_service.rb +19 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_person_service.rb +61 -0
- data/lib/stripe/services/account_service.rb +100 -0
- data/lib/stripe/services/account_session_service.rb +17 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +50 -0
- data/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/lib/stripe/services/application_fee_service.rb +35 -0
- data/lib/stripe/services/apps/secret_service.rb +52 -0
- data/lib/stripe/services/apps_service.rb +13 -0
- data/lib/stripe/services/balance_service.rb +12 -0
- data/lib/stripe/services/balance_settings_service.rb +30 -0
- data/lib/stripe/services/balance_transaction_service.rb +32 -0
- data/lib/stripe/services/billing/alert_service.rb +74 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +74 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
- data/lib/stripe/services/billing/meter_event_service.rb +19 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
- data/lib/stripe/services/billing/meter_service.rb +81 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
- data/lib/stripe/services/billing_portal/session_service.rb +19 -0
- data/lib/stripe/services/billing_portal_service.rb +14 -0
- data/lib/stripe/services/billing_service.rb +21 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +69 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
- data/lib/stripe/services/checkout/session_service.rb +74 -0
- data/lib/stripe/services/checkout_service.rb +13 -0
- data/lib/stripe/services/climate/order_service.rb +68 -0
- data/lib/stripe/services/climate/product_service.rb +30 -0
- data/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/lib/stripe/services/climate_service.rb +15 -0
- data/lib/stripe/services/confirmation_token_service.rb +17 -0
- data/lib/stripe/services/country_spec_service.rb +28 -0
- data/lib/stripe/services/coupon_service.rb +51 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +17 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +17 -0
- data/lib/stripe/services/credit_note_service.rb +92 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +28 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
- data/lib/stripe/services/customer_payment_method_service.rb +28 -0
- data/lib/stripe/services/customer_payment_source_service.rb +76 -0
- data/lib/stripe/services/customer_service.rb +89 -0
- data/lib/stripe/services/customer_session_service.rb +17 -0
- data/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/lib/stripe/services/dispute_service.rb +48 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
- data/lib/stripe/services/entitlements/feature_service.rb +52 -0
- data/lib/stripe/services/entitlements_service.rb +14 -0
- data/lib/stripe/services/ephemeral_key_service.rb +28 -0
- data/lib/stripe/services/event_service.rb +22 -0
- data/lib/stripe/services/exchange_rate_service.rb +32 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/file_link_service.rb +38 -0
- data/lib/stripe/services/file_service.rb +35 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +83 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections/session_service.rb +30 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +16 -0
- data/lib/stripe/services/forwarding/request_service.rb +41 -0
- data/lib/stripe/services/forwarding_service.rb +13 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/identity/verification_report_service.rb +30 -0
- data/lib/stripe/services/identity/verification_session_service.rb +106 -0
- data/lib/stripe/services/identity_service.rb +14 -0
- data/lib/stripe/services/invoice_item_service.rb +61 -0
- data/lib/stripe/services/invoice_line_item_service.rb +31 -0
- data/lib/stripe/services/invoice_payment_service.rb +28 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
- data/lib/stripe/services/invoice_service.rb +206 -0
- data/lib/stripe/services/issuing/authorization_service.rb +65 -0
- data/lib/stripe/services/issuing/card_service.rb +52 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +52 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_service.rb +63 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
- data/lib/stripe/services/issuing/token_service.rb +41 -0
- data/lib/stripe/services/issuing/transaction_service.rb +41 -0
- data/lib/stripe/services/issuing_service.rb +24 -0
- data/lib/stripe/services/mandate_service.rb +22 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/oauth_service.rb +63 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +253 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_link_service.rb +57 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +50 -0
- data/lib/stripe/services/payment_method_domain_service.rb +66 -0
- data/lib/stripe/services/payment_method_service.rb +86 -0
- data/lib/stripe/services/payment_record_service.rb +101 -0
- data/lib/stripe/services/payout_service.rb +66 -0
- data/lib/stripe/services/plan_service.rb +49 -0
- data/lib/stripe/services/price_service.rb +52 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +50 -0
- data/lib/stripe/services/product_service.rb +70 -0
- data/lib/stripe/services/promotion_code_service.rb +50 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
- data/lib/stripe/services/quote_line_item_service.rb +17 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +140 -0
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +52 -0
- data/lib/stripe/services/radar/value_list_service.rb +63 -0
- data/lib/stripe/services/radar_service.rb +15 -0
- data/lib/stripe/services/refund_service.rb +63 -0
- data/lib/stripe/services/reporting/report_run_service.rb +41 -0
- data/lib/stripe/services/reporting/report_type_service.rb +30 -0
- data/lib/stripe/services/reporting_service.rb +14 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/review_service.rb +33 -0
- data/lib/stripe/services/setup_attempt_service.rb +17 -0
- data/lib/stripe/services/setup_intent_service.rb +105 -0
- data/lib/stripe/services/shipping_rate_service.rb +50 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/lib/stripe/services/sigma_service.rb +13 -0
- data/lib/stripe/services/source_service.rb +64 -0
- data/lib/stripe/services/source_transaction_service.rb +17 -0
- data/lib/stripe/services/subscription_item_service.rb +61 -0
- data/lib/stripe/services/subscription_schedule_service.rb +83 -0
- data/lib/stripe/services/subscription_service.rb +149 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
- data/lib/stripe/services/tax/calculation_service.rb +37 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/registration_service.rb +54 -0
- data/lib/stripe/services/tax/settings_service.rb +30 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
- data/lib/stripe/services/tax/transaction_service.rb +48 -0
- data/lib/stripe/services/tax_code_service.rb +22 -0
- data/lib/stripe/services/tax_id_service.rb +38 -0
- data/lib/stripe/services/tax_rate_service.rb +38 -0
- data/lib/stripe/services/tax_service.rb +18 -0
- data/lib/stripe/services/terminal/configuration_service.rb +63 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +19 -0
- data/lib/stripe/services/terminal/location_service.rb +64 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_service.rb +151 -0
- data/lib/stripe/services/terminal_service.rb +18 -0
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +19 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +87 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +19 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
- data/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
- data/lib/stripe/services/test_helpers_service.rb +19 -0
- data/lib/stripe/services/token_service.rb +23 -0
- data/lib/stripe/services/topup_service.rb +49 -0
- data/lib/stripe/services/transfer_reversal_service.rb +56 -0
- data/lib/stripe/services/transfer_service.rb +47 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +70 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +30 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +30 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
- data/lib/stripe/services/treasury/transaction_service.rb +30 -0
- data/lib/stripe/services/treasury_service.rb +22 -0
- data/lib/stripe/services/v1_services.rb +101 -0
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +22 -0
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +73 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
- data/lib/stripe/services/v2/core/event_service.rb +32 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +20 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +65 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +16 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +61 -0
- data/lib/stripe/services.rb +246 -0
- data/lib/stripe/singleton_api_resource.rb +3 -3
- data/lib/stripe/stripe_client.rb +61 -1023
- data/lib/stripe/stripe_configuration.rb +60 -42
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_event_notification_handler.rb +425 -0
- data/lib/stripe/stripe_object.rb +142 -47
- data/lib/stripe/stripe_response.rb +1 -3
- data/lib/stripe/stripe_service.rb +34 -0
- data/lib/stripe/util.rb +134 -45
- data/lib/stripe/v2_list_object.rb +84 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +3 -2
- data/lib/stripe.rb +98 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/rbi/stripe/stripe_client.rbi +30 -0
- data/rbi/stripe.rbi +219587 -0
- metadata +1210 -28
- data/CHANGELOG.md +0 -1036
- data/CODE_OF_CONDUCT.md +0 -77
- data/CONTRIBUTORS +0 -3
- data/Gemfile +0 -33
- data/History.txt +0 -1
- data/LICENSE +0 -21
- data/Makefile +0 -7
- data/README.md +0 -350
- data/Rakefile +0 -37
- data/VERSION +0 -1
- data/lib/stripe/resources/bitcoin_receiver.rb +0 -24
- data/lib/stripe/resources/bitcoin_transaction.rb +0 -16
- data/lib/stripe/resources/order_return.rb +0 -10
- data/lib/stripe/resources/recipient.rb +0 -14
- data/lib/stripe/resources/sku.rb +0 -13
- data/lib/stripe/resources/three_d_secure.rb +0 -14
- data/stripe.gemspec +0 -41
|
@@ -2,104 +2,1241 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
+
# A Quote is a way to model prices that you'd like to provide to a customer.
|
|
6
|
+
# Once accepted, it will automatically create an invoice, subscription or subscription schedule.
|
|
5
7
|
class Quote < APIResource
|
|
6
8
|
extend Stripe::APIOperations::Create
|
|
7
9
|
extend Stripe::APIOperations::List
|
|
10
|
+
extend Stripe::APIOperations::NestedResource
|
|
8
11
|
include Stripe::APIOperations::Save
|
|
9
12
|
|
|
10
13
|
OBJECT_NAME = "quote"
|
|
14
|
+
def self.object_name
|
|
15
|
+
"quote"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
nested_resource_class_methods :preview_invoice, operations: %i[list]
|
|
19
|
+
nested_resource_class_methods :preview_subscription_schedule, operations: %i[list]
|
|
20
|
+
|
|
21
|
+
class AutomaticTax < ::Stripe::StripeObject
|
|
22
|
+
class Liability < ::Stripe::StripeObject
|
|
23
|
+
# The connected account being referenced when `type` is `account`.
|
|
24
|
+
attr_reader :account
|
|
25
|
+
# Type of the account referenced.
|
|
26
|
+
attr_reader :type
|
|
27
|
+
|
|
28
|
+
def self.inner_class_types
|
|
29
|
+
@inner_class_types = {}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def self.field_remappings
|
|
33
|
+
@field_remappings = {}
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
# Automatically calculate taxes
|
|
37
|
+
attr_reader :enabled
|
|
38
|
+
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
|
39
|
+
attr_reader :liability
|
|
40
|
+
# The tax provider powering automatic tax.
|
|
41
|
+
attr_reader :provider
|
|
42
|
+
# The status of the most recent automated tax calculation for this quote.
|
|
43
|
+
attr_reader :status
|
|
44
|
+
|
|
45
|
+
def self.inner_class_types
|
|
46
|
+
@inner_class_types = { liability: Liability }
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def self.field_remappings
|
|
50
|
+
@field_remappings = {}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
class Computed < ::Stripe::StripeObject
|
|
55
|
+
class LastReestimationDetails < ::Stripe::StripeObject
|
|
56
|
+
class Failed < ::Stripe::StripeObject
|
|
57
|
+
# The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field.
|
|
58
|
+
attr_reader :failure_code
|
|
59
|
+
# Information derived from the `failure_code` or a freeform message that explains the error as a human-readable English string. For example, "margin ID is not a valid ID".
|
|
60
|
+
attr_reader :message
|
|
61
|
+
# The reason the reestimation failed.
|
|
62
|
+
attr_reader :reason
|
|
63
|
+
|
|
64
|
+
def self.inner_class_types
|
|
65
|
+
@inner_class_types = {}
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
def self.field_remappings
|
|
69
|
+
@field_remappings = {}
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
# When `status` is `failed`, provides details about the quote reestimation failure.
|
|
73
|
+
attr_reader :failed
|
|
74
|
+
# Latest status of the reestimation.
|
|
75
|
+
attr_reader :status
|
|
76
|
+
|
|
77
|
+
def self.inner_class_types
|
|
78
|
+
@inner_class_types = { failed: Failed }
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def self.field_remappings
|
|
82
|
+
@field_remappings = {}
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
class Recurring < ::Stripe::StripeObject
|
|
87
|
+
class TotalDetails < ::Stripe::StripeObject
|
|
88
|
+
class Breakdown < ::Stripe::StripeObject
|
|
89
|
+
class Discount < ::Stripe::StripeObject
|
|
90
|
+
# The amount discounted.
|
|
91
|
+
attr_reader :amount
|
|
92
|
+
# A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
|
|
93
|
+
# It contains information about when the discount began, when it will end, and what it is applied to.
|
|
94
|
+
#
|
|
95
|
+
# Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
|
|
96
|
+
attr_reader :discount
|
|
97
|
+
|
|
98
|
+
def self.inner_class_types
|
|
99
|
+
@inner_class_types = {}
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def self.field_remappings
|
|
103
|
+
@field_remappings = {}
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
class Tax < ::Stripe::StripeObject
|
|
108
|
+
# Amount of tax applied for this rate.
|
|
109
|
+
attr_reader :amount
|
|
110
|
+
# Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
111
|
+
#
|
|
112
|
+
# Related guide: [Tax rates](/billing/taxes/tax-rates)
|
|
113
|
+
attr_reader :rate
|
|
114
|
+
# The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
|
|
115
|
+
attr_reader :taxability_reason
|
|
116
|
+
# The amount on which tax is calculated, in cents (or local equivalent).
|
|
117
|
+
attr_reader :taxable_amount
|
|
118
|
+
|
|
119
|
+
def self.inner_class_types
|
|
120
|
+
@inner_class_types = {}
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def self.field_remappings
|
|
124
|
+
@field_remappings = {}
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
# The aggregated discounts.
|
|
128
|
+
attr_reader :discounts
|
|
129
|
+
# The aggregated tax amounts by rate.
|
|
130
|
+
attr_reader :taxes
|
|
131
|
+
|
|
132
|
+
def self.inner_class_types
|
|
133
|
+
@inner_class_types = { discounts: Discount, taxes: Tax }
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
def self.field_remappings
|
|
137
|
+
@field_remappings = {}
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
# This is the sum of all the discounts.
|
|
141
|
+
attr_reader :amount_discount
|
|
142
|
+
# This is the sum of all the shipping amounts.
|
|
143
|
+
attr_reader :amount_shipping
|
|
144
|
+
# This is the sum of all the tax amounts.
|
|
145
|
+
attr_reader :amount_tax
|
|
146
|
+
# Attribute for field breakdown
|
|
147
|
+
attr_reader :breakdown
|
|
148
|
+
|
|
149
|
+
def self.inner_class_types
|
|
150
|
+
@inner_class_types = { breakdown: Breakdown }
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def self.field_remappings
|
|
154
|
+
@field_remappings = {}
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
# Total before any discounts or taxes are applied.
|
|
158
|
+
attr_reader :amount_subtotal
|
|
159
|
+
# Total after discounts and taxes are applied.
|
|
160
|
+
attr_reader :amount_total
|
|
161
|
+
# The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.
|
|
162
|
+
attr_reader :interval
|
|
163
|
+
# The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
|
|
164
|
+
attr_reader :interval_count
|
|
165
|
+
# Attribute for field total_details
|
|
166
|
+
attr_reader :total_details
|
|
167
|
+
|
|
168
|
+
def self.inner_class_types
|
|
169
|
+
@inner_class_types = { total_details: TotalDetails }
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
def self.field_remappings
|
|
173
|
+
@field_remappings = {}
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class Upfront < ::Stripe::StripeObject
|
|
178
|
+
class TotalDetails < ::Stripe::StripeObject
|
|
179
|
+
class Breakdown < ::Stripe::StripeObject
|
|
180
|
+
class Discount < ::Stripe::StripeObject
|
|
181
|
+
# The amount discounted.
|
|
182
|
+
attr_reader :amount
|
|
183
|
+
# A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
|
|
184
|
+
# It contains information about when the discount began, when it will end, and what it is applied to.
|
|
185
|
+
#
|
|
186
|
+
# Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
|
|
187
|
+
attr_reader :discount
|
|
188
|
+
|
|
189
|
+
def self.inner_class_types
|
|
190
|
+
@inner_class_types = {}
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
def self.field_remappings
|
|
194
|
+
@field_remappings = {}
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
class Tax < ::Stripe::StripeObject
|
|
199
|
+
# Amount of tax applied for this rate.
|
|
200
|
+
attr_reader :amount
|
|
201
|
+
# Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
202
|
+
#
|
|
203
|
+
# Related guide: [Tax rates](/billing/taxes/tax-rates)
|
|
204
|
+
attr_reader :rate
|
|
205
|
+
# The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
|
|
206
|
+
attr_reader :taxability_reason
|
|
207
|
+
# The amount on which tax is calculated, in cents (or local equivalent).
|
|
208
|
+
attr_reader :taxable_amount
|
|
209
|
+
|
|
210
|
+
def self.inner_class_types
|
|
211
|
+
@inner_class_types = {}
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
def self.field_remappings
|
|
215
|
+
@field_remappings = {}
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
# The aggregated discounts.
|
|
219
|
+
attr_reader :discounts
|
|
220
|
+
# The aggregated tax amounts by rate.
|
|
221
|
+
attr_reader :taxes
|
|
222
|
+
|
|
223
|
+
def self.inner_class_types
|
|
224
|
+
@inner_class_types = { discounts: Discount, taxes: Tax }
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
def self.field_remappings
|
|
228
|
+
@field_remappings = {}
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
# This is the sum of all the discounts.
|
|
232
|
+
attr_reader :amount_discount
|
|
233
|
+
# This is the sum of all the shipping amounts.
|
|
234
|
+
attr_reader :amount_shipping
|
|
235
|
+
# This is the sum of all the tax amounts.
|
|
236
|
+
attr_reader :amount_tax
|
|
237
|
+
# Attribute for field breakdown
|
|
238
|
+
attr_reader :breakdown
|
|
239
|
+
|
|
240
|
+
def self.inner_class_types
|
|
241
|
+
@inner_class_types = { breakdown: Breakdown }
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
def self.field_remappings
|
|
245
|
+
@field_remappings = {}
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
# Total before any discounts or taxes are applied.
|
|
249
|
+
attr_reader :amount_subtotal
|
|
250
|
+
# Total after discounts and taxes are applied.
|
|
251
|
+
attr_reader :amount_total
|
|
252
|
+
# The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice.
|
|
253
|
+
attr_reader :line_items
|
|
254
|
+
# Attribute for field total_details
|
|
255
|
+
attr_reader :total_details
|
|
256
|
+
|
|
257
|
+
def self.inner_class_types
|
|
258
|
+
@inner_class_types = { total_details: TotalDetails }
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def self.field_remappings
|
|
262
|
+
@field_remappings = {}
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
# Details of the most recent reestimate of the quote's preview schedules and upcoming invoices, including the status of Stripe's calculation.
|
|
266
|
+
attr_reader :last_reestimation_details
|
|
267
|
+
# The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts with `duration=forever` coupons only. Defaults to `null` if no inputted line items with recurring prices.
|
|
268
|
+
attr_reader :recurring
|
|
269
|
+
# The time at which the quote's estimated schedules and upcoming invoices were generated.
|
|
270
|
+
attr_reader :updated_at
|
|
271
|
+
# Attribute for field upfront
|
|
272
|
+
attr_reader :upfront
|
|
273
|
+
|
|
274
|
+
def self.inner_class_types
|
|
275
|
+
@inner_class_types = {
|
|
276
|
+
last_reestimation_details: LastReestimationDetails,
|
|
277
|
+
recurring: Recurring,
|
|
278
|
+
upfront: Upfront,
|
|
279
|
+
}
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
def self.field_remappings
|
|
283
|
+
@field_remappings = {}
|
|
284
|
+
end
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
class FromQuote < ::Stripe::StripeObject
|
|
288
|
+
# Whether this quote is a revision of a different quote.
|
|
289
|
+
attr_reader :is_revision
|
|
290
|
+
# The quote that was cloned.
|
|
291
|
+
attr_reader :quote
|
|
292
|
+
|
|
293
|
+
def self.inner_class_types
|
|
294
|
+
@inner_class_types = {}
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
def self.field_remappings
|
|
298
|
+
@field_remappings = {}
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
class InvoiceSettings < ::Stripe::StripeObject
|
|
303
|
+
class Issuer < ::Stripe::StripeObject
|
|
304
|
+
# The connected account being referenced when `type` is `account`.
|
|
305
|
+
attr_reader :account
|
|
306
|
+
# Type of the account referenced.
|
|
307
|
+
attr_reader :type
|
|
308
|
+
|
|
309
|
+
def self.inner_class_types
|
|
310
|
+
@inner_class_types = {}
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
def self.field_remappings
|
|
314
|
+
@field_remappings = {}
|
|
315
|
+
end
|
|
316
|
+
end
|
|
317
|
+
# Number of days within which a customer must pay invoices generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.
|
|
318
|
+
attr_reader :days_until_due
|
|
319
|
+
# Attribute for field issuer
|
|
320
|
+
attr_reader :issuer
|
|
321
|
+
|
|
322
|
+
def self.inner_class_types
|
|
323
|
+
@inner_class_types = { issuer: Issuer }
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
def self.field_remappings
|
|
327
|
+
@field_remappings = {}
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class StatusDetails < ::Stripe::StripeObject
|
|
332
|
+
class Canceled < ::Stripe::StripeObject
|
|
333
|
+
# The reason this quote was marked as canceled.
|
|
334
|
+
attr_reader :reason
|
|
335
|
+
# Time at which the quote was marked as canceled. Measured in seconds since the Unix epoch.
|
|
336
|
+
attr_reader :transitioned_at
|
|
337
|
+
|
|
338
|
+
def self.inner_class_types
|
|
339
|
+
@inner_class_types = {}
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
def self.field_remappings
|
|
343
|
+
@field_remappings = {}
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
class Stale < ::Stripe::StripeObject
|
|
348
|
+
class LastReason < ::Stripe::StripeObject
|
|
349
|
+
class LinesInvalid < ::Stripe::StripeObject
|
|
350
|
+
# The timestamp at which the lines were marked as invalid.
|
|
351
|
+
attr_reader :invalid_at
|
|
352
|
+
# The list of lines that became invalid at the given timestamp.
|
|
353
|
+
attr_reader :lines
|
|
354
|
+
|
|
355
|
+
def self.inner_class_types
|
|
356
|
+
@inner_class_types = {}
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
def self.field_remappings
|
|
360
|
+
@field_remappings = {}
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
class SubscriptionChanged < ::Stripe::StripeObject
|
|
365
|
+
# The subscription's state before the quote was marked as stale.
|
|
366
|
+
attr_reader :previous_subscription
|
|
367
|
+
|
|
368
|
+
def self.inner_class_types
|
|
369
|
+
@inner_class_types = {}
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
def self.field_remappings
|
|
373
|
+
@field_remappings = {}
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
class SubscriptionScheduleChanged < ::Stripe::StripeObject
|
|
378
|
+
# The subscription schedule's state before the quote was marked as stale.
|
|
379
|
+
attr_reader :previous_subscription_schedule
|
|
380
|
+
|
|
381
|
+
def self.inner_class_types
|
|
382
|
+
@inner_class_types = {}
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
def self.field_remappings
|
|
386
|
+
@field_remappings = {}
|
|
387
|
+
end
|
|
388
|
+
end
|
|
389
|
+
# The ID of the line that is invalid if the stale reason type is `line_invalid`.
|
|
390
|
+
attr_reader :line_invalid
|
|
391
|
+
# The IDs of the lines that are invalid if the stale reason type is `lines_invalid`.
|
|
392
|
+
attr_reader :lines_invalid
|
|
393
|
+
# The user supplied mark stale reason.
|
|
394
|
+
attr_reader :marked_stale
|
|
395
|
+
# The ID of the subscription that was canceled.
|
|
396
|
+
attr_reader :subscription_canceled
|
|
397
|
+
# Attribute for field subscription_changed
|
|
398
|
+
attr_reader :subscription_changed
|
|
399
|
+
# The ID of the subscription that was expired.
|
|
400
|
+
attr_reader :subscription_expired
|
|
401
|
+
# The ID of the subscription schedule that was canceled.
|
|
402
|
+
attr_reader :subscription_schedule_canceled
|
|
403
|
+
# Attribute for field subscription_schedule_changed
|
|
404
|
+
attr_reader :subscription_schedule_changed
|
|
405
|
+
# The ID of the subscription schedule that was released.
|
|
406
|
+
attr_reader :subscription_schedule_released
|
|
407
|
+
# The reason the quote was marked as stale.
|
|
408
|
+
attr_reader :type
|
|
409
|
+
|
|
410
|
+
def self.inner_class_types
|
|
411
|
+
@inner_class_types = {
|
|
412
|
+
lines_invalid: LinesInvalid,
|
|
413
|
+
subscription_changed: SubscriptionChanged,
|
|
414
|
+
subscription_schedule_changed: SubscriptionScheduleChanged,
|
|
415
|
+
}
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
def self.field_remappings
|
|
419
|
+
@field_remappings = {}
|
|
420
|
+
end
|
|
421
|
+
end
|
|
422
|
+
# Time at which the quote expires. Measured in seconds since the Unix epoch.
|
|
423
|
+
attr_reader :expires_at
|
|
424
|
+
# The most recent reason this quote was marked as stale.
|
|
425
|
+
attr_reader :last_reason
|
|
426
|
+
# Time at which the stale reason was updated. Measured in seconds since the Unix epoch.
|
|
427
|
+
attr_reader :last_updated_at
|
|
428
|
+
# Time at which the quote was marked as stale. Measured in seconds since the Unix epoch.
|
|
429
|
+
attr_reader :transitioned_at
|
|
430
|
+
|
|
431
|
+
def self.inner_class_types
|
|
432
|
+
@inner_class_types = { last_reason: LastReason }
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
def self.field_remappings
|
|
436
|
+
@field_remappings = {}
|
|
437
|
+
end
|
|
438
|
+
end
|
|
439
|
+
# Attribute for field canceled
|
|
440
|
+
attr_reader :canceled
|
|
441
|
+
# Attribute for field stale
|
|
442
|
+
attr_reader :stale
|
|
443
|
+
|
|
444
|
+
def self.inner_class_types
|
|
445
|
+
@inner_class_types = { canceled: Canceled, stale: Stale }
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
def self.field_remappings
|
|
449
|
+
@field_remappings = {}
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
class StatusTransitions < ::Stripe::StripeObject
|
|
454
|
+
# The time that the quote was accepted. Measured in seconds since Unix epoch.
|
|
455
|
+
attr_reader :accepted_at
|
|
456
|
+
# The time that the quote was canceled. Measured in seconds since Unix epoch.
|
|
457
|
+
attr_reader :canceled_at
|
|
458
|
+
# The time that the quote was finalized. Measured in seconds since Unix epoch.
|
|
459
|
+
attr_reader :finalized_at
|
|
460
|
+
|
|
461
|
+
def self.inner_class_types
|
|
462
|
+
@inner_class_types = {}
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
def self.field_remappings
|
|
466
|
+
@field_remappings = {}
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
class SubscriptionData < ::Stripe::StripeObject
|
|
471
|
+
class BillOnAcceptance < ::Stripe::StripeObject
|
|
472
|
+
class BillFrom < ::Stripe::StripeObject
|
|
473
|
+
class LineStartsAt < ::Stripe::StripeObject
|
|
474
|
+
# Unique identifier for the object.
|
|
475
|
+
attr_reader :id
|
|
476
|
+
|
|
477
|
+
def self.inner_class_types
|
|
478
|
+
@inner_class_types = {}
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
def self.field_remappings
|
|
482
|
+
@field_remappings = {}
|
|
483
|
+
end
|
|
484
|
+
end
|
|
485
|
+
# The materialized time.
|
|
486
|
+
attr_reader :computed
|
|
487
|
+
# The timestamp the given line starts at.
|
|
488
|
+
attr_reader :line_starts_at
|
|
489
|
+
# A precise Unix timestamp.
|
|
490
|
+
attr_reader :timestamp
|
|
491
|
+
# The type of method to specify the `bill_from` time.
|
|
492
|
+
attr_reader :type
|
|
493
|
+
|
|
494
|
+
def self.inner_class_types
|
|
495
|
+
@inner_class_types = { line_starts_at: LineStartsAt }
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
def self.field_remappings
|
|
499
|
+
@field_remappings = {}
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
class BillUntil < ::Stripe::StripeObject
|
|
504
|
+
class Duration < ::Stripe::StripeObject
|
|
505
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
506
|
+
attr_reader :interval
|
|
507
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
508
|
+
attr_reader :interval_count
|
|
509
|
+
|
|
510
|
+
def self.inner_class_types
|
|
511
|
+
@inner_class_types = {}
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
def self.field_remappings
|
|
515
|
+
@field_remappings = {}
|
|
516
|
+
end
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
class LineEndsAt < ::Stripe::StripeObject
|
|
520
|
+
# Unique identifier for the object.
|
|
521
|
+
attr_reader :id
|
|
522
|
+
|
|
523
|
+
def self.inner_class_types
|
|
524
|
+
@inner_class_types = {}
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
def self.field_remappings
|
|
528
|
+
@field_remappings = {}
|
|
529
|
+
end
|
|
530
|
+
end
|
|
531
|
+
# The materialized time.
|
|
532
|
+
attr_reader :computed
|
|
533
|
+
# Time span for the quote line starting from the `starts_at` date.
|
|
534
|
+
attr_reader :duration
|
|
535
|
+
# The timestamp the given line ends at.
|
|
536
|
+
attr_reader :line_ends_at
|
|
537
|
+
# A precise Unix timestamp.
|
|
538
|
+
attr_reader :timestamp
|
|
539
|
+
# The type of method to specify the `bill_until` time.
|
|
540
|
+
attr_reader :type
|
|
541
|
+
|
|
542
|
+
def self.inner_class_types
|
|
543
|
+
@inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
def self.field_remappings
|
|
547
|
+
@field_remappings = {}
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
# The start of the period to bill from when the Quote is accepted.
|
|
551
|
+
attr_reader :bill_from
|
|
552
|
+
# The end of the period to bill until when the Quote is accepted.
|
|
553
|
+
attr_reader :bill_until
|
|
554
|
+
|
|
555
|
+
def self.inner_class_types
|
|
556
|
+
@inner_class_types = { bill_from: BillFrom, bill_until: BillUntil }
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
def self.field_remappings
|
|
560
|
+
@field_remappings = {}
|
|
561
|
+
end
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
class BillingMode < ::Stripe::StripeObject
|
|
565
|
+
class Flexible < ::Stripe::StripeObject
|
|
566
|
+
# Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
567
|
+
attr_reader :proration_discounts
|
|
568
|
+
|
|
569
|
+
def self.inner_class_types
|
|
570
|
+
@inner_class_types = {}
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
def self.field_remappings
|
|
574
|
+
@field_remappings = {}
|
|
575
|
+
end
|
|
576
|
+
end
|
|
577
|
+
# Attribute for field flexible
|
|
578
|
+
attr_reader :flexible
|
|
579
|
+
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
580
|
+
attr_reader :type
|
|
581
|
+
|
|
582
|
+
def self.inner_class_types
|
|
583
|
+
@inner_class_types = { flexible: Flexible }
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
def self.field_remappings
|
|
587
|
+
@field_remappings = {}
|
|
588
|
+
end
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
class Prebilling < ::Stripe::StripeObject
|
|
592
|
+
# Attribute for field iterations
|
|
593
|
+
attr_reader :iterations
|
|
594
|
+
|
|
595
|
+
def self.inner_class_types
|
|
596
|
+
@inner_class_types = {}
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
def self.field_remappings
|
|
600
|
+
@field_remappings = {}
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
|
+
# Describes the period to bill for upon accepting the quote.
|
|
604
|
+
attr_reader :bill_on_acceptance
|
|
605
|
+
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
606
|
+
attr_reader :billing_behavior
|
|
607
|
+
# Whether the subscription will always start a new billing period when the quote is accepted.
|
|
608
|
+
attr_reader :billing_cycle_anchor
|
|
609
|
+
# The billing mode of the quote.
|
|
610
|
+
attr_reader :billing_mode
|
|
611
|
+
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
|
612
|
+
attr_reader :description
|
|
613
|
+
# When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
|
|
614
|
+
attr_reader :effective_date
|
|
615
|
+
# Behavior of the subscription schedule and underlying subscription when it ends.
|
|
616
|
+
attr_reader :end_behavior
|
|
617
|
+
# The id of the subscription that will be updated when the quote is accepted.
|
|
618
|
+
attr_reader :from_subscription
|
|
619
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
|
|
620
|
+
attr_reader :metadata
|
|
621
|
+
# If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
|
|
622
|
+
attr_reader :prebilling
|
|
623
|
+
# Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations) when the quote is accepted.
|
|
624
|
+
attr_reader :proration_behavior
|
|
625
|
+
# Integer representing the number of trial period days before the customer is charged for the first time.
|
|
626
|
+
attr_reader :trial_period_days
|
|
627
|
+
|
|
628
|
+
def self.inner_class_types
|
|
629
|
+
@inner_class_types = {
|
|
630
|
+
bill_on_acceptance: BillOnAcceptance,
|
|
631
|
+
billing_mode: BillingMode,
|
|
632
|
+
prebilling: Prebilling,
|
|
633
|
+
}
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
def self.field_remappings
|
|
637
|
+
@field_remappings = {}
|
|
638
|
+
end
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
class SubscriptionDataOverride < ::Stripe::StripeObject
|
|
642
|
+
class AppliesTo < ::Stripe::StripeObject
|
|
643
|
+
# A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
|
|
644
|
+
attr_reader :new_reference
|
|
645
|
+
# The ID of the schedule the line applies to.
|
|
646
|
+
attr_reader :subscription_schedule
|
|
647
|
+
# Describes whether the quote line is affecting a new schedule or an existing schedule.
|
|
648
|
+
attr_reader :type
|
|
649
|
+
|
|
650
|
+
def self.inner_class_types
|
|
651
|
+
@inner_class_types = {}
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
def self.field_remappings
|
|
655
|
+
@field_remappings = {}
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
class BillOnAcceptance < ::Stripe::StripeObject
|
|
660
|
+
class BillFrom < ::Stripe::StripeObject
|
|
661
|
+
class LineStartsAt < ::Stripe::StripeObject
|
|
662
|
+
# Unique identifier for the object.
|
|
663
|
+
attr_reader :id
|
|
664
|
+
|
|
665
|
+
def self.inner_class_types
|
|
666
|
+
@inner_class_types = {}
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
def self.field_remappings
|
|
670
|
+
@field_remappings = {}
|
|
671
|
+
end
|
|
672
|
+
end
|
|
673
|
+
# The materialized time.
|
|
674
|
+
attr_reader :computed
|
|
675
|
+
# The timestamp the given line starts at.
|
|
676
|
+
attr_reader :line_starts_at
|
|
677
|
+
# A precise Unix timestamp.
|
|
678
|
+
attr_reader :timestamp
|
|
679
|
+
# The type of method to specify the `bill_from` time.
|
|
680
|
+
attr_reader :type
|
|
681
|
+
|
|
682
|
+
def self.inner_class_types
|
|
683
|
+
@inner_class_types = { line_starts_at: LineStartsAt }
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
def self.field_remappings
|
|
687
|
+
@field_remappings = {}
|
|
688
|
+
end
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
class BillUntil < ::Stripe::StripeObject
|
|
692
|
+
class Duration < ::Stripe::StripeObject
|
|
693
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
694
|
+
attr_reader :interval
|
|
695
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
696
|
+
attr_reader :interval_count
|
|
697
|
+
|
|
698
|
+
def self.inner_class_types
|
|
699
|
+
@inner_class_types = {}
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
def self.field_remappings
|
|
703
|
+
@field_remappings = {}
|
|
704
|
+
end
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
class LineEndsAt < ::Stripe::StripeObject
|
|
708
|
+
# Unique identifier for the object.
|
|
709
|
+
attr_reader :id
|
|
710
|
+
|
|
711
|
+
def self.inner_class_types
|
|
712
|
+
@inner_class_types = {}
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
def self.field_remappings
|
|
716
|
+
@field_remappings = {}
|
|
717
|
+
end
|
|
718
|
+
end
|
|
719
|
+
# The materialized time.
|
|
720
|
+
attr_reader :computed
|
|
721
|
+
# Time span for the quote line starting from the `starts_at` date.
|
|
722
|
+
attr_reader :duration
|
|
723
|
+
# The timestamp the given line ends at.
|
|
724
|
+
attr_reader :line_ends_at
|
|
725
|
+
# A precise Unix timestamp.
|
|
726
|
+
attr_reader :timestamp
|
|
727
|
+
# The type of method to specify the `bill_until` time.
|
|
728
|
+
attr_reader :type
|
|
729
|
+
|
|
730
|
+
def self.inner_class_types
|
|
731
|
+
@inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
def self.field_remappings
|
|
735
|
+
@field_remappings = {}
|
|
736
|
+
end
|
|
737
|
+
end
|
|
738
|
+
# The start of the period to bill from when the Quote is accepted.
|
|
739
|
+
attr_reader :bill_from
|
|
740
|
+
# The end of the period to bill until when the Quote is accepted.
|
|
741
|
+
attr_reader :bill_until
|
|
742
|
+
|
|
743
|
+
def self.inner_class_types
|
|
744
|
+
@inner_class_types = { bill_from: BillFrom, bill_until: BillUntil }
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
def self.field_remappings
|
|
748
|
+
@field_remappings = {}
|
|
749
|
+
end
|
|
750
|
+
end
|
|
751
|
+
# Attribute for field applies_to
|
|
752
|
+
attr_reader :applies_to
|
|
753
|
+
# Describes the period to bill for upon accepting the quote.
|
|
754
|
+
attr_reader :bill_on_acceptance
|
|
755
|
+
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
756
|
+
attr_reader :billing_behavior
|
|
757
|
+
# The customer who received this quote. A customer is required to finalize the quote. Once specified, you can't change it.
|
|
758
|
+
attr_reader :customer
|
|
759
|
+
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
|
760
|
+
attr_reader :description
|
|
761
|
+
# Behavior of the subscription schedule and underlying subscription when it ends.
|
|
762
|
+
attr_reader :end_behavior
|
|
763
|
+
# Determines how to handle [prorations](https://docs.stripe.com/subscriptions/billing-cycle#prorations) when the quote is accepted.
|
|
764
|
+
attr_reader :proration_behavior
|
|
765
|
+
|
|
766
|
+
def self.inner_class_types
|
|
767
|
+
@inner_class_types = { applies_to: AppliesTo, bill_on_acceptance: BillOnAcceptance }
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
def self.field_remappings
|
|
771
|
+
@field_remappings = {}
|
|
772
|
+
end
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class SubscriptionSchedule < ::Stripe::StripeObject
|
|
776
|
+
class AppliesTo < ::Stripe::StripeObject
|
|
777
|
+
# A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
|
|
778
|
+
attr_reader :new_reference
|
|
779
|
+
# The ID of the schedule the line applies to.
|
|
780
|
+
attr_reader :subscription_schedule
|
|
781
|
+
# Describes whether the quote line is affecting a new schedule or an existing schedule.
|
|
782
|
+
attr_reader :type
|
|
783
|
+
|
|
784
|
+
def self.inner_class_types
|
|
785
|
+
@inner_class_types = {}
|
|
786
|
+
end
|
|
11
787
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
788
|
+
def self.field_remappings
|
|
789
|
+
@field_remappings = {}
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
# Attribute for field applies_to
|
|
793
|
+
attr_reader :applies_to
|
|
794
|
+
# The subscription schedule that was created or updated from this quote.
|
|
795
|
+
attr_reader :subscription_schedule
|
|
796
|
+
|
|
797
|
+
def self.inner_class_types
|
|
798
|
+
@inner_class_types = { applies_to: AppliesTo }
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
def self.field_remappings
|
|
802
|
+
@field_remappings = {}
|
|
803
|
+
end
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
class TotalDetails < ::Stripe::StripeObject
|
|
807
|
+
class Breakdown < ::Stripe::StripeObject
|
|
808
|
+
class Discount < ::Stripe::StripeObject
|
|
809
|
+
# The amount discounted.
|
|
810
|
+
attr_reader :amount
|
|
811
|
+
# A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
|
|
812
|
+
# It contains information about when the discount began, when it will end, and what it is applied to.
|
|
813
|
+
#
|
|
814
|
+
# Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
|
|
815
|
+
attr_reader :discount
|
|
816
|
+
|
|
817
|
+
def self.inner_class_types
|
|
818
|
+
@inner_class_types = {}
|
|
819
|
+
end
|
|
820
|
+
|
|
821
|
+
def self.field_remappings
|
|
822
|
+
@field_remappings = {}
|
|
823
|
+
end
|
|
824
|
+
end
|
|
825
|
+
|
|
826
|
+
class Tax < ::Stripe::StripeObject
|
|
827
|
+
# Amount of tax applied for this rate.
|
|
828
|
+
attr_reader :amount
|
|
829
|
+
# Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
830
|
+
#
|
|
831
|
+
# Related guide: [Tax rates](/billing/taxes/tax-rates)
|
|
832
|
+
attr_reader :rate
|
|
833
|
+
# The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
|
|
834
|
+
attr_reader :taxability_reason
|
|
835
|
+
# The amount on which tax is calculated, in cents (or local equivalent).
|
|
836
|
+
attr_reader :taxable_amount
|
|
837
|
+
|
|
838
|
+
def self.inner_class_types
|
|
839
|
+
@inner_class_types = {}
|
|
840
|
+
end
|
|
841
|
+
|
|
842
|
+
def self.field_remappings
|
|
843
|
+
@field_remappings = {}
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
# The aggregated discounts.
|
|
847
|
+
attr_reader :discounts
|
|
848
|
+
# The aggregated tax amounts by rate.
|
|
849
|
+
attr_reader :taxes
|
|
850
|
+
|
|
851
|
+
def self.inner_class_types
|
|
852
|
+
@inner_class_types = { discounts: Discount, taxes: Tax }
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
def self.field_remappings
|
|
856
|
+
@field_remappings = {}
|
|
857
|
+
end
|
|
858
|
+
end
|
|
859
|
+
# This is the sum of all the discounts.
|
|
860
|
+
attr_reader :amount_discount
|
|
861
|
+
# This is the sum of all the shipping amounts.
|
|
862
|
+
attr_reader :amount_shipping
|
|
863
|
+
# This is the sum of all the tax amounts.
|
|
864
|
+
attr_reader :amount_tax
|
|
865
|
+
# Attribute for field breakdown
|
|
866
|
+
attr_reader :breakdown
|
|
867
|
+
|
|
868
|
+
def self.inner_class_types
|
|
869
|
+
@inner_class_types = { breakdown: Breakdown }
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
def self.field_remappings
|
|
873
|
+
@field_remappings = {}
|
|
874
|
+
end
|
|
875
|
+
end
|
|
876
|
+
|
|
877
|
+
class TransferData < ::Stripe::StripeObject
|
|
878
|
+
# The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.
|
|
879
|
+
attr_reader :amount
|
|
880
|
+
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.
|
|
881
|
+
attr_reader :amount_percent
|
|
882
|
+
# The account where funds from the payment will be transferred to upon payment success.
|
|
883
|
+
attr_reader :destination
|
|
884
|
+
|
|
885
|
+
def self.inner_class_types
|
|
886
|
+
@inner_class_types = {}
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
def self.field_remappings
|
|
890
|
+
@field_remappings = {}
|
|
891
|
+
end
|
|
892
|
+
end
|
|
893
|
+
# Allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.
|
|
894
|
+
attr_reader :allow_backdated_lines
|
|
895
|
+
# Total before any discounts or taxes are applied.
|
|
896
|
+
attr_reader :amount_subtotal
|
|
897
|
+
# Total after discounts and taxes are applied.
|
|
898
|
+
attr_reader :amount_total
|
|
899
|
+
# ID of the Connect Application that created the quote.
|
|
900
|
+
attr_reader :application
|
|
901
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote.
|
|
902
|
+
attr_reader :application_fee_amount
|
|
903
|
+
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. Only applicable if there are line items with recurring prices on the quote.
|
|
904
|
+
attr_reader :application_fee_percent
|
|
905
|
+
# Attribute for field automatic_tax
|
|
906
|
+
attr_reader :automatic_tax
|
|
907
|
+
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.
|
|
908
|
+
attr_reader :collection_method
|
|
909
|
+
# Attribute for field computed
|
|
910
|
+
attr_reader :computed
|
|
911
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
912
|
+
attr_reader :created
|
|
913
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
914
|
+
attr_reader :currency
|
|
915
|
+
# The customer who received this quote. A customer is required to finalize the quote. Once specified, you can't change it.
|
|
916
|
+
attr_reader :customer
|
|
917
|
+
# The account representing the customer who received this quote. A customer or account is required to finalize the quote. Once specified, you can't change it.
|
|
918
|
+
attr_reader :customer_account
|
|
919
|
+
# The tax rates applied to this quote.
|
|
920
|
+
attr_reader :default_tax_rates
|
|
921
|
+
# A description that will be displayed on the quote PDF.
|
|
922
|
+
attr_reader :description
|
|
923
|
+
# The discounts applied to this quote.
|
|
924
|
+
attr_reader :discounts
|
|
925
|
+
# The date on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.
|
|
926
|
+
attr_reader :expires_at
|
|
927
|
+
# A footer that will be displayed on the quote PDF.
|
|
928
|
+
attr_reader :footer
|
|
929
|
+
# Details of the quote that was cloned. See the [cloning documentation](https://docs.stripe.com/quotes/clone) for more details.
|
|
930
|
+
attr_reader :from_quote
|
|
931
|
+
# A header that will be displayed on the quote PDF.
|
|
932
|
+
attr_reader :header
|
|
933
|
+
# Unique identifier for the object.
|
|
934
|
+
attr_reader :id
|
|
935
|
+
# The invoice that was created from this quote.
|
|
936
|
+
attr_reader :invoice
|
|
937
|
+
# Attribute for field invoice_settings
|
|
938
|
+
attr_reader :invoice_settings
|
|
939
|
+
# A list of items the customer is being quoted for.
|
|
940
|
+
attr_reader :line_items
|
|
941
|
+
# A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
942
|
+
attr_reader :lines
|
|
943
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
944
|
+
attr_reader :livemode
|
|
945
|
+
# 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.
|
|
946
|
+
attr_reader :metadata
|
|
947
|
+
# A unique number that identifies this particular quote. This number is assigned once the quote is [finalized](https://docs.stripe.com/quotes/overview#finalize).
|
|
948
|
+
attr_reader :number
|
|
949
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
950
|
+
attr_reader :object
|
|
951
|
+
# The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.
|
|
952
|
+
attr_reader :on_behalf_of
|
|
953
|
+
# The status of the quote.
|
|
954
|
+
attr_reader :status
|
|
955
|
+
# Details on when and why a quote has been marked as stale or canceled.
|
|
956
|
+
attr_reader :status_details
|
|
957
|
+
# Attribute for field status_transitions
|
|
958
|
+
attr_reader :status_transitions
|
|
959
|
+
# The subscription that was created or updated from this quote.
|
|
960
|
+
attr_reader :subscription
|
|
961
|
+
# Attribute for field subscription_data
|
|
962
|
+
attr_reader :subscription_data
|
|
963
|
+
# List representing overrides for `subscription_data` configurations for specific subscription schedules.
|
|
964
|
+
attr_reader :subscription_data_overrides
|
|
965
|
+
# The subscription schedule that was created or updated from this quote.
|
|
966
|
+
attr_reader :subscription_schedule
|
|
967
|
+
# The subscription schedules that were created or updated from this quote.
|
|
968
|
+
attr_reader :subscription_schedules
|
|
969
|
+
# ID of the test clock this quote belongs to.
|
|
970
|
+
attr_reader :test_clock
|
|
971
|
+
# Attribute for field total_details
|
|
972
|
+
attr_reader :total_details
|
|
973
|
+
# The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.
|
|
974
|
+
attr_reader :transfer_data
|
|
17
975
|
|
|
976
|
+
# Accepts the specified quote.
|
|
18
977
|
def accept(params = {}, opts = {})
|
|
19
978
|
request_stripe_object(
|
|
20
979
|
method: :post,
|
|
21
|
-
path:
|
|
980
|
+
path: format("/v1/quotes/%<quote>s/accept", { quote: CGI.escape(self["id"]) }),
|
|
22
981
|
params: params,
|
|
23
982
|
opts: opts
|
|
24
983
|
)
|
|
25
984
|
end
|
|
26
985
|
|
|
986
|
+
# Accepts the specified quote.
|
|
987
|
+
def self.accept(quote, params = {}, opts = {})
|
|
988
|
+
request_stripe_object(
|
|
989
|
+
method: :post,
|
|
990
|
+
path: format("/v1/quotes/%<quote>s/accept", { quote: CGI.escape(quote) }),
|
|
991
|
+
params: params,
|
|
992
|
+
opts: opts
|
|
993
|
+
)
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
# Cancels the quote.
|
|
27
997
|
def cancel(params = {}, opts = {})
|
|
28
998
|
request_stripe_object(
|
|
29
999
|
method: :post,
|
|
30
|
-
path:
|
|
1000
|
+
path: format("/v1/quotes/%<quote>s/cancel", { quote: CGI.escape(self["id"]) }),
|
|
31
1001
|
params: params,
|
|
32
1002
|
opts: opts
|
|
33
1003
|
)
|
|
34
1004
|
end
|
|
35
1005
|
|
|
1006
|
+
# Cancels the quote.
|
|
1007
|
+
def self.cancel(quote, params = {}, opts = {})
|
|
1008
|
+
request_stripe_object(
|
|
1009
|
+
method: :post,
|
|
1010
|
+
path: format("/v1/quotes/%<quote>s/cancel", { quote: CGI.escape(quote) }),
|
|
1011
|
+
params: params,
|
|
1012
|
+
opts: opts
|
|
1013
|
+
)
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
# A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote).
|
|
1017
|
+
def self.create(params = {}, opts = {})
|
|
1018
|
+
request_stripe_object(method: :post, path: "/v1/quotes", params: params, opts: opts)
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
# Finalizes the quote.
|
|
36
1022
|
def finalize_quote(params = {}, opts = {})
|
|
37
1023
|
request_stripe_object(
|
|
38
1024
|
method: :post,
|
|
39
|
-
path:
|
|
1025
|
+
path: format("/v1/quotes/%<quote>s/finalize", { quote: CGI.escape(self["id"]) }),
|
|
40
1026
|
params: params,
|
|
41
1027
|
opts: opts
|
|
42
1028
|
)
|
|
43
1029
|
end
|
|
44
1030
|
|
|
1031
|
+
# Finalizes the quote.
|
|
1032
|
+
def self.finalize_quote(quote, params = {}, opts = {})
|
|
1033
|
+
request_stripe_object(
|
|
1034
|
+
method: :post,
|
|
1035
|
+
path: format("/v1/quotes/%<quote>s/finalize", { quote: CGI.escape(quote) }),
|
|
1036
|
+
params: params,
|
|
1037
|
+
opts: opts
|
|
1038
|
+
)
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# Returns a list of your quotes.
|
|
1042
|
+
def self.list(params = {}, opts = {})
|
|
1043
|
+
request_stripe_object(method: :get, path: "/v1/quotes", params: params, opts: opts)
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
# When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.
|
|
45
1047
|
def list_computed_upfront_line_items(params = {}, opts = {})
|
|
46
1048
|
request_stripe_object(
|
|
47
1049
|
method: :get,
|
|
48
|
-
path:
|
|
1050
|
+
path: format("/v1/quotes/%<quote>s/computed_upfront_line_items", { quote: CGI.escape(self["id"]) }),
|
|
49
1051
|
params: params,
|
|
50
1052
|
opts: opts
|
|
51
1053
|
)
|
|
52
1054
|
end
|
|
53
1055
|
|
|
1056
|
+
# When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.
|
|
1057
|
+
def self.list_computed_upfront_line_items(quote, params = {}, opts = {})
|
|
1058
|
+
request_stripe_object(
|
|
1059
|
+
method: :get,
|
|
1060
|
+
path: format("/v1/quotes/%<quote>s/computed_upfront_line_items", { quote: CGI.escape(quote) }),
|
|
1061
|
+
params: params,
|
|
1062
|
+
opts: opts
|
|
1063
|
+
)
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1066
|
+
# When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
|
|
54
1067
|
def list_line_items(params = {}, opts = {})
|
|
55
1068
|
request_stripe_object(
|
|
56
1069
|
method: :get,
|
|
57
|
-
path:
|
|
1070
|
+
path: format("/v1/quotes/%<quote>s/line_items", { quote: CGI.escape(self["id"]) }),
|
|
58
1071
|
params: params,
|
|
59
1072
|
opts: opts
|
|
60
1073
|
)
|
|
61
1074
|
end
|
|
62
1075
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
1076
|
+
# When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
|
|
1077
|
+
def self.list_line_items(quote, params = {}, opts = {})
|
|
1078
|
+
request_stripe_object(
|
|
1079
|
+
method: :get,
|
|
1080
|
+
path: format("/v1/quotes/%<quote>s/line_items", { quote: CGI.escape(quote) }),
|
|
1081
|
+
params: params,
|
|
1082
|
+
opts: opts
|
|
1083
|
+
)
|
|
1084
|
+
end
|
|
67
1085
|
|
|
68
|
-
|
|
1086
|
+
# Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
1087
|
+
def list_lines(params = {}, opts = {})
|
|
1088
|
+
request_stripe_object(
|
|
1089
|
+
method: :get,
|
|
1090
|
+
path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(self["id"]) }),
|
|
1091
|
+
params: params,
|
|
1092
|
+
opts: opts
|
|
1093
|
+
)
|
|
1094
|
+
end
|
|
69
1095
|
|
|
70
|
-
|
|
1096
|
+
# Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
1097
|
+
def self.list_lines(quote, params = {}, opts = {})
|
|
1098
|
+
request_stripe_object(
|
|
71
1099
|
method: :get,
|
|
72
|
-
path:
|
|
1100
|
+
path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(quote) }),
|
|
73
1101
|
params: params,
|
|
74
|
-
opts:
|
|
75
|
-
api_base: config.uploads_base,
|
|
76
|
-
}.merge(opts),
|
|
77
|
-
&read_body_chunk_block
|
|
1102
|
+
opts: opts
|
|
78
1103
|
)
|
|
79
1104
|
end
|
|
80
1105
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
1106
|
+
# Preview the invoice line items that would be generated by accepting the quote.
|
|
1107
|
+
def list_preview_invoice_lines(preview_invoice, params = {}, opts = {})
|
|
1108
|
+
request_stripe_object(
|
|
1109
|
+
method: :get,
|
|
1110
|
+
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(self["id"]), preview_invoice: CGI.escape(preview_invoice) }),
|
|
1111
|
+
params: params,
|
|
1112
|
+
opts: opts
|
|
1113
|
+
)
|
|
1114
|
+
end
|
|
86
1115
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
1116
|
+
# Preview the invoice line items that would be generated by accepting the quote.
|
|
1117
|
+
def self.list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {})
|
|
1118
|
+
request_stripe_object(
|
|
1119
|
+
method: :get,
|
|
1120
|
+
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(quote), preview_invoice: CGI.escape(preview_invoice) }),
|
|
1121
|
+
params: params,
|
|
1122
|
+
opts: opts
|
|
1123
|
+
)
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
# Converts a stale quote to draft.
|
|
1127
|
+
def mark_draft(params = {}, opts = {})
|
|
1128
|
+
request_stripe_object(
|
|
1129
|
+
method: :post,
|
|
1130
|
+
path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(self["id"]) }),
|
|
1131
|
+
params: params,
|
|
1132
|
+
opts: opts
|
|
1133
|
+
)
|
|
1134
|
+
end
|
|
90
1135
|
|
|
91
|
-
|
|
1136
|
+
# Converts a stale quote to draft.
|
|
1137
|
+
def self.mark_draft(quote, params = {}, opts = {})
|
|
1138
|
+
request_stripe_object(
|
|
1139
|
+
method: :post,
|
|
1140
|
+
path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(quote) }),
|
|
1141
|
+
params: params,
|
|
1142
|
+
opts: opts
|
|
1143
|
+
)
|
|
1144
|
+
end
|
|
92
1145
|
|
|
93
|
-
|
|
1146
|
+
# Converts a draft or open quote to stale.
|
|
1147
|
+
def mark_stale(params = {}, opts = {})
|
|
1148
|
+
request_stripe_object(
|
|
1149
|
+
method: :post,
|
|
1150
|
+
path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(self["id"]) }),
|
|
1151
|
+
params: params,
|
|
1152
|
+
opts: opts
|
|
1153
|
+
)
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# Converts a draft or open quote to stale.
|
|
1157
|
+
def self.mark_stale(quote, params = {}, opts = {})
|
|
1158
|
+
request_stripe_object(
|
|
1159
|
+
method: :post,
|
|
1160
|
+
path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(quote) }),
|
|
1161
|
+
params: params,
|
|
1162
|
+
opts: opts
|
|
1163
|
+
)
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1166
|
+
# Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
|
|
1167
|
+
def pdf(params = {}, opts = {}, &read_body_chunk_block)
|
|
1168
|
+
opts = { api_base: APIRequestor.active_requestor.config.uploads_base }.merge(opts)
|
|
1169
|
+
request_stream(
|
|
1170
|
+
method: :get,
|
|
1171
|
+
path: format("/v1/quotes/%<quote>s/pdf", { quote: CGI.escape(self["id"]) }),
|
|
1172
|
+
params: params,
|
|
1173
|
+
opts: opts,
|
|
1174
|
+
base_address: :files,
|
|
1175
|
+
&read_body_chunk_block
|
|
1176
|
+
)
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
# Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
|
|
1180
|
+
def self.pdf(quote, params = {}, opts = {}, &read_body_chunk_block)
|
|
1181
|
+
opts = { api_base: APIRequestor.active_requestor.config.uploads_base }.merge(opts)
|
|
1182
|
+
execute_resource_request_stream(
|
|
94
1183
|
:get,
|
|
95
|
-
"
|
|
1184
|
+
format("/v1/quotes/%<quote>s/pdf", { quote: CGI.escape(quote) }),
|
|
1185
|
+
:files,
|
|
96
1186
|
params,
|
|
97
|
-
|
|
98
|
-
api_base: config.uploads_base,
|
|
99
|
-
}.merge(opts),
|
|
1187
|
+
opts,
|
|
100
1188
|
&read_body_chunk_block
|
|
101
1189
|
)
|
|
102
|
-
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
# Recompute the upcoming invoice estimate for the quote.
|
|
1193
|
+
def reestimate(params = {}, opts = {})
|
|
1194
|
+
request_stripe_object(
|
|
1195
|
+
method: :post,
|
|
1196
|
+
path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(self["id"]) }),
|
|
1197
|
+
params: params,
|
|
1198
|
+
opts: opts
|
|
1199
|
+
)
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1202
|
+
# Recompute the upcoming invoice estimate for the quote.
|
|
1203
|
+
def self.reestimate(quote, params = {}, opts = {})
|
|
1204
|
+
request_stripe_object(
|
|
1205
|
+
method: :post,
|
|
1206
|
+
path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(quote) }),
|
|
1207
|
+
params: params,
|
|
1208
|
+
opts: opts
|
|
1209
|
+
)
|
|
1210
|
+
end
|
|
1211
|
+
|
|
1212
|
+
# A quote models prices and services for a customer.
|
|
1213
|
+
def self.update(quote, params = {}, opts = {})
|
|
1214
|
+
request_stripe_object(
|
|
1215
|
+
method: :post,
|
|
1216
|
+
path: format("/v1/quotes/%<quote>s", { quote: CGI.escape(quote) }),
|
|
1217
|
+
params: params,
|
|
1218
|
+
opts: opts
|
|
1219
|
+
)
|
|
1220
|
+
end
|
|
1221
|
+
|
|
1222
|
+
def self.inner_class_types
|
|
1223
|
+
@inner_class_types = {
|
|
1224
|
+
automatic_tax: AutomaticTax,
|
|
1225
|
+
computed: Computed,
|
|
1226
|
+
from_quote: FromQuote,
|
|
1227
|
+
invoice_settings: InvoiceSettings,
|
|
1228
|
+
status_details: StatusDetails,
|
|
1229
|
+
status_transitions: StatusTransitions,
|
|
1230
|
+
subscription_data: SubscriptionData,
|
|
1231
|
+
subscription_data_overrides: SubscriptionDataOverride,
|
|
1232
|
+
subscription_schedules: SubscriptionSchedule,
|
|
1233
|
+
total_details: TotalDetails,
|
|
1234
|
+
transfer_data: TransferData,
|
|
1235
|
+
}
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
def self.field_remappings
|
|
1239
|
+
@field_remappings = {}
|
|
103
1240
|
end
|
|
104
1241
|
end
|
|
105
1242
|
end
|