海南旅游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.

30 lines
652 B

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