| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xudong.ding
- * Date: 16/5/18
- * Time: 下午2:09
- */
- namespace app\common\services\alipay\f2fpay\model\builder;
- class AlipayOrderSettleContentBuilder extends ContentBuilder
- {
- private $bizContent = NULL;
- private $royaltyParameters;
- private $outRequestNo;
- private $tradeNo;
- private $grantType;
- private $extendParams;
- private $bizParas = array();
- public function __construct()
- {
- }
- public function AlipayTradePayContentBuilder()
- {
- $this->__construct();
- }
- public function getBizContent()
- {
- if(!empty($this->bizParas)){
- $this->bizContent = json_encode($this->bizParas,JSON_UNESCAPED_UNICODE);
- }
- return $this->bizContent;
- }
- public function getGrantType()
- {
- return $this->grantType;
- }
- public function setGrantType($grantType)
- {
- $this->grantType = $grantType;
- $this->bizParas['grant_type'] = $grantType;
- }
- public function setOutRequestNo($outRequestNo)
- {
- $this->outRequestNo = $outRequestNo;
- $this->bizParas['out_request_no'] = $outRequestNo;
- }
- public function getOutRequestNo()
- {
- return $this->outRequestNo;
- }
- public function setTradeNo($tradeNo)
- {
- $this->tradeNo = $tradeNo;
- $this->bizParas['trade_no'] = $tradeNo;
- }
- public function getTradeNo()
- {
- return $this->tradeNo;
- }
- public function setExtendParams($extendParams)
- {
- $this->extendParams = $extendParams;
- $this->bizParas['extend_params'] = $extendParams;
- }
- public function getExtendParams()
- {
- return $this->extendParams;
- }
- public function setRoyaltyParameters($royaltyParameters)
- {
- $this->royaltyParameters = $royaltyParameters;
- $this->bizParas['royalty_parameters'] = $royaltyParameters;
- }
- public function getRoyaltyParameters()
- {
- return $this->royaltyParameters;
- }
- }
|