package Ġcom . rb k money . claim management api . converter . party . contract or Ċ Ċ import Ġcom . rb k money . claim management api . converter . Dark Api Converter Ċ import Ġdev . val ity . dam sel . domain . R ussian Bank Account Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġdev . val ity . dam sel . domain . R ussian Legal Entity Ġas ĠThrift R ussian Legal Entity Ċ import Ġdev . val ity . sw ag . claim _ management . model . Legal EntityType Ġas ĠSw ag Legal EntityType Ċ import Ġdev . val ity . sw ag . claim _ management . model . R ussian Bank Account Ġas ĠSw ag R ussian Bank Account Ċ import Ġdev . val ity . sw ag . claim _ management . model . R ussian Legal Entity Ġas ĠSw ag R ussian Legal Entity Ċ Ċ @ Component Ċ class ĠR ussian Legal Entity Converter Ġ: ĠDark Api Converter < Thrift R ussian Legal Entity , ĠSw ag R ussian Legal Entity > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠconvertTo Thrift ( ĊĠĠĠĠĠĠĠ Ġvalue : ĠSw ag R ussian Legal Entity ĊĠĠĠ Ġ): ĠThrift R ussian Legal Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsw ag R ussian Bank Account Ġ= Ġvalue . r ussian Bank Account ĊĠĠĠĠĠĠĠ Ġval Ġthrift R ussian Bank Account Ġ= ĠR ussian Bank Account () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Bank Name ( sw ag R ussian Bank Account . bank Name ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Bank B ik ( sw ag R ussian Bank Account . bank B ik ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Account ( sw ag R ussian Bank Account . account ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Bank Post Account ( sw ag R ussian Bank Account . bank Post Account ) ĊĠĠĠĠĠĠĠ Ġreturn ĠThrift R ussian Legal Entity () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Actual Address ( value . actual Address ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set In n ( value . inn ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Post Address ( value . post Address ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Registered Name ( value . registered Name ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Registered Number ( value . registered Number ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Represent ative Document ( value . represent ative Document ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Represent ative FullName ( value . represent ative FullName ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Represent ative Position ( value . represent ative Position ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set R ussian Bank Account ( thrift R ussian Bank Account ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠconvertTo Sw ag ( ĊĠĠĠĠĠĠĠ Ġvalue : ĠThrift R ussian Legal Entity ĊĠĠĠ Ġ): ĠSw ag R ussian Legal Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġr ussian Bank Account Ġ= Ġvalue . r ussian Bank Account ĊĠĠĠĠĠĠĠ Ġval Ġsw ag R ussian Bank Account Ġ= ĠSw ag R ussian Bank Account (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġaccount Ġ= Ġr ussian Bank Account . get Account () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbank Name Ġ= Ġr ussian Bank Account . bank Name ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbank B ik Ġ= Ġr ussian Bank Account . bank B ik ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbank Post Account Ġ= Ġr ussian Bank Account . bank Post Account ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġreturn ĠSw ag R ussian Legal Entity (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlegal EntityType Ġ= ĠSw ag Legal EntityType . Legal EntityType Enum . RU SS IAN LEG AL ENTITY ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactual Address Ġ= Ġvalue . actual Address ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepresentative Position Ġ= Ġvalue . represent ative Position ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinn Ġ= Ġvalue . getIn n () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpost Address Ġ= Ġvalue . post Address ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregistered Name Ġ= Ġvalue . registered Name ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregistered Number Ġ= Ġvalue . registered Number ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepresentative Document Ġ= Ġvalue . represent ative Document ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepresentative FullName Ġ= Ġvalue . represent ative FullName ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . r ussian Bank Account Ġ= Ġsw ag R ussian Bank Account ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ