EnrollmentAccount Class

public final class EnrollmentAccount
extends ProxyResource

An enrollment account.

Constructor Summary

Constructor Description
EnrollmentAccount()

Creates an instance of EnrollmentAccount class.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: The name of the enrollment account.

String accountOwner()

Get the accountOwner property: The owner of the enrollment account.

String accountOwnerEmail()

Get the accountOwnerEmail property: The enrollment account owner email address.

String costCenter()

Get the costCenter property: The cost center associated with the enrollment account.

Department department()

Get the department property: Associated department.

OffsetDateTime endDate()

Get the endDate property: The end date of the enrollment account.

OffsetDateTime startDate()

Get the startDate property: The start date of the enrollment account.

String status()

Get the status property: The status of the enrollment account.

void validate()

Validates the instance.

EnrollmentAccount withAccountName(String accountName)

Set the accountName property: The name of the enrollment account.

EnrollmentAccount withAccountOwner(String accountOwner)

Set the accountOwner property: The owner of the enrollment account.

EnrollmentAccount withAccountOwnerEmail(String accountOwnerEmail)

Set the accountOwnerEmail property: The enrollment account owner email address.

EnrollmentAccount withCostCenter(String costCenter)

Set the costCenter property: The cost center associated with the enrollment account.

EnrollmentAccount withDepartment(Department department)

Set the department property: Associated department.

EnrollmentAccount withEndDate(OffsetDateTime endDate)

Set the endDate property: The end date of the enrollment account.

EnrollmentAccount withStartDate(OffsetDateTime startDate)

Set the startDate property: The start date of the enrollment account.

EnrollmentAccount withStatus(String status)

Set the status property: The status of the enrollment account.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

EnrollmentAccount

public EnrollmentAccount()

Creates an instance of EnrollmentAccount class.

Method Details

accountName

public String accountName()

Get the accountName property: The name of the enrollment account.

Returns:

the accountName value.

accountOwner

public String accountOwner()

Get the accountOwner property: The owner of the enrollment account.

Returns:

the accountOwner value.

accountOwnerEmail

public String accountOwnerEmail()

Get the accountOwnerEmail property: The enrollment account owner email address.

Returns:

the accountOwnerEmail value.

costCenter

public String costCenter()

Get the costCenter property: The cost center associated with the enrollment account.

Returns:

the costCenter value.

department

public Department department()

Get the department property: Associated department. By default this is not populated, unless it's specified in $expand.

Returns:

the department value.

endDate

public OffsetDateTime endDate()

Get the endDate property: The end date of the enrollment account.

Returns:

the endDate value.

startDate

public OffsetDateTime startDate()

Get the startDate property: The start date of the enrollment account.

Returns:

the startDate value.

status

public String status()

Get the status property: The status of the enrollment account.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withAccountName

public EnrollmentAccount withAccountName(String accountName)

Set the accountName property: The name of the enrollment account.

Parameters:

accountName - the accountName value to set.

Returns:

the EnrollmentAccount object itself.

withAccountOwner

public EnrollmentAccount withAccountOwner(String accountOwner)

Set the accountOwner property: The owner of the enrollment account.

Parameters:

accountOwner - the accountOwner value to set.

Returns:

the EnrollmentAccount object itself.

withAccountOwnerEmail

public EnrollmentAccount withAccountOwnerEmail(String accountOwnerEmail)

Set the accountOwnerEmail property: The enrollment account owner email address.

Parameters:

accountOwnerEmail - the accountOwnerEmail value to set.

Returns:

the EnrollmentAccount object itself.

withCostCenter

public EnrollmentAccount withCostCenter(String costCenter)

Set the costCenter property: The cost center associated with the enrollment account.

Parameters:

costCenter - the costCenter value to set.

Returns:

the EnrollmentAccount object itself.

withDepartment

public EnrollmentAccount withDepartment(Department department)

Set the department property: Associated department. By default this is not populated, unless it's specified in $expand.

Parameters:

department - the department value to set.

Returns:

the EnrollmentAccount object itself.

withEndDate

public EnrollmentAccount withEndDate(OffsetDateTime endDate)

Set the endDate property: The end date of the enrollment account.

Parameters:

endDate - the endDate value to set.

Returns:

the EnrollmentAccount object itself.

withStartDate

public EnrollmentAccount withStartDate(OffsetDateTime startDate)

Set the startDate property: The start date of the enrollment account.

Parameters:

startDate - the startDate value to set.

Returns:

the EnrollmentAccount object itself.

withStatus

public EnrollmentAccount withStatus(String status)

Set the status property: The status of the enrollment account.

Parameters:

status - the status value to set.

Returns:

the EnrollmentAccount object itself.

Applies to