src/Responses/TransferResponse.php
<?php
// Copyright (C) 2024 Ivan Stasiuk <ivan@stasi.uk>.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
namespace BrokeYourBike\Interswitch\Responses;
use Spatie\DataTransferObject\Attributes\MapFrom;
use BrokeYourBike\DataTransferObject\JsonResponse;
/**
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
class TransferResponse extends JsonResponse
{
#[MapFrom('ResponseCode')]
public ?string $code;
#[MapFrom('ResponseCodeGrouping')]
public ?string $message;
}