first commit

This commit is contained in:
2024-04-01 09:54:43 +08:00
commit 899d816bc3
795 changed files with 130040 additions and 0 deletions

View File

@@ -0,0 +1,132 @@
<?php
namespace Yeepay\Yop\Sdk\Model\Transform;
use Yeepay\Yop\Sdk\Auth\Encryptor;
use Yeepay\Yop\Sdk\Auth\Signer;
use Yeepay\Yop\Sdk\Auth\SignOptions;
class ResponseUnMarshalParams
{
/**
* @var resource
*/
private $publicKey;
/**
* @var Signer
*/
private $signer;
/**
* @var SignOptions
*/
private $signOptions;
/**
* @var bool
*/
private $needDecrypt;
/**
* @var Encryptor
*/
private $encryptor;
/**
* @return resource
*/
public function getPublicKey()
{
return $this->publicKey;
}
/**
* @param resource $publicKey
* @return ResponseUnMarshalParams
*/
public function setPublicKey($publicKey)
{
$this->publicKey = $publicKey;
return $this;
}
/**
* @return Signer
*/
public function getSigner()
{
return $this->signer;
}
/**
* @param Signer $signer
* @return ResponseUnMarshalParams
*/
public function setSigner($signer)
{
$this->signer = $signer;
return $this;
}
/**
* @return SignOptions
*/
public function getSignOptions()
{
return $this->signOptions;
}
/**
* @param SignOptions $signOptions
* @return ResponseUnMarshalParams
*/
public function setSignOptions($signOptions)
{
$this->signOptions = $signOptions;
return $this;
}
/**
* @return bool
*/
public function isNeedDecrypt()
{
return $this->needDecrypt;
}
/**
* @param bool $needDecrypt
* @return ResponseUnMarshalParams
*/
public function setNeedDecrypt($needDecrypt)
{
$this->needDecrypt = $needDecrypt;
return $this;
}
/**
* @return Encryptor
*/
public function getEncryptor()
{
return $this->encryptor;
}
/**
* @param Encryptor $encryptor
* @return ResponseUnMarshalParams
*/
public function setEncryptor($encryptor)
{
$this->encryptor = $encryptor;
return $this;
}
}