(bulk_payable_batch_item)
- create - Create a bulk payable batch item
- get - Get a bulk payable batch item
- update - Update a bulk payable batch item
Create a bulk payable batch item
import wingspan
from wingspan.models import operations, shared
s = wingspan.Wingspan()
res = s.bulk_payable_batch_item.create(batch_id='online', bulk_payable_item_create=shared.BulkPayableItemCreate(
amount=6384.24,
bulk_payable_batch_id='Extended',
due_date='South',
labels={
"shred": 'abnormally',
},
line_item_description='deposit',
payable_status=shared.PayableStatusBulkPayableItemCreate.OPEN,
))
if res.bulk_payable_item is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
batch_id |
str | ✔️ | Unique identifier for a batch |
bulk_payable_item_create |
Optional[shared.BulkPayableItemCreate] | ➖ | N/A |
operations.CreateBulkPayableBatchItemResponse
Get a bulk payable batch item
import wingspan
from wingspan.models import operations
s = wingspan.Wingspan()
res = s.bulk_payable_batch_item.get(batch_id='female', batch_item_id='program')
if res.bulk_payable_item is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
batch_id |
str | ✔️ | Unique identifier for a batch |
batch_item_id |
str | ✔️ | Unique identifier for an item in a batch |
operations.GetBulkPayableBatchItemResponse
Update a bulk payable batch item
import wingspan
from wingspan.models import operations, shared
s = wingspan.Wingspan()
res = s.bulk_payable_batch_item.update(batch_id='Van', batch_item_id='East', bulk_payable_item_update=shared.BulkPayableItemUpdate(
labels={
"male": 'Metal',
},
))
if res.bulk_payable_item is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
batch_id |
str | ✔️ | Unique identifier for a batch |
batch_item_id |
str | ✔️ | Unique identifier for an item in a batch |
bulk_payable_item_update |
Optional[shared.BulkPayableItemUpdate] | ➖ | N/A |