Sets merchantDescription.

@param map[string,string] $merchantDescription
@return PaymentMethod
166524
public function setMerchantDescription($merchantDescription) {
		if (is_array($merchantDescription) && empty($merchantDescription)) {
			$this->merchantDescription = new \stdClass;
		} else {
			$this->merchantDescription = $merchantDescription;
		}

		return $this;
	}
473442
public function processPayment(PaylandsMethod $paymentMethod)
    {
        /*
         * At this point, order must be created given a cart, and placed in PaymentBridge.
         *
         * So, $this->paymentBridge->getOrder() must return an object
         */
        $this
            ->paymentEventDispatcher
            ->notifyPaymentOrderLoad(
                $this->paymentBridge,
                $paymentMethod
            );

        /*
         * Order Not found Exception must be thrown just here.
         */
        if (!$this->paymentBridge->getOrder()) {
            throw new PaymentOrderNotFoundException();
        }

        /*
         * Order exists right here.
         */
        $this
            ->paymentEventDispatcher
            ->notifyPaymentOrderCreated(
                $this->paymentBridge,
                $paymentMethod
            );

        /*
         * Try to make the payment transaction
         */
        try {
            $this->paylandsApiAdapter->validateCard($paymentMethod);

            $this->paylandsEventDispatcher->notifyCardValid($paymentMethod);

            if (!$paymentMethod->isOnlyTokenizeCard()) {
                $this->paylandsApiAdapter->createTransaction($paymentMethod);
            }

            /*
             * Payment paid done.
             *
             * Paid process has ended ( No matters result )
             */
            $this
                ->paymentEventDispatcher
                ->notifyPaymentOrderDone(
                    $this->paymentBridge,
                    $paymentMethod
                );

            if (PaylandsMethod::STATUS_OK !== $paymentMethod->getPaymentStatus()) {
                throw new PaymentException(sprintf('Order %s could not be paid',
                    $paymentMethod->getPaymentResult()['order']['uuid']
                ));
            }

            /*
             * Payment paid successfully.
             *
             * Paid process has ended successfully
             */
            $this
                ->paymentEventDispatcher
                ->notifyPaymentOrderSuccess(
                    $this->paymentBridge,
                    $paymentMethod
                );
        } catch (PaymentException $e) {
            /*
             * Payment paid failed.
             *
             * Paid process has ended failed
             */
            $this
                ->paymentEventDispatcher
                ->notifyPaymentOrderFail(
                    $this->paymentBridge,
                    $paymentMethod
                );

            throw $e;
        }

        return $this;
    }
258133
public function setPaymentMethod($value)
    {
        if (!$this->_isNumericArray($value)) {
            $value = array ($value);
        }
        $this->_fields['PaymentMethod']['FieldValue'] = $value;
        return $this;
    }
424252
public function setDescription($description)
    {
        $this->description = $this->translator()->translation($description);

        if ($this->isPresentable()) {
            foreach ($this->description->data() as $lang => $trans) {
                $this->description[$lang] = $this->resolveUrls($trans);
            }
        }

        return $this;
    }
158468
protected function createPaymentMethodContainerFromPayment(SpyPaymentPayone $paymentEntity)
    {
        $paymentMethodContainer = new DirectDebitContainer();

        $paymentMethodContainer->setBankCountry($paymentEntity->getSpyPaymentPayoneDetail()->getBankCountry());
        $paymentMethodContainer->setBankAccount($paymentEntity->getSpyPaymentPayoneDetail()->getBankAccount());
        $paymentMethodContainer->setBankCode($paymentEntity->getSpyPaymentPayoneDetail()->getBankCode());
        $paymentMethodContainer->setIban($paymentEntity->getSpyPaymentPayoneDetail()->getIban());
        $paymentMethodContainer->setBic($paymentEntity->getSpyPaymentPayoneDetail()->getBic());

        return $paymentMethodContainer;
    }
481297
public static function info($merchantId = null)
    {
        $api = new Api\Info();

        if ($merchantId !== null) {
            $api->setMerchantId($merchantId);
        }

        $result = $api->doRequest();

        return new Result\Merchant\Info($result);
    }
526307
function setDescription($value) {
        PageMeta::meta_name('description', $value);
        PageMeta::meta_property('og:description', $value);
        PageMeta::meta_name('twitter:description', $value);

        return $this;
    }
837618
public function setMerchantID($merchantID)
    {
        if (preg_match('/^(7|9)\d{4}$/', $merchantID) !== 1) {
            if ($this->isTestSystem()) {
                throw new InvalidArgumentException("The merchant ID '$merchantID' you have given is wrong, it must be 5-digit number and starts with 7 or 9!");
            } else {
                throw new Exception();
            }
        }

        $this->merchantID = $merchantID;
    }
255719
public function setPayment(Payment $payment)
    {
        $this->payment = $payment;

        if (!$payment->hasPaymentTransaction($this))
        {
            $payment->addPaymentTransaction($this);
        }

        return $this;
    }
722234
public function setMerchant($merchant)
    {
        if (!is_string($merchant)) {
            return false;
        }

        if (empty($merchant)) {
            return false;
        }

        $this->merchant = $merchant;

        return true;
    }
748553
private function _setPayments($paymentEntries)
    {
        $payments = Array();
        foreach ($paymentEntries as $paymentEntry) {
            switch ($paymentEntry['paymentType']) {
                case self::$PAYMENTTYPE_PAYPAL:
                    $payments[] = new WirecardCEE_QPay_Response_Toolkit_Order_Payment_Paypal($paymentEntry);
                    break;
                case self::$PAYMENTTYPE_SOFORTUEBERWEISUNG:
                    $payments[] = new WirecardCEE_QPay_Response_Toolkit_Order_Payment_Sofortueberweisung($paymentEntry);
                    break;
                case self::$PAYMENTTYPE_IDEAL:
                    $payments[] = new WirecardCEE_QPay_Response_Toolkit_Order_Payment_Ideal($paymentEntry);
                    break;
                default:
                    $payments[] = new WirecardCEE_QPay_Response_Toolkit_Order_Payment($paymentEntry);
                    break;
            }
        }
        $this->_payments = new WirecardCEE_QPay_Response_Toolkit_Order_PaymentIterator($payments);
    }
101865
public function setCommercialDescriptions($descriptions)
    {
        foreach ($descriptions as $description) {
            $description->setVariety($this);
        }
        $this->commercial_descriptions = $descriptions;

        return $this;
    }
492207
public function setTransactionMethod($method)
    {
        // check if is array
        if (!is_array($this->transactionMethods)) {
            $this->transactionMethods = [$method];

            return $this;
        }

        // check if method is already in array
        if (!in_array($method, $this->transactionMethods)) {
            $this->transactionMethods[] = $method;
        }

        return $this;
    }
756685
public function setPaymentExecutionDetail($value)
    {
        if (!$this->_isNumericArray($value)) {
            $value = array ($value);
        }
        $this->_fields['PaymentExecutionDetail']['FieldValue'] = $value;
        return $this;
    }
1255008
public function set_description($desc)
    {
        if (substr($desc, 0, 5) == 'lang:') {
            $desc = substr($desc, 5);
            if ($_desc = self::lang($desc)) {
                return $this->climate->arguments->description($_desc);
            }
        }
        return $this->climate->arguments->description($desc);
    }
1238872
public function updateFromEmbeddedApiResponse(array $data, string $currency, ShippingMethodInterface $shippingMethod = null): ShippingMethodInterface
    {
        if (!$shippingMethod) {
            $shippingMethod = $this->getShippingMethod($data['id']);
        }

        if (!$shippingMethod->getId()) {
            // only update when we create a new entity because this is the embedded method
            $shippingMethod
                ->setFee(DandomainFoundation\createMoney((string) $currency, $data['fee']))
                ->setFeeInclVat($data['feeInclVat'])
                ->setName($data['name']);
        }

        return $shippingMethod;
    }
357637
public function setDisplayDescription( $displayDescription )
    {
        if ( empty( $displayDescription ) )
        {
            $displayDescription = array();
        }
        else if ( $displayDescription instanceof Traversable )
        {
            $displayDescription = ArrayUtils::iteratorToArray( $displayDescription );
        }
        else if ( ! is_array( $displayDescription ) )
        {
            $displayDescription = (array) $displayDescription;
        }

        if ( ! isset( $displayDescription[static::FALLBACK_LOCALE] ) )
        {
            reset( $displayDescription );
            $key = key( $displayDescription );
            $displayDescription[static::FALLBACK_LOCALE] = $displayDescription[$key];
            unset( $displayDescription[$key] );
        }

        $this->displayDescription = $displayDescription;
        return $this;
    }