Module: DigiwinDsp::Enums

Defined in:
lib/digiwin_dsp/enums.rb

Overview

DSP wire-format code tables as Ruby constants, so callers write ‘Enums::PayType::CREDIT_CARD` instead of a bare “9104”.

Source of truth: docs/dsp-specs/*.yaml (see docs/dsp-api-spec.md for the readable digest). The gem deliberately does NOT validate these values client-side — DSP rejects unknown codes with ‘WrongStatus:` →`ValidationError`. The `ALL` arrays exist for caller-side checks (e.g. dropdowns, model validations) if you want them.

Defined Under Namespace

Modules: CarrierType, DistributorCode, InvoiceStatus, InvoiceType, IsPay, OrderStatus, PayType, ShippingType, UpdateMode