Class Supplier
Wraps a supplier.
Inherited Members
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 Supplier : HasCustomFieldValues
Constructors
Supplier(Int32)
Creates an supplier object intended to be used to update an supplier.
Declaration
public Supplier(int supplierId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | supplierId_ | Identifies an existing supplier. |
Supplier(String)
Creates an supplier object intended to be used to create a new supplier.
Declaration
public Supplier(string supplierName_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | supplierName_ | Name to use for the new supplier. |
Properties
Address
Supplier address.
Declaration
public Address Address { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
IsInactive
Indicates whether this supplier is Inactive.
Declaration
public bool IsInactive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Notes
Notes about the supplier.
Declaration
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SupplierId
Supplier id.
Declaration
public int SupplierId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SupplierName
Supplier name.
Declaration
public string SupplierName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TaxRate
Tax rate to be used for this supplier.
Declaration
public decimal? TaxRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
Methods
ToString()
Returns the supplier name.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | The supplier name. |
Overrides
System.Object.ToString()