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.

Declaration
NSQuoteVersionValidated

Methods

GetChangedQuote()

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

Declaration
NSQuote GetChangedQuote()
Returns
Type Description
NSQuote

The validated version is a member of NSQuote.

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

GetChangedQuoteAlternatives()

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

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

The changed QuoteAlternatives.

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

GetChangedQuoteVersion()

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

Declaration
NSQuoteVersion GetChangedQuoteVersion()
Returns
Type Description
NSQuoteVersion

The validated NSQuoteVersion.

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

GetChangedSale()

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

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()

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

Declaration
String GetErrorCode()
Returns
Type Description
String

An error code, if available.

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

GetIsOk()

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

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()

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

Declaration
String GetTechExplanation()
Returns
Type Description
String

Always in English.

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

GetUserExplanation()

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

Declaration
String GetUserExplanation()
Returns
Type Description
String

A localized explanation to the answer.

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

SetChangedQuote(NSQuote)

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

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[])

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top