adityagupta1089/Bike-Rental-App

View on GitHub
src/main/java/com/csl456/bikerentalapp/core/SMTPServerDetails.java

Summary

Maintainability
A
40 mins
Test Coverage
package com.csl456.bikerentalapp.core;

public class SMTPServerDetails {

    private String host;
    private int    port;
    private String username;
    private String password;

    public SMTPServerDetails(String host, int port, String username,
            String password) {
        this.host     = host;
        this.port     = port;
        this.username = username;
        this.password = password;
    }

    public SMTPServerDetails() {}

    public String getHost() { return host;}

    public void setHost(String host) { this.host = host;}

    public int getPort() { return port;}

    public void setPort(int port) { this.port = port;}

    public String getUsername() { return username;}

    public void setUsername(String username) { this.username = username;}

    public String getPassword() { return password;}

    public void setPassword(String password) { this.password = password;}

}