/home/techb158/immovalet.com/vendor/stripe/stripe-php/lib/Service
NameSizeModeActions
BillingPortal/-0755rm
Checkout/-0755rm
Identity/-0755rm
Issuing/-0755rm
Radar/-0755rm
Reporting/-0755rm
Sigma/-0755rm
Terminal/-0755rm
AbstractService.php25970644editdlrm
AbstractServiceFactory.php14760644editdlrm
AccountLinkService.php7180644editdlrm
AccountService.php134780644editdlrm
ApplePayDomainService.php19570644editdlrm
ApplicationFeeService.php47240644editdlrm
BalanceService.php7810644editdlrm
BalanceTransactionService.php15500644editdlrm
ChargeService.php35790644editdlrm
CoreServiceFactory.php55670644editdlrm
CountrySpecService.php10850644editdlrm
CouponService.php36760644editdlrm
CreditNoteService.php56030644editdlrm
CustomerService.php128760644editdlrm
DisputeService.php28640644editdlrm
EphemeralKeyService.php12890644editdlrm
EventService.php14240644editdlrm
ExchangeRateService.php12430644editdlrm
FileLinkService.php19760644editdlrm
FileService.php20910644editdlrm
InvoiceItemService.php30300644editdlrm
InvoiceService.php107090644editdlrm
MandateService.php6040644editdlrm
OAuthService.php48590644editdlrm
OrderReturnService.php13560644editdlrm
OrderService.php35260644editdlrm
PaymentIntentService.php74650644editdlrm
PaymentMethodService.php43010644editdlrm
PayoutService.php46740644editdlrm
PlanService.php27620644editdlrm
PriceService.php20580644editdlrm
ProductService.php29680644editdlrm
PromotionCodeService.php21990644editdlrm
QuoteService.php57250644editdlrm
RefundService.php23150644editdlrm
ReviewService.php17730644editdlrm
SetupAttemptService.php6110644editdlrm
SetupIntentService.php44600644editdlrm
SkuService.php29810644editdlrm
SourceService.php34930644editdlrm
SubscriptionItemService.php58220644editdlrm
SubscriptionScheduleService.php39990644editdlrm
SubscriptionService.php45830644editdlrm
TaxCodeService.php12710644editdlrm
TaxRateService.php20260644editdlrm
TokenService.php12540644editdlrm
TopupService.php26280644editdlrm
TransferService.php63380644editdlrm
WebhookEndpointService.php33640644editdlrm
Edit: /home/techb158/immovalet.com/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php (7465B)
requestCollection('get', '/v1/payment_intents', $params, $opts); } /** * A PaymentIntent object can be canceled when it is in one of these statuses: * requires_payment_method, requires_capture, * requires_confirmation, or requires_action. * * Once canceled, no additional charges will be made by the PaymentIntent and any * operations on the PaymentIntent will fail with an error. For PaymentIntents with * status=’requires_capture’, the remaining * amount_capturable will automatically be refunded. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function cancel($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/payment_intents/%s/cancel', $id), $params, $opts); } /** * Capture the funds of an existing uncaptured PaymentIntent when its status is * requires_capture. * * Uncaptured PaymentIntents will be canceled exactly seven days after they are * created. * * Learn more about separate authorization * and capture. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function capture($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/payment_intents/%s/capture', $id), $params, $opts); } /** * Confirm that your customer intends to pay with current or provided payment * method. Upon confirmation, the PaymentIntent will attempt to initiate a payment. * * If the selected payment method requires additional authentication steps, the * PaymentIntent will transition to the requires_action status and * suggest additional actions via next_action. If payment fails, the * PaymentIntent will transition to the requires_payment_method * status. If payment succeeds, the PaymentIntent will transition to the * succeeded status (or requires_capture, if * capture_method is set to manual). * * If the confirmation_method is automatic, payment may * be attempted using our client SDKs and * the PaymentIntent’s client_secret. After * next_actions are handled by the client, no additional confirmation * is required to complete the payment. * * If the confirmation_method is manual, all payment * attempts must be initiated using a secret key. If any actions are required for * the payment, the PaymentIntent will return to the * requires_confirmation state after those actions are completed. Your * server needs to then explicitly re-confirm the PaymentIntent to initiate the * next payment attempt. Read the expanded documentation to * learn more about manual confirmation. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function confirm($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/payment_intents/%s/confirm', $id), $params, $opts); } /** * Creates a PaymentIntent object. * * After the PaymentIntent is created, attach a payment method and confirm to continue the payment. * You can read more about the different payment flows available via the Payment * Intents API here. * * When confirm=true is used during creation, it is equivalent to * creating and confirming the PaymentIntent in the same call. You may use any * parameters available in the confirm * API when confirm=true is supplied. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/payment_intents', $params, $opts); } /** * Retrieves the details of a PaymentIntent that has previously been created. * * Client-side retrieval using a publishable key is allowed when the * client_secret is provided in the query string. * * When retrieved with a publishable key, only a subset of properties will be * returned. Please refer to the payment * intent object reference for more details. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/payment_intents/%s', $id), $params, $opts); } /** * Updates properties on a PaymentIntent object without confirming. * * Depending on which properties you update, you may need to confirm the * PaymentIntent again. For example, updating the payment_method will * always require you to confirm the PaymentIntent again. If you prefer to update * and confirm at the same time, we recommend updating properties via the confirm API instead. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\PaymentIntent */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/payment_intents/%s', $id), $params, $opts); } }