Skip to main content

Stored_SwishTransaction


Stored_SwishTransaction

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:

ParameterTypeDescription
$amountfloat
$createdstring
$currencystring
$idint
$paymentMethodint
$updatedstring
$createdDatestring|null
$customerstring|null
$deletedstring|null
$errors\Onslip360\API\SwishError[]|null
$labelsint[]|null
$merchantstring|null
$messagestring|null
$originalPaymentReferencestring|null
$paidDatestring|null
$payerPaymentReferencestring|null
$paymentReferencestring|null
$paymentReferenceUrlstring|null
$paymentRequestTokenstring|null
$status\Onslip360\API\SwishTransaction\Status|null
$tagsstring[]|null
$type\Onslip360\API\SwishTransaction\Type|null
$updatedByint|null
$updatedFromint|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