Partial_Batch
Partial_Batch
- Full name:
\Onslip360\API\Partial_Batch
- Parent class:
\Onslip360\Onslip360Object
Properties
amounts
public array|null|\Onslip360\Nil $amounts
cashAmount
public float|null|\Onslip360\Nil $cashAmount
mismatches
public array|null|\Onslip360\Nil $mismatches
type
public \Onslip360\API\Batch\Type|null $type
vatSummaries
public array|null|\Onslip360\Nil $vatSummaries
Methods
__construct
public __construct(\Onslip360\API\Partial_Payment[]|null|\Onslip360\Nil $amounts = null, float|null|\Onslip360\Nil $cashAmount = null, \Onslip360\API\Partial_Payment[]|null|\Onslip360\Nil $mismatches = null, \Onslip360\API\Batch\Type|null $type = null, \Onslip360\API\Partial_VATSummary[]|null|\Onslip360\Nil $vatSummaries = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$amounts | \Onslip360\API\Partial_Payment[]|null|\Onslip360\Nil | |
$cashAmount | float|null|\Onslip360\Nil | |
$mismatches | \Onslip360\API\Partial_Payment[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\Batch\Type|null | |
$vatSummaries | \Onslip360\API\Partial_VATSummary[]|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