mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] developer/reference/payment: update docstrings for payment models
task-3648413 closes odoo/documentation#13888 Related: odoo/odoo#209685 Related: odoo/enterprise#87325 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
committed by
Valeriya(vchu)
parent
1dbb56d2d5
commit
13d1166022
@@ -6,11 +6,21 @@ Payment Provider
|
||||
|
||||
.. autoclass:: odoo.addons.payment.models.payment_provider.PaymentProvider()
|
||||
|
||||
.. automethod:: _build_request_auth
|
||||
.. automethod:: _build_request_headers
|
||||
.. automethod:: _build_request_url
|
||||
.. automethod:: _compute_feature_support_fields
|
||||
.. automethod:: _get_code
|
||||
.. automethod:: _get_compatible_providers
|
||||
.. automethod:: _get_default_payment_method_codes
|
||||
.. automethod:: _get_redirect_form_view
|
||||
.. automethod:: _get_provider_domain
|
||||
.. automethod:: _get_removal_values
|
||||
.. automethod:: _get_supported_currencies
|
||||
.. automethod:: _get_validation_amount
|
||||
.. automethod:: _get_validation_currency
|
||||
.. automethod:: _is_tokenization_required
|
||||
.. automethod:: _parse_response_content
|
||||
.. automethod:: _parse_response_error
|
||||
.. automethod:: _send_api_request
|
||||
.. automethod:: _should_build_inline_form
|
||||
.. automethod:: _get_removal_values
|
||||
|
||||
@@ -6,15 +6,18 @@ Payment Transaction
|
||||
|
||||
.. autoclass:: odoo.addons.payment.models.payment_transaction::PaymentTransaction()
|
||||
|
||||
.. automethod:: _apply_updates
|
||||
.. automethod:: _compute_reference
|
||||
.. automethod:: _compute_reference_prefix
|
||||
.. automethod:: _extract_amount_data
|
||||
.. automethod:: _extract_reference
|
||||
.. automethod:: _extract_token_values
|
||||
.. automethod:: _get_specific_create_values
|
||||
.. automethod:: _get_specific_processing_values
|
||||
.. automethod:: _get_specific_rendering_values
|
||||
.. automethod:: _get_tx_from_notification_data
|
||||
.. automethod:: _handle_notification_data
|
||||
.. automethod:: _compare_notification_data
|
||||
.. automethod:: _process_notification_data
|
||||
.. automethod:: _process
|
||||
.. automethod:: _search_by_reference
|
||||
.. automethod:: _send_api_request
|
||||
.. automethod:: _send_capture_request
|
||||
.. automethod:: _send_payment_request
|
||||
.. automethod:: _send_refund_request
|
||||
|
||||
Reference in New Issue
Block a user