Log in
Model

PaymentOrder

Magento\PaymentServicesPaypal\Model\Api\Data\PaymentOrder

What it does

This class represents a payment order data object for PayPal Payment Services integration in Magento 2.

Developers use it to store and retrieve payment order information including order ID, status, amount, and currency code when processing PayPal transactions.

It serves as a data transfer object (DTO) for API communication between Magento and PayPal payment services.

Public Methods

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