Skip to content

Commit 384b400

Browse files
committed
[IMP] developer/reference/payment: update docstrings for payment models
task-3648413
1 parent 13eb6c3 commit 384b400

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

content/developer/reference/standard_modules/payment/payment_provider.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,21 @@ Payment Provider
66

77
.. autoclass:: odoo.addons.payment.models.payment_provider.PaymentProvider()
88

9+
.. automethod:: _build_request_auth
10+
.. automethod:: _build_request_headers
11+
.. automethod:: _build_request_url
912
.. automethod:: _compute_feature_support_fields
13+
.. automethod:: _get_code
1014
.. automethod:: _get_compatible_providers
15+
.. automethod:: _get_default_payment_method_codes
1116
.. automethod:: _get_redirect_form_view
17+
.. automethod:: _get_provider_domain
18+
.. automethod:: _get_removal_values
19+
.. automethod:: _get_supported_currencies
1220
.. automethod:: _get_validation_amount
1321
.. automethod:: _get_validation_currency
1422
.. automethod:: _is_tokenization_required
23+
.. automethod:: _parse_response_content
24+
.. automethod:: _parse_response_error
25+
.. automethod:: _send_api_request
1526
.. automethod:: _should_build_inline_form
16-
.. automethod:: _get_removal_values

content/developer/reference/standard_modules/payment/payment_transaction.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ Payment Transaction
66

77
.. autoclass:: odoo.addons.payment.models.payment_transaction::PaymentTransaction()
88

9+
.. automethod:: _compare_notification_data
910
.. automethod:: _compute_reference
1011
.. automethod:: _compute_reference_prefix
12+
.. automethod:: _get_ref_from_tx_notification_data
1113
.. automethod:: _get_specific_create_values
1214
.. automethod:: _get_specific_processing_values
1315
.. automethod:: _get_specific_rendering_values
16+
.. automethod:: _get_specific_secret_keys
1417
.. automethod:: _get_tx_from_notification_data
1518
.. automethod:: _handle_notification_data
16-
.. automethod:: _compare_notification_data
19+
.. automethod:: _prepare_domain_tx_from_reference
1720
.. automethod:: _process_notification_data
21+
.. automethod:: _send_api_request
1822
.. automethod:: _send_capture_request
1923
.. automethod:: _send_payment_request
2024
.. automethod:: _send_refund_request

0 commit comments

Comments
 (0)