Show / Hide Table of Contents

Class NSQuoteVersionValidated

The QuoteVersionValidated is returned after a call to ValidateQuoteAlternative. It contains flags indicating changes to quote, quoteversion/quotealternative and quotelines.

Syntax

Constructors

NSQuoteVersionValidated()

Initializes a new instance of the NSQuoteVersionValidated class.

Introduced or updated in version: 7.5

Declaration
NSQuoteVersionValidated

Methods

GetChangedQuote()

Introduced or updated in version: 7.5

Declaration
NSQuote GetChangedQuote()
Returns
Type Description
NSQuote

The validated version is a member of NSQuote.

Examples
NSQuoteVersionValidated thing;
NSQuote changedQuote = thing.GetChangedQuote();

GetChangedQuoteAlternatives()

Introduced or updated in version: 7.5

Declaration
NSQuoteAlternativeRecalculated[] GetChangedQuoteAlternatives()
Returns
Type Description
NSQuoteAlternativeRecalculated[]

The changed QuoteAlternatives.

Examples
NSQuoteVersionValidated thing;
NSQuoteAlternativeRecalculated[] changedQuoteAlternatives = thing.GetChangedQuoteAlternatives();

GetChangedQuoteVersion()

Introduced or updated in version: 7.5

Declaration
NSQuoteVersion GetChangedQuoteVersion()
Returns
Type Description
NSQuoteVersion

The validated NSQuoteVersion.

Examples
NSQuoteVersionValidated thing;
NSQuoteVersion changedQuoteVersion = thing.GetChangedQuoteVersion();

GetChangedSale()

Introduced or updated in version: 7.5

Declaration
NSSale GetChangedSale()
Returns
Type Description
NSSale

If the sale has been changed, the carrier will be added.

Examples
NSQuoteVersionValidated thing;
NSSale changedSale = thing.GetChangedSale();

GetErrorCode()

Introduced or updated in version: 7.5

Declaration
String GetErrorCode()
Returns
Type Description
String

An error code, if available.

Examples
NSQuoteVersionValidated thing;
String errorCode = thing.GetErrorCode();

GetIsOk()

Introduced or updated in version: 7.5

Declaration
Bool GetIsOk()
Returns
Type Description
Bool

Answer to the question / An indication if the operation went well.

Examples
NSQuoteVersionValidated thing;
Bool isOk = thing.GetIsOk();

GetTechExplanation()

Introduced or updated in version: 7.5

Declaration
String GetTechExplanation()
Returns
Type Description
String

Always in English.

Examples
NSQuoteVersionValidated thing;
String techExplanation = thing.GetTechExplanation();

GetUserExplanation()

Introduced or updated in version: 7.5

Declaration
String GetUserExplanation()
Returns
Type Description
String

A localized explanation to the answer.

Examples
NSQuoteVersionValidated thing;
String userExplanation = thing.GetUserExplanation();

SetChangedQuote(NSQuote)

Introduced or updated in version: 7.5

Declaration
Void SetChangedQuote(NSQuote changedQuote)
Parameters
Type Name Description
NSQuote changedQuote

The validated version is a member of NSQuote.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
NSQuote changedQuote;
thing.SetChangedQuote(changedQuote);

SetChangedQuoteAlternatives(NSQuoteAlternativeRecalculated[])

Introduced or updated in version: 7.5

Declaration
Void SetChangedQuoteAlternatives(NSQuoteAlternativeRecalculated[] changedQuoteAlternatives)
Parameters
Type Name Description
NSQuoteAlternativeRecalculated[] changedQuoteAlternatives

The changed QuoteAlternatives.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
NSQuoteAlternativeRecalculated[] changedQuoteAlternatives;
thing.SetChangedQuoteAlternatives(changedQuoteAlternatives);

SetChangedQuoteVersion(NSQuoteVersion)

Introduced or updated in version: 7.5

Declaration
Void SetChangedQuoteVersion(NSQuoteVersion changedQuoteVersion)
Parameters
Type Name Description
NSQuoteVersion changedQuoteVersion

The validated NSQuoteVersion.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
NSQuoteVersion changedQuoteVersion;
thing.SetChangedQuoteVersion(changedQuoteVersion);

SetChangedSale(NSSale)

Introduced or updated in version: 7.5

Declaration
Void SetChangedSale(NSSale changedSale)
Parameters
Type Name Description
NSSale changedSale

If the sale has been changed, the carrier will be added.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
NSSale changedSale;
thing.SetChangedSale(changedSale);

SetErrorCode(String)

Introduced or updated in version: 7.5

Declaration
Void SetErrorCode(String errorCode)
Parameters
Type Name Description
String errorCode

An error code, if available.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
String errorCode;
thing.SetErrorCode(errorCode);

SetIsOk(Bool)

Introduced or updated in version: 7.5

Declaration
Void SetIsOk(Bool isOk)
Parameters
Type Name Description
Bool isOk

Answer to the question / An indication if the operation went well.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
Bool isOk;
thing.SetIsOk(isOk);

SetTechExplanation(String)

Introduced or updated in version: 7.5

Declaration
Void SetTechExplanation(String techExplanation)
Parameters
Type Name Description
String techExplanation

Always in English.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
String techExplanation;
thing.SetTechExplanation(techExplanation);

SetUserExplanation(String)

Introduced or updated in version: 7.5

Declaration
Void SetUserExplanation(String userExplanation)
Parameters
Type Name Description
String userExplanation

A localized explanation to the answer.

Returns
Type Description
Void
Examples
NSQuoteVersionValidated thing;
String userExplanation;
thing.SetUserExplanation(userExplanation);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top