if (!this.isShippingAddressRequired()) {
addErrorIfStringEmpty(errors, "FAKE (!) credit card number required.", order.getCreditCard());
addErrorIfStringEmpty(errors, "Expiry date is required.", order.getExpiryDate());
addErrorIfStringEmpty(errors, "Card type is required.", order.getCardType());
addErrorIfStringEmpty(errors, "Shipping Info: first name is required.", order.getShipToFirstName());
addErrorIfStringEmpty(errors, "Shipping Info: last name is required.", order.getShipToLastName());
addErrorIfStringEmpty(errors, "Shipping Info: address is required.", order.getShipAddress1());
addErrorIfStringEmpty(errors, "Shipping Info: city is required.", order.getShipCity());
addErrorIfStringEmpty(errors, "Shipping Info: state is required.", order.getShipState());
addErrorIfStringEmpty(errors, "Shipping Info: zip/postal code is required.", order.getShipZip());
addErrorIfStringEmpty(errors, "Shipping Info: country is required.", order.getShipCountry());
addErrorIfStringEmpty(errors, "Billing Info: first name is required.", order.getBillToFirstName());
addErrorIfStringEmpty(errors, "Billing Info: last name is required.", order.getBillToLastName());
addErrorIfStringEmpty(errors, "Billing Info: address is required.", order.getBillAddress1());
addErrorIfStringEmpty(errors, "Billing Info: city is required.", order.getBillCity());
addErrorIfStringEmpty(errors, "Billing Info: state is required.", order.getBillState());
addErrorIfStringEmpty(errors, "Billing Info: zip/postal code is required.", order.getBillZip());
addErrorIfStringEmpty(errors, "Billing Info: country is required.", order.getBillCountry());
}
if (errors.size() > 0) {
order.setBillAddress1(order.getShipAddress1());
order.setBillAddress2(order.getShipAddress2());
order.setBillToFirstName(order.getShipToFirstName());
order.setBillToLastName(order.getShipToLastName());
order.setBillCity(order.getShipCity());
order.setBillCountry(order.getShipCountry());
order.setBillState(order.getShipState());
order.setBillZip(order.getShipZip());
}