RefundButtonBase.php 583 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2020/12/10
  6. * Time: 17:10
  7. */
  8. namespace app\backend\modules\refund\services\button;
  9. use app\common\models\refund\RefundApply;
  10. use app\frontend\modules\order\operations\OrderOperationInterface;
  11. abstract class RefundButtonBase implements OrderOperationInterface
  12. {
  13. protected $refund;
  14. /**
  15. * @param RefundApply $refundApply
  16. */
  17. public function __construct(RefundApply $refund)
  18. {
  19. $this->refund = $refund;
  20. }
  21. /**
  22. * @return string
  23. */
  24. abstract function getDesc();
  25. }