Class PlayerMarketTransaction.TransactionLineItem

java.lang.Object
com.fs.starfarer.api.campaign.PlayerMarketTransaction.TransactionLineItem
Enclosing class:
PlayerMarketTransaction

public static class PlayerMarketTransaction.TransactionLineItem extends Object
  • Constructor Details

  • Method Details

    • getDemandPrice

      public float getDemandPrice()
      Only set for an "UPDATE", which assumes that the price/tariff pair is for the supply prices.
      Returns:
    • setDemandPrice

      public void setDemandPrice(float price2)
    • getDemandTariff

      public float getDemandTariff()
    • setDemandTariff

      public void setDemandTariff(float demandTariff)
    • getTariff

      public float getTariff()
    • setTariff

      public void setTariff(float tariff)
    • getSubmarket

      public SubmarketAPI getSubmarket()
    • setSubmarket

      public void setSubmarket(SubmarketAPI submarket)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getItemType

    • setItemType

      public void setItemType(PlayerMarketTransaction.LineItemType itemType)
    • getCargoType

      public CargoAPI.CargoItemType getCargoType()
    • setCargoType

      public void setCargoType(CargoAPI.CargoItemType cargoType)
    • getQuantity

      public float getQuantity()
    • setQuantity

      public void setQuantity(float quantity)
    • getPrice

      public float getPrice()
    • setPrice

      public void setPrice(float price)
    • getTimestamp

      public long getTimestamp()
    • setTimestamp

      public void setTimestamp(long timestamp)