Skip to main content

Partial_AccountConfig


Partial_AccountConfig

Properties

costCenter

public \Onslip360\API\Partial_CostCenter|null|\Onslip360\Nil $costCenter

gratuities

public int|null|\Onslip360\Nil $gratuities

journalSeries

public string|null|\Onslip360\Nil $journalSeries

mismatches

public int|null|\Onslip360\Nil $mismatches

paymentMethods

public array|null|\Onslip360\Nil $paymentMethods

productGroups

public array|null|\Onslip360\Nil $productGroups

rounding

public int|null|\Onslip360\Nil $rounding

Methods

__construct

public __construct(\Onslip360\API\Partial_CostCenter|null|\Onslip360\Nil $costCenter = null, int|null|\Onslip360\Nil $gratuities = null, string|null|\Onslip360\Nil $journalSeries = null, int|null|\Onslip360\Nil $mismatches = null, \Onslip360\API\Partial_PaymentMethodAccount[]|null|\Onslip360\Nil $paymentMethods = null, \Onslip360\API\Partial_ProductGroupAccount[]|null|\Onslip360\Nil $productGroups = null, int|null|\Onslip360\Nil $rounding = null): mixed

Parameters:

ParameterTypeDescription
$costCenter\Onslip360\API\Partial_CostCenter|null|\Onslip360\Nil
$gratuitiesint|null|\Onslip360\Nil
$journalSeriesstring|null|\Onslip360\Nil
$mismatchesint|null|\Onslip360\Nil
$paymentMethods\Onslip360\API\Partial_PaymentMethodAccount[]|null|\Onslip360\Nil
$productGroups\Onslip360\API\Partial_ProductGroupAccount[]|null|\Onslip360\Nil
$roundingint|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