@@ 25-49 (lines=25) @@ | ||
22 | /** |
|
23 | * {@inheritdoc} |
|
24 | */ |
|
25 | public function configure() |
|
26 | { |
|
27 | $this |
|
28 | ->setName('oro:magento:copy-data-to-contact:addresses') |
|
29 | ->addOption( |
|
30 | 'id', |
|
31 | null, |
|
32 | InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, |
|
33 | 'If option exists then customer addresses will be copied to contact for given magento customer by id' |
|
34 | ) |
|
35 | ->addOption( |
|
36 | 'integration-id', |
|
37 | null, |
|
38 | InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, |
|
39 | 'If option exists then customer addresses will be copied to contact |
|
40 | for given magento customers by integration_id' |
|
41 | ) |
|
42 | ->addOption( |
|
43 | 'batch-size', |
|
44 | null, |
|
45 | InputOption::VALUE_OPTIONAL, |
|
46 | 'Number of customers in batch. The default value is 25.' |
|
47 | ) |
|
48 | ->setDescription('Make copy addresses of magento customers to the contact'); |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritdoc} |
@@ 25-49 (lines=25) @@ | ||
22 | /** |
|
23 | * {@inheritdoc} |
|
24 | */ |
|
25 | public function configure() |
|
26 | { |
|
27 | $this |
|
28 | ->setName('oro:magento:re-sync-customer-address') |
|
29 | ->addOption( |
|
30 | 'id', |
|
31 | null, |
|
32 | InputOption::VALUE_OPTIONAL|InputOption::VALUE_IS_ARRAY, |
|
33 | 'If option exists then customer addresses will be resynced for given magento customer by id' |
|
34 | ) |
|
35 | ->addOption( |
|
36 | 'integration-id', |
|
37 | null, |
|
38 | InputOption::VALUE_REQUIRED, |
|
39 | 'Customer addresses will be resynced |
|
40 | for given magento customers by integration_id' |
|
41 | ) |
|
42 | ->addOption( |
|
43 | 'batch-size', |
|
44 | null, |
|
45 | InputOption::VALUE_OPTIONAL, |
|
46 | 'Number of customers in batch. The default value is 25.' |
|
47 | ) |
|
48 | ->setDescription('Make resync addresses of magento customers'); |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritdoc} |