new module:models/PasswordReset()
Constructs a new PasswordReset
.
Document representing a password reset request.
- Source:
Members
(readonly) TypeEnum :String
Allowed values for the type
property.
Type:
- String
- Source:
(inner, constant) email
value: "email"
- Source:
(inner) identification :String
The customer's login or the customer's email depending on the type value.
Type:
- String
- Source:
(inner, constant) login
value: "login"
- Source:
(inner) type :module:models/PasswordReset.TypeEnum
The type of customer identification.
Type:
- module:models/PasswordReset.TypeEnum
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/PasswordReset}
Constructs a PasswordReset
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/PasswordReset | Optional instance to populate. |
- Source:
Returns:
The populated PasswordReset
instance.