Пример #1
0
        /// <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);
        }
Пример #2
0
 /// <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;
 }