PaymentServiceInterface
PaymentServiceInterface.php
:
20
Service for managing payments.
Methods¶
createPayment() ¶
PaymentServiceInterface.php
:
54
Creates a new payment.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | PaymentCreateStruct | - |
Struct with data needed to create a new payment. |
Return values
Tags
deletePayment() ¶
PaymentServiceInterface.php
:
70
Deletes an existing payment.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$payment | PaymentInterface | - | - |
Tags
findPayments() ¶
PaymentServiceInterface.php
:
43
Returns payments matching the given query.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | PaymentQuery|null | null |
Query used to fetch payments. |
Return values
getPayment() ¶
PaymentServiceInterface.php
:
28
Returns payment with given id.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
Tags
getPaymentByIdentifier() ¶
PaymentServiceInterface.php
:
36
Returns payment with given identifier.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
Tags
updatePayment() ¶
PaymentServiceInterface.php
:
63
Updates an existing payment with given data.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$payment | PaymentInterface | - | - |
$updateStruct | PaymentUpdateStruct | - | - |