All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.truelayer.java.entities.Address Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.truelayer.java.entities;

import com.fasterxml.jackson.annotation.JsonGetter;
import java.util.Optional;
import lombok.*;

@Builder
@Getter
@ToString
@EqualsAndHashCode
public class Address {
    private String addressLine1;

    private String addressLine2;

    private String city;

    private String state;

    private String zip;

    private String countryCode;

    @JsonGetter
    private Optional getAddressLine2() {
        return Optional.ofNullable(addressLine2);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy