diff --git a/readme.md b/readme.md index 766437f..bdaacb9 100644 --- a/readme.md +++ b/readme.md @@ -33,6 +33,15 @@ Optionally, an email can also be specified: These methods are available for use after the class `WooCommerceSoftwareAddOn` is initialized. +### `setEmail` + +This can be used to replace the email used for the API requests. + +| Argument | Description | +|:-------------:|:---------------------------------------------------------------------------------------- | +| email | Email to replace the current default email set during [initialization](#initialization) | + +Return: void ### `generateKey` @@ -299,4 +308,4 @@ These error codes are found in the plugin source code. For more information abou ### Generate Key Request - 105: Non matching product_id and secret_key provided -- 105: Invalid security key \ No newline at end of file +- 105: Invalid security key