@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace AcquiroPay\Models\Entities; |
| 6 | 6 | |
@@ -43,92 +43,92 @@ discard block |
||
| 43 | 43 | $this->name = $name; |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - public function getSiteLanguage(): ?string |
|
| 46 | + public function getSiteLanguage(): ? string |
|
| 47 | 47 | { |
| 48 | 48 | return $this->siteLanguage; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - public function setSiteLanguage(?string $siteLanguage): void |
|
| 51 | + public function setSiteLanguage(? string $siteLanguage) : void |
|
| 52 | 52 | { |
| 53 | 53 | $this->siteLanguage = $siteLanguage; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - public function getStatus(): ?string |
|
| 56 | + public function getStatus(): ? string |
|
| 57 | 57 | { |
| 58 | 58 | return $this->status; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - public function setStatus(?string $status): void |
|
| 61 | + public function setStatus(? string $status) : void |
|
| 62 | 62 | { |
| 63 | 63 | $this->status = $status; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function getType(): ?string |
|
| 66 | + public function getType(): ? string |
|
| 67 | 67 | { |
| 68 | 68 | return $this->type; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - public function setType(?string $type): void |
|
| 71 | + public function setType(? string $type) : void |
|
| 72 | 72 | { |
| 73 | 73 | $this->type = $type; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - public function getDescription(): ?string |
|
| 76 | + public function getDescription(): ? string |
|
| 77 | 77 | { |
| 78 | 78 | return $this->description; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | - public function setDescription(?string $description): void |
|
| 81 | + public function setDescription(? string $description) : void |
|
| 82 | 82 | { |
| 83 | 83 | $this->description = $description; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - public function getAddress(): ?string |
|
| 86 | + public function getAddress(): ? string |
|
| 87 | 87 | { |
| 88 | 88 | return $this->address; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - public function setAddress(?string $address): void |
|
| 91 | + public function setAddress(? string $address) : void |
|
| 92 | 92 | { |
| 93 | 93 | $this->address = $address; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - public function getContactName(): ?string |
|
| 96 | + public function getContactName(): ? string |
|
| 97 | 97 | { |
| 98 | 98 | return $this->contactName; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - public function setContactName(?string $contactName): void |
|
| 101 | + public function setContactName(? string $contactName) : void |
|
| 102 | 102 | { |
| 103 | 103 | $this->contactName = $contactName; |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - public function getEmail(): ?string |
|
| 106 | + public function getEmail(): ? string |
|
| 107 | 107 | { |
| 108 | 108 | return $this->email; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | - public function setEmail(?string $email): void |
|
| 111 | + public function setEmail(? string $email) : void |
|
| 112 | 112 | { |
| 113 | 113 | $this->email = $email; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | - public function getPhone(): ?string |
|
| 116 | + public function getPhone(): ? string |
|
| 117 | 117 | { |
| 118 | 118 | return $this->phone; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | - public function setPhone(?string $phone): void |
|
| 121 | + public function setPhone(? string $phone) : void |
|
| 122 | 122 | { |
| 123 | 123 | $this->phone = $phone; |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | - public function getFax(): ?string |
|
| 126 | + public function getFax(): ? string |
|
| 127 | 127 | { |
| 128 | 128 | return $this->fax; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - public function setFax(?string $fax): void |
|
| 131 | + public function setFax(? string $fax) : void |
|
| 132 | 132 | { |
| 133 | 133 | $this->fax = $fax; |
| 134 | 134 | } |
@@ -143,22 +143,22 @@ discard block |
||
| 143 | 143 | $this->registrationDate = $registrationDate; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | - public function getMerchantDomain(): ?string |
|
| 146 | + public function getMerchantDomain(): ? string |
|
| 147 | 147 | { |
| 148 | 148 | return $this->merchantDomain; |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | - public function setMerchantDomain(?string $merchantDomain): void |
|
| 151 | + public function setMerchantDomain(? string $merchantDomain) : void |
|
| 152 | 152 | { |
| 153 | 153 | $this->merchantDomain = $merchantDomain; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - public function getSubdomain(): ?string |
|
| 156 | + public function getSubdomain(): ? string |
|
| 157 | 157 | { |
| 158 | 158 | return $this->subdomain; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | - public function setSubdomain(?string $subdomain): void |
|
| 161 | + public function setSubdomain(? string $subdomain) : void |
|
| 162 | 162 | { |
| 163 | 163 | $this->subdomain = $subdomain; |
| 164 | 164 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | $this->agentId = $agentId; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - public function getAgent(): ?Agent |
|
| 176 | + public function getAgent(): ? Agent |
|
| 177 | 177 | { |
| 178 | 178 | return $this->agent; |
| 179 | 179 | } |
@@ -193,37 +193,37 @@ discard block |
||
| 193 | 193 | $this->tariffId = $tariffId; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | - public function getUserIpAccess(): ?string |
|
| 196 | + public function getUserIpAccess(): ? string |
|
| 197 | 197 | { |
| 198 | 198 | return $this->userIpAccess; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | - public function setUserIpAccess(?string $userIpAccess): void |
|
| 201 | + public function setUserIpAccess(? string $userIpAccess) : void |
|
| 202 | 202 | { |
| 203 | 203 | $this->userIpAccess = $userIpAccess; |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | - public function getVtIpAccess(): ?string |
|
| 206 | + public function getVtIpAccess(): ? string |
|
| 207 | 207 | { |
| 208 | 208 | return $this->vtIpAccess; |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | - public function setVtIpAccess(?string $vtIpAccess): void |
|
| 211 | + public function setVtIpAccess(? string $vtIpAccess) : void |
|
| 212 | 212 | { |
| 213 | 213 | $this->vtIpAccess = $vtIpAccess; |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | - public function getSkype(): ?string |
|
| 216 | + public function getSkype(): ? string |
|
| 217 | 217 | { |
| 218 | 218 | return $this->skype; |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | - public function setSkype(?string $skype): void |
|
| 221 | + public function setSkype(? string $skype) : void |
|
| 222 | 222 | { |
| 223 | 223 | $this->skype = $skype; |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | - public function getTariff(): ?Tariff |
|
| 226 | + public function getTariff(): ? Tariff |
|
| 227 | 227 | { |
| 228 | 228 | return $this->tariff; |
| 229 | 229 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace AcquiroPay\Models\Entities; |
| 6 | 6 | |
@@ -69,32 +69,32 @@ discard block |
||
| 69 | 69 | $this->fields = $fields; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | - public function getCurrencyId(): ?int |
|
| 72 | + public function getCurrencyId(): ? int |
|
| 73 | 73 | { |
| 74 | 74 | return $this->currencyId; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - public function setCurrencyId(?int $currencyId): void |
|
| 77 | + public function setCurrencyId(? int $currencyId) : void |
|
| 78 | 78 | { |
| 79 | 79 | $this->currencyId = $currencyId; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - public function getSiteId(): ?int |
|
| 82 | + public function getSiteId(): ? int |
|
| 83 | 83 | { |
| 84 | 84 | return $this->siteId; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - public function setSiteId(?int $siteId): void |
|
| 87 | + public function setSiteId(? int $siteId) : void |
|
| 88 | 88 | { |
| 89 | 89 | $this->siteId = $siteId; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - public function getSite(): ?Site |
|
| 92 | + public function getSite(): ? Site |
|
| 93 | 93 | { |
| 94 | 94 | return $this->site; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - public function setSite(?Site $site): void |
|
| 97 | + public function setSite(? Site $site) : void |
|
| 98 | 98 | { |
| 99 | 99 | $this->site = $site; |
| 100 | 100 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace AcquiroPay\Services; |
| 6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * @param array $parameters |
| 51 | 51 | * @return Country|null |
| 52 | 52 | */ |
| 53 | - public function getCountry(int $id, array $parameters = []): ?Country |
|
| 53 | + public function getCountry(int $id, array $parameters = []): ? Country |
|
| 54 | 54 | { |
| 55 | 55 | $response = $this->makeRequest('GET', 'countries/'.$id, $parameters); |
| 56 | 56 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * @param array $parameters |
| 78 | 78 | * @return Currency|null |
| 79 | 79 | */ |
| 80 | - public function getCurrency(int $id, array $parameters = []): ?Currency |
|
| 80 | + public function getCurrency(int $id, array $parameters = []): ? Currency |
|
| 81 | 81 | { |
| 82 | 82 | $response = $this->makeRequest('GET', 'currencies/'.$id, $parameters); |
| 83 | 83 | |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * @param array $parameters |
| 118 | 118 | * @return Merchant|null |
| 119 | 119 | */ |
| 120 | - public function getMerchant(int $id, array $parameters = []): ?Merchant |
|
| 120 | + public function getMerchant(int $id, array $parameters = []): ? Merchant |
|
| 121 | 121 | { |
| 122 | 122 | $response = $this->makeRequest('GET', 'merchants/'.$id, $parameters); |
| 123 | 123 | |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * |
| 149 | 149 | * @return Site|null |
| 150 | 150 | */ |
| 151 | - public function getSite(Merchant $merchant, int $id, array $parameters = []): ?Site |
|
| 151 | + public function getSite(Merchant $merchant, int $id, array $parameters = []): ? Site |
|
| 152 | 152 | { |
| 153 | 153 | $response = $this->makeRequest('GET', 'merchants/'.$merchant->getId().'/sites/'.$id, $parameters); |
| 154 | 154 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * @param array $parameters |
| 163 | 163 | * @return Site|null |
| 164 | 164 | */ |
| 165 | - public function getSiteById(int $id, array $parameters = []): ?Site |
|
| 165 | + public function getSiteById(int $id, array $parameters = []): ? Site |
|
| 166 | 166 | { |
| 167 | 167 | $response = $this->makeRequest('GET', 'sites/'.$id, $parameters); |
| 168 | 168 | |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * |
| 200 | 200 | * @return Product|null |
| 201 | 201 | */ |
| 202 | - public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ?Product |
|
| 202 | + public function getProduct(Merchant $merchant, Site $site, int $id, array $parameters = []): ? Product |
|
| 203 | 203 | { |
| 204 | 204 | $response = $this->makeRequest( |
| 205 | 205 | 'GET', |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * @param array $parameters |
| 218 | 218 | * @return Product|null |
| 219 | 219 | */ |
| 220 | - public function getProductById(int $id, array $parameters = []): ?Product |
|
| 220 | + public function getProductById(int $id, array $parameters = []): ? Product |
|
| 221 | 221 | { |
| 222 | 222 | $response = $this->makeRequest( |
| 223 | 223 | 'GET', |