public function getConfig()
    {
        $this->_library->setEnvironment();
        
        $config = [
            'library' => [
                'session' => $this->_library->getSession(),
                'directPaymentJs' => $this->_library->getDirectPaymentUrl()
            ],
            'brazilFlagPath' => $this->_library->getImageUrl('UOL_PagSeguro::images/flag-origin-country.png'),
            'payment' => [
                'pagseguro' => [
                    'isDirect'   => $this->method->isDirectCheckout(),
                    'isLightbox' => $this->method->isLightboxCheckoutType(),
                    'checkout'   => [
                        'lightbox' => $this->method->getLightboxCheckoutPaymentUrl(),
                        'standard' => $this->method->getStandardCheckoutPaymentUrl(),
                        'direct'   => $this->method->getDirectCheckoutPaymentUrl()
                    ]
                ]
            ],
            'pagseguro_boleto' => $this->boletoMethod->getStandardCheckoutPaymentUrl(),
        ];
        return $config;
    }
public function getConfig()
    {
        $this->_library->setEnvironment();
        
        $config = [
            'library' => [
                'session' => $this->_library->getSession(),
                'directPaymentJs' => $this->_library->getDirectPaymentUrl()
            ],
            'brazilFlagPath' => $this->_library->getImageUrl('UOL_PagSeguro::images/flag-origin-country.png'),
            'payment' => [
                'pagseguro' => [
                    'isDirect'   => $this->method->isDirectCheckout(),
                    'isLightbox' => $this->method->isLightboxCheckoutType(),
                    'checkout'   => [
                        'lightbox' => $this->method->getLightboxCheckoutPaymentUrl(),
                        'standard' => $this->method->getStandardCheckoutPaymentUrl(),
                        'direct'   => $this->method->getDirectCheckoutPaymentUrl()
                    ]
                ]
            ],
            'pagseguro_boleto' => $this->boletoMethod->getStandardCheckoutPaymentUrl(),
        ];
        return $config;
    }
public function getConfig ( ) { $ this -> _library -> setEnvironment ( ) ; $ config = [ 'library' => [ 'session' => $ this -> _library -> getSession ( ) , 'directPaymentJs' => $ this -> _library -> getDirectPaymentUrl ( ) ] , 'brazilFlagPath' => $ this -> _library -> getImageUrl ( 'UOL_PagSeguro::images/flag-origin-country.png' ) , 'payment' => [ 'pagseguro' => [ 'isDirect' => $ this -> method -> isDirectCheckout ( ) , 'isLightbox' => $ this -> method -> isLightboxCheckoutType ( ) , 'checkout' => [ 'lightbox' => $ this -> method -> getLightboxCheckoutPaymentUrl ( ) , 'standard' => $ this -> method -> getStandardCheckoutPaymentUrl ( ) , 'direct' => $ this -> method -> getDirectCheckoutPaymentUrl ( ) ] ] ] , 'pagseguro_boleto' => $ this -> boletoMethod -> getStandardCheckoutPaymentUrl ( ) , ] ; return $ config ; }
Get payment config

@return array
Get payment config