Model
AbstractAgreement
Magento\Paypal\Model\Billing\AbstractAgreement
What it does
This abstract base class provides the foundation for managing PayPal billing agreements (recurring payment authorizations).
Developers extend this class to implement specific billing agreement types, defining how tokens are initialized, verified, and how agreements are created or cancelled.
It handles payment method instance management and validation of agreement data before saving.
Public Methods
- initToken()
- verifyToken()
- place()
- cancel()
- getPaymentMethodInstance()
- isValid()
- beforeSave()