}
return secureURLPrefix;
}
public static SiteDomainParamBean getSiteDomainParamBean(SiteDomainLanguage master, SiteDomainLanguage siteDomainLanguage) throws Exception {
SiteDomainParamBean masterBean = (SiteDomainParamBean) Utility.joxUnMarshall(SiteDomainParamBean.class, master.getSiteDomainParam());
SiteDomainParamBean siteDomainParamBean = null;
if (siteDomainLanguage == null) {
siteDomainParamBean = new SiteDomainParamBean();
}
else {
siteDomainParamBean = (SiteDomainParamBean) Utility.joxUnMarshall(SiteDomainParamBean.class, siteDomainLanguage.getSiteDomainParam());
}
if (siteDomainParamBean.getCheckoutNotificationEmail() == null) {
siteDomainParamBean.setCheckoutNotificationEmail(masterBean.getCheckoutNotificationEmail());
}
if (siteDomainParamBean.getCheckoutShoppingCartMessage() == null) {
siteDomainParamBean.setCheckoutShoppingCartMessage(masterBean.getCheckoutShoppingCartMessage());
}
if (siteDomainParamBean.getTemplateFooter() == null) {
siteDomainParamBean.setTemplateFooter(masterBean.getTemplateFooter());
}
if (siteDomainParamBean.getPaymentPaypalApiUsername() == null) {
siteDomainParamBean.setPaymentPaypalApiUsername(masterBean.getPaymentPaypalApiUsername());
}
if (siteDomainParamBean.getPaymentPaypalApiPassword() == null) {
siteDomainParamBean.setPaymentPaypalApiPassword(masterBean.getPaymentPaypalApiPassword());
}
if (siteDomainParamBean.getPaymentPaypalSignature() == null) {
siteDomainParamBean.setPaymentPaypalSignature(masterBean.getPaymentPaypalSignature());
}
if (siteDomainParamBean.getPaymentPaypalEnvironment() == null) {
siteDomainParamBean.setPaymentPaypalEnvironment(masterBean.getPaymentPaypalEnvironment());
}
if (siteDomainParamBean.getPaymentPaypalExtraAmount() == null) {
siteDomainParamBean.setPaymentPaypalExtraAmount(masterBean.getPaymentPaypalExtraAmount());
}
if (siteDomainParamBean.getPaymentPaypalExtraPercentage() == null) {
siteDomainParamBean.setPaymentPaypalExtraPercentage(masterBean.getPaymentPaypalExtraPercentage());
}
if (siteDomainParamBean.getPaymentPaypalCustClassId() == null) {
siteDomainParamBean.setPaymentPaypalCustClassId(masterBean.getPaymentPaypalCustClassId());
}
if (siteDomainParamBean.getPaymentProcessType() == null) {
siteDomainParamBean.setPaymentProcessType(masterBean.getPaymentProcessType());
}
if (siteDomainParamBean.getCategoryPageSize() == null) {
siteDomainParamBean.setCategoryPageSize(masterBean.getCategoryPageSize());
}
if (siteDomainParamBean.getBusinessContactName() == null) {
siteDomainParamBean.setBusinessContactName(masterBean.getBusinessContactName());
}
if (siteDomainParamBean.getBusinessCompany() == null) {
siteDomainParamBean.setBusinessCompany(masterBean.getBusinessCompany());
}
if (siteDomainParamBean.getBusinessAddress1() == null) {
siteDomainParamBean.setBusinessAddress1(masterBean.getBusinessAddress1());
}
if (siteDomainParamBean.getBusinessAddress2() == null) {
siteDomainParamBean.setBusinessAddress2(masterBean.getBusinessAddress2());
}
if (siteDomainParamBean.getBusinessCity() == null) {
siteDomainParamBean.setBusinessCity(masterBean.getBusinessCity());
}
if (siteDomainParamBean.getBusinessStateCode() == null) {
siteDomainParamBean.setBusinessStateCode(masterBean.getBusinessStateCode());
}
if (siteDomainParamBean.getBusinessPostalCode() == null) {
siteDomainParamBean.setBusinessPostalCode(masterBean.getBusinessPostalCode());
}
if (siteDomainParamBean.getBusinessCountryCode() == null) {
siteDomainParamBean.setBusinessCountryCode(masterBean.getBusinessCountryCode());
}
if (siteDomainParamBean.getBusinessPhone() == null) {
siteDomainParamBean.setBusinessPhone(masterBean.getBusinessPhone());
}
if (siteDomainParamBean.getBusinessFax() == null) {
siteDomainParamBean.setBusinessFax(masterBean.getBusinessFax());
}
if (siteDomainParamBean.getBusinessEmail() == null) {
siteDomainParamBean.setBusinessEmail(masterBean.getBusinessEmail());
}
if (siteDomainParamBean.getMailFromPwdReset() == null) {
siteDomainParamBean.setMailFromPwdReset(masterBean.getMailFromPwdReset());
}
if (siteDomainParamBean.getSubjectPwdReset() == null) {
siteDomainParamBean.setSubjectPwdReset(masterBean.getSubjectPwdReset());
}
if (siteDomainParamBean.getMailFromCustSales() == null) {
siteDomainParamBean.setMailFromCustSales(masterBean.getMailFromCustSales());
}
if (siteDomainParamBean.getSubjectCustSales() == null) {
siteDomainParamBean.setSubjectCustSales(masterBean.getSubjectCustSales());
}
if (siteDomainParamBean.getMailFromNotification() == null) {
siteDomainParamBean.setMailFromNotification(masterBean.getMailFromNotification());
}
if (siteDomainParamBean.getSubjectNotification() == null) {
siteDomainParamBean.setSubjectNotification(masterBean.getSubjectNotification());
}
return siteDomainParamBean;
}