海南旅游SAAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
753 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <?php
  2. namespace App\Common;
  3. /**
  4. * 支付方式常量
  5. * Class PayType
  6. * @package App\Common
  7. */
  8. class PayType
  9. {
  10. /** @var int 在线全款支付 */
  11. const ONLINE = 0;
  12. /** @var int 线下支付 */
  13. const OFFLINE = 1;
  14. /** @var int 订金支付 */
  15. const DEPOSIT_PAY = 2;
  16. /** @var int 定金支付 */
  17. const EARNEST_PAY = 3;
  18. /** @var int 尾款/多加支付 */
  19. const DOWN_PAYMENT = 4;
  20. /** @var int 尾款/多加支付 */
  21. const BALANCE_PAY = 5;
  22. public static function array()
  23. {
  24. return [
  25. self::ONLINE => '在线支付',
  26. self::OFFLINE => '线下支付',
  27. self::DEPOSIT_PAY => '订金支付',
  28. self::EARNEST_PAY => '定金支付',
  29. self::DOWN_PAYMENT => '首款支付',
  30. self::BALANCE_PAY => '尾款/多加支付',
  31. ];
  32. }
  33. }