Your IP : 216.73.216.43


Current Path : /var/www/www.indacotrentino.com/www/vendor/stripe/module-payments/Model/Stripe/
Upload File :
Current File : /var/www/www.indacotrentino.com/www/vendor/stripe/module-payments/Model/Stripe/PaymentIntent.php

<?php

namespace StripeIntegration\Payments\Model\Stripe;

class PaymentIntent extends StripeObject
{
    protected $objectSpace = 'paymentIntents';

    public function fromPaymentIntentId($id, $expandParams = [])
    {
        $id = $this->helper->cleanToken($id);

        if (!empty($this->object->id) && $this->object->id == $id)
        {
            return $this;
        }

        $this->expandParams = $expandParams;
        $this->load($id);
        return $this;
    }

    public function fromObject(\Stripe\PaymentIntent $paymentIntent)
    {
        $this->object = $paymentIntent;
        return $this;
    }
}