Stored_PaymentMethod
Stored_PaymentMethod
- Full name:
\Onslip360\API\Stored_PaymentMethod
- Parent class:
\Onslip360\Onslip360Object
Properties
created
public string $created
id
public int $id
name
public string $name
type
public \Onslip360\API\PaymentMethod\Type $type
updated
public string $updated
virtual
public bool $virtual
accessToken
public int|null $accessToken
accessTokenUser
public int|null $accessTokenUser
account
public int|null $account
clearingAccount
public int|null $clearingAccount
currencyCode
public string|null $currencyCode
currencySymbol
public string|null $currencySymbol
deleted
public string|null $deleted
erpInvoiceDeliveryParams
public \Onslip360\API\ERPInvoiceDeliveryParams|null $erpInvoiceDeliveryParams
erpInvoiceProvider
public \Onslip360\API\ERPActivation\Type|null $erpInvoiceProvider
exchangeRate
public float|null $exchangeRate
hidden
public bool|null $hidden
labels
public array|null $labels
registerCustomer
public bool|null $registerCustomer
roundingMultiple
public float|null $roundingMultiple
tags
public array|null $tags
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
vatAccount
public int|null $vatAccount
vatRate
public float|null $vatRate
Methods
__construct
public __construct(string $created, int $id, string $name, \Onslip360\API\PaymentMethod\Type $type, string $updated, bool $virtual, int|null $accessToken = null, int|null $accessTokenUser = null, int|null $account = null, int|null $clearingAccount = null, string|null $currencyCode = null, string|null $currencySymbol = null, string|null $deleted = null, \Onslip360\API\ERPInvoiceDeliveryParams|null $erpInvoiceDeliveryParams = null, \Onslip360\API\ERPActivation\Type|null $erpInvoiceProvider = null, float|null $exchangeRate = null, bool|null $hidden = null, int[]|null $labels = null, bool|null $registerCustomer = null, float|null $roundingMultiple = null, string[]|null $tags = null, int|null $updatedBy = null, int|null $updatedFrom = null, int|null $vatAccount = null, float|null $vatRate = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$created | string | |
$id | int | |
$name | string | |
$type | \Onslip360\API\PaymentMethod\Type | |
$updated | string | |
$virtual | bool | |
$accessToken | int|null | |
$accessTokenUser | int|null | |
$account | int|null | |
$clearingAccount | int|null | |
$currencyCode | string|null | |
$currencySymbol | string|null | |
$deleted | string|null | |
$erpInvoiceDeliveryParams | \Onslip360\API\ERPInvoiceDeliveryParams|null | |
$erpInvoiceProvider | \Onslip360\API\ERPActivation\Type|null | |
$exchangeRate | float|null | |
$hidden | bool|null | |
$labels | int[]|null | |
$registerCustomer | bool|null | |
$roundingMultiple | float|null | |
$tags | string[]|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$vatAccount | int|null | |
$vatRate | float|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