Partial_Metadata
Partial_Metadata
- Full name:
\Onslip360\API\Partial_Metadata
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$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 | |
$labels | int[]|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:
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