Show / Hide Table of Contents

Class AmountClassEntity

Carrier object for AmountClassEntity. Services for the AmountClassEntity Carrier is available from the List Agent.

Inheritance
object
AmountClassEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
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()
See Also
IListAgent

Properties

AmountClassId

Primary key

Declaration
[DataMember]
public virtual int AmountClassId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

AmountFrom

Lower limit of this amount class

Declaration
[DataMember]
public virtual double AmountFrom { get; set; }
Property Value
Type Description
double
See Also
IListAgent

AmountTo

Upper limit of this amount class

Declaration
[DataMember]
public virtual double AmountTo { get; set; }
Property Value
Type Description
double
See Also
IListAgent

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
[DataMember]
public virtual int CurrencyId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

Name

The list item

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Rank

Rank order

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IListAgent

Tooltip

Tooltip or other description

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

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.

See Also
IListAgent

See Also

IListAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top