Model
AddressConverter
Magento\PaymentServicesPaypal\Model\SmartButtons\Checkout\AddressConverter
What it does
This class converts PayPal order address data into Magento-compatible address format for both shipping and billing addresses.
Developers use this during PayPal Smart Buttons checkout to transform the address structure returned by PayPal's API into the format expected by Magento's quote and order systems.
Public Methods
- convertShippingAddress()
- convertBillingAddress()