Skip to main content

Partial_UsageEntry


Partial_UsageEntry

Properties

erpInvoiceMetadata

public \Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil $erpInvoiceMetadata

inventoryAdjustment

public int|null|\Onslip360\Nil $inventoryAdjustment

location

public int|null|\Onslip360\Nil $location

passwordReset

public \Onslip360\API\Partial_PasswordReset|null|\Onslip360\Nil $passwordReset

passwordResetChallenge

public \Onslip360\API\Partial_PasswordResetChallenge|null|\Onslip360\Nil $passwordResetChallenge

product

public int|null|\Onslip360\Nil $product

productGroup

public int|null|\Onslip360\Nil $productGroup

shiftHistory

public \Onslip360\API\Partial_ShiftHistoryExport|null|\Onslip360\Nil $shiftHistory

stockBalanceTransaction

public \Onslip360\API\Partial_StockBalanceTransaction|null|\Onslip360\Nil $stockBalanceTransaction

tab

public int|null|\Onslip360\Nil $tab

type

public \Onslip360\API\UsageEntry\Type|null $type

user

public int|null|\Onslip360\Nil $user

voucher

public int|null|\Onslip360\Nil $voucher

voucherTransaction

public \Onslip360\API\Partial_VoucherTransaction|null|\Onslip360\Nil $voucherTransaction

Methods

__construct

public __construct(\Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil $erpInvoiceMetadata = null, int|null|\Onslip360\Nil $inventoryAdjustment = null, int|null|\Onslip360\Nil $location = null, \Onslip360\API\Partial_PasswordReset|null|\Onslip360\Nil $passwordReset = null, \Onslip360\API\Partial_PasswordResetChallenge|null|\Onslip360\Nil $passwordResetChallenge = null, int|null|\Onslip360\Nil $product = null, int|null|\Onslip360\Nil $productGroup = null, \Onslip360\API\Partial_ShiftHistoryExport|null|\Onslip360\Nil $shiftHistory = null, \Onslip360\API\Partial_StockBalanceTransaction|null|\Onslip360\Nil $stockBalanceTransaction = null, int|null|\Onslip360\Nil $tab = null, \Onslip360\API\UsageEntry\Type|null $type = null, int|null|\Onslip360\Nil $user = null, int|null|\Onslip360\Nil $voucher = null, \Onslip360\API\Partial_VoucherTransaction|null|\Onslip360\Nil $voucherTransaction = null): mixed

Parameters:

ParameterTypeDescription
$erpInvoiceMetadata\Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil
$inventoryAdjustmentint|null|\Onslip360\Nil
$locationint|null|\Onslip360\Nil
$passwordReset\Onslip360\API\Partial_PasswordReset|null|\Onslip360\Nil
$passwordResetChallenge\Onslip360\API\Partial_PasswordResetChallenge|null|\Onslip360\Nil
$productint|null|\Onslip360\Nil
$productGroupint|null|\Onslip360\Nil
$shiftHistory\Onslip360\API\Partial_ShiftHistoryExport|null|\Onslip360\Nil
$stockBalanceTransaction\Onslip360\API\Partial_StockBalanceTransaction|null|\Onslip360\Nil
$tabint|null|\Onslip360\Nil
$type\Onslip360\API\UsageEntry\Type|null
$userint|null|\Onslip360\Nil
$voucherint|null|\Onslip360\Nil
$voucherTransaction\Onslip360\API\Partial_VoucherTransaction|null|\Onslip360\Nil

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 2024-11-05