Rewrite to composer package

composer require gullevek/amazon-incentives
This commit is contained in:
2021-10-21 09:55:32 +09:00
parent 94ea118731
commit 6f9bf781f2
23 changed files with 814 additions and 147 deletions

View File

@@ -0,0 +1,74 @@
<?php
namespace gullevek\AmazonIncentives\Config;
interface ConfigInterface
{
/**
* @return string|null
*/
public function getEndpoint(): ?string;
/**
* @param string $endpoint
* @return $this
*/
public function setEndpoint(string $endpoint): ConfigInterface;
/**
* @return string|null
*/
public function getAccessKey(): ?string;
/**
* @param string $key
* @return $this
*/
public function setAccessKey(string $key): ConfigInterface;
/**
* @return string|null
*/
public function getSecret(): ?string;
/**
* @param string $secret
* @return $this
*/
public function setSecret(string $secret): ConfigInterface;
/**
* @return string|null
*/
public function getCurrency(): ?string;
/**
* @param string $currency
* @return $this
*/
public function setCurrency(string $currency): ConfigInterface;
/**
* @return string|null
*/
public function getPartner(): ?string;
/**
* @param string $partner
* @return $this
*/
public function setPartner(string $partner): ConfigInterface;
/**
* @return bool|null
*/
public function getDebug(): ?bool;
/**
* @param bool $debug
* @return $this
*/
public function setDebug(bool $debug): ConfigInterface;
}
// __END__