export const transferType = {
  1: 'B2B',
  2: 'B2C',
  3: 'C2C',
  4: 'C2B',
}

export const payoutMethod = {
  1: 'global.p13',
  7: 'global.p14',
}
/**
 * 合规性检查状态。
 * no_process: 无需合规性检查，
 * pending_check: 待提交合规性检查资料，
 * pending: 合规性检查中，
 * approved: 合规性检查通过，
 * rejected: 合规性检查拒绝
 */
export const complianceStatusEnum = {
  NoProcess: 'no_process',
  PendingCheck: 'pending_check',
  Pending: 'pending',
  Approved: 'approved',
  Rejected: 'rejected',
}

export const deductionAccountText = {
  1: 'Ucard.GlobalOrder.deduction1',
  2: 'Ucard.GlobalOrder.deduction2',
  3: 'Ucard.GlobalOrder.deduction3',
  4: 'Ucard.GlobalOrder.deduction4',
  5: 'Ucard.GlobalOrder.deduction5',
  6: 'Ucard.GlobalOrder.deduction6',
}

export const approvalText = {
  1: 'R-Review-Status-Pending',
  2: 'R-Review-Status-Approved',
  3: 'R-Review-Status-Rejected',
}
// 全球速汇订单状态。
export const statusOpt = [
  {
    value: 'wait_process',
    label: 'Ucard.GlobalOrder.wait',
  },
  {
    value: 'success',
    label: 'Ucard.GlobalOrder.success',
  },
  {
    value: 'fail',
    label: 'Ucard.GlobalOrder.fail',
  },
  {
    value: 'processing',
    label: 'Ucard.GlobalOrder.processing',
  },
  {
    value: 'partner_processing',
    label: 'Ucard.GlobalOrder.partner',
  },
  {
    value: 'cancel',
    label: 'Ucard.GlobalOrder.cancel',
  },
]
