Class NSShipmentMessageBlockEntity
Syntax
Constructors
NSShipmentMessageBlockEntity()
Initializes a new instance of the NSShipmentMessageBlockEntity class.
Declaration
NSShipmentMessageBlockEntity
Methods
GetAssociateId()
Declaration
Returns
Type |
Description |
Integer |
The associate that owns this block.
|
Examples
NSShipmentMessageBlockEntity thing;
Integer associateId = thing.GetAssociateId();
GetBlock()
Declaration
Returns
Type |
Description |
String |
The block definition. Normally this will be a JSON structure.
|
Examples
NSShipmentMessageBlockEntity thing;
String block = thing.GetBlock();
GetRegistered()
Declaration
Returns
Type |
Description |
DateTime |
Registered when.
|
Examples
NSShipmentMessageBlockEntity thing;
DateTime registered = thing.GetRegistered();
GetRegisteredAssociateId()
Declaration
Integer GetRegisteredAssociateId()
Returns
Type |
Description |
Integer |
Registered by whom.
|
Examples
NSShipmentMessageBlockEntity thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
GetShipmentMessageBlockId()
Declaration
Integer GetShipmentMessageBlockId()
Returns
Type |
Description |
Integer |
Primary key.
|
Examples
NSShipmentMessageBlockEntity thing;
Integer shipmentMessageBlockId = thing.GetShipmentMessageBlockId();
GetUpdated()
Declaration
Returns
Type |
Description |
DateTime |
Last updated when.
|
Examples
NSShipmentMessageBlockEntity thing;
DateTime updated = thing.GetUpdated();
GetUpdatedAssociateId()
Declaration
Integer GetUpdatedAssociateId()
Returns
Type |
Description |
Integer |
Last updated by whom.
|
Examples
NSShipmentMessageBlockEntity thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
GetUpdatedCount()
Declaration
Integer GetUpdatedCount()
Returns
Type |
Description |
Integer |
Number of updates made to this record.
|
Examples
NSShipmentMessageBlockEntity thing;
Integer updatedCount = thing.GetUpdatedCount();
SetAssociateId(Integer)
Declaration
Void SetAssociateId(Integer associateId)
Parameters
Type |
Name |
Description |
Integer |
associateId |
The associate that owns this block.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
Integer associateId;
thing.SetAssociateId(associateId);
SetBlock(String)
Declaration
Void SetBlock(String block)
Parameters
Type |
Name |
Description |
String |
block |
The block definition. Normally this will be a JSON structure.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
String block;
thing.SetBlock(block);
SetRegistered(DateTime)
Declaration
Void SetRegistered(DateTime registered)
Parameters
Type |
Name |
Description |
DateTime |
registered |
Registered when.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
DateTime registered;
thing.SetRegistered(registered);
SetRegisteredAssociateId(Integer)
Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId)
Parameters
Type |
Name |
Description |
Integer |
registeredAssociateId |
Registered by whom.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);
SetShipmentMessageBlockId(Integer)
Declaration
Void SetShipmentMessageBlockId(Integer shipmentMessageBlockId)
Parameters
Type |
Name |
Description |
Integer |
shipmentMessageBlockId |
Primary key.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
Integer shipmentMessageBlockId;
thing.SetShipmentMessageBlockId(shipmentMessageBlockId);
SetUpdated(DateTime)
Declaration
Void SetUpdated(DateTime updated)
Parameters
Type |
Name |
Description |
DateTime |
updated |
Last updated when.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
DateTime updated;
thing.SetUpdated(updated);
SetUpdatedAssociateId(Integer)
Declaration
Void SetUpdatedAssociateId(Integer updatedAssociateId)
Parameters
Type |
Name |
Description |
Integer |
updatedAssociateId |
Last updated by whom.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
SetUpdatedCount(Integer)
Declaration
Void SetUpdatedCount(Integer updatedCount)
Parameters
Type |
Name |
Description |
Integer |
updatedCount |
Number of updates made to this record.
|
Returns
Examples
NSShipmentMessageBlockEntity thing;
Integer updatedCount;
thing.SetUpdatedCount(updatedCount);