Address data class
This file contains 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 Address{ | |
private final String addressLine1; | |
private final String AddressLine2; | |
private final Integer postalCode; | |
Address(final String addressLine1, | |
final String addressLine2, | |
final Integer postalCode) { | |
this.addressLine1 = addressLine1; | |
this.AddressLine2 = addressLine2; | |
this.postalCode = postalCode; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment