Log in
Model

Payment

Magento\Sales\Model\ResourceModel\Order\Payment

What it does

This resource model handles database operations for order payment records in Magento 2.

It manages saving and retrieving payment information from the sales_order_payment table, automatically serializing additional payment data and ensuring the payment is properly linked to its parent order before saving.