Multipetros.WebServices.AfmInfo Class Reference

The AfmInfo class automate the downloading process of RgWsBasStoixEpitRtUser object for a given greek VATIN using the SOAP messages from the Greek GSIS Goventment web service. The downloaded object have fields with info about the given VATIN. AfmInfo also used as a wrapper that convert RgWsBasStoixEpitRtUser fields into Properties and provide better and safer access ways. Except the Properties, have Methods to get the original dowloaded object and a Dictionary with the Properties Names as dict. keys and their values as dict. values. More...

Public Member Functions

 AfmInfo (string afm)
 Default AfmInfo constructor
 
Dictionary< string, object > GetDictionary ()
 Returns a Dictionary with this class properties names as dict. keys and properties values as dict. values
 
RgWsBasStoixEpitRtUser GetRgWsBasStoixEpitRtUser ()
 Returns the original RgWsBasStoixEpitRtUser object as downloaded from Gsis Web Service
 

Properties

string Afm [get, set]
 Get the VATIN. If set a VATIN not equal with current, download data for the given VATIN.
 
string ActLongDescr [get]
 Activity Long Description
 
string AssTxpActualAfm [get]
 Replacement from previous active VATIN
 
string CommerTitle [get]
 Short commercial title
 
Nullable< decimal > CountOfBranches [get]
 Count of branches (headquarters not count)
 
string DeactivationFlag [get]
 If the VATIN is active or not ('1' means is active)
 
string DeactivationFlagDescr [get]
 Description of the deactiviccation flag ('ΕΝΕΡΓΟΣ ΑΦΜ' means is active)
 
string Doy [get]
 Tax office number
 
string DoyDescr [get]
 Tax office full name
 
Nullable< decimal > FacActivity [get]
 Main Activity Code
 
string FirmFax [get]
 Firm's fax number
 
string FirmFlagDescr [get]
 Firm's description flag ('ΕΠΙΤΗΔΕΥΜΑΤΙΑΣ' if is trader in action, 'ΠΡΩΗΝ ΕΠΙΤΗΔΕΥΜΑΤΙΑΣ' if is not in action anymore)
 
string FirmPhone [get]
 Firm's phone number
 
string INiFlagDescr [get]
 Flag to see if VATIN belongs to individual or corporation ('ΦΠ' for individual, 'ΜΗ ΦΠ' for corporation)
 
string LegalStatusDescr [get]
 Legal Status Description
 
string Onomasia [get]
 Firm's full name
 
string ParDescription [get]
 Firm's headquorters area
 
string PostalAddress [get]
 Firm's headquarters postal address
 
string PostalAddressNo [get]
 Firm's headquarters postal address number
 
string PostalZipCode [get]
 Firm's headquarters zip code
 
Nullable< DateTime > RegistDate [get]
 Registration Date (begining of the activity)
 
string ResidenceParDescription [get]
 Trader's area of residence
 
string ResidenceZipCode [get]
 Trader's residence zip code
 
Nullable< DateTime > StopDate [get]
 Stop Date of the Activity
 

Detailed Description

The AfmInfo class automate the downloading process of RgWsBasStoixEpitRtUser object for a given greek VATIN using the SOAP messages from the Greek GSIS Goventment web service. The downloaded object have fields with info about the given VATIN. AfmInfo also used as a wrapper that convert RgWsBasStoixEpitRtUser fields into Properties and provide better and safer access ways. Except the Properties, have Methods to get the original dowloaded object and a Dictionary with the Properties Names as dict. keys and their values as dict. values.

Constructor & Destructor Documentation

Multipetros.WebServices.AfmInfo.AfmInfo ( string  afm)

Default AfmInfo constructor

Parameters
afmA valid greek VATIN

Member Function Documentation

Dictionary<string, object> Multipetros.WebServices.AfmInfo.GetDictionary ( )

Returns a Dictionary with this class properties names as dict. keys and properties values as dict. values

Returns
The Properties as Dictionary<string, object>
RgWsBasStoixEpitRtUser Multipetros.WebServices.AfmInfo.GetRgWsBasStoixEpitRtUser ( )

Returns the original RgWsBasStoixEpitRtUser object as downloaded from Gsis Web Service

Returns
The RgWsBasStoixEpitRtUser object, as downloaded from Gsis Web Service

Property Documentation

string Multipetros.WebServices.AfmInfo.ActLongDescr
get

Activity Long Description

string Multipetros.WebServices.AfmInfo.Afm
getset

Get the VATIN. If set a VATIN not equal with current, download data for the given VATIN.

string Multipetros.WebServices.AfmInfo.AssTxpActualAfm
get

Replacement from previous active VATIN

string Multipetros.WebServices.AfmInfo.CommerTitle
get

Short commercial title

Nullable<decimal> Multipetros.WebServices.AfmInfo.CountOfBranches
get

Count of branches (headquarters not count)

string Multipetros.WebServices.AfmInfo.DeactivationFlag
get

If the VATIN is active or not ('1' means is active)

string Multipetros.WebServices.AfmInfo.DeactivationFlagDescr
get

Description of the deactiviccation flag ('ΕΝΕΡΓΟΣ ΑΦΜ' means is active)

string Multipetros.WebServices.AfmInfo.Doy
get

Tax office number

string Multipetros.WebServices.AfmInfo.DoyDescr
get

Tax office full name

Nullable<decimal> Multipetros.WebServices.AfmInfo.FacActivity
get

Main Activity Code

string Multipetros.WebServices.AfmInfo.FirmFax
get

Firm's fax number

string Multipetros.WebServices.AfmInfo.FirmFlagDescr
get

Firm's description flag ('ΕΠΙΤΗΔΕΥΜΑΤΙΑΣ' if is trader in action, 'ΠΡΩΗΝ ΕΠΙΤΗΔΕΥΜΑΤΙΑΣ' if is not in action anymore)

string Multipetros.WebServices.AfmInfo.FirmPhone
get

Firm's phone number

string Multipetros.WebServices.AfmInfo.INiFlagDescr
get

Flag to see if VATIN belongs to individual or corporation ('ΦΠ' for individual, 'ΜΗ ΦΠ' for corporation)

string Multipetros.WebServices.AfmInfo.LegalStatusDescr
get

Legal Status Description

string Multipetros.WebServices.AfmInfo.Onomasia
get

Firm's full name

string Multipetros.WebServices.AfmInfo.ParDescription
get

Firm's headquorters area

string Multipetros.WebServices.AfmInfo.PostalAddress
get

Firm's headquarters postal address

string Multipetros.WebServices.AfmInfo.PostalAddressNo
get

Firm's headquarters postal address number

string Multipetros.WebServices.AfmInfo.PostalZipCode
get

Firm's headquarters zip code

Nullable<DateTime> Multipetros.WebServices.AfmInfo.RegistDate
get

Registration Date (begining of the activity)

string Multipetros.WebServices.AfmInfo.ResidenceParDescription
get

Trader's area of residence

string Multipetros.WebServices.AfmInfo.ResidenceZipCode
get

Trader's residence zip code

Nullable<DateTime> Multipetros.WebServices.AfmInfo.StopDate
get

Stop Date of the Activity