Skip to main content

UsageEntry


UsageEntry

Properties​

type​

public \Onslip360\API\UsageEntry\Type $type

erpInvoiceMetadata​

public \Onslip360\API\ERPInvoiceMetadata|null $erpInvoiceMetadata

inventoryAdjustment​

public int|null $inventoryAdjustment

location​

public int|null $location

passwordReset​

public \Onslip360\API\PasswordReset|null $passwordReset

passwordResetChallenge​

public \Onslip360\API\PasswordResetChallenge|null $passwordResetChallenge

product​

public int|null $product

productGroup​

public int|null $productGroup

shiftHistory​

public \Onslip360\API\ShiftHistoryExport|null $shiftHistory

stockBalanceTransaction​

public \Onslip360\API\StockBalanceTransaction|null $stockBalanceTransaction

tab​

public int|null $tab

user​

public int|null $user

voucher​

public int|null $voucher

voucherTransaction​

public \Onslip360\API\VoucherTransaction|null $voucherTransaction

Methods​

__construct​

public __construct(\Onslip360\API\UsageEntry\Type $type, \Onslip360\API\ERPInvoiceMetadata|null $erpInvoiceMetadata = null, int|null $inventoryAdjustment = null, int|null $location = null, \Onslip360\API\PasswordReset|null $passwordReset = null, \Onslip360\API\PasswordResetChallenge|null $passwordResetChallenge = null, int|null $product = null, int|null $productGroup = null, \Onslip360\API\ShiftHistoryExport|null $shiftHistory = null, \Onslip360\API\StockBalanceTransaction|null $stockBalanceTransaction = null, int|null $tab = null, int|null $user = null, int|null $voucher = null, \Onslip360\API\VoucherTransaction|null $voucherTransaction = null): mixed

Parameters:

ParameterTypeDescription
$type\Onslip360\API\UsageEntry\Type
$erpInvoiceMetadata\Onslip360\API\ERPInvoiceMetadata|null
$inventoryAdjustmentint|null
$locationint|null
$passwordReset\Onslip360\API\PasswordReset|null
$passwordResetChallenge\Onslip360\API\PasswordResetChallenge|null
$productint|null
$productGroupint|null
$shiftHistory\Onslip360\API\ShiftHistoryExport|null
$stockBalanceTransaction\Onslip360\API\StockBalanceTransaction|null
$tabint|null
$userint|null
$voucherint|null
$voucherTransaction\Onslip360\API\VoucherTransaction|null

Inherited methods​

getExtended​

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended​

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson​

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray​

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize​

public jsonSerialize(): array|object


Automatically generated on 2026-06-17