ProvPrimer.companyActivation Method

The first step is to activate the company of the issuer. This method activates the company and stores the data that the user inputs.
Public Function companyActivation( _ 
ByVal company As company
) As Boolean
This language is not supported or no code example is available.
public bool companyActivation( 
company company 
)
This language is not supported or no code example is available.

Parameters

company
company

The company data, type of company

Return Value

bool

True if company is activated 
False if the company is not activated

Example
 
 var pri = new ProvPrimer("primerUser", "primerParssowrd", false);
 ProvPrimer.company comp = pri.newCompany;
 ProvPrimer.Branch branch = pri.newBranch;
 branch.branchID = "123";
 branch.phoneNumber = "2102222222";
 branch.street = "ΝΕΑ ΟΔΟΣ";
 branch.streetNo = "57";
 branch.zipCode = "12345";
 branch.city = "ΑΘΗΝΑ";
 branch.doy = "ΙΖ' ΑΘΗΝΩΝ";
 
 comp.companyName = "Test Company S.A.";
 comp.smallName = "Electoservice";
 comp.email = "info@arbitrans.gr";
 comp.address = "New Street 57";
 comp.city = "Athens";
 comp.zipCode = "12345";
 comp.job = "Online Services and Software Sales";
 comp.vatNumber = "555777001";
 comp.doy = "IZ Athens";
 comp.phoneNumber = "2101111111";
 comp.gemiNumber = "1111111111";
 comp.representativeFirstName = "Paparopoulos";
 comp.representativeLastName = "K.";
 comp.representativeVatNumber = "555777002";
 comp.branches.Add(branch);
 
 bool result = pri.companyActivation(comp);
 					
This language is not supported or no code example is available.
 Dim pri As ProvPrimer = New ProvPrimer("primerUser", "primerParssowrd", False)
 Dim comp As ProvPrimer.company = pri.newCompany
 Dim branch As ProvPrimer.Branch = pri.newBranch
 branch.branchID = "123"
 branch.phoneNumber = "2102222222"
 branch.street = "ΝΕΑ ΟΔΟΣ"
 branch.streetNo = "57"
 branch.zipCode = "12345"
 branch.city = "ΑΘΗΝΑ"
 branch.doy = "ΙΖ' ΑΘΗΝΩΝ"
 
 comp.companyName = "Test Company S.A."
 comp.smallName = "Electoservice"
 comp.email = "info@arbitrans.gr"
 comp.address = "New Street 57"
 comp.city = "Athens"
 comp.zipCode = "12345"
 comp.job = "Online Services and Software Sales"
 comp.vatNumber = "555777001"
 comp.doy = "IZ Athens"
 comp.phoneNumber = "2101111111"
 comp.gemiNumber = "1111111111"
 comp.representativeFirstName = "Paparopoulos"
 comp.representativeLastName = "K."
 comp.representativeVatNumber = "555777002"
 comp.branches.Add(branch)
 
 Dim result As Boolean = pri.companyActivation(comp)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition