UNPKG

netsuite-starter

Version:

Scaffold to build NetSuite account customizations

117 lines (99 loc) 2.04 kB
/** * Return a new instance of sublist object * * @param {Object} sublist * @param {string} sublist.type type of sublist * @param {SublistState} sublist.sublistState SublistState * @return {Sublist} * @constructor * * @since 2015.2 */ class Sublist { /** * The name of the sublist. * @name Sublist#name * @type string * @readonly */ getName(options: any): any { if (options) { // } }; /** * The type of the sublist. * @name Sublist#type * @type string * @readonly */ getType(options: any): any { if (options) { // } }; /** * The sublist is changed * @name Sublist#isChanged * @type boolean * @readonly */ isChanged(options: any): any { if (options) { // } }; /** * The sublist is hidden * @name Sublist#isHidden * @type boolean * @readonly */ isHidden(options: any): any { if (options) { // } }; /** * The sublist is display * @name Sublist#isDisplay * @type boolean * @readonly */ isDisplay(options: any): any { if (options) { // } }; /** * A flag to indicate whether or not the sublist supports multi-line buffer feature. * @name Sublist#isMultilineEditable * @type boolean * @readonly */ isMultilineEditable(options: any): any { if (options) { // } }; /** * get JSON format of the object * @return {{id: *, label: *, type: *}} * */ toJSON(options: any): any { if (options) { // } }; /** * @return {string} * */ toString(options: any): any { if (options) { // } }; } export default Sublist;