Skip to main content

Partial_Metadata


Partial_Metadata

Properties

cardReceipt

public \Onslip360\API\Partial_CardReceiptMetadata|null|\Onslip360\Nil $cardReceipt

couponVoucher

public \Onslip360\API\Partial_CouponVoucherMetadata|null|\Onslip360\Nil $couponVoucher

currency

public \Onslip360\API\Partial_CurrencyMetadata|null|\Onslip360\Nil $currency

erpInvoice

public \Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil $erpInvoice

labels

public array|null|\Onslip360\Nil $labels

paymentVoucher

public \Onslip360\API\Partial_PaymentVoucherMetadata|null|\Onslip360\Nil $paymentVoucher

prePaid

public \Onslip360\API\Partial_PrePaidMetadata|null|\Onslip360\Nil $prePaid

swishTransaction

public \Onslip360\API\Partial_SwishTransactionMetadata|null|\Onslip360\Nil $swishTransaction

type

public \Onslip360\API\Metadata\Type|null $type

Methods

__construct

public __construct(\Onslip360\API\Partial_CardReceiptMetadata|null|\Onslip360\Nil $cardReceipt = null, \Onslip360\API\Partial_CouponVoucherMetadata|null|\Onslip360\Nil $couponVoucher = null, \Onslip360\API\Partial_CurrencyMetadata|null|\Onslip360\Nil $currency = null, \Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil $erpInvoice = null, int[]|null|\Onslip360\Nil $labels = null, \Onslip360\API\Partial_PaymentVoucherMetadata|null|\Onslip360\Nil $paymentVoucher = null, \Onslip360\API\Partial_PrePaidMetadata|null|\Onslip360\Nil $prePaid = null, \Onslip360\API\Partial_SwishTransactionMetadata|null|\Onslip360\Nil $swishTransaction = null, \Onslip360\API\Metadata\Type|null $type = null): mixed

Parameters:

ParameterTypeDescription
$cardReceipt\Onslip360\API\Partial_CardReceiptMetadata|null|\Onslip360\Nil
$couponVoucher\Onslip360\API\Partial_CouponVoucherMetadata|null|\Onslip360\Nil
$currency\Onslip360\API\Partial_CurrencyMetadata|null|\Onslip360\Nil
$erpInvoice\Onslip360\API\Partial_ERPInvoiceMetadata|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$paymentVoucher\Onslip360\API\Partial_PaymentVoucherMetadata|null|\Onslip360\Nil
$prePaid\Onslip360\API\Partial_PrePaidMetadata|null|\Onslip360\Nil
$swishTransaction\Onslip360\API\Partial_SwishTransactionMetadata|null|\Onslip360\Nil
$type\Onslip360\API\Metadata\Type|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