1 4 package com.nightlabs.ipanema.accounting; 5 6 import com.nightlabs.ipanema.trade.OfferItem; 7 8 22 public class AccountingPriceConfig extends PriceConfig 23 { 24 25 protected AccountingPriceConfig() 26 { 27 } 28 29 33 public AccountingPriceConfig(String organisationID, long priceConfigID) 34 { 35 super(organisationID, priceConfigID); 36 } 37 38 41 public Price getPrice(OfferItem offerItem) 42 { 43 throw new UnsupportedOperationException ("This pseudo PriceConfig is not intended to be used in this context!"); 44 } 45 46 49 public boolean isDependentOnOffer() 50 { 51 return false; 52 } 53 54 57 public boolean isDependentOnProductPackage() 58 { 59 return false; 60 } 61 62 } 63 | Popular Tags |