Convert Braintree configuration to YAML

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146477578
This commit is contained in:
mcilwain 2017-02-03 08:32:35 -08:00 committed by Ben McIlwain
parent 223e8c2316
commit 8e9b2d3483
7 changed files with 75 additions and 38 deletions

View file

@ -15,6 +15,7 @@
package google.registry.config;
import java.util.List;
import java.util.Map;
/** The POJO that YAML config files are deserialized into. */
public class RegistryConfigSettings {
@ -28,6 +29,7 @@ public class RegistryConfigSettings {
public RegistrarConsole registrarConsole;
public Monitoring monitoring;
public Misc misc;
public Braintree braintree;
/** Configuration options that apply to the entire App Engine project. */
public static class AppEngine {
@ -105,4 +107,11 @@ public class RegistryConfigSettings {
public static class Misc {
public String sheetExportId;
}
/** Configuration for Braintree credit card payment processing. */
public static class Braintree {
public String merchantId;
public String publicKey;
public Map<String, String> merchantAccountIdsMap;
}
}