@@ -24,17 +24,21 @@ public abstract class Constants {
24
24
public static final String EASYPOST_SUPPORT_EMAIL =
"[email protected] " ;
25
25
26
26
public abstract static class ErrorMessages {
27
- public static final String EXTERNAL_API_CALL_FAILED = "Could not send card details to %s, please try again later" ;
27
+ public static final String EXTERNAL_API_CALL_FAILED =
28
+ "Could not send card details to %s, please try again later" ;
28
29
public static final String ENCODED_ERROR = "Encode error for %s" ;
29
30
public static final String INVALID_API_KEY_TYPE = "Invalid API key type." ;
30
31
public static final String INVALID_PARAMETER = "Invalid parameter: %s." ;
31
- public static final String INVALID_PAYMENT = "The chosen payment method is not a credit card. Please try again." ;
32
+ public static final String INVALID_PAYMENT =
33
+ "The chosen payment method is not a credit card. Please try again." ;
32
34
public static final String INVALID_WEBHOOK_SIGNATURE = "Webhook does not contain a valid HMAC signature." ;
33
35
public static final String MISSING_REQUIRED_PARAMETER = "Missing required parameter: %s." ;
34
36
public static final String NO_OBJECT_FOUND = "No %s found." ;
35
- public static final String NO_PAYMENT_METHODS = "No payment methods are set up. Please add a payment method and try again." ;
37
+ public static final String NO_PAYMENT_METHODS =
38
+ "No payment methods are set up. Please add a payment method and try again." ;
36
39
public static final String API_DID_NOT_RETURN_ERROR_DETAILS = "API did not return error details." ;
37
- public static final String WEBHOOK_DOES_NOT_MATCH = "Webhook received did not originate from EasyPost or had a webhook secret mismatch." ;
40
+ public static final String WEBHOOK_DOES_NOT_MATCH =
41
+ "Webhook received did not originate from EasyPost or had a webhook secret mismatch." ;
38
42
39
43
public static final String NO_MORE_PAGES_TO_RETRIEVE = "There are no more pages to retrieve." ;
40
44
}
@@ -58,13 +62,16 @@ public abstract static class ErrorCodes {
58
62
59
63
public abstract static class CarrierAccountTypes {
60
64
public static final List <String > CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_WORKFLOW = ImmutableList .of (
61
- "FedexAccount" , "FedexSmartpostAccount" );
65
+ "FedexAccount" , "FedexSmartpostAccount"
66
+ );
62
67
63
68
public static final List <String > UPS_OAUTH_CARRIER_ACCOUNT_TYPES = ImmutableList .of (
64
- "UpsAccount" , "UpsMailInnovationsAccount" , "UpsSurepostAccount" );
69
+ "UpsAccount" , "UpsMailInnovationsAccount" , "UpsSurepostAccount"
70
+ );
65
71
66
72
public static final List <String > CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_OAUTH = ImmutableList .of (
67
- "AmazonShippingAccount" );
73
+ "AmazonShippingAccount"
74
+ );
68
75
}
69
76
70
77
public abstract static class Http {
0 commit comments