Class: CustomerMetadata

customers.CustomerMetadata

new CustomerMetadata()

Source:

Methods

(static) CustomerMetadata#getBusinessName() → {String}

Get the field value The name of the business the customer is associated with.
Source:
Returns:
Type
String

(static) CustomerMetadata#getCustomer() → {base.Reference}

Get the field value Customer who this metadata belongs to.
Source:
Returns:
Type
base.Reference

(static) CustomerMetadata#getDobDay() → {Number}

Get the field value The day part of the date of birth for this customer.
Source:
Returns:
must be an integer
Type
Number

(static) CustomerMetadata#getDobMonth() → {Number}

Get the field value The month part of the date of birth for this customer.
Source:
Returns:
must be an integer
Type
Number

(static) CustomerMetadata#getDobYear() → {Number}

Get the field value The year part of the date of birth for this customer. This part of the date of birth is optional, i.e., it's possible that only dobMonth and dobDay are populated.
Source:
Returns:
must be an integer
Type
Number

(static) CustomerMetadata#getNote() → {String}

Get the field value A note about the customer.
Source:
Returns:
Type
String

(static) CustomerMetadata#setBusinessName(businessName)

Set the field value The name of the business the customer is associated with.
Parameters:
Name Type Description
businessName String
Source:

(static) CustomerMetadata#setCustomer(customer)

Set the field value Customer who this metadata belongs to.
Parameters:
Name Type Description
customer base.Reference
Source:

(static) CustomerMetadata#setDobDay(dobDay)

Set the field value The day part of the date of birth for this customer.
Parameters:
Name Type Description
dobDay Number must be an integer
Source:

(static) CustomerMetadata#setDobMonth(dobMonth)

Set the field value The month part of the date of birth for this customer.
Parameters:
Name Type Description
dobMonth Number must be an integer
Source:

(static) CustomerMetadata#setDobYear(dobYear)

Set the field value The year part of the date of birth for this customer. This part of the date of birth is optional, i.e., it's possible that only dobMonth and dobDay are populated.
Parameters:
Name Type Description
dobYear Number must be an integer
Source:

(static) CustomerMetadata#setNote(note)

Set the field value A note about the customer.
Parameters:
Name Type Description
note String
Source: