private CurrencyCodeContentType referenceCurrency;
private CurrencyCodeContentType errorCurrency;
public boolean isRespected(OrderType orderType) {
DocumentCurrencyCodeType documentCurrencyCodeType =
orderType.getDocumentCurrencyCode();
// Initialize the ref. currency based on the order document currency code
if (documentCurrencyCodeType != null) {
this.referenceCurrency = CurrencyCodeContentType.valueOf(documentCurrencyCodeType.getValue());
}
List<OrderLineType> orderLineTypes = orderType.getOrderLine();
if (!orderLineTypes.isEmpty()) {
for (OrderLineType orderLineType : orderLineTypes) {