stripe 19.2.0 → 19.3.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/lib/stripe/api_requestor.rb +36 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +87 -0
- data/lib/stripe/event_types.rb +228 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -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_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -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 +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/object_types.rb +61 -0
- data/lib/stripe/params/account_create_params.rb +374 -1
- 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_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +336 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -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 +1646 -0
- data/lib/stripe/params/charge_update_params.rb +1646 -0
- data/lib/stripe/params/checkout/session_create_params.rb +126 -3
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +78 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- 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/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -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 +64 -2
- 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/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +70 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +790 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +70 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- 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_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/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/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -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_create_params.rb +2083 -0
- data/lib/stripe/params/order_list_params.rb +25 -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 +2087 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1643 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3022 -87
- data/lib/stripe/params/payment_intent_create_params.rb +3034 -99
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +297 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +37 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3023 -57
- data/lib/stripe/params/payment_link_create_params.rb +15 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +74 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +15 -0
- data/lib/stripe/params/price_update_params.rb +19 -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_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +16 -0
- data/lib/stripe/params/product_update_params.rb +16 -0
- data/lib/stripe/params/quote_create_params.rb +809 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -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_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_update_params.rb +817 -4
- 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/setup_intent_confirm_params.rb +108 -3
- data/lib/stripe/params/setup_intent_create_params.rb +108 -3
- data/lib/stripe/params/setup_intent_update_params.rb +108 -3
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +67 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +170 -6
- data/lib/stripe/params/subscription_item_create_params.rb +62 -2
- data/lib/stripe/params/subscription_item_update_params.rb +45 -1
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +578 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +167 -5
- data/lib/stripe/params/subscription_update_params.rb +153 -5
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -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/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +104 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +78 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- 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/params/v2/billing/cadence_cancel_params.rb +10 -0
- 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 +257 -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 +263 -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/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_create_params.rb +282 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +13 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +274 -4
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/batch_job_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 +58 -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 +37 -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/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -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 +50 -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 +102 -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 +67 -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 +92 -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 +88 -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 +77 -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/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +426 -0
- data/lib/stripe/resources/account.rb +259 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +4 -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/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 +2 -0
- data/lib/stripe/resources/charge.rb +211 -1
- data/lib/stripe/resources/checkout/session.rb +75 -3
- data/lib/stripe/resources/confirmation_token.rb +131 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/invoice.rb +117 -1
- data/lib/stripe/resources/invoice_item.rb +2 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- 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/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +177 -1
- data/lib/stripe/resources/payment_intent.rb +1561 -8
- data/lib/stripe/resources/payment_method.rb +135 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +177 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +18 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/quote.rb +569 -2
- data/lib/stripe/resources/quote_line.rb +525 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1183 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +736 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +22 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1792 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +291 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +167 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +128 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +710 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/core/account.rb +597 -3
- data/lib/stripe/resources/v2/core/batch_job.rb +488 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +142 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +160 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +145 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +230 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +135 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources.rb +417 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +15 -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_service.rb +2 -1
- 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/coupon_service.rb +14 -0
- data/lib/stripe/services/customer_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -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_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -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_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -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 +49 -1
- 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/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +56 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +11 -1
- 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 +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -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 +3 -1
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +15 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -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 +66 -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/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -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 +8 -1
- data/lib/stripe/services.rb +209 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +582 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +124159 -57389
- metadata +378 -3
|
@@ -326,13 +326,46 @@ module Stripe
|
|
|
326
326
|
end
|
|
327
327
|
|
|
328
328
|
class Discount < ::Stripe::RequestParams
|
|
329
|
+
class CouponData < ::Stripe::RequestParams
|
|
330
|
+
# A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
331
|
+
attr_accessor :amount_off
|
|
332
|
+
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
333
|
+
attr_accessor :currency
|
|
334
|
+
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
335
|
+
attr_accessor :duration
|
|
336
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
337
|
+
attr_accessor :metadata
|
|
338
|
+
# Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
339
|
+
attr_accessor :name
|
|
340
|
+
# A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
341
|
+
attr_accessor :percent_off
|
|
342
|
+
|
|
343
|
+
def initialize(
|
|
344
|
+
amount_off: nil,
|
|
345
|
+
currency: nil,
|
|
346
|
+
duration: nil,
|
|
347
|
+
metadata: nil,
|
|
348
|
+
name: nil,
|
|
349
|
+
percent_off: nil
|
|
350
|
+
)
|
|
351
|
+
@amount_off = amount_off
|
|
352
|
+
@currency = currency
|
|
353
|
+
@duration = duration
|
|
354
|
+
@metadata = metadata
|
|
355
|
+
@name = name
|
|
356
|
+
@percent_off = percent_off
|
|
357
|
+
end
|
|
358
|
+
end
|
|
329
359
|
# The ID of the coupon to apply to this Session.
|
|
330
360
|
attr_accessor :coupon
|
|
361
|
+
# Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
362
|
+
attr_accessor :coupon_data
|
|
331
363
|
# The ID of a promotion code to apply to this Session.
|
|
332
364
|
attr_accessor :promotion_code
|
|
333
365
|
|
|
334
|
-
def initialize(coupon: nil, promotion_code: nil)
|
|
366
|
+
def initialize(coupon: nil, coupon_data: nil, promotion_code: nil)
|
|
335
367
|
@coupon = coupon
|
|
368
|
+
@coupon_data = coupon_data
|
|
336
369
|
@promotion_code = promotion_code
|
|
337
370
|
end
|
|
338
371
|
end
|
|
@@ -436,6 +469,17 @@ module Stripe
|
|
|
436
469
|
|
|
437
470
|
class PriceData < ::Stripe::RequestParams
|
|
438
471
|
class ProductData < ::Stripe::RequestParams
|
|
472
|
+
class TaxDetails < ::Stripe::RequestParams
|
|
473
|
+
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
474
|
+
attr_accessor :performance_location
|
|
475
|
+
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
476
|
+
attr_accessor :tax_code
|
|
477
|
+
|
|
478
|
+
def initialize(performance_location: nil, tax_code: nil)
|
|
479
|
+
@performance_location = performance_location
|
|
480
|
+
@tax_code = tax_code
|
|
481
|
+
end
|
|
482
|
+
end
|
|
439
483
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
440
484
|
attr_accessor :description
|
|
441
485
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -446,6 +490,8 @@ module Stripe
|
|
|
446
490
|
attr_accessor :name
|
|
447
491
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
448
492
|
attr_accessor :tax_code
|
|
493
|
+
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
494
|
+
attr_accessor :tax_details
|
|
449
495
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
450
496
|
attr_accessor :unit_label
|
|
451
497
|
|
|
@@ -455,6 +501,7 @@ module Stripe
|
|
|
455
501
|
metadata: nil,
|
|
456
502
|
name: nil,
|
|
457
503
|
tax_code: nil,
|
|
504
|
+
tax_details: nil,
|
|
458
505
|
unit_label: nil
|
|
459
506
|
)
|
|
460
507
|
@description = description
|
|
@@ -462,6 +509,7 @@ module Stripe
|
|
|
462
509
|
@metadata = metadata
|
|
463
510
|
@name = name
|
|
464
511
|
@tax_code = tax_code
|
|
512
|
+
@tax_details = tax_details
|
|
465
513
|
@unit_label = unit_label
|
|
466
514
|
end
|
|
467
515
|
end
|
|
@@ -991,6 +1039,26 @@ module Stripe
|
|
|
991
1039
|
end
|
|
992
1040
|
end
|
|
993
1041
|
|
|
1042
|
+
class Blik < ::Stripe::RequestParams
|
|
1043
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1044
|
+
# Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
1045
|
+
attr_accessor :expires_after
|
|
1046
|
+
|
|
1047
|
+
def initialize(expires_after: nil)
|
|
1048
|
+
@expires_after = expires_after
|
|
1049
|
+
end
|
|
1050
|
+
end
|
|
1051
|
+
# Additional fields for Mandate creation
|
|
1052
|
+
attr_accessor :mandate_options
|
|
1053
|
+
# Attribute for param field setup_future_usage
|
|
1054
|
+
attr_accessor :setup_future_usage
|
|
1055
|
+
|
|
1056
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
1057
|
+
@mandate_options = mandate_options
|
|
1058
|
+
@setup_future_usage = setup_future_usage
|
|
1059
|
+
end
|
|
1060
|
+
end
|
|
1061
|
+
|
|
994
1062
|
class Boleto < ::Stripe::RequestParams
|
|
995
1063
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
996
1064
|
attr_accessor :expires_after_days
|
|
@@ -1033,6 +1101,8 @@ module Stripe
|
|
|
1033
1101
|
# Installment options for card payments
|
|
1034
1102
|
attr_accessor :installments
|
|
1035
1103
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1104
|
+
attr_accessor :request_decremental_authorization
|
|
1105
|
+
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1036
1106
|
attr_accessor :request_extended_authorization
|
|
1037
1107
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1038
1108
|
attr_accessor :request_incremental_authorization
|
|
@@ -1060,6 +1130,7 @@ module Stripe
|
|
|
1060
1130
|
def initialize(
|
|
1061
1131
|
capture_method: nil,
|
|
1062
1132
|
installments: nil,
|
|
1133
|
+
request_decremental_authorization: nil,
|
|
1063
1134
|
request_extended_authorization: nil,
|
|
1064
1135
|
request_incremental_authorization: nil,
|
|
1065
1136
|
request_multicapture: nil,
|
|
@@ -1072,6 +1143,7 @@ module Stripe
|
|
|
1072
1143
|
)
|
|
1073
1144
|
@capture_method = capture_method
|
|
1074
1145
|
@installments = installments
|
|
1146
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1075
1147
|
@request_extended_authorization = request_extended_authorization
|
|
1076
1148
|
@request_incremental_authorization = request_incremental_authorization
|
|
1077
1149
|
@request_multicapture = request_multicapture
|
|
@@ -1502,6 +1574,8 @@ module Stripe
|
|
|
1502
1574
|
attr_accessor :preferred_locale
|
|
1503
1575
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
1504
1576
|
attr_accessor :reference
|
|
1577
|
+
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
1578
|
+
attr_accessor :reference_id
|
|
1505
1579
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1506
1580
|
attr_accessor :risk_correlation_id
|
|
1507
1581
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1514,19 +1588,25 @@ module Stripe
|
|
|
1514
1588
|
#
|
|
1515
1589
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
1516
1590
|
attr_accessor :setup_future_usage
|
|
1591
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1592
|
+
attr_accessor :subsellers
|
|
1517
1593
|
|
|
1518
1594
|
def initialize(
|
|
1519
1595
|
capture_method: nil,
|
|
1520
1596
|
preferred_locale: nil,
|
|
1521
1597
|
reference: nil,
|
|
1598
|
+
reference_id: nil,
|
|
1522
1599
|
risk_correlation_id: nil,
|
|
1523
|
-
setup_future_usage: nil
|
|
1600
|
+
setup_future_usage: nil,
|
|
1601
|
+
subsellers: nil
|
|
1524
1602
|
)
|
|
1525
1603
|
@capture_method = capture_method
|
|
1526
1604
|
@preferred_locale = preferred_locale
|
|
1527
1605
|
@reference = reference
|
|
1606
|
+
@reference_id = reference_id
|
|
1528
1607
|
@risk_correlation_id = risk_correlation_id
|
|
1529
1608
|
@setup_future_usage = setup_future_usage
|
|
1609
|
+
@subsellers = subsellers
|
|
1530
1610
|
end
|
|
1531
1611
|
end
|
|
1532
1612
|
|
|
@@ -1871,6 +1951,8 @@ module Stripe
|
|
|
1871
1951
|
attr_accessor :bancontact
|
|
1872
1952
|
# contains details about the Billie payment method options.
|
|
1873
1953
|
attr_accessor :billie
|
|
1954
|
+
# contains details about the BLIK payment method options.
|
|
1955
|
+
attr_accessor :blik
|
|
1874
1956
|
# contains details about the Boleto payment method options.
|
|
1875
1957
|
attr_accessor :boleto
|
|
1876
1958
|
# contains details about the Card payment method options.
|
|
@@ -1959,6 +2041,7 @@ module Stripe
|
|
|
1959
2041
|
bacs_debit: nil,
|
|
1960
2042
|
bancontact: nil,
|
|
1961
2043
|
billie: nil,
|
|
2044
|
+
blik: nil,
|
|
1962
2045
|
boleto: nil,
|
|
1963
2046
|
card: nil,
|
|
1964
2047
|
cashapp: nil,
|
|
@@ -2008,6 +2091,7 @@ module Stripe
|
|
|
2008
2091
|
@bacs_debit = bacs_debit
|
|
2009
2092
|
@bancontact = bancontact
|
|
2010
2093
|
@billie = billie
|
|
2094
|
+
@blik = blik
|
|
2011
2095
|
@boleto = boleto
|
|
2012
2096
|
@card = card
|
|
2013
2097
|
@cashapp = cashapp
|
|
@@ -2050,6 +2134,37 @@ module Stripe
|
|
|
2050
2134
|
end
|
|
2051
2135
|
|
|
2052
2136
|
class Permissions < ::Stripe::RequestParams
|
|
2137
|
+
class Update < ::Stripe::RequestParams
|
|
2138
|
+
# Determines which entity is allowed to update the line items.
|
|
2139
|
+
#
|
|
2140
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2141
|
+
#
|
|
2142
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2143
|
+
attr_accessor :line_items
|
|
2144
|
+
# Determines which entity is allowed to update the shipping details.
|
|
2145
|
+
#
|
|
2146
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2147
|
+
#
|
|
2148
|
+
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2149
|
+
attr_accessor :shipping_details
|
|
2150
|
+
|
|
2151
|
+
def initialize(line_items: nil, shipping_details: nil)
|
|
2152
|
+
@line_items = line_items
|
|
2153
|
+
@shipping_details = shipping_details
|
|
2154
|
+
end
|
|
2155
|
+
end
|
|
2156
|
+
# Permissions for updating the Checkout Session.
|
|
2157
|
+
attr_accessor :update
|
|
2158
|
+
# Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
2159
|
+
#
|
|
2160
|
+
# Default is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.
|
|
2161
|
+
attr_accessor :update_discounts
|
|
2162
|
+
# Determines which entity is allowed to update the line items.
|
|
2163
|
+
#
|
|
2164
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2165
|
+
#
|
|
2166
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2167
|
+
attr_accessor :update_line_items
|
|
2053
2168
|
# Determines which entity is allowed to update the shipping details.
|
|
2054
2169
|
#
|
|
2055
2170
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
@@ -2057,7 +2172,15 @@ module Stripe
|
|
|
2057
2172
|
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2058
2173
|
attr_accessor :update_shipping_details
|
|
2059
2174
|
|
|
2060
|
-
def initialize(
|
|
2175
|
+
def initialize(
|
|
2176
|
+
update: nil,
|
|
2177
|
+
update_discounts: nil,
|
|
2178
|
+
update_line_items: nil,
|
|
2179
|
+
update_shipping_details: nil
|
|
2180
|
+
)
|
|
2181
|
+
@update = update
|
|
2182
|
+
@update_discounts = update_discounts
|
|
2183
|
+
@update_line_items = update_line_items
|
|
2061
2184
|
@update_shipping_details = update_shipping_details
|
|
2062
2185
|
end
|
|
2063
2186
|
end
|
|
@@ -4,6 +4,26 @@
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Checkout
|
|
6
6
|
class SessionUpdateParams < ::Stripe::RequestParams
|
|
7
|
+
class AutomaticTax < ::Stripe::RequestParams
|
|
8
|
+
class Liability < ::Stripe::RequestParams
|
|
9
|
+
# The connected account being referenced when `type` is `account`.
|
|
10
|
+
attr_accessor :account
|
|
11
|
+
# Type of the account referenced in the request.
|
|
12
|
+
attr_accessor :type
|
|
13
|
+
|
|
14
|
+
def initialize(account: nil, type: nil)
|
|
15
|
+
@account = account
|
|
16
|
+
@type = type
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
# 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.
|
|
20
|
+
attr_accessor :liability
|
|
21
|
+
|
|
22
|
+
def initialize(liability: nil)
|
|
23
|
+
@liability = liability
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
7
27
|
class CollectedInformation < ::Stripe::RequestParams
|
|
8
28
|
class ShippingDetails < ::Stripe::RequestParams
|
|
9
29
|
class Address < ::Stripe::RequestParams
|
|
@@ -54,6 +74,76 @@ module Stripe
|
|
|
54
74
|
end
|
|
55
75
|
end
|
|
56
76
|
|
|
77
|
+
class Discount < ::Stripe::RequestParams
|
|
78
|
+
class CouponData < ::Stripe::RequestParams
|
|
79
|
+
# A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
80
|
+
attr_accessor :amount_off
|
|
81
|
+
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
82
|
+
attr_accessor :currency
|
|
83
|
+
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
84
|
+
attr_accessor :duration
|
|
85
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
86
|
+
attr_accessor :metadata
|
|
87
|
+
# Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
88
|
+
attr_accessor :name
|
|
89
|
+
# A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
90
|
+
attr_accessor :percent_off
|
|
91
|
+
|
|
92
|
+
def initialize(
|
|
93
|
+
amount_off: nil,
|
|
94
|
+
currency: nil,
|
|
95
|
+
duration: nil,
|
|
96
|
+
metadata: nil,
|
|
97
|
+
name: nil,
|
|
98
|
+
percent_off: nil
|
|
99
|
+
)
|
|
100
|
+
@amount_off = amount_off
|
|
101
|
+
@currency = currency
|
|
102
|
+
@duration = duration
|
|
103
|
+
@metadata = metadata
|
|
104
|
+
@name = name
|
|
105
|
+
@percent_off = percent_off
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
# The ID of the [Coupon](https://docs.stripe.com/api/coupons) to apply to this Session. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
109
|
+
attr_accessor :coupon
|
|
110
|
+
# Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
111
|
+
attr_accessor :coupon_data
|
|
112
|
+
|
|
113
|
+
def initialize(coupon: nil, coupon_data: nil)
|
|
114
|
+
@coupon = coupon
|
|
115
|
+
@coupon_data = coupon_data
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
class InvoiceCreation < ::Stripe::RequestParams
|
|
120
|
+
class InvoiceData < ::Stripe::RequestParams
|
|
121
|
+
class Issuer < ::Stripe::RequestParams
|
|
122
|
+
# The connected account being referenced when `type` is `account`.
|
|
123
|
+
attr_accessor :account
|
|
124
|
+
# Type of the account referenced in the request.
|
|
125
|
+
attr_accessor :type
|
|
126
|
+
|
|
127
|
+
def initialize(account: nil, type: nil)
|
|
128
|
+
@account = account
|
|
129
|
+
@type = type
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
133
|
+
attr_accessor :issuer
|
|
134
|
+
|
|
135
|
+
def initialize(issuer: nil)
|
|
136
|
+
@issuer = issuer
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
# Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
140
|
+
attr_accessor :invoice_data
|
|
141
|
+
|
|
142
|
+
def initialize(invoice_data: nil)
|
|
143
|
+
@invoice_data = invoice_data
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
57
147
|
class LineItem < ::Stripe::RequestParams
|
|
58
148
|
class AdjustableQuantity < ::Stripe::RequestParams
|
|
59
149
|
# Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity.
|
|
@@ -72,6 +162,17 @@ module Stripe
|
|
|
72
162
|
|
|
73
163
|
class PriceData < ::Stripe::RequestParams
|
|
74
164
|
class ProductData < ::Stripe::RequestParams
|
|
165
|
+
class TaxDetails < ::Stripe::RequestParams
|
|
166
|
+
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
167
|
+
attr_accessor :performance_location
|
|
168
|
+
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
169
|
+
attr_accessor :tax_code
|
|
170
|
+
|
|
171
|
+
def initialize(performance_location: nil, tax_code: nil)
|
|
172
|
+
@performance_location = performance_location
|
|
173
|
+
@tax_code = tax_code
|
|
174
|
+
end
|
|
175
|
+
end
|
|
75
176
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
76
177
|
attr_accessor :description
|
|
77
178
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -82,6 +183,8 @@ module Stripe
|
|
|
82
183
|
attr_accessor :name
|
|
83
184
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
84
185
|
attr_accessor :tax_code
|
|
186
|
+
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
187
|
+
attr_accessor :tax_details
|
|
85
188
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
86
189
|
attr_accessor :unit_label
|
|
87
190
|
|
|
@@ -91,6 +194,7 @@ module Stripe
|
|
|
91
194
|
metadata: nil,
|
|
92
195
|
name: nil,
|
|
93
196
|
tax_code: nil,
|
|
197
|
+
tax_details: nil,
|
|
94
198
|
unit_label: nil
|
|
95
199
|
)
|
|
96
200
|
@description = description
|
|
@@ -98,6 +202,7 @@ module Stripe
|
|
|
98
202
|
@metadata = metadata
|
|
99
203
|
@name = name
|
|
100
204
|
@tax_code = tax_code
|
|
205
|
+
@tax_details = tax_details
|
|
101
206
|
@unit_label = unit_label
|
|
102
207
|
end
|
|
103
208
|
end
|
|
@@ -295,10 +400,70 @@ module Stripe
|
|
|
295
400
|
@shipping_rate_data = shipping_rate_data
|
|
296
401
|
end
|
|
297
402
|
end
|
|
403
|
+
|
|
404
|
+
class SubscriptionData < ::Stripe::RequestParams
|
|
405
|
+
class InvoiceSettings < ::Stripe::RequestParams
|
|
406
|
+
class Issuer < ::Stripe::RequestParams
|
|
407
|
+
# The connected account being referenced when `type` is `account`.
|
|
408
|
+
attr_accessor :account
|
|
409
|
+
# Type of the account referenced in the request.
|
|
410
|
+
attr_accessor :type
|
|
411
|
+
|
|
412
|
+
def initialize(account: nil, type: nil)
|
|
413
|
+
@account = account
|
|
414
|
+
@type = type
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
418
|
+
attr_accessor :issuer
|
|
419
|
+
|
|
420
|
+
def initialize(issuer: nil)
|
|
421
|
+
@issuer = issuer
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
class PendingInvoiceItemInterval < ::Stripe::RequestParams
|
|
426
|
+
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
427
|
+
attr_accessor :interval
|
|
428
|
+
# The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
429
|
+
attr_accessor :interval_count
|
|
430
|
+
|
|
431
|
+
def initialize(interval: nil, interval_count: nil)
|
|
432
|
+
@interval = interval
|
|
433
|
+
@interval_count = interval_count
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
# All invoices will be billed using the specified settings.
|
|
437
|
+
attr_accessor :invoice_settings
|
|
438
|
+
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api#create_invoice) for the given subscription at the specified interval.
|
|
439
|
+
attr_accessor :pending_invoice_item_interval
|
|
440
|
+
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
|
|
441
|
+
attr_accessor :trial_end
|
|
442
|
+
# Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
443
|
+
attr_accessor :trial_period_days
|
|
444
|
+
|
|
445
|
+
def initialize(
|
|
446
|
+
invoice_settings: nil,
|
|
447
|
+
pending_invoice_item_interval: nil,
|
|
448
|
+
trial_end: nil,
|
|
449
|
+
trial_period_days: nil
|
|
450
|
+
)
|
|
451
|
+
@invoice_settings = invoice_settings
|
|
452
|
+
@pending_invoice_item_interval = pending_invoice_item_interval
|
|
453
|
+
@trial_end = trial_end
|
|
454
|
+
@trial_period_days = trial_period_days
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
# Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
458
|
+
attr_accessor :automatic_tax
|
|
298
459
|
# Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
299
460
|
attr_accessor :collected_information
|
|
461
|
+
# List of coupons and promotion codes attached to the Checkout Session.
|
|
462
|
+
attr_accessor :discounts
|
|
300
463
|
# Specifies which fields in the response should be expanded.
|
|
301
464
|
attr_accessor :expand
|
|
465
|
+
# Generate a post-purchase Invoice for one-time payments.
|
|
466
|
+
attr_accessor :invoice_creation
|
|
302
467
|
# A list of items the customer is purchasing.
|
|
303
468
|
#
|
|
304
469
|
# When updating line items, you must retransmit the entire array of line items.
|
|
@@ -317,19 +482,29 @@ module Stripe
|
|
|
317
482
|
attr_accessor :metadata
|
|
318
483
|
# The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
319
484
|
attr_accessor :shipping_options
|
|
485
|
+
# A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
486
|
+
attr_accessor :subscription_data
|
|
320
487
|
|
|
321
488
|
def initialize(
|
|
489
|
+
automatic_tax: nil,
|
|
322
490
|
collected_information: nil,
|
|
491
|
+
discounts: nil,
|
|
323
492
|
expand: nil,
|
|
493
|
+
invoice_creation: nil,
|
|
324
494
|
line_items: nil,
|
|
325
495
|
metadata: nil,
|
|
326
|
-
shipping_options: nil
|
|
496
|
+
shipping_options: nil,
|
|
497
|
+
subscription_data: nil
|
|
327
498
|
)
|
|
499
|
+
@automatic_tax = automatic_tax
|
|
328
500
|
@collected_information = collected_information
|
|
501
|
+
@discounts = discounts
|
|
329
502
|
@expand = expand
|
|
503
|
+
@invoice_creation = invoice_creation
|
|
330
504
|
@line_items = line_items
|
|
331
505
|
@metadata = metadata
|
|
332
506
|
@shipping_options = shipping_options
|
|
507
|
+
@subscription_data = subscription_data
|
|
333
508
|
end
|
|
334
509
|
|
|
335
510
|
def self.field_encodings
|