Class NSQuoteVersionValidated

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

Constructors

NSQuoteVersionValidated()

Initializes a new instance of the NSQuoteVersionValidated class.

Declaration

NSQuoteVersionValidated

Methods

GetChangedQuote()

Declaration

NSQuote GetChangedQuote()

Examples

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

Returns

Type Description
NSQuote The validated version is a member of NSQuote.

GetChangedQuoteAlternatives()

Declaration

NSQuoteAlternativeRecalculated[] GetChangedQuoteAlternatives()

Examples

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

Returns

Type Description
NSQuoteAlternativeRecalculated[] The changed QuoteAlternatives.

GetChangedQuoteVersion()

Declaration

NSQuoteVersion GetChangedQuoteVersion()

Examples

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

Returns

Type Description
NSQuoteVersion The validated NSQuoteVersion.

GetChangedSale()

Declaration

NSSale GetChangedSale()

Examples

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

Returns

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

GetErrorCode()

Declaration

String GetErrorCode()

Examples

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

Returns

Type Description
String An error code, if available.

GetIsOk()

Declaration

Bool GetIsOk()

Examples

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

Returns

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

GetTechExplanation()

Declaration

String GetTechExplanation()

Examples

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

Returns

Type Description
String Always in English.

GetUserExplanation()

Declaration

String GetUserExplanation()

Examples

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

Returns

Type Description
String A localized explanation to the answer.

SetChangedQuote(NSQuote)

Declaration

Void SetChangedQuote(NSQuote changedQuote)

Examples

NSQuoteVersionValidated thing;
NSQuote changedQuote;
thing.SetChangedQuote(changedQuote);

Parameters

Type Name Description
NSQuote changedQuote The validated version is a member of NSQuote.

Returns

Type Description
Void

SetChangedQuoteAlternatives(NSQuoteAlternativeRecalculated[])

Declaration

Void SetChangedQuoteAlternatives(NSQuoteAlternativeRecalculated[] changedQuoteAlternatives)

Examples

NSQuoteVersionValidated thing;
NSQuoteAlternativeRecalculated[] changedQuoteAlternatives;
thing.SetChangedQuoteAlternatives(changedQuoteAlternatives);

Parameters

Type Name Description
NSQuoteAlternativeRecalculated[] changedQuoteAlternatives The changed QuoteAlternatives.

Returns

Type Description
Void

SetChangedQuoteVersion(NSQuoteVersion)

Declaration

Void SetChangedQuoteVersion(NSQuoteVersion changedQuoteVersion)

Examples

NSQuoteVersionValidated thing;
NSQuoteVersion changedQuoteVersion;
thing.SetChangedQuoteVersion(changedQuoteVersion);

Parameters

Type Name Description
NSQuoteVersion changedQuoteVersion The validated NSQuoteVersion.

Returns

Type Description
Void

SetChangedSale(NSSale)

Declaration

Void SetChangedSale(NSSale changedSale)

Examples

NSQuoteVersionValidated thing;
NSSale changedSale;
thing.SetChangedSale(changedSale);

Parameters

Type Name Description
NSSale changedSale If the sale has been changed, the carrier will be added.

Returns

Type Description
Void

SetErrorCode(String)

Declaration

Void SetErrorCode(String errorCode)

Examples

NSQuoteVersionValidated thing;
String errorCode;
thing.SetErrorCode(errorCode);

Parameters

Type Name Description
String errorCode An error code, if available.

Returns

Type Description
Void

SetIsOk(Bool)

Declaration

Void SetIsOk(Bool isOk)

Examples

NSQuoteVersionValidated thing;
Bool isOk;
thing.SetIsOk(isOk);

Parameters

Type Name Description
Bool isOk Answer to the question / An indication if the operation went well.

Returns

Type Description
Void

SetTechExplanation(String)

Declaration

Void SetTechExplanation(String techExplanation)

Examples

NSQuoteVersionValidated thing;
String techExplanation;
thing.SetTechExplanation(techExplanation);

Parameters

Type Name Description
String techExplanation Always in English.

Returns

Type Description
Void

SetUserExplanation(String)

Declaration

Void SetUserExplanation(String userExplanation)

Examples

NSQuoteVersionValidated thing;
String userExplanation;
thing.SetUserExplanation(userExplanation);

Parameters

Type Name Description
String userExplanation A localized explanation to the answer.

Returns

Type Description
Void