-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAddress.xml
More file actions
16 lines (15 loc) · 876 Bytes
/
Address.xml
File metadata and controls
16 lines (15 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/services/constraint-mapping-1.0.xsd">
<class name="Sylius\Component\Addressing\Model\Address">
<constraint name="Setono\SyliusQuickpayPlugin\Validator\Constraints\AddressStreetEligibility">
<option name="message">setono_sylius_quickpay.address.street_eligibility</option>
<option name="groups">
<value>sylius_shipping_address_update</value>
<value>sylius_checkout_complete</value>
<value>sylius</value>
</option>
</constraint>
</class>
</constraint-mapping>