/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.customer; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; /** * The information required to modify a shopper account password. */ @JsonIgnoreProperties(ignoreUnknown = true) public class PasswordInfo implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * If you are importing existing customer accounts to or using two customer systems simultaneously, you use this property to store an external password hash that helps you migrate existing customer accounts seamlessly into , without having to require shoppers to create new passwords for the platform. If you set this property, you must use the [embedded.verifyExternalPassword](http://developer.mozu.com/content/arcjs/Reference/commerce-customer-accounts/Actions/verifyExternalPassword.htm) action to verify that the hashed version of a cleartext password provided by a shopper matches the external password hash specified in this property. */ protected String externalPassword; public String getExternalPassword() { return this.externalPassword; } public void setExternalPassword(String externalPassword) { this.externalPassword = externalPassword; } /** * The new password entered and saved by the user of the account. */ protected String newPassword; public String getNewPassword() { return this.newPassword; } public void setNewPassword(String newPassword) { this.newPassword = newPassword; } /** * The previous shopper account password value. */ protected String oldPassword; public String getOldPassword() { return this.oldPassword; } public void setOldPassword(String oldPassword) { this.oldPassword = oldPassword; } }