return false;
}
- final BonusCard other = (BonusCard) object;
+ final BonusCard bonusCard = (BonusCard) object;
- if (!Objects.equals(this.getBonusCardBarCode(), other.getBonusCardBarCode())) {
+ if (!Objects.equals(this.getBonusCardBarCode(), bonusCard.getBonusCardBarCode())) {
return false;
- } else if (!Objects.equals(this.getBonusCardContact(), other.getBonusCardContact())) {
+ } else if (!Objects.equals(this.getBonusCardContact(), bonusCard.getBonusCardContact())) {
return false;
- } else if (!Objects.equals(this.getBonusCardCustomer(), other.getBonusCardCustomer())) {
+ } else if (!Objects.equals(this.getBonusCardCustomer(), bonusCard.getBonusCardCustomer())) {
return false;
- } else if (!Objects.equals(this.getBonusCardId(), other.getBonusCardId())) {
+ } else if (!Objects.equals(this.getBonusCardId(), bonusCard.getBonusCardId())) {
return false;
- } else if (!Objects.equals(this.getBonusCardIssuer(), other.getBonusCardIssuer())) {
+ } else if (!Objects.equals(this.getBonusCardIssuer(), bonusCard.getBonusCardIssuer())) {
return false;
- } else if (!Objects.equals(this.getBonusCardNumber(), other.getBonusCardNumber())) {
+ } else if (!Objects.equals(this.getBonusCardNumber(), bonusCard.getBonusCardNumber())) {
return false;
- } else if (!Objects.equals(this.getBonusCardPartner(), other.getBonusCardPartner())) {
+ } else if (!Objects.equals(this.getBonusCardPartner(), bonusCard.getBonusCardPartner())) {
return false;
}