private static string CreateTabAndGetUuid() { var createTabMap = new Dictionary <string, object> { { TabUsageSingle.FIELD_DESCRIPTION, TAB_FIELD_DESCRIPTION }, { TabUsageSingle.FIELD_STATUS, FIELD_STATUS_OPEN }, { TabUsageSingle.FIELD_AMOUNT_TOTAL, new Amount(AMOUNT_EUR, FIELD_CURRENCY) } }; return(TabUsageSingle.Create(API_CONTEXT, createTabMap, USER_ID, MONETARY_ACCOUNT_ID, CASH_REGISTER_ID).Value); }
private static string CreateTabAndGetUuid() { return(TabUsageSingle.Create(CASH_REGISTER_ID, TAB_DESCRIPTION, STATUS_OPEN, new Amount(AMOUNT_EUR, FIELD_CURRENCY)).Value); }