-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
20 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
<?php | ||
namespace Yurun\PaySDK\AlipayApp\FTF\Params; | ||
|
||
use \Yurun\PaySDK\Traits\JSONParams; | ||
|
||
/** | ||
* 支付宝当面付扩展参数 | ||
*/ | ||
class ExtendParams | ||
{ | ||
use JSONParams{ | ||
toString as private traitToString; | ||
} | ||
|
||
/** | ||
* 系统商编号,该参数作为系统商返佣数据提取的依据,请填写系统商签约协议的PID | ||
* @var string | ||
*/ | ||
public $sys_service_provider_id; | ||
|
||
public function toString() | ||
public function toArray() | ||
{ | ||
if(null === $this->sys_service_provider_id) | ||
{ | ||
return null; | ||
} | ||
return $this->traitToString(); | ||
return (array)$this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
<?php | ||
namespace Yurun\PaySDK\AlipayApp\Page\Params; | ||
|
||
use \Yurun\PaySDK\Traits\JSONParams; | ||
|
||
/** | ||
* 支付宝PC场景下单并支付商品详情类 | ||
*/ | ||
class GoodsDetail | ||
{ | ||
use JSONParams{ | ||
toString as private traitToString; | ||
} | ||
|
||
/** | ||
* 在支付时,可点击商品名称跳转到该地址 | ||
* @var string | ||
*/ | ||
public $show_url; | ||
|
||
public function toString() | ||
public function toArray() | ||
{ | ||
if(null === $this->show_url) | ||
{ | ||
return null; | ||
} | ||
return $this->traitToString(); | ||
return (array)$this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters