@Override
 public int hashCode() {
   int result = accountId != null ? accountId.hashCode() : 0;
   result = 31 * result + (bundleId != null ? bundleId.hashCode() : 0);
   result = 31 * result + (subscriptionId != null ? subscriptionId.hashCode() : 0);
   result = 31 * result + (externalKey != null ? externalKey.hashCode() : 0);
   result = 31 * result + (startDate != null ? startDate.hashCode() : 0);
   result = 31 * result + (productName != null ? productName.hashCode() : 0);
   result = 31 * result + (productCategory != null ? productCategory.hashCode() : 0);
   result = 31 * result + (billingPeriod != null ? billingPeriod.hashCode() : 0);
   result = 31 * result + (phaseType != null ? phaseType.hashCode() : 0);
   result = 31 * result + (priceList != null ? priceList.hashCode() : 0);
   result = 31 * result + (planName != null ? planName.hashCode() : 0);
   result = 31 * result + (state != null ? state.hashCode() : 0);
   result = 31 * result + (sourceType != null ? sourceType.hashCode() : 0);
   result = 31 * result + (cancelledDate != null ? cancelledDate.hashCode() : 0);
   result = 31 * result + (chargedThroughDate != null ? chargedThroughDate.hashCode() : 0);
   result = 31 * result + (billingStartDate != null ? billingStartDate.hashCode() : 0);
   result = 31 * result + (billingEndDate != null ? billingEndDate.hashCode() : 0);
   result = 31 * result + (billCycleDayLocal != null ? billCycleDayLocal.hashCode() : 0);
   result = 31 * result + (events != null ? events.hashCode() : 0);
   result = 31 * result + (priceOverrides != null ? priceOverrides.hashCode() : 0);
   return result;
 }
Ejemplo n.º 2
0
 @Override
 public int hashCode() {
   int result = billingPeriod != null ? billingPeriod.hashCode() : 0;
   result = 31 * result + (recurringPrice != null ? recurringPrice.hashCode() : 0);
   return result;
 }