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

com.withabound.models.users.UserProfile Maven / Gradle / Ivy

Go to download

The Abound Java SDK provides convenient access to the Abound API from applications written in Java.

The newest version!
package com.withabound.models.users;

import java.util.Optional;
import lombok.Builder;
import lombok.Setter;

@Setter
@Builder
public class UserProfile {
  private String firstName;
  private String lastName;
  private String address;
  private String address2;
  private String city;
  private String state;
  private String zipcode;
  private String country;
  private String phoneNumber; // no country code, numerical digits only
  private String dateOfBirth; // YYYY-MM-DD
  private String socialSecurityNumber; // no hyphens, numerical digits only

  public Optional getFirstName() {
    return Optional.ofNullable(firstName);
  }

  public Optional getLastName() {
    return Optional.ofNullable(lastName);
  }

  public Optional getAddress() {
    return Optional.ofNullable(address);
  }

  public Optional getAddress2() {
    return Optional.ofNullable(address2);
  }

  public Optional getCity() {
    return Optional.ofNullable(city);
  }

  public Optional getState() {
    return Optional.ofNullable(state);
  }

  public Optional getZipcode() {
    return Optional.ofNullable(zipcode);
  }

  public Optional getCountry() {
    return Optional.ofNullable(country);
  }

  public Optional getPhoneNumber() {
    return Optional.ofNullable(phoneNumber);
  }

  public Optional getDateOfBirth() {
    return Optional.ofNullable(dateOfBirth);
  }

  public Optional getSocialSecurityNumber() {
    return Optional.ofNullable(socialSecurityNumber);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy