Closed reshmabidikar closed 2 years ago
If this is just for tests, could you just cast the null
?
entitlement.changePlanWithDate(new DefaultEntitlementSpecifier(spec2), (LocalDate) null, ImmutableList.<PluginProperty>of(), callContext);
Outside of tests, if the use-case is change plan now
, developers can instead use the changePlanOverrideBillingPolicy
method.
Adding a cast works, so closing this PR.
Renamed
changePlanWithDate
tochangePlanWithDateTime
. This is becausechangePlanWithDate
results in some ambiguous method calls in killbill tests (For example hereand in a few other places where anull
value is passed.