Class: MercadoPublicoCl::Enums::PurchaseOrderType

Inherits:
Base
  • Object
show all
Defined in:
lib/mercado_publico_cl/enums/purchase_order_type.rb

Constant Summary collapse

MAPPING =
{
  1 => :automatic,
  2 => :d1,
  3 => :c1,
  4 => :f3,
  5 => :g1,
  6 => :r1,
  7 => :ca,
  8 => :se,
  9 => :framework_agreement,
  10 => :fg,
  11 => :tl,
  12 => :microcompra,
  13 => :compra_agil,
  14 => :coordinated_purchase
}.freeze
DESCRIPTIONS =
{
  automatic: "Automatic purchase order (OC)",
  d1: "D1 purchase order",
  c1: "C1 purchase order",
  f3: "F3 purchase order",
  g1: "G1 purchase order",
  r1: "R1 purchase order",
  ca: "CA purchase order",
  se: "SE purchase order",
  framework_agreement: "Framework agreement (Convenio Marco - CM)",
  fg: "FG purchase order",
  tl: "TL purchase order",
  microcompra: "Microcompra (MC)",
  compra_agil: "Compra Ágil (AG)",
  coordinated_purchase: "Coordinated purchase (CC)"
}.freeze
CODE_LABELS =
{
  automatic: "OC",
  d1: "D1",
  c1: "C1",
  f3: "F3",
  g1: "G1",
  r1: "R1",
  ca: "CA",
  se: "SE",
  framework_agreement: "CM",
  fg: "FG",
  tl: "TL",
  microcompra: "MC",
  compra_agil: "AG",
  coordinated_purchase: "CC"
}.freeze

Method Summary

Methods inherited from Base

api_value, api_values, codes, description, descriptions, mapping, symbols, to_code, to_symbol