Module CI

Class BuyStockHelper

java.lang.Object
com.shr4pnel.schemas.BuyStockHelper

public class BuyStockHelper extends Object
A schema, used to serialize JSON. This serializes GET requests which are used by the backdoor client when adding new items to the database.
Since:
v0.1.0
Author:
shrapnelnet
  • Field Details

    • pNum

      public String pNum
    • quantity

      public int quantity
  • Constructor Details

    • BuyStockHelper

      public BuyStockHelper(String pNum, int quantity)

      Constructor for BuyStockHelper.

      Parameters:
      pNum - a String object
      quantity - a int
  • Method Details

    • getpNum

      public String getpNum()

      Getter for the field pNum.

      Returns:
      a String object
    • setpNum

      public void setpNum(String pNum)

      Setter for the field pNum.

      Parameters:
      pNum - a String object
    • getQuantity

      public int getQuantity()

      Getter for the field quantity.

      Returns:
      a int
    • setQuantity

      public void setQuantity(int quantity)

      Setter for the field quantity.

      Parameters:
      quantity - a int