Agreement
Magento\Paypal\Model\Method\Agreement
What it does
This class implements PayPal Billing Agreement payment method functionality in Magento 2.
Developers use this class when implementing recurring payment features where customers authorize PayPal to automatically charge their account without re-authentication.
It handles creating billing agreements, processing payments through existing agreements, and managing payment operations like authorize, capture, refund, and void.
Public Methods
- setStore()
- initBillingAgreementToken()
- getBillingAgreementTokenInfo()
- placeBillingAgreement()
- updateBillingAgreementStatus()
- authorize()
- void()
- capture()
- refund()
- cancel()
- canReviewPayment()
- acceptPayment()
- denyPayment()
- fetchTransactionInfo()
- getConfigPaymentAction()