Interface: CartItem

CartItem

Methods

datafileCount(options) → {Promise.<number>}

Gets the size of this item.
Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>

datafileCount(timeout) → {Promise.<number>}

Gets the size of this item.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>

datafileCount() → {Promise.<number>}

Gets the size of this item.
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>

delete(options) → {Promise.<Cart>}

Deletes this item from the cart and returns the updated Cart.
Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
the updated Cart (defered)
Type
Promise.<Cart>

delete(timeout) → {Promise.<Cart>}

Deletes this item from the cart and returns the updated Cart.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
the updated Cart (defered)
Type
Promise.<Cart>

delete() → {Promise.<Cart>}

Deletes this item from the cart and returns the updated Cart.
Source:
Returns:
the updated Cart (defered)
Type
Promise.<Cart>

entity(options) → {Promise.<IcatEntity>}

Gets the corresponding IcatEntity.
Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<IcatEntity>

entity(timeout) → {Promise.<IcatEntity>}

Gets the corresponding IcatEntity.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<IcatEntity>

entity() → {Promise.<IcatEntity>}

Gets the corresponding IcatEntity.
Source:
Returns:
Type
Promise.<IcatEntity>

getSize(options) → {Promise.<number>}

Gets the size of this item.
Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>

getSize(timeout) → {Promise.<number>}

Gets the size of this item.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>

getSize() → {Promise.<number>}

Gets the size of this item.
Source:
Returns:
the size in bytes (defered)
Type
Promise.<number>