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
magento2-base
dev
tests
functional
tests
app
Magento
CheckoutAgreements
Test
TestStep
CheckTermOnMultishippingStep.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CheckoutAgreements\Test\TestStep
;
7
8
use Magento\Multishipping\Test\Page\MultishippingCheckoutOverview;
9
use Magento\Mtf\TestStep\TestStepInterface;
10
use
Magento\CheckoutAgreements\Test\Fixture\CheckoutAgreement
;
11
15
class
CheckTermOnMultishippingStep
implements
TestStepInterface
16
{
22
protected
$multishippingCheckoutOverview
;
23
29
protected
$agreementValue
;
30
35
public
function
__construct
(
36
MultishippingCheckoutOverview
$multishippingCheckoutOverview
,
37
$agreementValue
=
'No'
38
) {
39
$this->multishippingCheckoutOverview =
$multishippingCheckoutOverview
;
40
$this->agreementValue =
$agreementValue
;
41
}
42
48
public
function
run
()
49
{
50
$this->multishippingCheckoutOverview->getAgreementReview()->setAgreement($this->agreementValue);
51
}
52
}
Magento\CheckoutAgreements\Test\TestStep\CheckTermOnMultishippingStep
Definition:
CheckTermOnMultishippingStep.php:15
Magento\CheckoutAgreements\Test\Fixture\CheckoutAgreement
Definition:
Stores.php:7
Magento\CheckoutAgreements\Test\TestStep\CheckTermOnMultishippingStep\__construct
__construct(MultishippingCheckoutOverview $multishippingCheckoutOverview, $agreementValue='No')
Definition:
CheckTermOnMultishippingStep.php:35
Magento\CheckoutAgreements\Test\TestStep
Definition:
CheckTermOnMultishippingStep.php:6
Magento\CheckoutAgreements\Test\TestStep\CheckTermOnMultishippingStep\run
run()
Definition:
CheckTermOnMultishippingStep.php:48
Magento\CheckoutAgreements\Test\TestStep\CheckTermOnMultishippingStep\$agreementValue
$agreementValue
Definition:
CheckTermOnMultishippingStep.php:29
Magento\CheckoutAgreements\Test\TestStep\CheckTermOnMultishippingStep\$multishippingCheckoutOverview
$multishippingCheckoutOverview
Definition:
CheckTermOnMultishippingStep.php:22