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