Show / Hide Table of Contents

Class Credited

Carrier object for Credited. Services for the Credited Carrier is available from the IListAgent.

Inheritance
Object
Credited
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Credited : Carrier
Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }

Constructors

Credited()

Default constructor

Declaration
public Credited()
Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
IListAgent

Properties

Id

The List Item Id

Declaration
public int Id { get; set; }
Property Value
Type Description
Int32
Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
IListAgent

Tooltip

The List Item Tooltip

Declaration
public string Tooltip { get; set; }
Property Value
Type Description
String
Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
IListAgent

Value

The List Item Value

Declaration
public string Value { get; set; }
Property Value
Type Description
String
Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
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.

Examples

Get Credited 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new ListAgent();
    var credited = agent.GetCredited( 123 );
 }
See Also
ListAgent
IListAgent

See Also

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