Log in
Repository

TransactionRepositoryInterface

Magento\Sales\Api\TransactionRepositoryInterface

What it does

This repository interface provides methods to manage payment transactions in Magento 2's order system.

Developers use it to retrieve, search, create, update, and delete transaction records that represent interactions between merchants and customers such as purchases, refunds, and credits.

It follows Magento's repository pattern for standardized data access and manipulation of transaction entities.

Public Methods

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