Skip to main content

Partial_SwishTransaction


Partial_SwishTransaction

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:

ParameterTypeDescription
$amountfloat|null
$createdDatestring|null|\Onslip360\Nil
$currencystring|null
$customerstring|null|\Onslip360\Nil
$deletedstring|null|\Onslip360\Nil
$errors\Onslip360\API\Partial_SwishError[]|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$merchantstring|null|\Onslip360\Nil
$messagestring|null|\Onslip360\Nil
$originalPaymentReferencestring|null|\Onslip360\Nil
$paidDatestring|null|\Onslip360\Nil
$payerPaymentReferencestring|null|\Onslip360\Nil
$paymentMethodint|null
$paymentReferencestring|null|\Onslip360\Nil
$paymentReferenceUrlstring|null|\Onslip360\Nil
$paymentRequestTokenstring|null|\Onslip360\Nil
$status\Onslip360\API\SwishTransaction\Status|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$type\Onslip360\API\SwishTransaction\Type|null|\Onslip360\Nil

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