Carrier
Magento\Usps\Model\Carrier
What it does
This class implements USPS (United States Postal Service) shipping carrier integration for Magento 2.
Developers use it to calculate shipping rates, retrieve tracking information, and handle USPS-specific shipping configurations like container types, service methods, and delivery confirmations.
It communicates with USPS APIs to provide real-time shipping quotes and tracking data for both domestic and international shipments.
Public Methods
- collectRates()
- setRequest()
- getResult()
- isShippingLabelsAvailable()
- getCode()
- getTracking()
- getResponse()
- getAllowedMethods()
- getContainerTypes()
- getContainerTypesAll()
- getContainerTypesFilter()
- getDeliveryConfirmationTypes()
- isGirthAllowed()
- getContentTypes()