Skip to main content

Partial_Batch


Partial_Batch

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:

ParameterTypeDescription
$amounts\Onslip360\API\Partial_Payment[]|null|\Onslip360\Nil
$cashAmountfloat|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:

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