> + */
> +package org.jclouds.cloudsigma2.domain;
> +
> +import javax.inject.Named;
> +import java.beans.ConstructorProperties;
> +import java.util.Date;
> +
> +/**
> + * @author Vladimir Shevchenko
> + */
> +public class CalcSubscription {
> +
> + public static class Builder {
> + private String amount;
> + private double discountAmount;
> + private double discountPercent;
Also, is there some link between `discountAmount` and `discountPercent`? E.g.
should
```
amount * discountPercent = discountAmount
```
or some other invariant be true? In that case, should we validate this, or can
we keep only two of the three and calculate the third?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/41/files#r7976337