Partial_UsageEntry
Partial_UsageEntry
- Full name:
\Onslip360\API\Partial_UsageEntry
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$erpInvoiceMetadata | \Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil | |
$inventoryAdjustment | int|null|\Onslip360\Nil | |
$location | int|null|\Onslip360\Nil | |
$passwordReset | \Onslip360\API\Partial_PasswordReset|null|\Onslip360\Nil | |
$passwordResetChallenge | \Onslip360\API\Partial_PasswordResetChallenge|null|\Onslip360\Nil | |
$product | int|null|\Onslip360\Nil | |
$productGroup | int|null|\Onslip360\Nil | |
$shiftHistory | \Onslip360\API\Partial_ShiftHistoryExport|null|\Onslip360\Nil | |
$stockBalanceTransaction | \Onslip360\API\Partial_StockBalanceTransaction|null|\Onslip360\Nil | |
$tab | int|null|\Onslip360\Nil | |
$type | \Onslip360\API\UsageEntry\Type|null | |
$user | int|null|\Onslip360\Nil | |
$voucher | int|null|\Onslip360\Nil | |
$voucherTransaction | \Onslip360\API\Partial_VoucherTransaction|null|\Onslip360\Nil |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05