Class AmountClassEntity
Carrier object for AmountClassEntity. Services for the AmountClassEntity Carrier is available from the IListAgent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class AmountClassEntity : Carrier
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
Constructors
AmountClassEntity()
Default constructor
Declaration
public AmountClassEntity()
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Properties
AmountClassId
Primary key
Declaration
public virtual int AmountClassId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
AmountFrom
Lower limit of this amount class
Declaration
public virtual double AmountFrom { get; set; }
Property Value
Type | Description |
---|---|
Double |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
AmountTo
Upper limit of this amount class
Declaration
public virtual double AmountTo { get; set; }
Property Value
Type | Description |
---|---|
Double |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
CurrencyId
Currency the limits in this amount class refer to. Mixing currencies between classes can give rise to overlapping intervals and thus unpredictable classifications.
Declaration
public virtual int CurrencyId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Deleted
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
Declaration
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Name
The list item
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Rank
Rank order
Declaration
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
Int16 |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Tooltip
Tooltip or other description
Declaration
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get AmountClassEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var amountClassEntity = agent.GetAmountClassEntity( 123 );
}