PaymentAddressInterface
Magento\PaymentServicesPaypal\Api\Data\PaymentAddressInterface
What it does
This interface defines the contract for payment address data objects used in PayPal payment processing.
Developers implement this interface to standardize address information handling when processing PayPal transactions, including street addresses, administrative areas (state/province/city), postal codes, and country codes.
It ensures consistent address data structure across the PaymentServicesPaypal module.
Public Methods
- getName()
- setName()
- getAddressLine1()
- setAddressLine1()
- getAddressLine2()
- setAddressLine2()
- getAdminArea1()
- setAdminArea1()
- getAdminArea2()
- setAdminArea2()
- getPostalCode()
- setPostalCode()
- getCountryCode()
- setcountryCode()