src/Amadeus/Client/Struct/Fop/MopDescription.php
protected function loadPaymentModule(MopInfo $options)
    {
        if ($this->checkAnyNotEmpty(
            $options->fopType,
            $options->payMerchant,
            $options->payments,
            $options->installmentsInfo,
            $options->mopPaymentType,
            $options->creditCardInfo,
            $options->fraudScreening,
            $options->payIds,
            $options->paySupData
        )) {
            if ($this instanceof MopDescription14) {
                $this->paymentModule = new PaymentModule14($options->fopType);
            } else {
                $this->paymentModule = new PaymentModule($options->fopType);
            }
            $this->paymentModule->loadPaymentData($options);

            $this->loadMopInformation($options);

            $this->loadPaymentSupplementaryData($options);
        }
    }
protected function loadPaymentModule(MopInfo $options)
    {
        if ($this->checkAnyNotEmpty(
            $options->fopType,
            $options->payMerchant,
            $options->payments,
            $options->installmentsInfo,
            $options->mopPaymentType,
            $options->creditCardInfo,
            $options->fraudScreening,
            $options->payIds,
            $options->paySupData
        )) {
            if ($this instanceof MopDescription14) {
                $this->paymentModule = new PaymentModule14($options->fopType);
            } else {
                $this->paymentModule = new PaymentModule($options->fopType);
            }
            $this->paymentModule->loadPaymentData($options);

            $this->loadMopInformation($options);

            $this->loadPaymentSupplementaryData($options);
        }
    }
Payment Module information

@param MopInfo $options