ProvPrimer Class

With this class, you can send Invoices to PRIMER Invoicing Provider. 
Read more about using a third-party provider here.
Public Class ProvPrimer
This language is not supported or no code example is available.
public class ProvPrimer
This language is not supported or no code example is available.
Name Description
Public constructor ProvPrimer(string, string, string, string, bool) It creates a new instance of the ProvPrimer.
Top
Methods
 
Name Description
Public method SendInvoice(invoice, primerData, extraPrimer) Use this function to send invoices to myDATA through Primer Invoicing Provider
Public method companyActivation(company) 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 method getPOSSignature(invoice, string) Get the POS signature to create a new POS Sale. 
The results of this method will be used at VivaWalletPOS.newSale.
Public method getQRImage(int) Returns an object-type image, ready to be embedded on your invoice document. 
In the Trial Version, this function returns a QR leading to the url "https://www.arbitrans.gr".
Public method getQRUrl() Returns the validation URL of the Invoicing Provider. Use this URL to generate a QR Code on your own, or use the getQRImage method to export an object-type image of the QR.
Public method newBranch() Initialize a new Branch object.
Public method newCompany() Initialize a new company object.
Public method productActivation(string) You can use this method to activate a Primer Service.
Public method productActivation(string, bool) You can use this method as many times as you want to get updated data about the user and the company data (start date, expiry date, remaining invoices)
Public method uploadLogo(string) Use this method to upload the logo of the company.
Top
Name Description
Public structure Branch The branch object, in order to create a company.branches list of branches. 
Public structure company Use this structure in companyActivation in order to activate the company to Primer's Systems. 
It contains all the necessary information of the company.
Public structure extraPrimer The extra details of the invoice requested only from Primer Invoicing Provider.
Top
ArbitransMyData.Providers.ProvPrimer

.NET Framework

Supported in: 3.5 or newer

In this article

Definition