module Payments
  module FraudLabelHelper
    FRAUD_LABEL = 'fraud'
    NOT_FRAUD_LABEL = 'not_fraud'

    def fraud_label(label)
      case label
      when FRAUD_LABEL
        return "Fraud"
      when NOT_FRAUD_LABEL
        return "Not Fraud"
      else
        return "Not Label"
      end
    end
  end
end
