package Ġcom . net ki . model Ċ Ċ /** Ċ Ġ* ĠMessage ĠProtocol ĠStatus ĠCode . Ċ Ġ*/ Ċ enum Ġclass ĠStatusCode ( val Ġcode : ĠLong ) Ġ{ ĊĠĠĠ ĠOK ( 1 ), ĊĠĠĠ ĠCANCEL ( 2 ), ĊĠĠĠ ĠGENER AL _ UNKNOWN _ ERROR ( 1 0 0 ), ĊĠĠĠ ĠVERSION _ TOO _ HIGH ( 1 0 1 ), ĊĠĠĠ ĠAUTH ENT ICATION _ FAILED ( 1 0 2 ), ĊĠĠĠ ĠEN CRYPT ED _ MESSAGE _ REQUIRED ( 1 0 3 ), ĊĠĠĠ ĠA MOUNT _ TOO _ HIGH ( 2 0 0 ), ĊĠĠĠ ĠA MOUNT _ TOO _ LOW ( 2 0 1 ), ĊĠĠĠ ĠA MOUNT _ INVALID ( 2 0 2 ), ĊĠĠĠ ĠP AY MENT _ DO ES _ NOT _ ME ET _ PAYMENT _ REQUEST _ REQUIRE MENTS ( 2 0 3 ), ĊĠĠĠ ĠC ER TIFICATE _ REQUIRED ( 3 0 0 ), ĊĠĠĠ ĠC ER TIFICATE _ EXPI RED ( 3 0 1 ), ĊĠĠĠ ĠC ER TIFICATE _ INVALID _ FOR _ TRANSACTION ( 3 0 2 ), ĊĠĠĠ ĠC ER TIFICATE _ REV OK ED ( 3 0 3 ), ĊĠĠĠ ĠC ER TIFICATE _ NOT _ W ELL _ ROOT ED ( 3 0 4 ); ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġvalues Ġ= Ġvalues (); ĊĠĠĠĠĠĠĠ Ġfun ĠgetBy Code ( code : ĠLong ) Ġ= Ġvalues . first OrNull Ġ{ Ġit . code Ġ== Ġcode Ġ} ĊĠĠĠ Ġ} Ċ } Ċ