Example #1
0
 public function getCommand($name, array $args = [])
 {
     // Set the default accountId to "-" for all operations.
     if (!isset($args['accountId'])) {
         $args['accountId'] = '-';
     }
     return parent::getCommand($name, $args);
 }
 /**
  * {@inheritdoc}
  */
 public function getCommand($name, array $args = [])
 {
     $args = $args + ['Service' => 'AWSECommerceService', 'Operation' => $name];
     if (!isset($args['AssociateTag'])) {
         $args['AssociateTag'] = $this->getAssociateTag();
     }
     return parent::getCommand($name, $args);
 }
Example #3
0
 /**
  * {@inheritdoc}
  *
  * Sets the default accountId to "-" for all operations.
  */
 public function getCommand($name, array $args = [])
 {
     return parent::getCommand($name, $args + ['accountId' => '-']);
 }
Example #4
0
 /**
  * {@inheritdoc}
  */
 public function getCommand($name, array $args = [])
 {
     return parent::getCommand($name, $args);
 }