Partial_SwishTransaction
Partial_SwishTransaction
- Full name:
\Onslip360\API\Partial_SwishTransaction
- Parent class:
\Onslip360\Onslip360Object
Properties
amount
public float|null $amount
createdDate
public string|null|\Onslip360\Nil $createdDate
currency
public string|null $currency
customer
public string|null|\Onslip360\Nil $customer
deleted
public string|null|\Onslip360\Nil $deleted
errors
public array|null|\Onslip360\Nil $errors
labels
public array|null|\Onslip360\Nil $labels
merchant
public string|null|\Onslip360\Nil $merchant
message
public string|null|\Onslip360\Nil $message
originalPaymentReference
public string|null|\Onslip360\Nil $originalPaymentReference
paidDate
public string|null|\Onslip360\Nil $paidDate
payerPaymentReference
public string|null|\Onslip360\Nil $payerPaymentReference
paymentMethod
public int|null $paymentMethod
paymentReference
public string|null|\Onslip360\Nil $paymentReference
paymentReferenceUrl
public string|null|\Onslip360\Nil $paymentReferenceUrl
paymentRequestToken
public string|null|\Onslip360\Nil $paymentRequestToken
status
public \Onslip360\API\SwishTransaction\Status|null|\Onslip360\Nil $status
tags
public array|null|\Onslip360\Nil $tags
type
public \Onslip360\API\SwishTransaction\Type|null|\Onslip360\Nil $type
Methods
__construct
public __construct(float|null $amount = null, string|null|\Onslip360\Nil $createdDate = null, string|null $currency = null, string|null|\Onslip360\Nil $customer = null, string|null|\Onslip360\Nil $deleted = null, \Onslip360\API\Partial_SwishError[]|null|\Onslip360\Nil $errors = null, int[]|null|\Onslip360\Nil $labels = null, string|null|\Onslip360\Nil $merchant = null, string|null|\Onslip360\Nil $message = null, string|null|\Onslip360\Nil $originalPaymentReference = null, string|null|\Onslip360\Nil $paidDate = null, string|null|\Onslip360\Nil $payerPaymentReference = null, int|null $paymentMethod = null, string|null|\Onslip360\Nil $paymentReference = null, string|null|\Onslip360\Nil $paymentReferenceUrl = null, string|null|\Onslip360\Nil $paymentRequestToken = null, \Onslip360\API\SwishTransaction\Status|null|\Onslip360\Nil $status = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\SwishTransaction\Type|null|\Onslip360\Nil $type = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$amount | float|null | |
$createdDate | string|null|\Onslip360\Nil | |
$currency | string|null | |
$customer | string|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$errors | \Onslip360\API\Partial_SwishError[]|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$merchant | string|null|\Onslip360\Nil | |
$message | string|null|\Onslip360\Nil | |
$originalPaymentReference | string|null|\Onslip360\Nil | |
$paidDate | string|null|\Onslip360\Nil | |
$payerPaymentReference | string|null|\Onslip360\Nil | |
$paymentMethod | int|null | |
$paymentReference | string|null|\Onslip360\Nil | |
$paymentReferenceUrl | string|null|\Onslip360\Nil | |
$paymentRequestToken | string|null|\Onslip360\Nil | |
$status | \Onslip360\API\SwishTransaction\Status|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\SwishTransaction\Type|null|\Onslip360\Nil |
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