Log in
Repository

TransactionRepositoryInterface

Magento\Sales\Api\TransactionRepositoryInterface

What it does

This repository interface manages payment transaction data in Magento 2, providing CRUD operations for transactions between merchants and customers (purchases, refunds, credits).

Developers use this to retrieve transaction details, search transactions with filters, or persist transaction information programmatically through the service layer.

Public Methods

  • getList()
  • get()
  • delete()
  • save()
  • create()