Log in
Model

Settlement

Magento\Paypal\Model\ResourceModel\Report\Settlement

What it does

This resource model manages database operations for PayPal settlement reports in Magento 2.

Developers use it to save settlement report data along with associated transaction rows, and to check if a report already exists for a specific PayPal account and date.

It handles transaction data formatting, date conversions, and ensures data integrity through database transactions.

Public Methods

  • loadByAccountAndDate()