avatar

591

Default to 1 for snipe quantity, so we don't return null if we don't need to.

by mrs, 07 Aug, 2008 05:10 PM
517 591  
4242    * How many items are to be sniped on, when the snipe fires?
4343    * @return - The number of items to snipe for (only valid for multi-item auctions).
4444    */
45   public int getQuantity() { return getInteger("quantity"); }
45   public int getQuantity() { return getInteger("quantity", 1); }
4646   public long getDelta() { return getInteger("delta"); }
4747   public int getUserId() { return getInteger("user_id"); }
4848   public String getStatus() { return getString("status"); }