Class: DataAssociation

inventory.DataAssociation()

new DataAssociation()

Source:

Methods

(static) DataAssociation#getPayload() → {String}

Get the field value Serialized data related to the propagation, e.g. an update map.
Source:
Returns:
Type
String

(static) DataAssociation#getPrimary() → {base.Reference}

Get the field value The primary object in an association, e.g., 'Item' in an 'Item - Tax Rate' association
Source:
Returns:
Type
base.Reference

(static) DataAssociation#getSecondary() → {base.Reference}

Get the field value The secondary object in an association, e.g., 'Tax Rate' in an 'Item - Tax Rate' association
Source:
Returns:
Type
base.Reference

(static) DataAssociation#setPayload(payload)

Set the field value Serialized data related to the propagation, e.g. an update map.
Parameters:
Name Type Description
payload String
Source:

(static) DataAssociation#setPrimary(primary)

Set the field value The primary object in an association, e.g., 'Item' in an 'Item - Tax Rate' association
Parameters:
Name Type Description
primary base.Reference
Source:

(static) DataAssociation#setSecondary(secondary)

Set the field value The secondary object in an association, e.g., 'Tax Rate' in an 'Item - Tax Rate' association
Parameters:
Name Type Description
secondary base.Reference
Source: