Class: DiscountApprover

payments.DiscountApprover()

new DiscountApprover()

Source:

Methods

(static) DiscountApprover#getApprovedBy() → {base.Reference}

Get the field value Employee who approved the discount
Source:
Returns:
Type
base.Reference

(static) DiscountApprover#getCreatedTime() → {Number}

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

(static) DiscountApprover#getDiscount() → {base.Reference}

Get the field value The discount ID and UUID
Source:
Returns:
Type
base.Reference

(static) DiscountApprover#getEnvironment() → {Null|String}

Get the field value Which environment was this recorded in
Source:
Returns:
Type
Null | String

(static) DiscountApprover#getLineItem() → {Null|base.Reference}

Get the field value The lineItem with which the discount is associated
Source:
Returns:
Type
Null | base.Reference

(static) DiscountApprover#getMerchant() → {base.Reference}

Get the field value
Source:
Returns:
Type
base.Reference

(static) DiscountApprover#getOrder() → {base.Reference}

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

(static) DiscountApprover#setApprovedBy(approvedBy)

Set the field value Employee who approved the discount
Parameters:
Name Type Description
approvedBy base.Reference
Source:

(static) DiscountApprover#setCreatedTime(createdTime)

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

(static) DiscountApprover#setDiscount(discount)

Set the field value The discount ID and UUID
Parameters:
Name Type Description
discount base.Reference
Source:

(static) DiscountApprover#setEnvironment(environment)

Set the field value Which environment was this recorded in
Parameters:
Name Type Description
environment Null | String
Source:

(static) DiscountApprover#setLineItem(lineItem)

Set the field value The lineItem with which the discount is associated
Parameters:
Name Type Description
lineItem Null | base.Reference
Source:

(static) DiscountApprover#setMerchant(merchant)

Set the field value
Parameters:
Name Type Description
merchant base.Reference
Source:

(static) DiscountApprover#setOrder(order)

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