gabrielbull/php-ups-api

View on GitHub
src/RequestInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Ups;

use Psr\Log\LoggerInterface;

interface RequestInterface
{
    /**
     * @param LoggerInterface $logger
     */
    public function __construct(LoggerInterface $logger = null);

    /**
     * @param string $access The access request xml
     * @param string $request The request xml
     * @param string $endpointurl The UPS API Endpoint URL
     *
     * @return ResponseInterface
     */
    public function request($access, $request, $endpointurl);

    /**
     * @param $access
     */
    public function setAccess($access);

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

    /**
     * @param $request
     */
    public function setRequest($request);

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

    /**
     * @param $endpointUrl
     */
    public function setEndpointUrl($endpointUrl);

    /**
     * @return string
     */
    public function getEndpointUrl();
}