<?php

declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

#[Constants]
enum PaymentMethod: int
{
    use EnumConstantsTrait;

    #[Message("4-在线支付")]
    case ONLINE_PAYMENT = 1;

    #[Message("支付宝")]
    case ALIPAY_CN = 2;

    #[Message("5-公司转帐")]
    case COMPANY_TRANSFER = 3;

    #[Message("wechat pay")]
    case WECHAT_PAY = 4;

    #[Message("クレジットカード")]
    case CREDIT_CARD = 5;

    #[Message("代金引換")]
    case CASH_ON_DELIVERY_JP = 6;

    #[Message("後払い")]
    case DEFERRED_PAYMENT = 7;

    #[Message("ショッピングクレジット／ローン")]
    case SHOPPING_CREDIT_LOAN = 8;

    #[Message("オートローン")]
    case AUTO_LOAN = 9;

    #[Message("リース")]
    case LEASE = 10;

    #[Message("請求書払い")]
    case INVOICE_PAYMENT = 11;

    #[Message("ポイント")]
    case POINTS = 12;

    #[Message("銀行振込")]
    case BANK_TRANSFER = 13;

    #[Message("Apple Pay")]
    case APPLE_PAY = 14;

    #[Message("セブンイレブン（前払）")]
    case SEVEN_ELEVEN_PREPAID = 15;

    #[Message("ローソン、郵便局ATM等（前払）")]
    case LAWSON_POST_ATM_PREPAID = 16;

    #[Message("Alipay")]
    case ALIPAY = 17;

    #[Message("PayPal")]
    case PAYPAL = 18;

    #[Message("後払い決済")]
    case DEFERRED_SETTLEMENT = 19;

    #[Message("Other")]
    case OTHER = 20;

    #[Message("COD")]
    case COD = 21;

    #[Message("CVS")]
    case CVS = 22;
}
