Model
NullPaymentProvider
Magento\Vault\Model\Method\NullPaymentProvider
What it does
This is a Null Object implementation of the payment method interface that provides safe default responses for all payment operations.
Developers use this as a fallback when a real payment method is unavailable or when implementing the Null Object pattern to avoid null reference errors in the Vault payment system.
Public Methods
- getCode()
- getFormBlockType()
- getTitle()
- setStore()
- getStore()
- canOrder()
- canAuthorize()
- canCapture()
- canCapturePartial()
- canCaptureOnce()
- canRefund()
- canRefundPartialPerInvoice()
- canVoid()
- canUseInternal()
- canUseCheckout()
- canEdit()
- canFetchTransactionInfo()
- fetchTransactionInfo()
- isGateway()
- isOffline()
- isInitializeNeeded()
- canUseForCountry()
- canUseForCurrency()
- getInfoBlockType()
- getInfoInstance()
- setInfoInstance()
- validate()
- order()
- authorize()
- capture()
- refund()
- cancel()
- void()
- canReviewPayment()
- acceptPayment()
- denyPayment()
- getConfigData()
- assignData()
- isAvailable()
- isActive()
- initialize()
- getConfigPaymentAction()