AccountConfig
AccountConfig
- Full name:
\Onslip360\API\AccountConfig
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$costCenter | \Onslip360\API\CostCenter|null | |
$gratuities | int|null | |
$journalSeries | string|null | |
$mismatches | int|null | |
$paymentMethods | \Onslip360\API\PaymentMethodAccount[]|null | |
$productGroups | \Onslip360\API\ProductGroupAccount[]|null | |
$rounding | int|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