/// <summary> /// /// </summary> /// <param name="salesItem"></param> /// <param name="action"></param> /// <typeparam name="T"></typeparam> /// <returns></returns> private T GetAcquireAction <T>( EzSalesItem salesItem, string action ) { var item = salesItem.AcquireActions.FirstOrDefault(acquireAction => acquireAction.Action == action); if (item == null) { return(default);
public EzBuyResult( BuyResult result ) { if (result.item != null) { Item = new EzSalesItem(result.item); } StampSheet = result.stampSheet; StampSheetEncryptionKeyId = result.stampSheetEncryptionKeyId; }
public SalesItem(string displayItemId, EzSalesItem item) { DisplayItemId = displayItemId; _item = item; }