shippingDetailsCtx.put("salesTaxPercent", salesTaxPercent);
shippingDetailsCtx.put("salesTaxState", salesTaxState);
shippingDetailsCtx.put("shippingIncludedInTax", shippingIncludedInTax);
if (UtilValidate.isNotEmpty(order.getCheckoutStatus())) {
CheckoutStatusType checkoutStatus = order.getCheckoutStatus();
if (UtilValidate.isNotEmpty(checkoutStatus.getEBayPaymentStatus())) {
eBayPaymentStatus = checkoutStatus.getEBayPaymentStatus().value();
}
if (UtilValidate.isNotEmpty(checkoutStatus.getStatus())) {
status = checkoutStatus.getStatus().value();
}
if (UtilValidate.isNotEmpty(checkoutStatus.getPaymentMethod())) {
paymentMethod = checkoutStatus.getPaymentMethod().value();
}
}
checkoutStatusCtx.put("eBayPaymentStatus", eBayPaymentStatus);
checkoutStatusCtx.put("paymentMethodUsed", paymentMethod);
checkoutStatusCtx.put("completeStatus", status);