Skip to content

Latest commit

 

History

History
254 lines (137 loc) · 6.91 KB

ApplicantBuilder.md

File metadata and controls

254 lines (137 loc) · 6.91 KB

ApplicantBuilder

Properties

Name Type Description Notes
Email Pointer to string The applicant's email address. Required if doing a US check, or a UK check for which `applicant_provides_data` is `true`. [optional]
Dob Pointer to string The applicant's date of birth [optional]
IdNumbers Pointer to []IdNumber [optional]
PhoneNumber Pointer to string The applicant's phone number [optional]
Consents Pointer to ConsentsBuilder [optional]
Address Pointer to AddressBuilder [optional]
Location Pointer to LocationBuilder [optional]
FirstName string The applicant's first name
LastName string The applicant's surname

Methods

NewApplicantBuilder

func NewApplicantBuilder(firstName string, lastName string, ) *ApplicantBuilder

NewApplicantBuilder instantiates a new ApplicantBuilder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewApplicantBuilderWithDefaults

func NewApplicantBuilderWithDefaults() *ApplicantBuilder

NewApplicantBuilderWithDefaults instantiates a new ApplicantBuilder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetEmail

func (o *ApplicantBuilder) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *ApplicantBuilder) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEmail

func (o *ApplicantBuilder) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *ApplicantBuilder) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetDob

func (o *ApplicantBuilder) GetDob() string

GetDob returns the Dob field if non-nil, zero value otherwise.

GetDobOk

func (o *ApplicantBuilder) GetDobOk() (*string, bool)

GetDobOk returns a tuple with the Dob field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDob

func (o *ApplicantBuilder) SetDob(v string)

SetDob sets Dob field to given value.

HasDob

func (o *ApplicantBuilder) HasDob() bool

HasDob returns a boolean if a field has been set.

GetIdNumbers

func (o *ApplicantBuilder) GetIdNumbers() []IdNumber

GetIdNumbers returns the IdNumbers field if non-nil, zero value otherwise.

GetIdNumbersOk

func (o *ApplicantBuilder) GetIdNumbersOk() (*[]IdNumber, bool)

GetIdNumbersOk returns a tuple with the IdNumbers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIdNumbers

func (o *ApplicantBuilder) SetIdNumbers(v []IdNumber)

SetIdNumbers sets IdNumbers field to given value.

HasIdNumbers

func (o *ApplicantBuilder) HasIdNumbers() bool

HasIdNumbers returns a boolean if a field has been set.

GetPhoneNumber

func (o *ApplicantBuilder) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise.

GetPhoneNumberOk

func (o *ApplicantBuilder) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPhoneNumber

func (o *ApplicantBuilder) SetPhoneNumber(v string)

SetPhoneNumber sets PhoneNumber field to given value.

HasPhoneNumber

func (o *ApplicantBuilder) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

GetConsents

func (o *ApplicantBuilder) GetConsents() ConsentsBuilder

GetConsents returns the Consents field if non-nil, zero value otherwise.

GetConsentsOk

func (o *ApplicantBuilder) GetConsentsOk() (*ConsentsBuilder, bool)

GetConsentsOk returns a tuple with the Consents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetConsents

func (o *ApplicantBuilder) SetConsents(v ConsentsBuilder)

SetConsents sets Consents field to given value.

HasConsents

func (o *ApplicantBuilder) HasConsents() bool

HasConsents returns a boolean if a field has been set.

GetAddress

func (o *ApplicantBuilder) GetAddress() AddressBuilder

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *ApplicantBuilder) GetAddressOk() (*AddressBuilder, bool)

GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAddress

func (o *ApplicantBuilder) SetAddress(v AddressBuilder)

SetAddress sets Address field to given value.

HasAddress

func (o *ApplicantBuilder) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetLocation

func (o *ApplicantBuilder) GetLocation() LocationBuilder

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *ApplicantBuilder) GetLocationOk() (*LocationBuilder, bool)

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocation

func (o *ApplicantBuilder) SetLocation(v LocationBuilder)

SetLocation sets Location field to given value.

HasLocation

func (o *ApplicantBuilder) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetFirstName

func (o *ApplicantBuilder) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

func (o *ApplicantBuilder) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFirstName

func (o *ApplicantBuilder) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

GetLastName

func (o *ApplicantBuilder) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

func (o *ApplicantBuilder) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLastName

func (o *ApplicantBuilder) SetLastName(v string)

SetLastName sets LastName field to given value.

[Back to Model list] [Back to API list] [Back to README]