Example #1
0
 public async Task <ICollection <BillingoIdWrapper <InvoiceBlock> > > GetAvailableInvoiceBlocksAsync()
 {
     return(await api.GetJsonAsync <ICollection <BillingoIdWrapper <InvoiceBlock> > >($"/invoices/blocks"));
 }
Example #2
0
 public async Task <ICollection <BillingoIdWrapper <VAT> > > GetListAsync()
 {
     return(await api.GetJsonAsync <ICollection <BillingoIdWrapper <VAT> > >($"/vat"));
 }
 public async Task <CurrencyConverterValue> ConvertAsync(string from, string to, double value)
 {
     return(await api.GetJsonAsync <CurrencyConverterValue>($"/currency?from={from}&to={to}&value={value}"));
 }
 public async Task <ICollection <BillingoIdWrapper <Invoice> > > GetListAsync(int page = 1, int maxPerPage = 20)
 {
     return(await api.GetJsonAsync <ICollection <BillingoIdWrapper <Invoice> > >($"/invoices?page={page}&max_per_page={maxPerPage}"));
 }
 public async Task <ICollection <BillingoIdWrapper <PaymentMethod> > > GetListAsync(string langcode)
 {
     return(await api.GetJsonAsync <ICollection <BillingoIdWrapper <PaymentMethod> > >($"/payment_methods/{langcode}"));
 }