[ADD] reference/standard_modules: API reference for the payment engine
task-2804999 closes odoo/documentation#2782 Related: odoo/odoo#101756 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
811510fbcb
commit
668ac2c650
@ -8,3 +8,4 @@ Standard modules
|
||||
:titlesonly:
|
||||
|
||||
standard_modules/account
|
||||
standard_modules/payment
|
||||
|
12
content/developer/reference/standard_modules/payment.rst
Normal file
12
content/developer/reference/standard_modules/payment.rst
Normal file
@ -0,0 +1,12 @@
|
||||
:hide-page-toc:
|
||||
|
||||
=======
|
||||
Payment
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:titlesonly:
|
||||
|
||||
payment/payment_provider
|
||||
payment/payment_token
|
||||
payment/payment_transaction
|
@ -0,0 +1,17 @@
|
||||
:hide-page-toc:
|
||||
|
||||
================
|
||||
Payment Provider
|
||||
================
|
||||
|
||||
.. autoclass:: odoo.addons.payment.models.payment_provider.PaymentProvider()
|
||||
|
||||
.. automethod:: _compute_feature_support_fields
|
||||
.. automethod:: _compute_fees
|
||||
.. automethod:: _compute_view_configuration_fields
|
||||
.. automethod:: _get_compatible_providers
|
||||
.. automethod:: _get_redirect_form_view
|
||||
.. automethod:: _get_validation_amount
|
||||
.. automethod:: _get_validation_currency
|
||||
.. automethod:: _is_tokenization_required
|
||||
.. automethod:: _should_build_inline_form
|
@ -0,0 +1,12 @@
|
||||
:hide-page-toc:
|
||||
|
||||
=============
|
||||
Payment Token
|
||||
=============
|
||||
|
||||
.. autoclass:: odoo.addons.payment.models.payment_token::PaymentToken()
|
||||
|
||||
.. automethod:: _build_display_name
|
||||
.. automethod:: _get_specific_create_values
|
||||
.. automethod:: _handle_archiving
|
||||
.. automethod:: get_linked_records_info
|
@ -0,0 +1,26 @@
|
||||
:hide-page-toc:
|
||||
|
||||
===================
|
||||
Payment Transaction
|
||||
===================
|
||||
|
||||
.. autoclass:: odoo.addons.payment.models.payment_transaction::PaymentTransaction()
|
||||
|
||||
.. automethod:: _compute_reference
|
||||
.. automethod:: _compute_reference_prefix
|
||||
.. automethod:: _get_post_processing_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:: _process_notification_data
|
||||
.. automethod:: _send_capture_request
|
||||
.. automethod:: _send_payment_request
|
||||
.. automethod:: _send_refund_request
|
||||
.. automethod:: _send_void_request
|
||||
.. automethod:: _set_authorized
|
||||
.. automethod:: _set_canceled
|
||||
.. automethod:: _set_done
|
||||
.. automethod:: _set_error
|
||||
.. automethod:: _set_pending
|
Loading…
Reference in New Issue
Block a user