Skip to content

Commit 13d1166

Browse files
AntoineVDVvchu-odoo
authored andcommitted
[IMP] developer/reference/payment: update docstrings for payment models
task-3648413 closes #13888 Related: odoo/odoo#209685 Related: odoo/enterprise#87325 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
1 parent 1dbb56d commit 13d1166

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
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: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ Payment Transaction
66

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

9+
.. automethod:: _apply_updates
910
.. automethod:: _compute_reference
1011
.. automethod:: _compute_reference_prefix
12+
.. automethod:: _extract_amount_data
13+
.. automethod:: _extract_reference
14+
.. automethod:: _extract_token_values
1115
.. automethod:: _get_specific_create_values
1216
.. automethod:: _get_specific_processing_values
1317
.. automethod:: _get_specific_rendering_values
14-
.. automethod:: _get_tx_from_notification_data
15-
.. automethod:: _handle_notification_data
16-
.. automethod:: _compare_notification_data
17-
.. automethod:: _process_notification_data
18+
.. automethod:: _process
19+
.. automethod:: _search_by_reference
20+
.. automethod:: _send_api_request
1821
.. automethod:: _send_capture_request
1922
.. automethod:: _send_payment_request
2023
.. automethod:: _send_refund_request

0 commit comments

Comments
 (0)