/// <summary> /// Gets a list of transfer tokens associated with a member. /// </summary> /// <param name="member">member</param> /// <returns>paged list of transfer tokens</returns> public static PagedList <Token> GetTransferTokens(UserMember member) { // last 10 tokens and offset that can be used to get the next 10 PagedList <Token> pagedList = member.GetTransferTokensBlocking("", 10); return(pagedList); }
/// <summary> /// Illustrate Member.getTransferTokens /// </summary> /// <param name="payer">payer Token member</param> public static void GetTransferTokensSample( UserMember payer) { foreach (Token token in payer.GetTransferTokensBlocking(null, 10).List) { TransferBody transferBody = token.Payload.Transfer; DisplayTransferToken( transferBody.Currency, transferBody.LifetimeAmount); } }