CashFlowTechHubClient
in package
Table of Contents
- createNewCollection() : mixed
- createNewPayment() : mixed
- getCollectionStatus() : array<string|int, mixed>
- Returns an array with collections data for a given orders_id
- getMandatorStatusFromHub() : array<string|int, mixed>
- Retrieves mandator status from Hub.
- reversePayment() : mixed
Methods
createNewCollection()
public
createNewCollection(mixed $orderId, mixed $collectionData, mixed $invoiceData, mixed $invoices) : mixed
Parameters
- $orderId : mixed
- $collectionData : mixed
- $invoiceData : mixed
- $invoices : mixed
Return values
mixed —createNewPayment()
public
createNewPayment(mixed $collectionId, mixed $amount, mixed $type) : mixed
Parameters
- $collectionId : mixed
- $amount : mixed
- $type : mixed
Return values
mixed —getCollectionStatus()
Returns an array with collections data for a given orders_id
public
getCollectionStatus( $ordersId) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —getMandatorStatusFromHub()
Retrieves mandator status from Hub.
public
getMandatorStatusFromHub() : array<string|int, mixed>
Return values
array<string|int, mixed> —with keys 'hasMandatorId' (bool) and 'mandatorStatus' (string)
reversePayment()
public
reversePayment(mixed $collectionId, mixed $fokoId, mixed $amount) : mixed
Parameters
- $collectionId : mixed
- $fokoId : mixed
- $amount : mixed