public string ToHashable() { string HashValue = AlternateDestinationOwner.ToHashable(AlternateDestination); SelectedVouchers.ForEach(v => HashValue += v.ToHashable()); return(HashValue); }
public UpdateItemsByIdsRequest(int itemId, int amount, int location, AlternateDestinationOwner alternateDestination = null) { Orders = new List <UpdateOrderByID>() { new UpdateOrderByID(itemId, amount, location) }; AlternateDestination = alternateDestination; }
public string ToHashable() { string resluts = ""; Orders.ForEach(x => resluts += x.ToHashable()); resluts += AlternateDestinationOwner.ToHashable(AlternateDestination); return(resluts); }
public MoveItemsRequest(MoveOrder singleMoveOrder, AlternateDestinationOwner alternateDestination = null) { MoveOrders = new List <MoveOrder>() { singleMoveOrder }; AlternateDestination = alternateDestination; }
public string ToHashable() { string Results = ""; MoveOrders.ForEach(order => { Results += order.ToHashable(); }); Results += AlternateDestinationOwner.ToHashable(AlternateDestination); return(Results); }
public RedeemItemVouchersRequest(int voucherId, int itemId, int amount, int location = 0, AlternateDestinationOwner alternateDestination = null) { SelectedVouchers = new List <ItemVoucherSelection>() { new ItemVoucherSelection(voucherId, itemId, amount, location) }; AlternateDestination = alternateDestination; }
public static void UpdateItemByStackIds(string stackId, int amount, int location, Action<UpdatedStacksResponse> callback, AlternateDestinationOwner otherOwner = null) { List<UpdateItemsByStackIdRequest.UpdateOrderByStackId> orders = new List<UpdateItemsByStackIdRequest.UpdateOrderByStackId>(){ new UpdateItemsByStackIdRequest.UpdateOrderByStackId(){ stackId = stackId, amount = amount, location = location } }; CallHandler.Instance.UpdateItemByStackIds(orders, callback, otherOwner); }
public RedeemItemVouchersRequest(List <ItemVoucherSelection> selectedVouchers, AlternateDestinationOwner alternateDestination = null) { SelectedVouchers = selectedVouchers; AlternateDestination = alternateDestination; }
public void UpdateItemByStackIds(List<UpdateItemsByStackIdRequest.UpdateOrderByStackId> orders, Action<UpdatedStacksResponse> callback, AlternateDestinationOwner destinationOwner = null) { StartCoroutine(ServiceGetString(callObjectCreator.CreateUpdateItemByStackIdRequestCallObject(new UpdateItemsByStackIdRequest() { Orders = orders, AlternateDestination = destinationOwner }), x => { callback(responseCreator.CreateUpdatedStacksResponse(x)); })); }
public static string ToHashable(AlternateDestinationOwner value) { return value == null ? "" : value.ToHashable(); }
public MoveItemsRequest(MoveOrder singleMoveOrder, AlternateDestinationOwner alternateDestination = null) { MoveOrders = new List<MoveOrder>() { singleMoveOrder }; AlternateDestination = alternateDestination; }
public UpdateItemsByIdsRequest(List<UpdateOrderByID> orders, AlternateDestinationOwner alternateDestination = null) { Orders = orders; AlternateDestination = alternateDestination; }
public MoveItemsRequest(List <MoveOrder> moveOrders, AlternateDestinationOwner alternateDestination = null) { MoveOrders = moveOrders; AlternateDestination = alternateDestination; }
public RedeemItemVouchersRequest(int voucherId, int itemId, int amount, int location = 0, AlternateDestinationOwner alternateDestination = null) { SelectedVouchers = new List<ItemVoucherSelection>() { new ItemVoucherSelection(voucherId, itemId, amount, location) }; AlternateDestination = alternateDestination; }
public RedeemItemVouchersRequest(List<ItemVoucherSelection> selectedVouchers, AlternateDestinationOwner alternateDestination = null) { SelectedVouchers = selectedVouchers; AlternateDestination = alternateDestination; }
public UpdateItemsByIdsRequest(List <UpdateOrderByID> orders, AlternateDestinationOwner alternateDestination = null) { Orders = orders; AlternateDestination = alternateDestination; }
public UpdateItemsByIdsRequest(int itemId, int amount, int location, AlternateDestinationOwner alternateDestination = null) { Orders = new List<UpdateOrderByID>() { new UpdateOrderByID(itemId, amount, location) }; AlternateDestination = alternateDestination; }
public static void UpdateItemByStackIds(List<UpdateItemsByStackIdRequest.UpdateOrderByStackId> orders, Action<UpdatedStacksResponse> callback, AlternateDestinationOwner destinationOwner = null) { CallHandler.Instance.UpdateItemByStackIds(orders, callback, destinationOwner); }
public static string ToHashable(AlternateDestinationOwner value) { return(value == null ? "" : value.ToHashable()); }
public MoveItemsRequest(List<MoveOrder> moveOrders, AlternateDestinationOwner alternateDestination = null) { MoveOrders = moveOrders; AlternateDestination = alternateDestination; }