Skip to main content

AccountConfig


AccountConfig

Properties

costCenter

public \Onslip360\API\CostCenter|null $costCenter

gratuities

public int|null $gratuities

journalSeries

public string|null $journalSeries

mismatches

public int|null $mismatches

paymentMethods

public array|null $paymentMethods

productGroups

public array|null $productGroups

rounding

public int|null $rounding

Methods

__construct

public __construct(\Onslip360\API\CostCenter|null $costCenter = null, int|null $gratuities = null, string|null $journalSeries = null, int|null $mismatches = null, \Onslip360\API\PaymentMethodAccount[]|null $paymentMethods = null, \Onslip360\API\ProductGroupAccount[]|null $productGroups = null, int|null $rounding = null): mixed

Parameters:

ParameterTypeDescription
$costCenter\Onslip360\API\CostCenter|null
$gratuitiesint|null
$journalSeriesstring|null
$mismatchesint|null
$paymentMethods\Onslip360\API\PaymentMethodAccount[]|null
$productGroups\Onslip360\API\ProductGroupAccount[]|null
$roundingint|null

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