for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Application\Api\Output;
use GraphQL\Type\Definition\ObjectType;
class BankingInfosType extends ObjectType
{
public function __construct()
$config = [
'name' => 'BankingInfos',
'description' => 'Describe permissions for current user',
'fields' => [
'postAccount' => [
'type' => self::nonNull(self::string()),
'description' => 'The post account number',
],
'paymentTo' => [
'description' => 'Bank coordinate the payment will be made to, eg: \'Great Bank, Cayman Islands\'',
'paymentFor' => [
'description' => 'Final recipient of payment, eg: \'John Doe, Main street 7, Sydney\'',
'referenceNumber' => [
'description' => 'The BVR reference number',
'encodingLine' => [
'description' => 'The BVR encoding line that include account number and may include amount if given',
];
parent::__construct($config);
}