new module:models/PasswordChangeRequest(currentPassword, password)
Constructs a new PasswordChangeRequest
.
Document representing a password change request.
Parameters:
Name | Type | Description |
---|---|---|
currentPassword |
String | The customer's current password. |
password |
String | The customer's new password. |
- Source:
Members
(inner) current_password :String
The customer's current password.
Type:
- String
- Source:
(inner) password :String
The customer's new password.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/PasswordChangeRequest}
Constructs a PasswordChangeRequest
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/PasswordChangeRequest | Optional instance to populate. |
- Source:
Returns:
The populated PasswordChangeRequest
instance.