/// <summary> /// WAON の残高を取得します。 /// </summary> /// <returns>WAON の残高。</returns> public static int GetWaonBalance() { var data = FelicaUtility.ReadWithoutEncryption(FelicaSystemCode.Waon, FelicaServiceCode.WaonBalance, 0); var item = new WaonBalanceItem(data); return(item.Balance); }
/// <summary> /// WAON の残高を取得します。 /// </summary> /// <returns>WAON の残高。</returns> public static int GetWaonBalance() { var data = FelicaUtility.ReadWithoutEncryption(FelicaSystemCode.Waon, FelicaServiceCode.WaonBalance, 0); var item = new WaonBalanceItem(data); return item.Balance; }