Home Manual Reference Source Test Repository
public class | source

Manufacturers

Extends:

BaseProvision → Manufacturers

This is a base object that contains all you can do about Manufacturers.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public
public
public

Set the address attribute

public

Set the description attribute

public

Set the email attribute

public

Set the fax attribute

public

Set the identifier attribute

public

Set the name attribute

public

Set the notes attribute

public

Set the telephone attribute

public

Set the url attribute

Inherited Summary

From class BaseProvision
public

This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision

public

delete(body: *): Promise

This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a entity of provision

public

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

BaseProvision#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public mediaBuilder(): * source

Return:

*

public modelBuilder(): * source

Return:

*

public withAddress(address: string): Manufacturers source

Set the address attribute

Params:

NameTypeAttributeDescription
address string

Return:

Manufacturers

public withDescription(description: string): Manufacturers source

Set the description attribute

Params:

NameTypeAttributeDescription
description string

required field

Return:

Manufacturers

public withEmail(email: string): Manufacturers source

Set the email attribute

Params:

NameTypeAttributeDescription
email string

Return:

Manufacturers

public withFax(fax: string): Manufacturers source

Set the fax attribute

Params:

NameTypeAttributeDescription
fax string

Return:

Manufacturers

public withIdentifier(id: string): Manufacturers source

Set the identifier attribute

Params:

NameTypeAttributeDescription
id string

required field

Return:

Manufacturers

public withName(name: string): Manufacturers source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

Return:

Manufacturers

public withNotes(notes: string): Manufacturers source

Set the notes attribute

Params:

NameTypeAttributeDescription
notes string

Return:

Manufacturers

public withTelephone(telephone: string): Manufacturers source

Set the telephone attribute

Params:

NameTypeAttributeDescription
telephone string

Return:

Manufacturers

public withUrl(url: string): Manufacturers source

Set the url attribute

Params:

NameTypeAttributeDescription
url string

Return:

Manufacturers