new module:models/ResetPasswordRequest(newPassword)
Constructs a new ResetPasswordRequest.
Parameters:
| Name | Type | Description |
|---|---|---|
newPassword |
String | The new password for the customer. |
- Source:
Members
(inner) login :String
The login id of the customer.
Type:
- String
- Source:
(inner) new_password :String
The new password for the customer.
Type:
- String
- Source:
(inner) reset_token :String
The password reset token for the customer.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ResetPasswordRequest}
Constructs a ResetPasswordRequest 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/ResetPasswordRequest | Optional instance to populate. |
- Source:
Returns:
The populated ResetPasswordRequest instance.