ERPInvoiceMetadata
ERPInvoiceMetadata
- Full name:
\Onslip360\API\ERPInvoiceMetadata
- Parent class:
\Onslip360\Onslip360Object
Properties
customerNumber
public string $customerNumber
invoiceDate
public string $invoiceDate
invoiceId
public string $invoiceId
status
public \Onslip360\API\ERPInvoiceMetadata\Status $status
totalAmount
public float $totalAmount
type
public \Onslip360\API\ERPActivation\Type $type
Methods
__construct
public __construct(string $customerNumber, string $invoiceDate, string $invoiceId, \Onslip360\API\ERPInvoiceMetadata\Status $status, float $totalAmount, \Onslip360\API\ERPActivation\Type $type): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$customerNumber | string | |
$invoiceDate | string | |
$invoiceId | string | |
$status | \Onslip360\API\ERPInvoiceMetadata\Status | |
$totalAmount | float | |
$type | \Onslip360\API\ERPActivation\Type |
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