codestyle fix
This commit is contained in:
parent
52d53f1194
commit
6ab7748781
5 changed files with 8 additions and 39 deletions
|
@ -57,4 +57,4 @@ class LoyaltyCalculation
|
|||
* @Mapping\SerializedName("total")
|
||||
*/
|
||||
public $total;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,4 +87,4 @@ class OrderProduct
|
|||
* @Mapping\SerializedName("quantity")
|
||||
*/
|
||||
public $quantity;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class SmsVerificationStatusResponse extends SmsVerificationConfirmResponse
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
|
@ -39,37 +39,5 @@ class SmsVerificationStatusResponse extends SmsVerificationConfirmResponse
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SmsVerification")
|
||||
* @Mapping\SerializedName("verification")
|
||||
*/
|
||||
private $verification;
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
*/
|
||||
public function getVerification(): SmsVerification
|
||||
{
|
||||
return $this->verification;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SmsVerification $verification
|
||||
*/
|
||||
public function setVerification(SmsVerification $verification): void
|
||||
{
|
||||
$this->verification = $verification;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
public $verification;
|
||||
}
|
||||
|
|
|
@ -33,4 +33,4 @@ class SerializedOrderReference
|
|||
* @Mapping\SerializedName("bonuses")
|
||||
*/
|
||||
public $bonuses;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,13 +23,14 @@ use Intaro\RetailCrm\Repository\UserRepository;
|
|||
*/
|
||||
class UserAccountService
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Component\ApiClient\ClientAdapter
|
||||
*/
|
||||
private $client;
|
||||
|
||||
/**
|
||||
* UserAccountService constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->client = ClientFactory::createClientAdapter();
|
||||
|
|
Loading…
Add table
Reference in a new issue