12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace Pingpp;
- class Transfer extends ApiResource
- {
- /** 查询指定 transfer 对象
- * @param string $id The ID of the transfer to retrieve.
- * @param array|string|null $options
- *
- * @return Transfer
- */
- public static function retrieve($id, $options = null)
- {
- return self::_retrieve($id, $options);
- }
- /** 查询 transfer 对象列表
- * @param array|null $params
- * @param array|string|null $options
- *
- * @return array An array of Transfer.
- */
- public static function all($params = null, $options = null)
- {
- return self::_all($params, $options);
- }
- /** 创建 transfer 对象
- * @param array|null $params
- * @param array|string|null $options
- *
- * @return Transfer The created transfer.
- */
- public static function create($params = null, $options = null)
- {
- return self::_create($params, $options);
- }
- /** 更新 transfer 对象
- * @param array|string|null $options
- *
- * @return Transfer The created transfer.
- */
- public function save($options = null)
- {
- return $this->_save($options);
- }
- }
|