Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-paypal
Test
Unit
Model
Payment
Method
Billing
AbstractAgreementStub.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing
;
7
8
use
Magento\Paypal\Model\Payment\Method\Billing\AbstractAgreement
;
9
10
class
AbstractAgreementStub
extends
AbstractAgreement
11
{
12
const
STUB_CODE
=
'stub-code'
;
13
17
public
function
getCode
()
18
{
19
return
static::STUB_CODE;
20
}
21
26
protected
function
_isAvailable
(
$quote
)
27
{
28
return
false
;
29
}
30
}
Magento\Paypal\Model\Payment\Method\Billing\AbstractAgreement
Definition:
AbstractAgreement.php:18
$quote
$quote
Definition:
paypal_quote.php:17
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing\AbstractAgreementStub\getCode
getCode()
Definition:
AbstractAgreementStub.php:17
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing
Definition:
AbstractAgreementStub.php:6
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing\AbstractAgreementStub
Definition:
AbstractAgreementStub.php:10
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing\AbstractAgreementStub\_isAvailable
_isAvailable($quote)
Definition:
AbstractAgreementStub.php:26
Magento\Paypal\Test\Unit\Model\Payment\Method\Billing\AbstractAgreementStub\STUB_CODE
const STUB_CODE
Definition:
AbstractAgreementStub.php:12