brokeyourbike/zenith-bank-api-client-php

View on GitHub
src/Interfaces/TransactionInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.

namespace BrokeYourBike\ZenithBank\Interfaces;

/**
 * @author Ivan Stasiuk <ivan@stasi.uk>
 */
interface TransactionInterface
{
    public function getReference(): string;
    public function getSenderName(): string;
    public function getRecipientName(): string;
    public function getRecipientAccount(): string;
    public function getRecipientBankCode(): string;
    public function getDebitAccount(): string;
    public function getAmount(): float;
    public function shouldResend(): bool;
}