Log in
Model

Payment

Magento\Sales\Model\ResourceModel\Order\Payment

What it does

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

Developers use this class indirectly when saving, loading, or updating payment information associated with sales orders.

It manages serialization of additional payment information and ensures the payment record is properly linked to its parent order before saving.