mirror of
https://github.com/google/nomulus
synced 2026-01-04 04:04:22 +00:00
Add setFee(List<Fee>) method to BaseFeeResponse
We need a flavor that accepts a list in order to set this from data returned from the pricing system. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125078913
This commit is contained in:
@@ -84,9 +84,15 @@ public class BaseFeeResponse extends ImmutableObject {
|
||||
return thisCastToDerived();
|
||||
}
|
||||
|
||||
public B setFee(List<Fee> fees) {
|
||||
getInstance().fee = forceEmptyToNull(ImmutableList.copyOf(fees));
|
||||
return thisCastToDerived();
|
||||
}
|
||||
|
||||
public B setClass(String feeClass) {
|
||||
getInstance().feeClass = feeClass;
|
||||
return thisCastToDerived();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user