new Batch()
- Source:
 
Methods
(static) Batch#getAccountId() → {Number}
    Get the field value
The id of employee who executed batch
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getBatchDetails() → {payments.BatchDetail}
    Get the field value
Details split based on card / employees
- Source:
 
Returns:
- Type
 - payments.BatchDetail
 
(static) Batch#getBatchTransactions() → {payments.BatchTransactions}
    Get the field value
List of payments, refunds, and gift card transaction reference objects in the batch
- Source:
 
Returns:
(static) Batch#getBatchType() → {payments.BatchType}
    Get the field value
- Source:
 
Returns:
- Type
 - payments.BatchType
 
(static) Batch#getCreatedTime() → {Number}
    Get the field value
Created time of batch
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getDevices() → {String}
    Get the field value
List of devices in batch
- Source:
 
Returns:
- Type
 - String
 
(static) Batch#getFirstGatewayTxId() → {Number}
    Get the field value
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getId() → {String}
    Get the field value
- Source:
 
Returns:
- Type
 - String
 
(static) Batch#getLastGatewayTxId() → {Number}
    Get the field value
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getMerchantId() → {Number}
    Get the field value
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getModifiedTime() → {Number}
    Get the field value
Modified time of batch
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getState() → {payments.BatchState}
    Get the field value
- Source:
 
Returns:
- Type
 - payments.BatchState
 
(static) Batch#getTotalBatchAmount() → {Number}
    Get the field value
Total amount closed
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#getTxCount() → {Number}
    Get the field value
The number of transactions being batched
- Source:
 
Returns:
    must be a long integer
- Type
 - Number
 
(static) Batch#setAccountId(accountId)
    Set the field value
The id of employee who executed batch
    Parameters:
| Name | Type | Description | 
|---|---|---|
accountId | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setBatchDetails(batchDetails)
    Set the field value
Details split based on card / employees
    Parameters:
| Name | Type | Description | 
|---|---|---|
batchDetails | 
            
            payments.BatchDetail | 
- Source:
 
(static) Batch#setBatchTransactions(batchTransactions)
    Set the field value
List of payments, refunds, and gift card transaction reference objects in the batch
    Parameters:
| Name | Type | Description | 
|---|---|---|
batchTransactions | 
            
            payments.BatchTransactions | 
- Source:
 
(static) Batch#setBatchType(batchType)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
batchType | 
            
            payments.BatchType | 
- Source:
 
(static) Batch#setCreatedTime(createdTime)
    Set the field value
Created time of batch
    Parameters:
| Name | Type | Description | 
|---|---|---|
createdTime | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setDevices(devices)
    Set the field value
List of devices in batch
    Parameters:
| Name | Type | Description | 
|---|---|---|
devices | 
            
            String | 
- Source:
 
(static) Batch#setFirstGatewayTxId(firstGatewayTxId)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
firstGatewayTxId | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setId(id)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
            
            String | 
- Source:
 
(static) Batch#setLastGatewayTxId(lastGatewayTxId)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
lastGatewayTxId | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setMerchantId(merchantId)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
merchantId | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setModifiedTime(modifiedTime)
    Set the field value
Modified time of batch
    Parameters:
| Name | Type | Description | 
|---|---|---|
modifiedTime | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setState(state)
    Set the field value
    Parameters:
| Name | Type | Description | 
|---|---|---|
state | 
            
            payments.BatchState | 
- Source:
 
(static) Batch#setTotalBatchAmount(totalBatchAmount)
    Set the field value
Total amount closed
    Parameters:
| Name | Type | Description | 
|---|---|---|
totalBatchAmount | 
            
            Number | must be a long integer | 
- Source:
 
(static) Batch#setTxCount(txCount)
    Set the field value
The number of transactions being batched
    Parameters:
| Name | Type | Description | 
|---|---|---|
txCount | 
            
            Number | must be a long integer | 
- Source: