mirror of
https://github.com/google/nomulus
synced 2026-08-19 13:46:13 +00:00
Support creation of EPP fee objects using custom descriptions
This is a reasonable thing that custom code might want to do (Donuts already has a use case). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144216929
This commit is contained in:
@@ -133,11 +133,6 @@ public abstract class BaseFee extends ImmutableObject {
|
||||
return validDateRange;
|
||||
}
|
||||
|
||||
protected void generateDescription(Object... args) {
|
||||
checkState(type != null);
|
||||
description = type.renderDescription(args);
|
||||
}
|
||||
|
||||
public boolean hasZeroCost() {
|
||||
return cost.signum() == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user