in src/main/java/org/apache/sling/sitemap/impl/builder/extensions/GoogleVideoExtensionProvider.java [301:312]
public GoogleVideoExtension addPrice(float price, @NotNull String currency, @Nullable PriceType type, @Nullable Resolution resolution) {
if (prices == null) {
this.prices = new ArrayList<>();
}
PriceImpl newPrice = new PriceImpl();
newPrice.price = String.valueOf(price);
newPrice.currency = currency;
newPrice.type = type != null ? type.getValue() : null;
newPrice.resolution = resolution != null ? resolution.getValue() : null;
prices.add(newPrice);
return this;
}