0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.14.131.115


Current Path : /var/www/results/dud/razorpay/razorpay-php/src/
Upload File :
Current File : /var/www/results/dud/razorpay/razorpay-php/src/Customer.php

<?php

namespace Razorpay\Api;

class Customer extends Entity
{
    /**
     *  @param $id Customer id description
     */
    public function fetch($id)
    {
        return parent::fetch($id);
    }

    public function create($attributes = array())
    {
        return parent::create($attributes);
    }

    public function edit($attributes = null)
    {
        $entityUrl = $this->getEntityUrl().$this->id;

        return $this->request('PUT', $entityUrl, $attributes);
    }

    public function tokens()
    {
        $token = new Token();

        $token['customer_id'] = $this->id;

        return $token;
    }
}