ResponseBuilder
Magento\PaymentServicesPaypal\Model\ShippingCallback\ResponseBuilder
What it does
This class builds shipping callback responses for PayPal payment transactions in Magento 2.
Developers use it to construct structured response data containing shipping methods, order amounts, line items, and merchant identification when PayPal requests updated shipping information during checkout.
It processes quote totals, marks selected shipping methods, and formats all data according to PayPal's API requirements.
Public Methods
- buildResponse()