@@ -45,10 +45,10 @@ public FedExAccountValidationResponse registerAddress(final String fedexAccountN
4545 *
4646 * @param fedexAccountNumber The FedEx account number.
4747 * @param pinMethodOption The PIN delivery method: "SMS", "CALL", or "EMAIL".
48- * @return FedExAccountValidationResponse object confirming PIN was sent.
48+ * @return FedExRequestPinResponse object confirming PIN was sent.
4949 * @throws EasyPostException when the request fails.
5050 */
51- public FedExAccountValidationResponse requestPin (final String fedexAccountNumber , final String pinMethodOption )
51+ public FedExRequestPinResponse requestPin (final String fedexAccountNumber , final String pinMethodOption )
5252 throws EasyPostException {
5353 Map <String , Object > pinMethod = new HashMap <>();
5454 pinMethod .put ("option" , pinMethodOption );
@@ -64,10 +64,10 @@ public FedExAccountValidationResponse requestPin(final String fedexAccountNumber
6464 *
6565 * @param fedexAccountNumber The FedEx account number.
6666 * @param params Map of parameters.
67- * @return FedexRegistration object.
67+ * @return FedExAccountValidationResponse object.
6868 * @throws EasyPostException when the request fails.
6969 */
70- public FedexRegistration validatePin (final String fedexAccountNumber , final Map <String , Object > params )
70+ public FedExAccountValidationResponse validatePin (final String fedexAccountNumber , final Map <String , Object > params )
7171 throws EasyPostException {
7272 Map <String , Object > wrappedParams = wrapPinValidation (params );
7373 String endpoint = String .format ("fedex_registrations/%s/pin/validate" , fedexAccountNumber );
@@ -80,10 +80,10 @@ public FedexRegistration validatePin(final String fedexAccountNumber, final Map<
8080 *
8181 * @param fedexAccountNumber The FedEx account number.
8282 * @param params Map of parameters.
83- * @return FedexRegistration object.
83+ * @return FedExAccountValidationResponse object.
8484 * @throws EasyPostException when the request fails.
8585 */
86- public FedexRegistration submitInvoice (final String fedexAccountNumber , final Map <String , Object > params )
86+ public FedExAccountValidationResponse submitInvoice (final String fedexAccountNumber , final Map <String , Object > params )
8787 throws EasyPostException {
8888 Map <String , Object > wrappedParams = wrapInvoiceValidation (params );
8989 String endpoint = String .format ("fedex_registrations/%s/invoice" , fedexAccountNumber );
0 commit comments