Skip to main content

PaymentMethod


PaymentMethod

Properties​

name​

public string $name

type​

public \Onslip360\API\PaymentMethod\Type $type

virtual​

public bool $virtual

accessToken​

public int|null $accessToken

accessTokenUser​

public int|null $accessTokenUser

account​

public int|null $account

clearingAccount​

public int|null $clearingAccount

created​

public string|null $created

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

id​

public int|null $id

labels​

public array|null $labels

registerCustomer​

public bool|null $registerCustomer

roundingMultiple​

public float|null $roundingMultiple

swishMerchant​

public string|null $swishMerchant

tags​

public array|null $tags

updated​

public string|null $updated

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 $name, \Onslip360\API\PaymentMethod\Type $type, bool $virtual, int|null $accessToken = null, int|null $accessTokenUser = null, int|null $account = null, int|null $clearingAccount = null, string|null $created = 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 $id = null, int[]|null $labels = null, bool|null $registerCustomer = null, float|null $roundingMultiple = null, string|null $swishMerchant = null, string[]|null $tags = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, int|null $vatAccount = null, float|null $vatRate = null): mixed

Parameters:

ParameterTypeDescription
$namestring
$type\Onslip360\API\PaymentMethod\Type
$virtualbool
$accessTokenint|null
$accessTokenUserint|null
$accountint|null
$clearingAccountint|null
$createdstring|null
$currencyCodestring|null
$currencySymbolstring|null
$deletedstring|null
$erpInvoiceDeliveryParams\Onslip360\API\ERPInvoiceDeliveryParams|null
$erpInvoiceProvider\Onslip360\API\ERPActivation\Type|null
$exchangeRatefloat|null
$hiddenbool|null
$idint|null
$labelsint[]|null
$registerCustomerbool|null
$roundingMultiplefloat|null
$swishMerchantstring|null
$tagsstring[]|null
$updatedstring|null
$updatedByint|null
$updatedFromint|null
$vatAccountint|null
$vatRatefloat|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 2026-06-17