|
| 1 | +package selenium.testdata.properties; |
| 2 | + |
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; |
| 4 | + |
| 5 | +public class User { |
| 6 | + private String email; |
| 7 | + private String password; |
| 8 | + private String gender; |
| 9 | + private String firstname; |
| 10 | + private String lastname; |
| 11 | + private String address; |
| 12 | + private String zip; |
| 13 | + private String city; |
| 14 | + private String cardtype; |
| 15 | + private String cardnumber; |
| 16 | + private String expiremonth; |
| 17 | + private String expireyear; |
| 18 | + private String ccvnumber; |
| 19 | + private String country; |
| 20 | + private String telephone; |
| 21 | + |
| 22 | + public String getPassword() { |
| 23 | + return password; |
| 24 | + } |
| 25 | + |
| 26 | + public void setPassword(final String password) { |
| 27 | + this.password = password; |
| 28 | + } |
| 29 | + |
| 30 | + public String getEmail() { |
| 31 | + return email; |
| 32 | + } |
| 33 | + |
| 34 | + public void setEmail(final String email) { |
| 35 | + this.email = email; |
| 36 | + } |
| 37 | + |
| 38 | + public String getGender() { |
| 39 | + return gender; |
| 40 | + } |
| 41 | + |
| 42 | + public void setGender(final String gender) { |
| 43 | + this.gender = gender; |
| 44 | + } |
| 45 | + |
| 46 | + public String getFirstname() { |
| 47 | + return firstname; |
| 48 | + } |
| 49 | + |
| 50 | + public void setFirstname(final String firstname) { |
| 51 | + this.firstname = firstname; |
| 52 | + } |
| 53 | + |
| 54 | + public String getLastname() { |
| 55 | + return lastname; |
| 56 | + } |
| 57 | + |
| 58 | + public void setLastname(final String lastname) { |
| 59 | + this.lastname = lastname; |
| 60 | + } |
| 61 | + |
| 62 | + public String getAddress() { |
| 63 | + return address; |
| 64 | + } |
| 65 | + |
| 66 | + public void setAddress(String address) { |
| 67 | + this.address = address; |
| 68 | + } |
| 69 | + |
| 70 | + public String getZip() { |
| 71 | + return zip; |
| 72 | + } |
| 73 | + |
| 74 | + public void setZip(String zip) { |
| 75 | + this.zip = zip; |
| 76 | + } |
| 77 | + |
| 78 | + public String getCity() { |
| 79 | + return city; |
| 80 | + } |
| 81 | + |
| 82 | + public void setCity(String city) { |
| 83 | + this.city = city; |
| 84 | + } |
| 85 | + |
| 86 | + public String getCardtype() { |
| 87 | + return cardtype; |
| 88 | + } |
| 89 | + |
| 90 | + public void setCardtype(String cardtype) { |
| 91 | + this.cardtype = cardtype; |
| 92 | + } |
| 93 | + |
| 94 | + public String getCardnumber() { |
| 95 | + return cardnumber; |
| 96 | + } |
| 97 | + |
| 98 | + public void setCardnumber(String cardnumber) { |
| 99 | + this.cardnumber = cardnumber; |
| 100 | + } |
| 101 | + |
| 102 | + public String getExpiremonth() { |
| 103 | + return expiremonth; |
| 104 | + } |
| 105 | + |
| 106 | + public void setExpiremonth(String expiremonth) { |
| 107 | + this.expiremonth = expiremonth; |
| 108 | + } |
| 109 | + |
| 110 | + public String getExpireyear() { |
| 111 | + return expireyear; |
| 112 | + } |
| 113 | + |
| 114 | + public void setExpireyear(String expireyear) { |
| 115 | + this.expireyear = expireyear; |
| 116 | + } |
| 117 | + |
| 118 | + public String getCcvnumber() { |
| 119 | + return ccvnumber; |
| 120 | + } |
| 121 | + |
| 122 | + public void setCcvnumber(String ccvnumber) { |
| 123 | + this.ccvnumber = ccvnumber; |
| 124 | + } |
| 125 | + |
| 126 | + public String getCountry() { |
| 127 | + return country; |
| 128 | + } |
| 129 | + |
| 130 | + public void setCountry(String country) { |
| 131 | + this.country = country; |
| 132 | + } |
| 133 | + |
| 134 | + public String getTelephone() { |
| 135 | + return telephone; |
| 136 | + } |
| 137 | + |
| 138 | + public void setTelephone(String telephone) { |
| 139 | + this.telephone = telephone; |
| 140 | + } |
| 141 | + |
| 142 | + @Override |
| 143 | + public String toString() { |
| 144 | + return new ToStringBuilder(this) |
| 145 | + .append("email", email) |
| 146 | + .append("password", password) |
| 147 | + .build(); |
| 148 | + } |
| 149 | +} |
| 150 | + |
0 commit comments