Dynamicweb.eCommerce.Orders Namespace > Fee Class : Save Method |
private void SaveDefaultFeeData() { Fee feeSet = new Fee(); String reqLineID = Request("DFEE_LineID"); String reqFeeID = Base.ChkString(Request("DFEE_ID")); String reqFeeType = Base.ChkString(Request("DFEE_Type")); String reqFeeValue = Base.ChkString(Request("DFEE_Value")); feeSet.ID = reqFeeID; feeSet.Method = "PAY"; feeSet.MethodID = Base.ChkString(payId); feeSet.Type = CType(reqFeeType, Integer); feeSet.ValueAmount = Base.DoubleFromString(reqFeeValue); feeSet.Weight = -1; feeSet.Volume = -1; feeSet.Save(reqFeeID); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2