Class CurrencyEntity
Carrier object for CurrencyEntity. Services for the CurrencyEntity Carrier is available from the List Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class CurrencyEntity : Carrier
Examples
Get CurrencyEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var currencyEntity = agent.GetCurrencyEntity( 123 );
}
Constructors
CurrencyEntity()
Default constructor
Declaration
public CurrencyEntity()
See Also
Properties
CurrencyId
Primary key
Declaration
[DataMember]
public virtual int CurrencyId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
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
Name
The list item
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Rank
Rank order
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
short |
See Also
Rate
Exchange rate
Declaration
[DataMember]
public virtual double Rate { get; set; }
Property Value
Type | Description |
---|---|
double |
See Also
Tooltip
Tooltip or other description
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Units
Exchange unit scale (0.01, 0.1, 1, 10, 100 etc)
Declaration
[DataMember]
public virtual double Units { get; set; }
Property Value
Type | Description |
---|---|
double |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
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. |