import Manufacturers from 'opengate-js/src/organization_manufacturer/Manufacturer.js'Manufacturers
Extends:
This is a base object that contains all you can do about Manufacturers.
Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI) Constructor |
|
Method Summary
| Public Methods | ||
| public |
deleteInCascade(): * |
|
| public |
modelBuilder(): * |
|
| public |
updateInCascade(): * |
|
| public |
withAddress(address: string): Manufacturers Set the address attribute |
|
| public |
withDescription(description: string): Manufacturers Set the description attribute |
|
| public |
withEmail(email: string): Manufacturers Set the email attribute |
|
| public |
withFax(fax: string): Manufacturers Set the fax attribute |
|
| public |
Set the identifier attribute |
|
| public |
withName(name: string): Manufacturers Set the name attribute |
|
| public |
withNotes(notes: string): Manufacturers Set the notes attribute |
|
| public |
withTelephone(telephone: string): Manufacturers Set the telephone attribute |
|
| public |
withUrl(url: string): Manufacturers 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 |
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#constructorParams:
| Name | Type | Attribute | Description |
| Reference | InternalOpenGateAPI | to the API object. |
Public Methods
public withAddress(address: string): Manufacturers source
Set the address attribute
Params:
| Name | Type | Attribute | Description |
| address | string |
public withDescription(description: string): Manufacturers source
Set the description attribute
Params:
| Name | Type | Attribute | Description |
| description | string | required field |
public withEmail(email: string): Manufacturers source
Set the email attribute
Params:
| Name | Type | Attribute | Description |
| string |
public withFax(fax: string): Manufacturers source
Set the fax attribute
Params:
| Name | Type | Attribute | Description |
| fax | string |
public withIdentifier(id: string): Manufacturers source
Set the identifier attribute
Params:
| Name | Type | Attribute | Description |
| id | string | required field |
public withName(name: string): Manufacturers source
Set the name attribute
Params:
| Name | Type | Attribute | Description |
| name | string | required field |
public withNotes(notes: string): Manufacturers source
Set the notes attribute
Params:
| Name | Type | Attribute | Description |
| notes | string |
public withTelephone(telephone: string): Manufacturers source
Set the telephone attribute
Params:
| Name | Type | Attribute | Description |
| telephone | string |
public withUrl(url: string): Manufacturers source
Set the url attribute
Params:
| Name | Type | Attribute | Description |
| url | string |