mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue