mirror of
https://github.com/google/nomulus.git
synced 2025-07-05 02:33:22 +02:00
Make BillingModule.OVERALL_INVOICE_PREFIX configurable
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221700223
This commit is contained in:
parent
45f63cbecf
commit
36c6265980
8 changed files with 31 additions and 11 deletions
|
@ -692,6 +692,18 @@ public final class RegistryConfig {
|
|||
return ImmutableList.copyOf(config.billing.invoiceEmailRecipients);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the file prefix for the invoice CSV file.
|
||||
*
|
||||
* @see google.registry.beam.invoicing.InvoicingPipeline
|
||||
* @see google.registry.reporting.billing.BillingEmailUtils
|
||||
*/
|
||||
@Provides
|
||||
@Config("invoiceFilePrefix")
|
||||
public static String provideInvoiceFilePrefix(RegistryConfigSettings config) {
|
||||
return config.billing.invoiceFilePrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Google Cloud Storage bucket for staging escrow deposits pending upload.
|
||||
*
|
||||
|
|
|
@ -131,6 +131,7 @@ public class RegistryConfigSettings {
|
|||
/** Configuration for monthly invoices. */
|
||||
public static class Billing {
|
||||
public List<String> invoiceEmailRecipients;
|
||||
public String invoiceFilePrefix;
|
||||
}
|
||||
|
||||
/** Configuration for Registry Data Escrow (RDE). */
|
||||
|
|
|
@ -293,6 +293,7 @@ icannReporting:
|
|||
|
||||
billing:
|
||||
invoiceEmailRecipients: []
|
||||
invoiceFilePrefix: REG-INV
|
||||
|
||||
rde:
|
||||
# URL prefix of ICANN's server to upload RDE reports to. Nomulus adds /TLD/ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue