Log in
Interface

PaymentOrderInterface

Magento\PaymentServicesPaypal\Api\Data\PaymentOrderInterface

What it does

This interface defines the contract for PayPal payment order data objects in Magento's Payment Services.

Developers use this interface when working with PayPal payment orders to access order details like ID, status, amount, and currency.

It ensures consistent data structure across the payment processing workflow for PayPal transactions.

Public Methods

  • getId()
  • setId()
  • getMpOrderId()
  • setMpOrderId()
  • getStatus()
  • setStatus()
  • getAmount()
  • setAmount()
  • getCurrencyCode()
  • setCurrencyCode()