Partial_ExternalReceipt
Partial_ExternalReceipt
- Full name:
\Onslip360\API\Partial_ExternalReceipt
- Parent class:
\Onslip360\Onslip360Object
Properties
change
public float|null $change
customer
public \Onslip360\API\Partial_Customer|null|\Onslip360\Nil $customer
items
public array|null $items
order
public int|null|\Onslip360\Nil $order
ourReference
public string|null|\Onslip360\Nil $ourReference
payments
public array|null $payments
reference
public string|null|\Onslip360\Nil $reference
rounding
public float|null|\Onslip360\Nil $rounding
tab
public int|null|\Onslip360\Nil $tab
type
public \Onslip360\API\Receipt\Type|null $type
Methods
__construct
public __construct(float|null $change = null, \Onslip360\API\Partial_Customer|null|\Onslip360\Nil $customer = null, \Onslip360\API\Partial_Item[]|null $items = null, int|null|\Onslip360\Nil $order = null, string|null|\Onslip360\Nil $ourReference = null, \Onslip360\API\Partial_Payment[]|null $payments = null, string|null|\Onslip360\Nil $reference = null, float|null|\Onslip360\Nil $rounding = null, int|null|\Onslip360\Nil $tab = null, \Onslip360\API\Receipt\Type|null $type = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$change | float|null | |
$customer | \Onslip360\API\Partial_Customer|null|\Onslip360\Nil | |
$items | \Onslip360\API\Partial_Item[]|null | |
$order | int|null|\Onslip360\Nil | |
$ourReference | string|null|\Onslip360\Nil | |
$payments | \Onslip360\API\Partial_Payment[]|null | |
$reference | string|null|\Onslip360\Nil | |
$rounding | float|null|\Onslip360\Nil | |
$tab | int|null|\Onslip360\Nil | |
$type | \Onslip360\API\Receipt\Type|null |
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