ProvPrimer Class
Read more about using a third-party provider here.
Name | Description | |
---|---|---|
ProvPrimer(string, string, string, string, bool) | It creates a new instance of the ProvPrimer. |
Name | Description | |
---|---|---|
SendInvoice(invoice, primerData, extraPrimer) | Use this function to send invoices to myDATA through Primer Invoicing Provider | |
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. | |
getPOSSignature(invoice, string) |
Get the POS signature to create a new POS Sale. The results of this method will be used at VivaWalletPOS.newSale. |
|
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". |
|
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. | |
newBranch() | Initialize a new Branch object. | |
newCompany() | Initialize a new company object. | |
productActivation(string) | You can use this method to activate a Primer Service. | |
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) | |
uploadLogo(string) | Use this method to upload the logo of the company. |
Name | Description | |
---|---|---|
Branch |
The branch object, in order to create a company.branches list of branches. |
|
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. |
|
extraPrimer | The extra details of the invoice requested only from Primer Invoicing Provider. |
ArbitransMyData.Providers.ProvPrimer