Class UsageRecordResource

Updated: March 10, 2021
Contents

UsageRecordResource ⇐ GenericResource

The UsageFileResource class provides methods to access the usage file
endpoint of the Cloud Blue Connect API.

Kind: global class
Extends: GenericResource
Category: Resources

new UsageRecordResource(client)

Creates a new instance of the UsageRecordResource class.

Returns: UsageRecordResource – An instance of the UsageFileResource class.

ParamTypeDescription
client ConnectClient An instance of the ConnectClient class.

usageRecordResource.close(id, externalBillingId, externalBillingNote) ⇒ UsageChunkResource

Close all Record File.

Kind: instance method of UsageRecordResource
Returns: UsageChunkResource – An instance of the UsageChunkResource.

ParamTypeDescription
id string The unique identifier of the Usage File.
externalBillingId string Id of the billing to close record
externalBillingNote string Note of the billing to close record

usageRecordResource.closeRecords(id, recordId, externalBillingId, externalBillingNote) ⇒ UsageChunkResource

Close Records Record File.

Kind: instance method of UsageRecordResource
Returns: UsageChunkResource – An instance of the UsageChunkResource.

ParamTypeDescription
id string The unique identifier of the Usage File.
recordId string Id of the record to close
externalBillingId string Id of the billing to close record
externalBillingNote string Note of the billing to close record
Is this page helpful?
Translate with Google
Copied to clipboard