@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeObject(product); out.writeBoolean(productCategory != null); if (productCategory != null) { out.writeUTF(productCategory.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(priceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(recurringPrice); out.writeUTF(planName); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toProduct); out.writeBoolean(toProductCategory != null); if (toProductCategory != null) { out.writeUTF(toProductCategory.name()); } out.writeBoolean(toBillingPeriod != null); if (toBillingPeriod != null) { out.writeUTF(toBillingPeriod.name()); } out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeUTF(name); out.writeUTF(prettyName); out.writeBoolean(billingMode != null); if (billingMode != null) { out.writeUTF(billingMode.name()); } out.writeBoolean(usageType != null); if (usageType != null) { out.writeUTF(usageType.name()); } out.writeBoolean(tierBlockPolicy != null); if (tierBlockPolicy != null) { out.writeUTF(tierBlockPolicy.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(limits); out.writeObject(blocks); out.writeObject(tiers); out.writeObject(fixedPrice); out.writeObject(recurringPrice); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(recurringPrice); out.writeUTF(planName); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeObject(product); out.writeBoolean(productCategory != null); if (productCategory != null) { out.writeUTF(productCategory.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(priceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toProduct); out.writeBoolean(toProductCategory != null); if (toProductCategory != null) { out.writeUTF(toProductCategory.name()); } out.writeBoolean(toBillingPeriod != null); if (toBillingPeriod != null) { out.writeUTF(toBillingPeriod.name()); } out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeUTF(name); out.writeUTF(prettyName); out.writeBoolean(billingMode != null); if (billingMode != null) { out.writeUTF(billingMode.name()); } out.writeBoolean(usageType != null); if (usageType != null) { out.writeUTF(usageType.name()); } out.writeBoolean(tierBlockPolicy != null); if (tierBlockPolicy != null) { out.writeUTF(tierBlockPolicy.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(limits); out.writeObject(blocks); out.writeObject(tiers); out.writeObject(fixedPrice); out.writeObject(recurringPrice); }