1
0
mirror of https://github.com/google/nomulus synced 2026-01-11 08:20:27 +00:00

Enable ability to generate invoices without publishing

This adds a parameter to control invoice reporting, which defaults to false for
now (since we plan on manually adjusting the invoice next month).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193708323
This commit is contained in:
larryruili
2018-04-20 12:43:30 -07:00
committed by jianglai
parent 4151660dab
commit 139c8e190d
4 changed files with 75 additions and 6 deletions

View File

@@ -590,6 +590,18 @@ public final class RegistryConfig {
return "gs://" + billingBucket;
}
/**
* Returns whether or not we should publish invoices to partners automatically by default.
*
* @see google.registry.reporting.billing.BillingModule
*/
@Provides
@Config("defaultShouldPublishInvoices")
public static boolean provideDefaultShouldPublishInvoices() {
// TODO(b/78278360): Make the default 'true' once we're done with SUNRISE.
return false;
}
/**
* Returns the list of addresses that receive monthly invoicing emails.
*