Class AccountPriceList
Describes a price list attached to an account.
Inheritance
System.Object
AccountPriceList
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class AccountPriceList
Constructors
AccountPriceList(Int32, Int32)
Creates an account price list object for use updating or creating an account price list.
Declaration
public AccountPriceList(int accountId_, int priceListId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | accountId_ | Account to which the price list is attached. |
| System.Int32 | priceListId_ | Globally defined price list. |
Remarks
(The PriceList and AccountName properties will not be set in this case.)
Properties
AccountId
Account with which the price list is associated.
Declaration
public int AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
AccountName
Name of the account with which the price list is associated.
Declaration
public string AccountName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DiscountPercent
Discount used for this account.
Declaration
public decimal? DiscountPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
IsInactive
Indicates whether the price list has been marked inactive.
Declaration
public bool IsInactive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PriceList
The global price list.
Declaration
public PriceList PriceList { get; }
Property Value
| Type | Description |
|---|---|
| PriceList |
TaxPercent
Tax rate used for this account.
Declaration
public decimal? TaxPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |