public static EFIDeposit CreateDeposit() { return(DepositBuilder.Build("**********", 25m) .SetTime(DateTime.Now) .SetAmount(25m) .SetUser("Marko Markovic", "**********")); }
private async void btnWithdrawDeposit_Click(object sender, EventArgs e) { var deposit = DepositBuilder.Build(TCR_CODE, -20m) .SetTime(DateTime.Now) .SetUser(USER_NAME, USER_CODE); await SendDeposit(deposit); }
private async void btnInitialDeposit_Click(object sender, EventArgs e) { var deposit = DepositBuilder.Build(TCR_CODE, 25m) .SetTime(DateTime.Now) .SetAmount(25m) .SetUser(USER_NAME, USER_CODE); await SendDeposit(deposit); }
public async Task <object> TestDeposit() { var service = new FiscalApiService(BASE_URL, TOKEN); var depositXML = DepositBuilder.Build("**********", 25m) //.SetTime(DateTime.Now) //.SetAmount(25m) .SetUser("Marko Markovic", "**********") .ToXMLModel(); return(await service.CreateDeposit(depositXML)); }