MerchantPromoCommand
extends ContainerAwareCommand
in package
Class MerchantPromoCommand
Table of Contents
Properties
- $googleService : GoogleShoppingService
- $merchantId : int
- $output : OutputInterface
Methods
- configure() : mixed
- Configure command
- execute() : int
- sendPromotionsToGoogle() : mixed
- Sending promotions to Google Shopping
Properties
$googleService
protected
GoogleShoppingService
$googleService
$merchantId
private
int
$merchantId
= false
$output
private
OutputInterface
$output
Methods
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intsendPromotionsToGoogle()
Sending promotions to Google Shopping
private
sendPromotionsToGoogle(CartRuleApi $cartRuleApi) : mixed
Parameters
- $cartRuleApi : CartRuleApi