@@ -10,10 +10,9 @@ export default (easypostClient) =>
1010 class FedExRegistrationService extends baseService ( easypostClient ) {
1111 /**
1212 * Register the billing address for a FedEx account.
13- * Advanced method for custom parameter structures.
1413 * @param {string } fedexAccountNumber - The FedEx account number.
1514 * @param {Object } params - Map of parameters.
16- * @returns {Object } - FedExAccountValidationResponse object with next steps (PIN or invoice validation).
15+ * @returns {Object }
1716 */
1817 static async registerAddress ( fedexAccountNumber , params ) {
1918 const wrappedParams = this . _wrapAddressValidation ( params ) ;
@@ -31,7 +30,7 @@ export default (easypostClient) =>
3130 * Request a PIN for FedEx account verification.
3231 * @param {string } fedexAccountNumber - The FedEx account number.
3332 * @param {string } pinMethodOption - The PIN delivery method: "SMS", "CALL", or "EMAIL".
34- * @returns {Object } - FedExRequestPinResponse object confirming PIN was sent.
33+ * @returns {Object }
3534 */
3635 static async requestPin ( fedexAccountNumber , pinMethodOption ) {
3736 const wrappedParams = {
@@ -53,7 +52,7 @@ export default (easypostClient) =>
5352 * Validate the PIN entered by the user for FedEx account verification.
5453 * @param {string } fedexAccountNumber - The FedEx account number.
5554 * @param {Object } params - Map of parameters.
56- * @returns {Object } - FedExAccountValidationResponse object.
55+ * @returns {Object }
5756 */
5857 static async validatePin ( fedexAccountNumber , params ) {
5958 const wrappedParams = this . _wrapPinValidation ( params ) ;
@@ -71,7 +70,7 @@ export default (easypostClient) =>
7170 * Submit invoice information to complete FedEx account registration.
7271 * @param {string } fedexAccountNumber - The FedEx account number.
7372 * @param {Object } params - Map of parameters.
74- * @returns {Object } - FedExAccountValidationResponse object.
73+ * @returns {Object }
7574 */
7675 static async submitInvoice ( fedexAccountNumber , params ) {
7776 const wrappedParams = this . _wrapInvoiceValidation ( params ) ;
0 commit comments