Created
March 30, 2018 06:08
-
-
Save c0rp-aubakirov/7c937c55091b542ebc8b2be2460b1447 to your computer and use it in GitHub Desktop.
Проект брифинг для Smart ЖКХ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface JKHServiceController { | |
UserJKH getUserInfo(final String login); | |
void registerNewUser(final UserJKH userJKH); | |
void login(final String login, final String password); | |
void pay(final String login, final String SMS); | |
UserJKH check(final String login); | |
List<TxHistoryJKH> getTxHistory(final String login); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TxHistoryJKH { | |
private String login; | |
private long timestamp; | |
private String busNumber; | |
private String txNumber; | |
private String lineNumber; | |
private String tariff; | |
public String getLogin() { | |
return this.login; | |
} | |
public void setLogin(final String login) { | |
this.login = login; | |
} | |
public long getTimestamp() { | |
return this.timestamp; | |
} | |
public void setTimestamp(final long timestamp) { | |
this.timestamp = timestamp; | |
} | |
public String getBusNumber() { | |
return this.busNumber; | |
} | |
public void setBusNumber(final String busNumber) { | |
this.busNumber = busNumber; | |
} | |
public String getTxNumber() { | |
return this.txNumber; | |
} | |
public void setTxNumber(final String txNumber) { | |
this.txNumber = txNumber; | |
} | |
public String getLineNumber() { | |
return this.lineNumber; | |
} | |
public void setLineNumber(final String lineNumber) { | |
this.lineNumber = lineNumber; | |
} | |
public String getTariff() { | |
return this.tariff; | |
} | |
public void setTariff(final String tariff) { | |
this.tariff = tariff; | |
} | |
public TxHistoryJKH login(final String login) { | |
this.login = login; | |
return this; | |
} | |
public TxHistoryJKH timestamp(final long timestamp) { | |
this.timestamp = timestamp; | |
return this; | |
} | |
public TxHistoryJKH busNumber(final String busNumber) { | |
this.busNumber = busNumber; | |
return this; | |
} | |
public TxHistoryJKH txNumber(final String txNumber) { | |
this.txNumber = txNumber; | |
return this; | |
} | |
public TxHistoryJKH lineNumber(final String lineNumber) { | |
this.lineNumber = lineNumber; | |
return this; | |
} | |
public TxHistoryJKH tariff(final String tariff) { | |
this.tariff = tariff; | |
return this; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UserJKH { | |
private String name; | |
private String surname; | |
private String bankCardNumber; | |
private String CVV; | |
private String allpayAccountLogin; | |
private String IIN; | |
private String login; | |
private String password; | |
public String getName() { | |
return this.name; | |
} | |
public void setName(final String name) { | |
this.name = name; | |
} | |
public String getSurname() { | |
return this.surname; | |
} | |
public void setSurname(final String surname) { | |
this.surname = surname; | |
} | |
public String getBankCardNumber() { | |
return this.bankCardNumber; | |
} | |
public void setBankCardNumber(final String bankCardNumber) { | |
this.bankCardNumber = bankCardNumber; | |
} | |
public String getCVV() { | |
return this.CVV; | |
} | |
public void setCVV(final String CVV) { | |
this.CVV = CVV; | |
} | |
public String getAllpayAccountLogin() { | |
return this.allpayAccountLogin; | |
} | |
public void setAllpayAccountLogin(final String allpayAccountLogin) { | |
this.allpayAccountLogin = allpayAccountLogin; | |
} | |
public String getIIN() { | |
return this.IIN; | |
} | |
public void setIIN(final String IIN) { | |
this.IIN = IIN; | |
} | |
public String getLogin() { | |
return this.login; | |
} | |
public void setLogin(final String login) { | |
this.login = login; | |
} | |
public String getPassword() { | |
return this.password; | |
} | |
public void setPassword(final String password) { | |
this.password = password; | |
} | |
public UserJKH name(final String name) { | |
this.name = name; | |
return this; | |
} | |
public UserJKH surname(final String surname) { | |
this.surname = surname; | |
return this; | |
} | |
public UserJKH bankCardNumber(final String bankCardNumber) { | |
this.bankCardNumber = bankCardNumber; | |
return this; | |
} | |
public UserJKH CVV(final String CVV) { | |
this.CVV = CVV; | |
return this; | |
} | |
public UserJKH allpayAccountLogin(final String allpayAccountLogin) { | |
this.allpayAccountLogin = allpayAccountLogin; | |
return this; | |
} | |
public UserJKH IIN(final String IIN) { | |
this.IIN = IIN; | |
return this; | |
} | |
public UserJKH login(final String login) { | |
this.login = login; | |
return this; | |
} | |
public UserJKH password(final String password) { | |
this.password = password; | |
return this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment