Class: ServiceCharge

base.ServiceCharge()

new ServiceCharge()

Source:

Methods

(static) ServiceCharge#getEnabled() → {Boolean}

Get the field value If this service charge is enabled
Source:
Returns:
Type
Boolean

(static) ServiceCharge#getId() → {String}

Get the field value Unique identifier
Source:
Returns:
Type
String

(static) ServiceCharge#getName() → {String}

Get the field value Service charge name
Source:
Returns:
Type
String

(static) ServiceCharge#getOrderRef() → {base.Reference}

Get the field value The order with which the service charge is associated
Source:
Returns:
Type
base.Reference

(static) ServiceCharge#getPercentage() → {Number}

Get the field value DEPRECATED
Source:
Returns:
must be a long integer
Type
Number

(static) ServiceCharge#getPercentageDecimal() → {Number}

Get the field value Percent to charge times 10000, e.g. 12.5% will be 125000
Source:
Returns:
must be a long integer
Type
Number

(static) ServiceCharge#setEnabled(enabled)

Set the field value If this service charge is enabled
Parameters:
Name Type Description
enabled Boolean
Source:

(static) ServiceCharge#setId(id)

Set the field value Unique identifier
Parameters:
Name Type Description
id String
Source:

(static) ServiceCharge#setName(name)

Set the field value Service charge name
Parameters:
Name Type Description
name String
Source:

(static) ServiceCharge#setOrderRef(orderRef)

Set the field value The order with which the service charge is associated
Parameters:
Name Type Description
orderRef base.Reference
Source:

(static) ServiceCharge#setPercentage(percentage)

Set the field value DEPRECATED
Parameters:
Name Type Description
percentage Number must be a long integer
Source:

(static) ServiceCharge#setPercentageDecimal(percentageDecimal)

Set the field value Percent to charge times 10000, e.g. 12.5% will be 125000
Parameters:
Name Type Description
percentageDecimal Number must be a long integer
Source: