}
private boolean isOrderLineCurrencyTheSame(OrderLineType orderLineType) {
LineItemType lineItemType = orderLineType.getLineItem();
LineExtensionAmountType lineExtensionAmount = lineItemType.getLineExtensionAmount();
// Check to see if the line extension prices all have the same value as the referenceCurrency
if (lineExtensionAmount != null) {
if (!referenceCurrency.equals(lineExtensionAmount.getCurrencyID())) {
this.errorCurrency = lineExtensionAmount.getCurrencyID();
return false;
}
}
// Check to see tax currencies are all the same as the ref. currency