<?php

/**
 * Paytoshi Faucet Script
 * 
 * Contact: info@paytoshi.org
 * 
 * @author: Looptribe
 * @link: https://paytoshi.org
 * @package: Looptribe\Paytoshi 
 */

namespace Looptribe\Paytoshi\Service;

class ApiResponse {
    private $success;
    private $error;
    private $response;
    
    private $amount;
    private $recipient;
            
    public function __construct($success, $response = null) {
        $this->success = $success;
        $this->response = $response;
    }
    
    public function setAmount($amount) {
        $this->amount = $amount;
    }
    
    public function getAmount() {
        return $this->amount;
    }
    
    public function setRecipient($recipient) {
        $this->recipient = $recipient;
    }
    
    public function getRecipient() {
        return $this->recipient;
    }

    public function getSuccess() {
        return $this->success;
    }
    
    public function getError() {
        return $this->error;
    }
    
    public function setError($error) {
        $this->error = $error;
    }
    
    public function getResponse() {
        return $this->response;
    }
}
