mundipagg/magento2

View on GitHub
Gateway/Transaction/Base/Config/ConfigInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Class ConfigInterface
 *
 * @author      MundiPagg Embeddables Team <embeddables@mundipagg.com>
 * @copyright   2017 MundiPagg (http://www.mundipagg.com)
 * @license     http://www.mundipagg.com Copyright
 *
 * @link        http://www.mundipagg.com
 */

namespace MundiPagg\MundiPagg\Gateway\Transaction\Base\Config;


interface ConfigInterface
{
    const PATH_PUBLIC_KEY_TEST     = 'mundipagg_mundipagg/global/public_key_test';
    const PATH_SECRET_KEY_TEST     = 'mundipagg_mundipagg/global/secret_key_test';
    const PATH_PUBLIC_KEY          = 'mundipagg_mundipagg/global/public_key';
    const PATH_SECRET_KEY          = 'mundipagg_mundipagg/global/secret_key';
    const PATH_TEST_MODE           = 'mundipagg_mundipagg/global/test_mode';
    const PATH_SEND_EMAIL          = 'mundipagg_mundipagg/global/sendmail';
    const PATH_CUSTOMER_STREET     = 'payment/mundipagg_customer_address/street_attribute';
    const PATH_CUSTOMER_NUMBER     = 'payment/mundipagg_customer_address/number_attribute';
    const PATH_CUSTOMER_COMPLEMENT = 'payment/mundipagg_customer_address/complement_attribute';
    const PATH_CUSTOMER_DISTRICT   = 'payment/mundipagg_customer_address/district_attribute';

    /**
     * @return string
     */
    public function getSecretKey();

    /**
     * @return string
     */
    public function getPublicKey();

    /**
     * @return string
     */
    public function getTestMode();

    /**
     * @return string
     */
    public function getBaseUrl();

    /**
     * @return string
     */
    public function getCustomerStreetAttribute();

    /**
     * @return string
     */
    public function getCustomerAddressNumber();

    /**
     * @return string
     */
    public function getCustomerAddressComplement();

    /**
     * @return string
     */
    public function getCustomerAddressDistrict();

    /**
     * @return bool
     */
    public function isSendEmail();
}