diff --git a/css/guest_pay_invoice_stripe.css b/css/guest_pay_invoice_stripe.css new file mode 100644 index 00000000..60f9dbcc --- /dev/null +++ b/css/guest_pay_invoice_stripe.css @@ -0,0 +1,142 @@ +/* Variables */ +* { + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, sans-serif; + font-size: 16px; + -webkit-font-smoothing: antialiased; + display: flex; + justify-content: center; + align-content: center; + height: 100vh; + width: 100vw; +} + +form { + width: 30vw; + min-width: 500px; + align-self: center; + box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1), + 0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07); + border-radius: 7px; + padding: 40px; +} + +.hidden { + display: none; +} + +#payment-message { + color: rgb(105, 115, 134); + font-size: 16px; + line-height: 20px; + padding-top: 12px; + text-align: center; +} + +#payment-element { + margin-bottom: 24px; +} + +/* Buttons and links */ +button { + background: #5469d4; + font-family: Arial, sans-serif; + color: #ffffff; + border-radius: 4px; + border: 0; + padding: 12px 16px; + font-size: 16px; + font-weight: 600; + cursor: pointer; + display: block; + transition: all 0.2s ease; + box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07); + width: 100%; +} +button:hover { + filter: contrast(115%); +} +button:disabled { + opacity: 0.5; + cursor: default; +} + +/* spinner/processing state, errors */ +.spinner, +.spinner:before, +.spinner:after { + border-radius: 50%; +} +.spinner { + color: #ffffff; + font-size: 22px; + text-indent: -99999px; + margin: 0px auto; + position: relative; + width: 20px; + height: 20px; + box-shadow: inset 0 0 0 2px; + -webkit-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); +} +.spinner:before, +.spinner:after { + position: absolute; + content: ""; +} +.spinner:before { + width: 10.4px; + height: 20.4px; + background: #5469d4; + border-radius: 20.4px 0 0 20.4px; + top: -0.2px; + left: -0.2px; + -webkit-transform-origin: 10.4px 10.2px; + transform-origin: 10.4px 10.2px; + -webkit-animation: loading 2s infinite ease 1.5s; + animation: loading 2s infinite ease 1.5s; +} +.spinner:after { + width: 10.4px; + height: 10.2px; + background: #5469d4; + border-radius: 0 10.2px 10.2px 0; + top: -0.1px; + left: 10.2px; + -webkit-transform-origin: 0px 10.2px; + transform-origin: 0px 10.2px; + -webkit-animation: loading 2s infinite ease; + animation: loading 2s infinite ease; +} + +@-webkit-keyframes loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@media only screen and (max-width: 600px) { + form { + width: 80vw; + min-width: initial; + } +} \ No newline at end of file diff --git a/database_updates.php b/database_updates.php index 0130735c..6b3e0445 100644 --- a/database_updates.php +++ b/database_updates.php @@ -842,15 +842,23 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) { if (CURRENT_DATABASE_VERSION == '0.4.0') { mysqli_query($mysqli, "ALTER TABLE `logs` ADD `log_entity_id` INT NOT NULL DEFAULT '0' AFTER `log_user_id`"); - + mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.4.1'"); } - //if (CURRENT_DATABASE_VERSION == '0.4.1') { - // Insert queries here required to update to DB version 0.4.2 + if (CURRENT_DATABASE_VERSION == '0.4.1') { + mysqli_query($mysqli, "ALTER TABLE settings ADD `config_stripe_account` TINYINT(1) NOT NULL DEFAULT '0' AFTER config_stripe_secret"); + //Insert queries here required to update to DB version 0.4.2 + + //Then, update the database to the next sequential version + mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.4.2'"); + } + + //if (CURRENT_DATABASE_VERSION == '0.4.2') { + // Insert queries here required to update to DB version 0.4.3 // Then, update the database to the next sequential version - // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.4.2'"); + // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '0.4.3'"); //} } else { diff --git a/database_version.php b/database_version.php index f34cdda4..9bd9d3e5 100644 --- a/database_version.php +++ b/database_version.php @@ -5,4 +5,4 @@ * It is used in conjunction with database_updates.php */ -DEFINE("LATEST_DATABASE_VERSION", "0.4.1"); +DEFINE("LATEST_DATABASE_VERSION", "0.4.2"); diff --git a/db.sql b/db.sql index afd40e8b..3b2b9480 100644 --- a/db.sql +++ b/db.sql @@ -1086,6 +1086,7 @@ CREATE TABLE `settings` ( `config_stripe_enable` tinyint(1) NOT NULL DEFAULT 0, `config_stripe_publishable` varchar(255) DEFAULT NULL, `config_stripe_secret` varchar(255) DEFAULT NULL, + `config_stripe_account` tinyint(1) NOT NULL DEFAULT 0, `config_azure_client_id` varchar(200) DEFAULT NULL, `config_azure_client_secret` varchar(200) DEFAULT NULL, `config_module_enable_itdoc` tinyint(1) NOT NULL DEFAULT 1, diff --git a/functions.php b/functions.php index 1dd5a753..5231159d 100644 --- a/functions.php +++ b/functions.php @@ -501,6 +501,7 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_ try{ // Mail Server Settings + $mail->CharSet = "UTF-8"; // Specify UTF-8 charset to ensure symbols ($/£) load correctly $mail->SMTPDebug = 0; // No Debugging $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = $config_smtp_host; // Specify SMTP server @@ -531,8 +532,9 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_ } catch(Exception $e) { - // If we couldn't send the message return the error, so we can log it - return "Message not sent. Mailer Error: {$mail->ErrorInfo}"; + // If we couldn't send the message return the error, so we can log it in the database (truncated) + error_log("ITFlow - Failed to send email: " . $mail->ErrorInfo); + return substr("Mailer Error: $mail->ErrorInfo", 0, 150)."..."; } } diff --git a/get_settings.php b/get_settings.php index 8bcedf8f..d7e0b437 100644 --- a/get_settings.php +++ b/get_settings.php @@ -72,6 +72,7 @@ $config_invoice_overdue_reminders = $row['config_invoice_overdue_reminders']; $config_stripe_enable = $row['config_stripe_enable']; $config_stripe_publishable = $row['config_stripe_publishable']; $config_stripe_secret = $row['config_stripe_secret']; +$config_stripe_account = $row['config_stripe_account']; // Modules $config_module_enable_itdoc = $row['config_module_enable_itdoc']; diff --git a/guest_ajax.php b/guest_ajax.php new file mode 100644 index 00000000..f96000fb --- /dev/null +++ b/guest_ajax.php @@ -0,0 +1,103 @@ + intval($balance_to_pay * 100), // Times by 100 as Stripe expects values in cents + 'currency' => $invoice_currency_code, + 'description' => $pi_description, + 'metadata' => [ + 'itflow_client_id' => $client_id, + 'itflow_client_name' => $client_name, + 'itflow_invoice_number' => $invoice_prefix . $invoice_number, + 'itflow_invoice_id' => $invoice_id, + ], + 'automatic_payment_methods' => [ + 'enabled' => true, + ], + ]); + + $output = [ + 'clientSecret' => $paymentIntent->client_secret, + ]; + + echo json_encode($output); + + } catch (Error $e) { + http_response_code(500); + echo json_encode(['error' => $e->getMessage()]); + } + +} diff --git a/guest_pay_invoice.php b/guest_pay_invoice.php deleted file mode 100644 index 1c3c87c7..00000000 --- a/guest_pay_invoice.php +++ /dev/null @@ -1,120 +0,0 @@ - - Incorrect email or password. - - - "; - } -} - -?> - - - - - - - - - - - - - <?php echo $config_company_name; ?> | Pay Invoice - - - - - - - - - - - - - -
-
-

Invoice 103

-
-
- - - - -
- -
-
- - -
-
- - -
-
-
- - -
- -
- - -
-
-
- - -
- -
-
-
-
- - - - - - - - - - - - - - diff --git a/guest_pay_invoice_stripe.php b/guest_pay_invoice_stripe.php new file mode 100644 index 00000000..b2a18684 --- /dev/null +++ b/guest_pay_invoice_stripe.php @@ -0,0 +1,304 @@ +

There was an error verifying your payment. Please contact us for more information.

"); + +// Setup Stripe +// Defaulting to company id of 1 (as multi-company is being removed) +$stripe_vars = mysqli_fetch_array(mysqli_query($mysqli, "SELECT config_stripe_enable, config_stripe_publishable, config_stripe_secret, config_stripe_account FROM settings WHERE company_id = 1")); +$config_stripe_enable = intval($stripe_vars['config_stripe_enable']); +$config_stripe_publishable = htmlentities($stripe_vars['config_stripe_publishable']); +$config_stripe_secret = htmlentities($stripe_vars['config_stripe_secret']); +$config_stripe_account = intval($stripe_vars['config_stripe_account']); + +$os = trim(strip_tags(mysqli_real_escape_string($mysqli, getOS($user_agent)))); +$browser = trim(strip_tags(mysqli_real_escape_string($mysqli, getWebBrowser($user_agent)))); + +// Check Stripe is configured +if ($config_stripe_enable == 0 || $config_stripe_account == 0 || empty($config_stripe_publishable) || empty($config_stripe_secret)) { + echo "

Stripe payments not enabled/configured

"; + require_once('guest_footer.php'); + exit(); +} + +// Show payment form +// Users are directed to this page with the invoice_id and url_key params to make a payment +if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent'])) { + + $invoice_url_key = mysqli_real_escape_string($mysqli, $_GET['url_key']); + $invoice_id = intval($_GET['invoice_id']); + + // Query invoice details + $sql = mysqli_query( + $mysqli, + "SELECT * FROM invoices + LEFT JOIN clients ON invoice_client_id = client_id + LEFT JOIN companies ON invoices.company_id = companies.company_id + LEFT JOIN settings ON settings.company_id = companies.company_id + WHERE invoice_id = $invoice_id + AND invoice_url_key = '$invoice_url_key' + AND invoice_status != 'Draft' + AND invoice_status != 'Paid' + AND invoice_status != 'Cancelled' + LIMIT 1" + ); + + // Ensure we have a valid invoice + if (!$sql || mysqli_num_rows($sql) !== 1) { + echo "

Oops, something went wrong! Please ensure you have the correct URL and have not already paid this invoice.

"; + require_once('guest_footer.php'); + exit(); + } + + // Process invoice, client and company details/settings + $row = mysqli_fetch_array($sql); + $invoice_id = $row['invoice_id']; + $invoice_prefix = htmlentities($row['invoice_prefix']); + $invoice_number = htmlentities($row['invoice_number']); + $invoice_status = htmlentities($row['invoice_status']); + $invoice_date = $row['invoice_date']; + $invoice_due = $row['invoice_due']; + $invoice_amount = floatval($row['invoice_amount']); + $invoice_currency_code = htmlentities($row['invoice_currency_code']); + $client_id = $row['client_id']; + $client_name = htmlentities($row['client_name']); + $company_locale = htmlentities($row['company_locale']); + + // Add up all the payments for the invoice and get the total amount paid to the invoice + $sql_amount_paid = mysqli_query($mysqli, "SELECT SUM(payment_amount) AS amount_paid FROM payments WHERE payment_invoice_id = $invoice_id"); + $row = mysqli_fetch_array($sql_amount_paid); + $amount_paid = $row['amount_paid']; + $balance_to_pay = $invoice_amount - $amount_paid; + + // Get invoice items + $sql_invoice_items = mysqli_query($mysqli, "SELECT * FROM invoice_items WHERE item_invoice_id = $invoice_id ORDER BY item_id ASC"); + + // Set Currency Formatting + $currency_format = numfmt_create($company_locale, NumberFormatter::CURRENCY); + + ?> + + + + + + + +

+ +
+ + +
+

Payment for Invoice:

+
+
+ + + + + + + + + + + + + + + + + + + + +
ProductQtyTotal
+
+ 0) { ?> Already paid: +
+ + + +
+
+

+ + + +
+ +
+ +
+
+ + +
+
+ + +
+ + + + + client_secret !== $pi_cs) { + exit(WORDING_PAYMENT_FAILED); + } elseif ($pi_obj->status !== "succeeded") { + exit(WORDING_PAYMENT_FAILED); + } elseif ($pi_obj->amount !== $pi_obj->amount_received) { + // The invoice wasn't paid in full + // this should be flagged for manual review as would indicate something weird happening + exit(WORDING_PAYMENT_FAILED); + } + + // Get details from PI + $pi_date = date('Y-m-d', $pi_obj->created); + $pi_invoice_id = intval($pi_obj->metadata->itflow_invoice_id); + $pi_client_id = intval($pi_obj->metadata->itflow_client_id); + $pi_amount_paid = floatval(($pi_obj->amount_received / 100)); + $pi_currency = mysqli_real_escape_string($mysqli, $pi_obj->currency); + $pi_livemode = $pi_obj->livemode; + + // Get/Check invoice (& client/primary contact) + $invoice_sql = mysqli_query( + $mysqli, + "SELECT * FROM invoices + LEFT JOIN clients ON invoice_client_id = client_id + LEFT JOIN contacts ON contact_id = primary_contact + LEFT JOIN companies ON invoices.company_id = companies.company_id + WHERE invoice_id = $pi_invoice_id + AND invoice_status != 'Draft' + AND invoice_status != 'Paid' + AND invoice_status != 'Cancelled' + LIMIT 1" + ); + if (!$invoice_sql || mysqli_num_rows($invoice_sql) !== 1) { + exit(WORDING_PAYMENT_FAILED); + } + + // Invoice exists - get details + $row = mysqli_fetch_array($invoice_sql); + $invoice_id = intval($row['invoice_id']); + $invoice_prefix = htmlentities($row['invoice_prefix']); + $invoice_number = htmlentities($row['invoice_number']); + $invoice_amount = floatval($row['invoice_amount']); + $invoice_currency_code = htmlentities($row['invoice_currency_code']); + $invoice_url_key = htmlentities($row['invoice_url_key']); + $invoice_company_id = intval($row['company_id']); + $client_id = $row['client_id']; + $client_name = htmlentities($row['client_name']); + $contact_name = $row['contact_name']; + $contact_email = $row['contact_email']; + $company_name = htmlentities($row['company_name']); + $company_phone = htmlentities($row['company_phone']); + $company_locale = htmlentities($row['company_locale']); + + // Set Currency Formatting + $currency_format = numfmt_create($company_locale, NumberFormatter::CURRENCY); + + // Add up all the payments for the invoice and get the total amount paid to the invoice already (if any) + $sql_amount_paid_previously = mysqli_query($mysqli, "SELECT SUM(payment_amount) AS amount_paid FROM payments WHERE payment_invoice_id = $invoice_id"); + $row = mysqli_fetch_array($sql_amount_paid_previously); + $amount_paid_previously = $row['amount_paid']; + $balance_to_pay = $invoice_amount - $amount_paid_previously; + + // Sanity check that the amount paid is exactly the invoice outstanding balance + if (intval($balance_to_pay) !== intval($pi_amount_paid)) { + exit("Something went wrong confirming this payment. Please get in touch."); + } + + // Apply payment + + // Update Invoice Status + mysqli_query($mysqli, "UPDATE invoices SET invoice_status = 'Paid' WHERE invoice_id = $invoice_id AND company_id = $invoice_company_id"); + + // Add Payment to History + mysqli_query($mysqli, "INSERT INTO payments SET payment_date = '$pi_date', payment_amount = '$pi_amount_paid', payment_currency_code = '$pi_currency', payment_account_id = $config_stripe_account, payment_method = 'Stripe', payment_reference = 'Stripe - $pi_id', payment_invoice_id = $invoice_id, company_id = $invoice_company_id"); + mysqli_query($mysqli, "INSERT INTO history SET history_status = 'Paid', history_description = 'Payment added - $ip - $os - $browser', history_invoice_id = $invoice_id, company_id = $invoice_company_id"); + + // Logging + $extended_log_desc = ''; + if (!$pi_livemode) { + $extended_log_desc = '(DEV MODE)'; + } + mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Payment', log_action = 'Create', log_description = 'Stripe payment of $pi_currency $pi_amount_paid against invoice $invoice_prefix$invoice_number - $pi_id $extended_log_desc', log_ip = '$ip', log_user_agent = '$user_agent', log_client_id = $pi_client_id, company_id = $invoice_company_id"); + + // Send email receipt + $sql_settings = mysqli_query($mysqli, "SELECT * FROM settings WHERE company_id = $invoice_company_id"); + $row = mysqli_fetch_array($sql_settings); + + $config_smtp_host = $row['config_smtp_host']; + $config_smtp_port = $row['config_smtp_port']; + $config_smtp_encryption = $row['config_smtp_encryption']; + $config_smtp_username = $row['config_smtp_username']; + $config_smtp_password = $row['config_smtp_password']; + $config_mail_from_email = $row['config_mail_from_email']; + $config_mail_from_name = $row['config_mail_from_name']; + $config_invoice_from_name = $row['config_invoice_from_name']; + $config_invoice_from_email = $row['config_invoice_from_email']; + + if (!empty($config_smtp_host)) { + $subject = "Payment Received - Invoice $invoice_prefix$invoice_number"; + $body = "Hello $contact_name,

We have received your payment in the amount of " . $pi_currency . $pi_amount_paid . " for invoice $invoice_prefix$invoice_number. Please keep this email as a receipt for your records.

Amount: " . numfmt_format_currency($currency_format, $pi_amount_paid, $invoice_currency_code) . "
Balance: " . numfmt_format_currency($currency_format, '0', $invoice_currency_code) . "

Thank you for your business!


~
$company_name
Billing Department
$config_invoice_from_email
$company_phone"; + + $mail = sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_password, $config_smtp_encryption, $config_smtp_port, + $config_invoice_from_email, $config_invoice_from_name, + $contact_email, $contact_name, + $subject, $body + ); + + // Email Logging + if ($mail === true) { + mysqli_query($mysqli, "INSERT INTO history SET history_status = 'Sent', history_description = 'Emailed Receipt!', history_invoice_id = $invoice_id, company_id = $invoice_company_id"); + } else { + mysqli_query($mysqli, "INSERT INTO history SET history_status = 'Sent', history_description = 'Email Receipt Failed!', history_invoice_id = $invoice_id, company_id = $invoice_company_id"); + + mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Mail', notification = 'Failed to send email to $contact_email', notification_timestamp = NOW(), company_id = $invoice_company_id"); + mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Mail', log_action = 'Error', log_description = 'Failed to send email to $contact_email regarding $subject. $mail', log_ip = '$ip', log_user_agent = '$user_agent', company_id = $invoice_company_id"); + } + } + + // Redirect user to invoice + header('Location: //' . $config_base_url . '/guest_view_invoice.php?invoice_id=' . $pi_invoice_id . '&url_key=' . $invoice_url_key); + + +} else { + echo "

Oops, something went wrong! Please raise a ticket if you believe this is an error.

"; +} + + +require_once('guest_footer.php'); diff --git a/guest_view_invoice.php b/guest_view_invoice.php index 7576fa27..bdcdad30 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -122,7 +122,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key'])) { - Pay Online (Coming Soon) + Pay Online (Coming Soon) diff --git a/js/guest_pay_invoice_stripe.js b/js/guest_pay_invoice_stripe.js new file mode 100644 index 00000000..ab8a60d5 --- /dev/null +++ b/js/guest_pay_invoice_stripe.js @@ -0,0 +1,120 @@ +const stripe = Stripe(document.getElementById("stripe_publishable_key").value); + +let elements; + +initialize(); +checkStatus(); + +document + .querySelector("#payment-form") + .addEventListener("submit", handleSubmit); + +let emailAddress = ''; +// Fetches a payment intent and captures the client secret +async function initialize() { + const { clientSecret } = await fetch("guest_ajax.php?stripe_create_pi=true", { + method: "POST", + headers: { "Content-Type": "application/json" }, + body: JSON.stringify({ + invoice_id: document.getElementById("invoice_id").value, + url_key: document.getElementById("url_key").value + }), + }).then((r) => r.json()); + + elements = stripe.elements({ clientSecret }); + + const linkAuthenticationElement = elements.create("linkAuthentication"); + linkAuthenticationElement.mount("#link-authentication-element"); + + const paymentElementOptions = { + layout: "tabs", + }; + + const paymentElement = elements.create("payment", paymentElementOptions); + paymentElement.mount("#payment-element"); + + // Unhide the submit button once everything has loaded + document.getElementById("submit").hidden = false; +} + +async function handleSubmit(e) { + e.preventDefault(); + setLoading(true); + + const { error } = await stripe.confirmPayment({ + elements, + confirmParams: { + return_url: window.location.href, + receipt_email: emailAddress, + }, + }); + + // This point will only be reached if there is an immediate error when + // confirming the payment. Otherwise, your customer will be redirected to + // your `return_url`. For some payment methods like iDEAL, your customer will + // be redirected to an intermediate site first to authorize the payment, then + // redirected to the `return_url`. + if (error.type === "card_error" || error.type === "validation_error") { + showMessage(error.message); + } else { + showMessage("An unexpected error occurred."); + } + + setLoading(false); +} + +// Fetches the payment intent status after payment submission +async function checkStatus() { + const clientSecret = new URLSearchParams(window.location.search).get( + "payment_intent_client_secret" + ); + + if (!clientSecret) { + return; + } + + const { paymentIntent } = await stripe.retrievePaymentIntent(clientSecret); + + switch (paymentIntent.status) { + case "succeeded": + showMessage("Payment succeeded!"); + break; + case "processing": + showMessage("Your payment is processing."); + break; + case "requires_payment_method": + showMessage("Your payment was not successful, please try again."); + break; + default: + showMessage("Something went wrong."); + break; + } +} + +// ------- UI helpers ------- + +function showMessage(messageText) { + const messageContainer = document.querySelector("#payment-message"); + + messageContainer.classList.remove("hidden"); + messageContainer.textContent = messageText; + + setTimeout(function () { + messageContainer.classList.add("hidden"); + messageText.textContent = ""; + }, 4000); +} + +// Show a spinner on payment submission +function setLoading(isLoading) { + if (isLoading) { + // Disable the button and show a spinner + document.querySelector("#submit").disabled = true; + document.querySelector("#spinner").classList.remove("hidden"); + document.querySelector("#button-text").classList.add("hidden"); + } else { + document.querySelector("#submit").disabled = false; + document.querySelector("#spinner").classList.add("hidden"); + document.querySelector("#button-text").classList.remove("hidden"); + } +} diff --git a/post.php b/post.php index 4d2485e6..5a7f03b0 100644 --- a/post.php +++ b/post.php @@ -1060,8 +1060,9 @@ if(isset($_POST['edit_online_payment_settings'])){ $config_stripe_enable = intval($_POST['config_stripe_enable']); $config_stripe_publishable = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['config_stripe_publishable']))); $config_stripe_secret = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['config_stripe_secret']))); + $config_stripe_account = intval($_POST['config_stripe_account']); - mysqli_query($mysqli,"UPDATE settings SET config_stripe_enable = $config_stripe_enable, config_stripe_publishable = '$config_stripe_publishable', config_stripe_secret = '$config_stripe_secret' WHERE company_id = $session_company_id"); + mysqli_query($mysqli,"UPDATE settings SET config_stripe_enable = $config_stripe_enable, config_stripe_publishable = '$config_stripe_publishable', config_stripe_secret = '$config_stripe_secret', config_stripe_account = $config_stripe_account WHERE company_id = $session_company_id"); //Logging mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Settings', log_action = 'Modify', log_description = '$session_name modified online payment settings', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id, company_id = $session_company_id"); @@ -4218,8 +4219,8 @@ if(isset($_POST['add_payment'])){ if($email_receipt == 1){ - $subject = "Payment Recieved - Invoice $invoice_prefix$invoice_number"; - $body = "Hello $contact_name,

We have recieved your payment in the amount of " . numfmt_format_currency($currency_format, $amount, $invoice_currency_code) . " for invoice $invoice_prefix$invoice_number. Please keep this email as a receipt for your records.

Amount: " . numfmt_format_currency($currency_format, $amount, $invoice_currency_code) . "
Balance: " . numfmt_format_currency($currency_format, $invoice_balance, $invoice_currency_code) . "

Thank you for your business!


~
$company_name
Billing Department
$config_invoice_from_email
$company_phone"; + $subject = "Payment Received - Invoice $invoice_prefix$invoice_number"; + $body = "Hello $contact_name,

We have received your payment in the amount of " . numfmt_format_currency($currency_format, $amount, $invoice_currency_code) . " for invoice $invoice_prefix$invoice_number. Please keep this email as a receipt for your records.

Amount: " . numfmt_format_currency($currency_format, $amount, $invoice_currency_code) . "
Balance: " . numfmt_format_currency($currency_format, $invoice_balance, $invoice_currency_code) . "

Thank you for your business!


~
$company_name
Billing Department
$config_invoice_from_email
$company_phone"; $mail = sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_password, $config_smtp_encryption, $config_smtp_port, $config_invoice_from_email, $config_invoice_from_name, @@ -4743,7 +4744,7 @@ if(isset($_GET['export_client_contacts_csv'])){ //Contacts $sql = mysqli_query($mysqli,"SELECT * FROM contacts LEFT JOIN locations ON location_id = contact_location_id WHERE contact_client_id = $client_id AND contact_archived_at IS NULL ORDER BY contact_name ASC"); - $num_rows = mysqli_num_rows($sql); + $num_rows = mysqli_num_rows($sql); if($num_rows > 0){ $delimiter = ","; @@ -6015,7 +6016,7 @@ if(isset($_GET['export_client_software_csv'])){ //output all remaining data on a file pointer fpassthru($f); } - + // Logging mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Software', log_action = 'Export', log_description = '$session_name exported $num_rows software license(s) to a CSV file', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_client_id = $client_id, log_user_id = $session_user_id, company_id = $session_company_id"); diff --git a/settings_online_payment.php b/settings_online_payment.php index 8afc97fc..0386245d 100644 --- a/settings_online_payment.php +++ b/settings_online_payment.php @@ -1,6 +1,10 @@ +require_once("inc_all_settings.php"); + +$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts WHERE company_id = '$session_company_id'"); + +?>
Work in Progress - Not yet functioning @@ -28,7 +32,7 @@ require_once("inc_all_settings.php"); ?>
- +
@@ -38,7 +42,25 @@ require_once("inc_all_settings.php"); ?>
- + + + + +
+ +
+
+ +
+ +
diff --git a/test_stripe_client.js b/test_stripe_client.js deleted file mode 100644 index a4b3244e..00000000 --- a/test_stripe_client.js +++ /dev/null @@ -1,118 +0,0 @@ -// A reference to Stripe.js initialized with your real test publishable API key. -var stripe = Stripe(""); - -// The items the customer wants to buy -var purchase = { - items: [{ id: "xl-tshirt" }] -}; - -// Disable the button until we have Stripe set up on the page -document.querySelector("button").disabled = true; -fetch("/create.php", { - method: "POST", - headers: { - "Content-Type": "application/json" - }, - body: JSON.stringify(purchase) -}) - .then(function(result) { - return result.json(); - }) - .then(function(data) { - var elements = stripe.elements(); - - var style = { - base: { - color: "#32325d", - fontFamily: 'Courier, monospace', - fontSmoothing: "antialiased", - fontSize: "16px", - "::placeholder": { - color: "#32325d" - } - }, - invalid: { - fontFamily: 'Courier, monospace', - color: "#fa755a", - iconColor: "#fa755a" - } - }; - - var card = elements.create("card", { style: style }); - // Stripe injects an iframe into the DOM - card.mount("#card-element"); - - card.on("change", function (event) { - // Disable the Pay button if there are no card details in the Element - document.querySelector("button").disabled = event.empty; - document.querySelector("#card-error").textContent = event.error ? event.error.message : ""; - }); - - var form = document.getElementById("payment-form"); - form.addEventListener("submit", function(event) { - event.preventDefault(); - // Complete payment when the submit button is clicked - payWithCard(stripe, card, data.clientSecret); - }); - }); - -// Calls stripe.confirmCardPayment -// If the card requires authentication Stripe shows a pop-up modal to -// prompt the user to enter authentication details without leaving your page. -var payWithCard = function(stripe, card, clientSecret) { - loading(true); - stripe - .confirmCardPayment(clientSecret, { - payment_method: { - card: card - } - }) - .then(function(result) { - if (result.error) { - // Show error to your customer - showError(result.error.message); - } else { - // The payment succeeded! - orderComplete(result.paymentIntent.id); - } - }); -}; - -/* ------- UI helpers ------- */ - -// Shows a success message when the payment is complete -var orderComplete = function(paymentIntentId) { - loading(false); - document - .querySelector(".result-message a") - .setAttribute( - "href", - "https://dashboard.stripe.com/test/payments/" + paymentIntentId - ); - document.querySelector(".result-message").classList.remove("hidden"); - document.querySelector("button").disabled = true; -}; - -// Show the customer the error from Stripe if their card fails to charge -var showError = function(errorMsgText) { - loading(false); - var errorMsg = document.querySelector("#card-error"); - errorMsg.textContent = errorMsgText; - setTimeout(function() { - errorMsg.textContent = ""; - }, 4000); -}; - -// Show a spinner on payment submission -var loading = function(isLoading) { - if (isLoading) { - // Disable the button and show a spinner - document.querySelector("button").disabled = true; - document.querySelector("#spinner").classList.remove("hidden"); - document.querySelector("#button-text").classList.add("hidden"); - } else { - document.querySelector("button").disabled = false; - document.querySelector("#spinner").classList.add("hidden"); - document.querySelector("#button-text").classList.remove("hidden"); - } -}; diff --git a/test_stripe_guest_checkout.php b/test_stripe_guest_checkout.php deleted file mode 100644 index 0c7709ba..00000000 --- a/test_stripe_guest_checkout.php +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - Accept a card payment - - - - - - - - - - - -
-
- - - -
- - diff --git a/vendor/stripe-php-7.72.0/LICENSE b/vendor/stripe-php-10.5.0/LICENSE similarity index 100% rename from vendor/stripe-php-7.72.0/LICENSE rename to vendor/stripe-php-10.5.0/LICENSE diff --git a/vendor/stripe-php-10.5.0/VERSION b/vendor/stripe-php-10.5.0/VERSION new file mode 100644 index 00000000..2cf514e3 --- /dev/null +++ b/vendor/stripe-php-10.5.0/VERSION @@ -0,0 +1 @@ +10.5.0 diff --git a/vendor/stripe-php-7.72.0/data/ca-certificates.crt b/vendor/stripe-php-10.5.0/data/ca-certificates.crt similarity index 75% rename from vendor/stripe-php-7.72.0/data/ca-certificates.crt rename to vendor/stripe-php-10.5.0/data/ca-certificates.crt index 65be2181..26f13504 100644 --- a/vendor/stripe-php-7.72.0/data/ca-certificates.crt +++ b/vendor/stripe-php-10.5.0/data/ca-certificates.crt @@ -1,7 +1,7 @@ ## ## Bundle of CA Root Certificates ## -## Certificate data from Mozilla as of: Wed Aug 28 03:12:10 2019 GMT +## Certificate data from Mozilla as of: Tue Apr 26 03:12:05 2022 GMT ## ## This is a bundle of X.509 certificates of public Certificate Authorities ## (CA). These were automatically extracted from Mozilla's root certificates @@ -13,8 +13,8 @@ ## an Apache+mod_ssl webserver for SSL client authentication. ## Just configure this file as the SSLCACertificateFile. ## -## Conversion done with mk-ca-bundle.pl version 1.27. -## SHA256: fffa309937c3be940649293f749b8207fabc6eb224e50e4bb3f2c5e44e0d6a6b +## Conversion done with mk-ca-bundle.pl version 1.29. +## SHA256: 34a54d5191775c1bd37be6cfd3f09e831e072555dc3a2e51f4a2c4b0f8ada5cc ## @@ -39,52 +39,6 @@ hm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC X4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A== -----END CERTIFICATE----- -GlobalSign Root CA - R2 -======================= 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CL1OmLNIG+6KYnX3ZHu -01yiPqFbQfXf5WRDLenVOavSot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG7 -9G+dwfCMNYxdAfvDbbnvRG15RjF+Cv6pgsH/76tuIMRQyV+dTZsXjAzlAcmgQWpzU/qlULRuJQ/7 -TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg== ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority - G3 -============================================================ ------BEGIN CERTIFICATE----- -MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw -CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy -dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAMu6nFL8eB8aHm8bN3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1 -EUGO+i2tKmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGukxUc -cLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBmCC+Vk7+qRy+oRpfw -EuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJXwzw3sJ2zq/3avL6QaaiMxTJ5Xpj -055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWuimi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA -ERSWwauSCPc/L8my/uRan2Te2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5f -j267Cz3qWhMeDGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC -/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565pF4ErWjfJXir0 -xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa -t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ== ------END CERTIFICATE----- - Entrust.net Premium 2048 Secure Server CA ========================================= -----BEGIN CERTIFICATE----- @@ -130,30 +84,6 @@ Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp -----END CERTIFICATE----- -AddTrust External Root -====================== ------BEGIN CERTIFICATE----- -MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEUMBIGA1UEChML -QWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYD -VQQDExlBZGRUcnVzdCBF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r0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvCNr4TDea9Y355 -e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEXc4g/VhsxOBi0cQ+azcgOno4u -G+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5amnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= ------END CERTIFICATE----- - Entrust Root Certification Authority ==================================== -----BEGIN CERTIFICATE----- @@ -180,87 +110,6 @@ W3iDVuycNsMm4hH2Z0kdkquM++v/eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0 tHuu2guQOHXvgR1m0vdXcDazv/wor3ElhVsT/h5/WrQ8 -----END CERTIFICATE----- -GeoTrust Global CA -================== ------BEGIN CERTIFICATE----- -MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVTMRYwFAYDVQQK -Ew1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9iYWwgQ0EwHhcNMDIwNTIxMDQw -MDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5j -LjEbMBkGA1UEAxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEA2swYYzD99BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjo -BbdqfnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDviS2Aelet -8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU1XupGc1V3sjs0l44U+Vc -T4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+bw8HHa8sHo9gOeL6NlMTOdReJivbPagU -vTLrGAMoUgRx5aszPeE4uwc2hGKceeoWMPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTAD -AQH/MB0GA1UdDgQWBBTAephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVk -DBF9qn1luMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKInZ57Q -zxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfStQWVYrmm3ok9Nns4 -d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcFPseKUgzbFbS9bZvlxrFUaKnjaZC2 -mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Unhw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6p -XE0zX5IJL4hmXXeXxx12E6nV5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvm -Mw== ------END CERTIFICATE----- - -GeoTrust Universal CA -===================== ------BEGIN CERTIFICATE----- -MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN -R2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVyc2FsIENBMB4XDTA0MDMwNDA1 -MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IElu -Yy4xHjAcBgNVBAMTFUdlb1RydXN0IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBAKYVVaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9t -JPi8cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTTQjOgNB0e -RXbdT8oYN+yFFXo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GKjaQI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2 -DFKWkoRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9ER/frslK -xfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQtDF4JbAiXfKM9fJP/P6EU -p8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/SfuvmbJxPgWp6ZKy7PtXny3YuxadIwVyQD8vI -P/rmMuGNG2+k5o7Y+SlIis5z/iw= ------END CERTIFICATE----- - -GeoTrust Universal CA 2 -======================= ------BEGIN CERTIFICATE----- -MIIFbDCCA1SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBHMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN -R2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVyc2FsIENBIDIwHhcNMDQwMzA0 -MDUwMDAwWhcNMjkwMzA0MDUwMDAwWjBHMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3Qg -SW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVyc2FsIENBIDIwggIiMA0GCSqGSIb3DQEBAQUA -A4ICDwAwggIKAoICAQCzVFLByT7y2dyxUxpZKeexw0Uo5dfR7cXFS6GqdHtXr0om/Nj1XqduGdt0 -DE81WzILAePb63p3NeqqWuDW6KFXlPCQo3RWlEQwAx5cTiuFJnSCegx2oG9NzkEtoBUGFF+3Qs17 -j1hhNNwqCPkuwwGmIkQcTAeC5lvO0Ep8BNMZcyfwqph/Lq9O64ceJHdqXbboW0W63MOhBW9Wjo8Q -JqVJwy7XQYci4E+GymC16qFjwAGXEHm9ADwSbSsVsaxLse4YuU6W3Nx2/zu+z18DwPw76L5GG//a -QMJS9/7jOvdqdzXQ2o3rXhhqMcceujwbKNZrVMaqW9eiLBsZzKIC9ptZvTdrhrVtgrrY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7vCAas+YWH6aLcr34YEoP9VhdBLtUp -gn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwXQMAJKOSLakhT2+zNVVXxxvjpoixMptEm -X36vWkzaH6byHCx+rgIW0lbQL1dTR+iS ------END CERTIFICATE----- - Comodo AAA Services root ======================== -----BEGIN CERTIFICATE----- @@ -285,38 +134,6 @@ Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2G9w84FoVxp7Z 12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg== -----END CERTIFICATE----- -QuoVadis Root CA -================ ------BEGIN CERTIFICATE----- -MIIF0DCCBLigAwIBAgIEOrZQizANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJCTTEZMBcGA1UE -ChMQUXVvVmFkaXMgTGltaXRlZDElMCMGA1UECxMcUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0 -eTEuMCwGA1UEAxMlUXVvVmFkaXMgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wMTAz -MTkxODMzMzNaFw0yMTAzMTcxODMzMzNaMH8xCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRp -cyBMaW1pdGVkMSUwIwYDVQQLExxSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MS4wLAYDVQQD -EyVRdW9WYWRpcyBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEAv2G1lVO6V/z68mcLOhrfEYBklbTRvM16z/Ypli4kVEAkOPcahdxYTMuk -J0KX0J+DisPkBgNbAKVRHnAEdOLB1Dqr1607BxgFjv2DrOpm2RgbaIr1VxqYuvXtdj182d6UajtL -F8HVj71lODqV0D1VNk7feVcxKh7YWWVJWCCYfqtffp/p1k3sg3Spx2zY7ilKhSo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f87C9TqnN7Az10buYWnuul -LsS/VidQK2K6vkscPFVcQR0kvoIgR13VRH56FmjffU1RcHhXHTMe/QKZnAzNCgVPx7uOpHX6Sm2x -gI4JVrmcGmD+XcHXetwReNDWXcG31a0ymQM6isxUJTkxgXsTIlG6Rmyhu576BGxJJnSP0nPrzDCi -5upZIof4l/UO/erMkqQWxFIY6iHOsfHmhIHluqmGKPJDWl0Snawe2ajlCmqnf6CHKc/yiU3U7MXi -5nrQNiOKSnQ2+Q== ------END CERTIFICATE----- - QuoVadis Root CA 2 ================== -----BEGIN CERTIFICATE----- @@ -404,26 +221,6 @@ s58+OmJYxUmtYg5xpTKqL8aJdkNAExNnPaJUJRDL8Try2frbSVa7pv6nQTXD4IhhyYjH3zYQIphZ FL39vmwLAw== -----END CERTIFICATE----- -Sonera Class 2 Root CA -====================== ------BEGIN CERTIFICATE----- -MIIDIDCCAgigAwIBAgIBHTANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJGSTEPMA0GA1UEChMG -U29uZXJhMRkwFwYDVQQDExBTb25lcmEgQ2xhc3MyIENBMB4XDTAxMDQwNjA3Mjk0MFoXDTIxMDQw -NjA3Mjk0MFowOTELMAkGA1UEBhMCRkkxDzANBgNVBAoTBlNvbmVyYTEZMBcGA1UEAxMQU29uZXJh -IENsYXNzMiBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJAXSjWdyvANlsdE+hY3 -/Ei9vX+ALTU74W+oZ6m/AxxNjG8yR9VBaKQTBME1DJqEQ/xcHf+Js+gXGM2RX/uJ4+q/Tl18GybT -dXnt5oTjV+WtKcT0OijnpXuENmmz/V52vaMtmdOQTiMofRhj8VQ7Jp12W5dCsv+u8E7s3TmVToMG -f+dJQMjFAbJUWmYdPfz56TwKnoG4cPABi+QjVHzIrviQHgCWctRUz2EjvOr7nQKV0ba5cTppCD8P -tOFCx4j1P5iop7oc4HFx71hXgVB6XGt0Rg6DA5jDjqhu8nYybieDwnPz3BjotJPqdURrBGAgcVeH -nfO+oJAjPYok4doh28MCAwEAAaMzMDEwDwYDVR0TAQH/BAUwAwEB/zARBgNVHQ4ECgQISqCqWITT -XjwwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBazof5FnIVV0sd2ZvnoiYw7JNn39Yt -0jSv9zilzqsWuasvfDXLrNAPtEwr/IDva4yRXzZ299uzGxnq9LIR/WFxRL8oszodv7ND6J+/3DEI -cbCdjdY0RzKQxmUk96BKfARzjzlvF4xytb1LyHr4e4PDKE6cCepnP7JnBBvDFNr450kkkdAdavph -Oe9r5yF1BgfYErQhIHBCcYHaPJo2vqZbDWpsmh+Re/n570K6Tk6ezAyNlNzZRZxe7EJQY670XcSx -EtzKO6gunRRaBXW37Ndj4ro1tgQIkejanZz2ZrUYrAqmVCY0M9IbwdR/GjqOC6oybtv8TyWf2TLH -llpwrN9M ------END CERTIFICATE----- - XRamp Global CA Root ==================== -----BEGIN CERTIFICATE----- @@ -496,36 +293,6 @@ KVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEYWQPJIrSPnNVeKtelttQKbfi3 QBFGmh95DmK/D5fs4C8fF5Q= -----END CERTIFICATE----- -Taiwan GRCA -=========== ------BEGIN CERTIFICATE----- -MIIFcjCCA1qgAwIBAgIQH51ZWtcvwgZEpYAIaeNe9jANBgkqhkiG9w0BAQUFADA/MQswCQYDVQQG -EwJUVzEwMC4GA1UECgwnR292ZXJubWVudCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4X -DTAyMTIwNTEzMjMzM1oXDTMyMTIwNTEzMjMzM1owPzELMAkGA1UEBhMCVFcxMDAuBgNVBAoMJ0dv -dmVybm1lbnQgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAJoluOzMonWoe/fOW1mKydGGEghU7Jzy50b2iPN86aXfTEc2pBsBHH8eV4qN -w8XRIePaJ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-D7gsL0u8qV1bYH+Mh6XgUmMqvtg7hUAV/h62ZT/FS9p+tXo1KaMuephgIqP0fSdOLeq0dDzpD6Qz -DxARvBMB1uUO07+1EqLhRSPAzAhuYbeJq4PjJB7mXQfnHyA+z2fI56wwbSdLaG5LKlwCCDTb+Hbk -Z6MmnD+iMsJKxYEYMRBWqoTvLQr/uB930r+lWKBi5NdLkXWNiYCYfm3LU05er/ayl4WXudpVBrkk -7tfGOB5jGxI7leFYrPLfhNVfmS8NVVvmONsuP3LpSIXLuykTjx44VbnzssQwmSNOXfJIoRIM3BKQ -CZBUkQM8R+XVyWXgt0t97EfTsws+rZ7QdAAO671RrcDeLMDDav7v3Aun+kbfYNucpllQdSNpc5Oy -+fwC00fmcc4QAu4njIT/rEUNE1yDMuAlpYYsfPQS ------END CERTIFICATE----- - DigiCert Assured ID Root CA =========================== -----BEGIN CERTIFICATE----- @@ -592,48 +359,6 @@ mNEVX58Svnw2Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep+OkuE6N36B9K -----END CERTIFICATE----- -Certplus Class 2 Primary CA -=========================== ------BEGIN CERTIFICATE----- -MIIDkjCCAnqgAwIBAgIRAIW9S/PY2uNp9pTXX8OlRCMwDQYJKoZIhvcNAQEFBQAwPTELMAkGA1UE -BhMCRlIxETAPBgNVBAoTCENlcnRwbHVzMRswGQYDVQQDExJDbGFzcyAyIFByaW1hcnkgQ0EwHhcN -OTkwNzA3MTcwNTAwWhcNMTkwNzA2MjM1OTU5WjA9MQswCQYDVQQGEwJGUjERMA8GA1UEChMIQ2Vy -dHBsdXMxGzAZBgNVBAMTEkNsYXNzIDIgUHJpbWFyeSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP -ADCCAQoCggEBANxQltAS+DXSCHh6tlJw/W/uz7kRy1134ezpfgSN1s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ENBIFgzMB4X -DTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVowPzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1 -cmUgVHJ1c3QgQ28uMRcwFQYDVQQDEw5EU1QgUm9vdCBDQSBYMzCCASIwDQYJKoZIhvcNAQEBBQAD -ggEPADCCAQoCggEBAN+v6ZdQCINXtMxiZfaQguzH0yxrMMpb7NnDfcdAwRgUi+DoM3ZJKuM/IUmT -rE4Orz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEqOLl5CjH9 -UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9bxiqKqy69cK3FCxolkHRy -xXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40d -utolucbY38EVAjqr2m7xPi71XAicPNaDaeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0T -AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQ -MA0GCSqGSIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69ikug -dB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjE -GB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bw -RLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubS -fZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ ------END CERTIFICATE----- - SwissSign Gold CA - G2 ====================== -----BEGIN CERTIFICATE----- @@ -696,78 +421,6 @@ DIm6uNO5wJOKMPqN5ZprFQFOZ6raYlY+hAhm0sQ2fac+EPyI4NSA5QC9qvNOBqN6avlicuMJT+ub DgEj8Z+7fNzcbBGXJbLytGMU0gYqZ4yD9c7qB9iaah7s5Aq7KkzrCWA5zspi2C5u -----END CERTIFICATE----- -GeoTrust Primary Certification Authority -======================================== ------BEGIN CERTIFICATE----- -MIIDfDCCAmSgAwIBAgIQGKy1av1pthU6Y2yv2vrEoTANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQG -EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjExMC8GA1UEAxMoR2VvVHJ1c3QgUHJpbWFyeSBD -ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjExMjcwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMFgx -CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTEwLwYDVQQDEyhHZW9UcnVzdCBQ -cmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEAvrgVe//UfH1nrYNke8hCUy3f9oQIIGHWAVlqnEQRr+92/ZV+zmEwu3qDXwK9AWbK7hWN -b6EwnL2hhZ6UOvNWiAAxz9juapYC2e0DjPt1befquFUWBRaa9OBesYjAZIVcFU2Ix7e64HXprQU9 -nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE07e9GceBrAqg1cmuXm2bgyxx5X9gaBGge -RwLmnWDiNpcB3841kt++Z8dtd1k7j53WkBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGt -tm/81w7a4DSwDRp35+MImO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQULNVQQZcVi/CPNmFbSvtr2ZnJM5IwDQYJKoZI -hvcNAQEFBQADggEBAFp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/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ -1CRfBsDMRJSUjQJib+ta3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGc -q/gcfomk6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdOwUxkHt3Ph1i6Sk/K -aAcdHJ1KxtUvkcx8cXIcxcBn6zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy94JNqR32HuHUETVPm4p -afs5SSYeCaWAe0At6+gnhcn+Yf1+5nyXHdWdAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD -VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7W0XPr87Lev0xkhpqtvNG61dIUDANBgkqhkiG9w0BAQUF -AAOCAQEAeRHAS7ORtvzw6WfUDW5FvlXok9LOAz/t2iWwHVfLHjp2oEzsUHboZHIMpKnxuIvW1oeE -uzLlQRHAd9mzYJ3rG9XRbkREqaYB7FViHXe4XI5ISXycO1cRrK1zN44veFyQaEfZYGDm/Ac9IiAX -xPcW6cTYcvnIc3zfFi8VqT79aie2oetaupgf1eNNZAqdE8hhuvU5HIe6uL17In/2/qxAeeWsEG89 -jxt5dovEN7MhGITlNgDrYyCZuen+MwS7QcjBAvlEYyCegc5C09Y/LHbTY5xZ3Y+m4Q6gLkH3LpVH -z7z9M/P2C2F+fpErgUfCJzDupxBdN49cOSvkBPB7jVaMaA== ------END CERTIFICATE----- - -VeriSign Class 3 Public Primary Certification Authority - G5 -============================================================ ------BEGIN CERTIFICATE----- -MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCByjELMAkGA1UE -BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO -ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk -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ey78DAJ80M5+gKvMzEzMA0GCSqG -SIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzEp6B4Eq1iDkVwZMXnl2YtmAl+ -X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKE -KQsTb47bDN0lAtukixlE0kF6BWlKWE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiC -Km0oHw0LxOXnGiYZ4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vE -ZV8NhnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq ------END CERTIFICATE----- - SecureTrust CA ============== -----BEGIN CERTIFICATE----- @@ -876,29 +529,6 @@ FAkK+qDmfQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdvGDeA U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= -----END CERTIFICATE----- -OISTE WISeKey Global Root GA CA -=============================== ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIQQT1yx/RrH4FDffHSKFTfmjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UE -BhMCQ0gxEDAOBgNVBAoTB1dJU2VLZXkxGzAZBgNVBAsTEkNvcHlyaWdodCAoYykgMjAwNTEiMCAG -A1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNlZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBH -bG9iYWwgUm9vdCBHQSBDQTAeFw0wNTEyMTExNjAzNDRaFw0zNzEyMTExNjA5NTFaMIGKMQswCQYD -VQQGEwJDSDEQMA4GA1UEChMHV0lTZUtleTEbMBkGA1UECxMSQ29weXJpZ2h0IChjKSAyMDA1MSIw -IAYDVQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURS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cCWWC/qu0bXu+TZLg== -----END CERTIFICATE----- -Deutsche Telekom Root CA 2 -========================== ------BEGIN CERTIFICATE----- -MIIDnzCCAoegAwIBAgIBJjANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMT -RGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEG -A1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNOTkwNzA5MTIxMTAwWhcNMTkwNzA5 -MjM1OTAwWjBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0G -A1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBS -b290IENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCrC6M14IspFLEUha88EOQ5 -bzVdSq7d6mGNlUn0b2SjGmBmpKlAIoTZ1KXleJMOaAGtuU1cOs7TuKhCQN/Po7qCWWqSG6wcmtoI -KyUn+WkjR/Hg6yx6m/UTAtB+NHzCnjwAWav12gz1MjwrrFDa1sPeg5TKqAyZMg4ISFZbavva4VhY -AUlfckE8FQYBjl2tqriTtM2e66foai1SNNs671x1Udrb8zH57nGYMsRUFUQM+ZtV7a3fGAigo4aK -Se5TBY8ZTNXeWHmb0mocQqvF1afPaA+W5OFhmHZhyJF81j4A4pFQh+GdCuatl9Idxjp9y7zaAzTV -jlsB9WoHtxa2bkp/AgMBAAGjQjBAMB0GA1UdDgQWBBQxw3kbuvVT1xfgiXotF2wKsyudMzAPBgNV -HRMECDAGAQH/AgEFMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAlGRZrTlk5ynr -E/5aw4sTV8gEJPB0d8Bg42f76Ymmg7+Wgnxu1MM9756AbrsptJh6sTtU6zkXR34ajgv8HzFZMQSy -zhfzLMdiNlXiItiJVbSYSKpk+tYcNthEeFpaIzpXl/V6ME+un2pMSyuOoAPjPuCp1NJ70rOo4nI8 -rZ7/gFnkm0W09juwzTkZmDLl6iFhkOQxIY40sfcvNUqFENrnijchvllj4PKFiDFT1FQUhXB59C4G -dyd1Lx+4ivn+xbrYNuSD7Odlt79jWvNGr4GUN9RBjNYj1h7P9WgbRGOiWrqnNVmh5XAFmw4jV5mU -Cm26OWMohpLzGITY+9HPBVZkVw== ------END CERTIFICATE----- - -Cybertrust Global Root -====================== ------BEGIN CERTIFICATE----- -MIIDoTCCAomgAwIBAgILBAAAAAABD4WqLUgwDQYJKoZIhvcNAQEFBQAwOzEYMBYGA1UEChMPQ3li -ZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2JhbCBSb290MB4XDTA2MTIxNTA4 -MDAwMFoXDTIxMTIxNTA4MDAwMFowOzEYMBYGA1UEChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQD -ExZDeWJlcnRydXN0IEdsb2JhbCBSb290MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA -+Mi8vRRQZhP/8NN57CPytxrHjoXxEnOmGaoQ25yiZXRadz5RfVb23CO21O1fWLE3TdVJDm71aofW -0ozSJ8bi/zafmGWgE07GKmSb1ZASzxQG9Dvj1Ci+6A74q05IlG2OlTEQXO2iLb3VOm2yHLtgwEZL -AfVJrn5GitB0jaEMAs7u/OePuGtm839EAL9mJRQr3RAwHQeWP032a7iPt3sMpTjr3kfb1V05/Iin -89cqdPHoWqI7n1C6poxFNcJQZZXcY4Lv3b93TZxiyWNzFtApD0mpSPCzqrdsxacwOUBdrsTiXSZT -8M4cIwhhqJQZugRiQOwfOHB3EgZxpzAYXSUnpQIDAQABo4GlMIGiMA4GA1UdDwEB/wQEAwIBBjAP -BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBS2CHsNesysIEyGVjJez6tuhS1wVzA/BgNVHR8EODA2 -MDSgMqAwhi5odHRwOi8vd3d3Mi5wdWJsaWMtdHJ1c3QuY29tL2NybC9jdC9jdHJvb3QuY3JsMB8G -A1UdIwQYMBaAFLYIew16zKwgTIZWMl7Pq26FLXBXMA0GCSqGSIb3DQEBBQUAA4IBAQBW7wojoFRO -lZfJ+InaRcHUowAl9B8Tq7ejhVhpwjCt2BWKLePJzYFa+HMjWqd8BfP9IjsO0QbE2zZMcwSO5bAi -5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1yCcUxXOl5n4BHPa2hCwcUPUf/A2kaDAtE52Mlp3+yybh2 -hO0j9n0Hq0V+09+zv+mKts2oomcrUtW3ZfA5TGOgkXmTUg9U3YO7n9GPp1Nzw8v/MOx8BLjYRB+T -X3EJIrduPuocA06dGiBh+4E37F78CkWr1+cXVdCg6mCbpvbjjFspwgZgFJ0tl0ypkxWdYcQBX0jW -WL1WMRJOEcgh4LMRkWXbtKaIOM5V ------END CERTIFICATE----- - ePKI Root Certification Authority ================================= -----BEGIN CERTIFICATE----- @@ -1016,136 +602,6 @@ vBTjD4au8as+x6AJzKNI0eDbZOeStc+vckNwi/nDhDwTqn6Sm1dTk/pwwpEOMfmbZ13pljheX7Nz TogVZ96edhBiIL5VaZVDADlN9u6wWk5JRFRYX0KD -----END CERTIFICATE----- -GeoTrust Primary Certification Authority - G3 -============================================= ------BEGIN CERTIFICATE----- -MIID/jCCAuagAwIBAgIQFaxulBmyeUtB9iepwxgPHzANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UE -BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA4IEdlb1RydXN0 -IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMB4XDTA4MDQwMjAwMDAwMFoXDTM3MTIwMTIz -NTk1OVowgZgx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ary Root CA - G2 -=========================== ------BEGIN CERTIFICATE----- -MIICiDCCAg2gAwIBAgIQNfwmXNmET8k9Jj1Xm67XVjAKBggqhkjOPQQDAzCBhDELMAkGA1UEBhMC -VVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjE4MDYGA1UECxMvKGMpIDIwMDcgdGhhd3RlLCBJbmMu -IC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAiBgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3Qg -Q0EgLSBHMjAeFw0wNzExMDUwMDAwMDBaFw0zODAxMTgyMzU5NTlaMIGEMQswCQYDVQQGEwJVUzEV -MBMGA1UEChMMdGhhd3RlLCBJbmMuMTgwNgYDVQQLEy8oYykgMjAwNyB0aGF3dGUsIEluYy4gLSBG -b3IgYXV0aG9yaXplZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAt -IEcyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEotWcgnuVnfFSeIf+iha/BebfowJPDQfGAFG6DAJS -LSKkQjnE/o/qycG+1E3/n3qe4rF8mq2nhglzh9HnmuN6papu+7qzcMBniKI11KOasf2twu8x+qi5 -8/sIxpHR+ymVo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU -mtgAMADna3+FGO6Lts6KDPgR4bswCgYIKoZIzj0EAwMDaQAwZgIxAN344FdHW6fmCsO99YCKlzUN -G4k8VIZ3KMqh9HneteY4sPBlcIx/AlTCv//YoT7ZzwIxAMSNlPzcU9LcnXgWHxUzI1NS41oxXZ3K -rr0TKUQNJ1uo52icEvdYPy5yAlejj6EULg== ------END CERTIFICATE----- - -thawte Primary Root CA - G3 -=========================== ------BEGIN CERTIFICATE----- -MIIEKjCCAxKgAwIBAgIQYAGXt0an6rS0mtZLL/eQ+zANBgkqhkiG9w0BAQsFADCBrjELMAkGA1UE -BhMCVVMxFTATBgNVB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FHqKweK -A3rD6z8KLFIWoCtDuSWQP3CpMyVtRRooOyfPqsMpQhvfO0zAMzRbQYi/aytlryjvsvXDqmbOe1bu -t8jLZ8HJnBoYuMTDSQPxYA5QzUbF83d597YV4Djbxy8ooAw/dyZ02SUS2jHaGh7cKUGRIjxpp7sC -8rZcJwOJ9Abqm+RyguOhCcHpABnTPtRwa7pxpqpYrvS76Wy274fMm7v/OeZWYdMKp8RcTGB7BXcm -er/YB1IsYvdwY9k5vG8cwnncdimvzsUsZAReiDZuMdRAGmI0Nj81Aa6sY6A= ------END CERTIFICATE----- - -GeoTrust Primary Certification Authority - G2 -============================================= ------BEGIN CERTIFICATE----- -MIICrjCCAjWgAwIBAgIQPLL0SAoA4v7rJDteYD7DazAKBggqhkjOPQQDAzCBmDELMAkGA1UEBhMC -VVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA3IEdlb1RydXN0IElu -Yy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBD -ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMB4XDTA3MTEwNTAwMDAwMFoXDTM4MDExODIzNTk1 -OVowgZgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykg -MjAwNyBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNVBAMTLUdl -b1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjB2MBAGByqGSM49AgEG -BSuBBAAiA2IABBWx6P0DFUPlrOuHNxFi79KDNlJ9RVcLSo17VDs6bl8VAsBQps8lL33KSLjHUGMc -KiEIfJo22Av+0SbFWDEwKCXzXV2juLaltJLtbCyf691DiaI8S0iRHVDsJt/WYC69IaNCMEAwDwYD -VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFBVfNVdRVfslsq0DafwBo/q+ -EVXVMAoGCCqGSM49BAMDA2cAMGQCMGSWWaboCd6LuvpaiIjwH5HTRqjySkwCY/tsXzjbLkGTqQ7m -ndwxHLKgpxgceeHHNgIwOlavmnRs9vuD4DPTCF+hnMJbn0bWtsuRBmOiBuczrD6ogRLQy7rQkgu2 -npaqBA+K ------END CERTIFICATE----- - -VeriSign Universal Root Certification Authority -=============================================== ------BEGIN CERTIFICATE----- -MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCBvTELMAkGA1UE -BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO -ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk -IHVzZSBvbmx5MTgwNgYDVQQDEy9WZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9u -IEF1dGhvcml0eTAeFw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNhbCBSb290IENlcnRpZmljYXRpb24gQXV0 -aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj -1mCOkdeQmIN65lgZOIzF9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGP -MiJhgsWHH26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+HLL72 -9fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN/BMReYTtXlT2NJ8I -AfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPTrJ9VAMf2CGqUuV/c4DPxhGD5WycR -tPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0G -CCsGAQUFBwEMBGEwX6FdoFswWTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2O -a8PPgGrUSBgsexkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud -DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4sAPmLGd75JR3 -Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+seQxIcaBlVZaDrHC1LGmWazx -Y8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTx -P/jgdFcrGJ2BtMQo2pSXpXDrrB2+BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+P -wGZsY6rp2aQW9IHRlRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4 -mJO37M2CYfE45k+XmCpajQ== ------END CERTIFICATE----- - -VeriSign Class 3 Public Primary Certification Authority - G4 -============================================================ ------BEGIN CERTIFICATE----- -MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjELMAkGA1UEBhMC -VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8w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VgaFRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA== ------END CERTIFICATE----- - NetLock Arany (Class Gold) Főtanúsítvány ======================================== -----BEGIN CERTIFICATE----- @@ -1170,38 +626,6 @@ NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= -----END CERTIFICATE----- -Staat der Nederlanden Root CA - G2 -================================== ------BEGIN CERTIFICATE----- -MIIFyjCCA7KgAwIBAgIEAJiWjDANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEeMBwGA1UE -CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSswKQYDVQQDDCJTdGFhdCBkZXIgTmVkZXJsYW5kZW4g -Um9vdCBDQSAtIEcyMB4XDTA4MDMyNjExMTgxN1oXDTIwMDMyNTExMDMxMFowWjELMAkGA1UEBhMC -TkwxHjAcBgNVBAoMFVN0YWF0IGRlciBOZWRlcmxhbmRlbjErMCkGA1UEAwwiU3RhYXQgZGVyIE5l -ZGVybGFuZGVuIFJvb3QgQ0EgLSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVZ -5291qj5LnLW4rJ4L5PnZyqtdj7U5EILXr1HgO+EASGrP2uEGQxGZqhQlEq0i6ABtQ8SpuOUfiUtn -vWFI7/3S4GCI5bkYYCjDdyutsDeqN95kWSpGV+RLufg3fNU254DBtvPUZ5uW6M7XxgpT0GtJlvOj -CwV3SPcl5XCsMBQgJeN/dVrlSPhOewMHBPqCYYdu8DvEpMfQ9XQ+pV0aCPKbJdL2rAQmPlU6Yiil -e7Iwr/g3wtG61jj99O9JMDeZJiFIhQGp5Rbn3JBV3w/oOM2ZNyFPXfUib2rFEhZgF1XyZWampzCR -OME4HYYEhLoaJXhena/MUGDWE4dS7WMfbWV9whUYdMrhfmQpjHLYFhN9C0lK8SgbIHRrx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CcAz+3F4h -oKOKwJCcaNpQ5kUQR3i2TtJlycM33+FCY7BXN0Ute4qcvwXqZVUz9zkQxSgqIXobisQk+T8VyJoV -IPVVYpbtbZNQvOSqeK3Zywplh6ZmwcSBo3c6WB4L7oOLnR7SUqTMHW+wmG2UMbX4cQrcufx9MmDm -66+KAQ== ------END CERTIFICATE----- - Hongkong Post Root CA 1 ======================= -----BEGIN CERTIFICATE----- @@ -1353,82 +777,6 @@ Q0iy2+tzJOeRf1SktoA+naM8THLCV8Sg1Mw4J87VBp6iSNnpn86CcDaTmjvfliHjWbcM2pE38P1Z WrOZyGlsQyYBNWNgVYkDOnXYukrZVP/u3oDYLdE41V4tC5h9Pmzb/CaIxw== -----END CERTIFICATE----- -Chambers of Commerce Root - 2008 -================================ ------BEGIN CERTIFICATE----- -MIIHTzCCBTegAwIBAgIJAKPaQn6ksa7aMA0GCSqGSIb3DQEBBQUAMIGuMQswCQYDVQQGEwJFVTFD -MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv -bS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMu -QS4xKTAnBgNVBAMTIENoYW1iZXJzIG9mIENvbW1lcmNlIFJvb3QgLSAyMDA4MB4XDTA4MDgwMTEy -Mjk1MFoXDTM4MDczMTEyMjk1MFowga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNl -ZSBjdXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIwEAYDVQQF -EwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJl -cnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC -AQCvAMtwNyu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MDiC -CQCj2kJ+pLGu2jAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUH -AgEWHGh0dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20wDQYJKoZIhvcNAQEFBQADggIBAJASryI1 -wqM58C7e6bXpeHxIvj99RZJe6dqxGfwWPJ+0W2aeaufDuV2I6A+tzyMP3iU6XsxPpcG1Lawk0lgH -3qLPaYRgM+gQDROpI9CF5Y57pp49chNyM/WqfcZjHwj0/gF/JM8rLFQJ3uIrbZLGOU8W6jx+ekbU -RWpGqOt1glanq6B8aBMz9p0w8G8nOSQjKpD9kCk18pPfNKXG9/jvjA9iSnyu0/VU+I22mlaHFoI6 -M6taIgj3grrqLuBHmrS1RaMFO9ncLkVAO+rcf+g769HsJtg1pDDFOqxXnrN2pSB7+R5KBWIBpih1 -YJeSDW4+TTdDDZIVnBgizVGZoCkaPF+KMjNbMMeJL0eYD6MDxvbxrN8y8NmBGuScvfaAFPDRLLmF -9dijscilIeUcE5fuDr3fKanvNFNb0+RqE4QGtjICxFKuItLcsiFCGtpA8CnJ7AoMXOLQusxI0zcK -zBIKinmwPQN/aUv0NCB9szTqjktk9T79syNnFQ0EuPAtwQlRPLJsFfClI9eDdOTlLsn+mCdCxqvG -nrDQWzilm1DefhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg -OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAxfDZd0jQ ------END CERTIFICATE----- - -Global Chambersign Root - 2008 -============================== ------BEGIN CERTIFICATE----- -MIIHSTCCBTGgAwIBAgIJAMnN0+nVfSPOMA0GCSqGSIb3DQEBBQUAMIGsMQswCQYDVQQGEwJFVTFD -MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv -bS9hZGRyZXNzKTESMBAGA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ntxPjzxmKfFGBI/5rsoM0LpRQp8bfKGeS/Fghl9CYl8slR2iK7ewfPM4W7bMdaTrpmg7yVq -c5iJWzouE4gev8CSlDQb4ye3ix5vQv/n6TebUB0tovkC7stYWDpxvGjjqsGvHCgfotwjZT+B6q6Z -09gwzxMNTxXJhLynSC34MCN32EZLeW32jO06f2ARePTpm67VVMB0gNELQp/B ------END CERTIFICATE----- - Go Daddy Root Certificate Authority - G2 ======================================== -----BEGIN CERTIFICATE----- @@ -1645,36 +993,6 @@ tnRGEmyR7jTV7JqR50S+kDFy1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29 mvVXIwAHIRc/SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03 -----END CERTIFICATE----- -EC-ACC -====== ------BEGIN CERTIFICATE----- -MIIFVjCCBD6gAwIBAgIQ7is969Qh3hSoYqwE893EATANBgkqhkiG9w0BAQUFADCB8zELMAkGA1UE -BhMCRVMxOzA5BgNVBAoTMkFnZW5jaWEgQ2F0YWxhbmEgZGUgQ2VydGlmaWNhY2lvIChOSUYgUS0w -ODAxMTc2LUkpMSgwJgYDVQQLEx9TZXJ2ZWlzIFB1YmxpY3MgZGUgQ2VydGlmaWNhY2lvMTUwMwYD -VQQLEyxWZWdldSBodHRwczovL3d3dy5jYXRjZXJ0Lm5ldC92ZXJhcnJlbCAoYykwMzE1MDMGA1UE -CxMsSmVyYXJxdWlhIEVudGl0YXRzIGRlIENlcnRpZmljYWNpbyBDYXRhbGFuZXMxDzANBgNVBAMT -BkVDLUFDQzAeFw0wMzAxMDcyMzAwMDBaFw0zMTAxMDcyMjU5NTlaMIHzMQswCQYDVQQGEwJFUzE7 -MDkGA1UEChMyQWdlbmNpYSBDYXRhbGFuYSBkZSBDZXJ0aWZpY2FjaW8gKE5JRiBRLTA4MDExNzYt -SSkxKDAmBgNVBAsTH1NlcnZlaXMgUHVibGljcyBkZSBDZXJ0aWZpY2FjaW8xNTAzBgNVBAsTL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8dJahw3oS7AwaboMMPOhyRp/7SNVe -l+axofjk70YllJyJ22k4vuxcDlbHZVHlUIiIv0LVKz3l+bqeLrPK9HOSAgu+TGbrIP65y7WZf+a2 -E/rKS03Z7lNGBjvGTq2TWoF+bCpLagVFjPIhpDGQh2xlnJ2lYJU6Un/10asIbvPuW/mIPX64b24D -5EI= ------END CERTIFICATE----- - Hellenic Academic and Research Institutions RootCA 2011 ======================================================= -----BEGIN CERTIFICATE----- @@ -1730,27 +1048,6 @@ OR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9 vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== -----END CERTIFICATE----- -Trustis FPS Root CA -=================== ------BEGIN CERTIFICATE----- -MIIDZzCCAk+gAwIBAgIQGx+ttiD5JNM2a/fH8YygWTANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQG -EwJHQjEYMBYGA1UEChMPVHJ1c3RpcyBMaW1pdGVkMRwwGgYDVQQLExNUcnVzdGlzIEZQUyBSb290 -IENBMB4XDTAzMTIyMzEyMTQwNloXDTI0MDEyMTExMzY1NFowRTELMAkGA1UEBhMCR0IxGDAWBgNV -BAoTD1RydXN0aXMgTGltaXRlZDEcMBoGA1UECxMTVHJ1c3RpcyBGUFMgUm9vdCBDQTCCASIwDQYJ -KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVQe547NdDfxIzNjpvto8A2mfRC6qc+gIMPpqdZh8mQ -RUN+AOqGeSoDvT03mYlmt+WKVoaTnGhLaASMk5MCPjDSNzoiYYkchU59j9WvezX2fihHiTHcDnlk -H5nSW7r+f2C/revnPDgpai/lkQtV/+xvWNUtyd5MZnGPDNcE2gfmHhjjvSkCqPoc4Vu5g6hBSLwa -cY3nYuUtsuvffM/bq1rKMfFMIvMFE/eC+XN5DL7XSxzA0RU8k0Fk0ea+IxciAIleH2ulrG6nS4zt -o3Lmr2NNL4XSFDWaLk6M6jKYKIahkQlBOrTh4/L68MkKokHdqeMDx4gVOxzUGpTXn2RZEm0CAwEA -AaNTMFEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS6+nEleYtXQSUhhgtx67JkDoshZzAd -BgNVHQ4EFgQUuvpxJXmLV0ElIYYLceuyZA6LIWcwDQYJKoZIhvcNAQEFBQADggEBAH5Y//01GX2c -GE+esCu8jowU/yyg2kdbw++BLa8F6nRIW/M+TgfHbcWzk88iNVy2P3UnXwmWzaD+vkAMXBJV+JOC -yinpXj9WV4s4NvdFGkwozZ5BuO1WTISkQMi4sKUraXAEasP41BIy+Q7DsdwyhEQsb8tGD+pmQQ9P -8Vilpg0ND2HepZ5dfWWhPBfnqFVO76DH7cZEf1T1o+CP8HxVIo8ptoGj4W1OLBuAZ+ytIJ8MYmHV -l/9D7S3B2l0pKoU/rGXuhg8FjZBf3+6f9L/uHfuY5H+QK4R4EA5sSVPvFVtlRkpdr7r7OnIdzfYl -iB6XzCGcKQENZetX2fNXlrtIzYE= ------END CERTIFICATE----- - Buypass Class 2 Root CA ======================= -----BEGIN CERTIFICATE----- @@ -1833,30 +1130,6 @@ P0HHRwA11fXT91Q+gT3aSWqas+8QPebrb9HIIkfLzM8BMZLZGOMivgkeGj5asuRrDFR6fUNOuIml e9eiPZaGzPImNC1qkp2aGtAw4l1OBLBfiyB+d8E9lYLRRpo7PHi4b6HQDWSieB4pTpPDpFQUWw== -----END CERTIFICATE----- -EE Certification Centre Root CA -=============================== ------BEGIN CERTIFICATE----- -MIIEAzCCAuugAwIBAgIQVID5oHPtPwBMyonY43HmSjANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQG -EwJFRTEiMCAGA1UECgwZQVMgU2VydGlmaXRzZWVyaW1pc2tlc2t1czEoMCYGA1UEAwwfRUUgQ2Vy -dGlmaWNhdGlvbiBDZW50cmUgUm9vdCBDQTEYMBYGCSqGSIb3DQEJARYJcGtpQHNrLmVlMCIYD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MzcijJs1eg9gIWiAYLtqZLICjU -3j2LrTcFU3T+bsy8QxdxXvnFzBqpYe73dgzzcvRyrc9yAjYHR8/vGVCJYMzpJJUPwssd8m92kMfM -dcGWxZ0= ------END CERTIFICATE----- - D-TRUST Root Class 3 CA 2 2009 ============================== -----BEGIN CERTIFICATE----- @@ -2390,20 +1663,6 @@ HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu 9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= -----END CERTIFICATE----- -GlobalSign ECC Root CA - R4 -=========================== ------BEGIN CERTIFICATE----- -MIIB4TCCAYegAwIBAgIRKjikHJYKBN5CsiilC+g0mAIwCgYIKoZIzj0EAwIwUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuMZ5049sJQ6fLjkZHAOkrprl -OQcJFspjsbmG+IpXwVfOQvpzofdlQv8ewQCybnMO/8ch5RikqtlxP6jUuc6MHaNCMEAwDgYDVR0P -AQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFFSwe61FuOJAf/sKbvu+M8k8o4TV -MAoGCCqGSM49BAMCA0gAMEUCIQDckqGgE6bPA7DmxCGXkPoUVy0D7O48027KqGx2vKLeuwIgJ6iF -JzWbVsaj8kfSt24bAgAXqmemFZHe+pTsewv4n4Q= ------END CERTIFICATE----- - GlobalSign ECC Root CA - R5 =========================== -----BEGIN CERTIFICATE----- @@ -2419,36 +1678,6 @@ uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7 yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3 -----END CERTIFICATE----- -Staat der Nederlanden Root CA - G3 -================================== ------BEGIN CERTIFICATE----- -MIIFdDCCA1ygAwIBAgIEAJiiOTANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEeMBwGA1UE -CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSswKQYDVQQDDCJTdGFhdCBkZXIgTmVkZXJsYW5kZW4g -Um9vdCBDQSAtIEczMB4XDTEzMTExNDExMjg0MloXDTI4MTExMzIzMDAwMFowWjELMAkGA1UEBhMC -TkwxHjAcBgNVBAoMFVN0YWF0IGRlciBOZWRlcmxhbmRlbjErMCkGA1UEAwwiU3RhYXQgZGVyIE5l -ZGVybGFuZGVuIFJvb3QgQ0EgLSBHMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAL4y -olQPcPssXFnrbMSkUeiFKrPMSjTysF/zDsccPVMeiAho2G89rcKezIJnByeHaHE6n3WWIkYFsO2t -x1ueKt6c/DrGlaf1F2cY5y9JCAxcz+bMNO14+1Cx3Gsy8KL+tjzk7FqXxz8ecAgwoNzFs21v0IJy -EavSgWhZghe3eJJg+szeP4TrjTgzkApyI/o1zCZxMdFyKJLZWyNtZrVtB0LrpjPOktvA9mxjeM3K -Tj215VKb8b475lRgsGYeCasH/lSJEULR9yS6YHgamPfJEf0WwTUaVHXvQ9Plrk7O53vDxk5hUUur -mkVLoR9BvUhTFXFkC4az5S6+zqQbwSmEorXLCCN2QyIkHxcE1G6cxvx/K2Ya7Irl1s9N9WMJtxU5 -1nus6+N86U78dULI7ViVDAZCopz35HCz33JvWjdAidiFpNfxC95DGdRKWCyMijmev4SH8RY7Ngzp -07TKbBlBUgmhHbBqv4LvcFEhMtwFdozL92TkA1CvjJFnq8Xy7ljY3r735zHPbMk7ccHViLVlvMDo -FxcHErVc0qsgk7TmgoNwNsXNo42ti+yjwUOH5kPiNL6VizXtBznaqB16nzaeErAMZRKQFWDZJkBE -41ZgpRDUajz9QdwOWke275dhdU/Z/seyHdTtXUmzqWrLZoQT1Vyg3N9udwbRcXXIV2+vD3dbAgMB -AAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRUrfrHkleu -yjWcLhL75LpdINyUVzANBgkqhkiG9w0BAQsFAAOCAgEAMJmdBTLIXg47mAE6iqTnB/d6+Oea31BD -U5cqPco8R5gu4RV78ZLzYdqQJRZlwJ9UXQ4DO1t3ApyEtg2YXzTdO2PCwyiBwpwpLiniyMMB8jPq -KqrMCQj3ZWfGzd/TtiunvczRDnBfuCPRy5FOCvTIeuXZYzbB1N/8Ipf3YF3qKS9Ysr1YvY2WTxB1 -v0h7PVGHoTx0IsL8B3+A3MSs/mrBcDCw6Y5p4ixpgZQJut3+TcCDjJRYwEYgr5wfAvg1VUkvRtTA -8KCWAg8zxXHzniN9lLf9OtMJgwYh/WA9rjLA0u6NpvDntIJ8CsxwyXmA+P5M9zWEGYox+wrZ13+b -8KKaa8MFSu1BYBQw0aoRQm7TIwIEC8Zl3d1Sd9qBa7Ko+gE4uZbqKmxnl4mUnrzhVNXkanjvSr0r -mj1AfsbAddJu+2gw7OyLnflJNZoaLNmzlTnVHpL3prllL+U9bTpITAjc5CgSKL59NVzq4BZ+Extq -1z7XnvwtdbLBFNUjA9tbbws+eC8N3jONFrdI54OagQ97wUNNVQQXOEpR1VmiiXTTn74eS9fGbbeI -JG9gkaSChVtWQbzQRKtqE77RLFi3EjNYsjdj3BP1lB0/QFH1T/U67cjF68IeHRaVesd+QnGTbksV -tzDfqu1XhUisHWrdOWnk4Xl4vs4Fv6EM94B7IWcnMFk= ------END CERTIFICATE----- - Staat der Nederlanden EV Root CA ================================ -----BEGIN CERTIFICATE----- @@ -2875,37 +2104,6 @@ MGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlwCkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1 AE47xDqUEpHJWEadIRNyp4iciuRMStuW1KyLa2tJElMzrdfkviT8tQp21KW8EA== -----END CERTIFICATE----- -LuxTrust Global Root 2 -====================== ------BEGIN CERTIFICATE----- -MIIFwzCCA6ugAwIBAgIUCn6m30tEntpqJIWe5rgV0xZ/u7EwDQYJKoZIhvcNAQELBQAwRjELMAkG -A1UEBhMCTFUxFjAUBgNVBAoMDUx1eFRydXN0IFMuQS4xHzAdBgNVBAMMFkx1eFRydXN0IEdsb2Jh -bCBSb290IDIwHhcNMTUwMzA1MTMyMTU3WhcNMzUwMzA1MTMyMTU3WjBGMQswCQYDVQQGEwJMVTEW -MBQGA1UECgwNTHV4VHJ1c3QgUy5BLjEfMB0GA1UEAwwWTHV4VHJ1c3QgR2xvYmFsIFJvb3QgMjCC -AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANeFl78RmOnwYoNMPIf5U2o3C/IPPIfOb9wm -Kb3FibrJgz337spbxm1Jc7TJRqMbNBM/wYlFV/TZsfs2ZUv7COJIcRHIbjuend+JZTemhfY7RBi2 -xjcwYkSSl2l9QjAk5A0MiWtj3sXh306pFGxT4GHO9hcvHTy95iJMHZP1EMShduxq3sVs35a0VkBC -wGKSMKEtFZSg0iAGCW5qbeXrt77U8PEVfIvmTroTzEsnXpk8F12PgX8zPU/TPxvsXD/wPEx1bvKm -1Z3aLQdjAsZy6ZS8TEmVT4hSyNvoaYL4zDRbIvCGp4m9SAptZoFtyMhk+wHh9OHe2Z7d21vUKpkm -FRseTJIpgp7VkoGSQXAZ96Tlk0u8d2cx3Rz9MXANF5kM+Qw5GSoXtTBxVdUPrljhPS80m8+f9niF -wpN6cj5mj5wWEWCPnolvZ77gR1o7DJpni89Gxq44o/KnvObWhWszJHAiS8sIm7vI+AIpH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/3jaJMobtNeWOWyu8Q6qp31I -iyBMz2TWuJdGsE7RKlY6oJO9r4Ak4Ap+58rVyuiFVdw2KuGUaJPHZnJED4AhMmwlxyOAgwrr ------END CERTIFICATE----- - TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1 ============================================= -----BEGIN CERTIFICATE----- @@ -3186,96 +2384,6 @@ AwMDaAAwZQIwJsdpW9zV57LnyAyMjMPdeYwbY9XJUpROTYJKcx6ygISpJcBMWm1JKWB4E+J+SOtk AjEA2zQgMgj/mkkCtojeFK9dbJlxjRo/i9fgojaGHAeCOnZT/cKi7e97sIBPWA9LUzm9 -----END CERTIFICATE----- -GTS Root R1 -=========== ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgIQbkepxUtHDA3sM9CJuRz04TANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQG -EwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJv -b3QgUjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAG -A1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx -9vaMf/vo27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7wCl7r -aKb0xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjwTcLCeoiKu7rPWRnW -r4+wB7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0PfyblqAj+lug8aJRT7oM6iCsVlgmy4HqM -LnXWnOunVmSPlk9orj2XwoSPwLxAwAtcvfaHszVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq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-sR8WNh8M5mQ5Fkzc4P4dyKliPUDqysU0ArSuiYgzNdwsE3PYJ/HQcu51OyLemGhmW/HGY0dVHLql -CFF1pkgl ------END CERTIFICATE----- - -GTS Root R2 -=========== ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgIQbkepxlqz5yDFMJo/aFLybzANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQG -EwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJv -b3QgUjIwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAG -A1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjIwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO3v2m++zsFDQ8BwZabFn3GTXd98GdVarTzTuk -k3LvCvptnfbwhYBboUhSnznFt+4orO/LdmgUud+tAWyZH8QiHZ/+cnfgLFuv5AS/T3KgGjSY6Dlo -7JUle3ah5mm5hRm9iYz+re026nO8/4Piy33B0s5Ks40FnotJk9/BW9BuXvAuMC6C/Pq8tBcKSOWI -m8Wba96wyrQD8Nr0kLhlZPdcTK3ofmZemde4wj7I0BOdre7kRXuJVfeKH2JShBKzwkCX44ofR5Gm -dFrS+LFjKBC4swm4VndAoiaYecb+3yXuPuWgf9RhD1FLPD+M2uFwdNjCaKH5wQzpoeJ/u1U8dgbu -ak7MkogwTZq9TwtImoS1mKPV+3PBV2HdKFZ1E66HjucMUQkQdYhMvI35ezzUIkgfKtzra7tEscsz -cTJGr61K8YzodDqs5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqjx5RW -Ir9qS34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsRnTKaG73Vululycsl -aVNVJ1zgyjbLiGH7Hrf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ca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvRHYqj -QjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSATNbrdP9JNqPV -2Py1PsVq8JQdjDAKBggqhkjOPQQDAwNnADBkAjBqUFJ0CMRw3J5QdCHojXohw0+WbhXRIjVhLfoI -N+4Zba3bssx9BzT1YBkstTTZbyACMANxsbqjYAuG7ZoIapVon+Kz4ZNkfF6Tpt95LY2F45TPI11x -zPKwTdb+mciUqXWi4w== ------END CERTIFICATE----- - UCA Global G2 Root ================== -----BEGIN CERTIFICATE----- @@ -3474,3 +2582,766 @@ hcErulWuBurQB7Lcq9CClnXO0lD+mefPL5/ndtFhKvshuzHQqp9HpLIiyhY6UFfEW0NnxWViA0kB 60PZ2Pierc+xYw5F9KBaLJstxabArahH9CdMOA0uG0k7UvToiIMrVCjU8jVStDKDYmlkDJGcn5fq dBb9HxEGmpv0 -----END CERTIFICATE----- + +Entrust Root Certification Authority - G4 +========================================= +-----BEGIN CERTIFICATE----- +MIIGSzCCBDOgAwIBAgIRANm1Q3+vqTkPAAAAAFVlrVgwDQYJKoZIhvcNAQELBQAwgb4xCzAJBgNV +BAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3Qu +bmV0L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1 +dGhvcml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTKUVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1 +dGhvcml0eSAtIEc0MB4XDTE1MDUyNzExMTExNloXDTM3MTIyNzExNDExNlowgb4xCzAJBgNVBAYT +AlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0 +L2xl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Z9POrYs4Q +jbRaZIxowLByQzTSGwv2LFPSypBLhmb8qoMi9IsabyZIrHZ3CL/FmFz0Jomee8O5ZDIBf9PD3Vht +7LGrhFV0d4QEJ1JrhkzO3bll/9bGXp+aEJlLdWr+aumXIOTkdnrG0CSqkM0gkLpHZPt/B7NTeLUK +YvJzQ85BK4FqLoUWlFPUa19yIqtRLULVAJyZv967lDtX/Zr1hstWO1uIAeV8KEsD+UmDfLJ/fOPt +jqF/YFOOVZ1QNBIPt5d7bIdKROf1beyAN/BYGW5KaHbwH5Lk6rWS02FREAutp9lfx1/cH6NcjKF+ +m7ee01ZvZl4HliDtC3T7Zk6LERXpgUl+b7DUUH8i119lAg2m9IUe2K4GS0qn0jFmwvjO5QimpAKW +RGhXxNUzzxkvFMSUHHuk2fCfDrGA4tGeEWSpiBE6doLlYsKA2KSD7ZPvfC+QsDJMlhVoSFLUmQjA +JOgc47OlIQ6SwJAfzyBfyjs4x7dtOvPmRLgOMWuIjnDrnBdSqEGULoe256YSxXXfW8AKbnuk5F6G ++TaU33fD6Q3AOfF5u0aOq0NZJ7cguyPpVkAh7DE9ZapD8j3fcEThuk0mEDuYn/PIjhs4ViFqUZPT +kcpG2om3PVODLAgfi49T3f+sHw== +-----END CERTIFICATE----- + +Microsoft ECC Root Certificate Authority 2017 +============================================= +-----BEGIN CERTIFICATE----- +MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV +UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQgRUND +IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4 +MjMxNjA0WjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw +NAYDVQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQ +BgcqhkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZRogPZnZH6 +thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYbhGBKia/teQ87zvH2RPUB +eMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTIy5lycFIM ++Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlf +Xu5gKcs68tvWMoQZP3zVL8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaR +eNtUjGUBiudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M= +-----END CERTIFICATE----- + +Microsoft RSA Root Certificate Authority 2017 +============================================= +-----BEGIN CERTIFICATE----- +MIIFqDCCA5CgAwIBAgIQHtOXCV/YtLNHcB6qvn9FszANBgkqhkiG9w0BAQwFADBlMQswCQYDVQQG +EwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQg +UlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjI1MTIyWhcNNDIw +NzE4MjMwMDIzWjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u +MTYwNAYDVQQDEy1NaWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcw +ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKW76UM4wplZEWCpW9R2LBifOZNt9GkMml +7Xhqb0eRaPgnZ1AzHaGm++DlQ6OEAlcBXZxIQIJTELy/xztokLa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+vzAEwDAfBgNVHSMEGDAWgBSHERUI0arBeAyxr87GyZDvvzAEwDAKBggqhkjOPQQDAgNJADBGAiEA +tVfd14pVCzbhhkT61NlojbjcI4qKDdQvfepz7L9NbKgCIQDLpbQS+ue16M9+k/zzNY9vTlp8tLxO +svxyqltZ+efcMQ== +-----END CERTIFICATE----- + +certSIGN Root CA G2 +=================== +-----BEGIN CERTIFICATE----- +MIIFRzCCAy+gAwIBAgIJEQA0tk7GNi02MA0GCSqGSIb3DQEBCwUAMEExCzAJBgNVBAYTAlJPMRQw +EgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjAeFw0xNzAy +MDYwOTI3MzVaFw00MjAyMDYwOTI3MzVaMEExCzAJBgNVBAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lH +TiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP +ADCCAgoCggIBAMDFdRmRfUR0dIf+DjuW3NgBFszuY5HnC2/OOwppGnzC46+CjobXXo9X69MhWf05 +N0IwvlDqtg+piNguLWkh59E3GE59kdUWX2tbAMI5Qw02hVK5U2UPHULlj88F0+7cDBrZuIt4Imfk +abBoxTzkbFpG583H+u/E7Eu9aqSs/cwoUe+StCmrqzWaTOTECMYmzPhpn+Sc8CnTXPnGFiWeI8Mg +wT0PPzhAsP6CRDiqWhqKa2NYOLQV07YRaXseVO6MGiKscpc/I1mbySKEwQdPzH/iV8oScLumZfNp +dWO9lfsbl83kqK/20U6o2YpxJM02PbyWxPFsqa7lzw1uKA2wDrXKUXt4FMMgL3/7FFXhEZn91Qqh +ngLjYl/rNUssuHLoPj1PrCy7Lobio3aP5ZMqz6WryFyNSwb/EkaseMsUBzXgqd+L6a8VTxaJW732 +jcZZroiFDsGJ6x9nxUWO/203Nit4ZoORUSs9/1F3dmKh7Gc+PoGD4FapUB8fepmrY7+EF3fxDTvf +95xhszWYijqy7DwaNz9+j5LP2RIUZNoQAhVB/0/E6xyjyfqZ90bp4RjZsbgyLcsUDFDYg2WD7rlc +z8sFWkz6GZdr1l0T08JcVLwyc6B49fFtHsufpaafItzRUZ6CeWRgKRM+o/1Pcmqr4tTluCRVLERL +iohEnMqE0yo7AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1Ud +DgQWBBSCIS1mxteg4BXrzkwJd8RgnlRuAzANBgkqhkiG9w0BAQsFAAOCAgEAYN4auOfyYILVAzOB +ywaK8SJJ6ejqkX/GM15oGQOGO0MBzwdw5AgeZYWR5hEit/UCI46uuR59H35s5r0l1ZUa8gWmr4UC +b6741jH/JclKyMeKqdmfS0mbEVeZkkMR3rYzpMzXjWR91M08KCy0mpbqTfXERMQlqiCA2ClV9+BB +/AYm/7k29UMUA2Z44RGx2iBfRgB4ACGlHgAoYXhvqAEBj500mv/0OJD7uNGzcgbJceaBxXntC6Z5 +8hMLnPddDnskk7RI24Zf3lCGeOdA5jGokHZwYa+cNywRtYK3qq4kNFtyDGkNzVmf9nGvnAvRCjj5 +BiKDUyUM/FHE5r7iOZULJK2v0ZXkltd0ZGtxTgI8qoXzIKNDOXZbbFD+mpwUHmUUihW9o4JFWklW +atKcsWMy5WHgUyIOpwpJ6st+H6jiYoD2EEVSmAYY3qXNL3+q1Ok+CHLsIwMCPKaq2LxndD0UF/tU +Sxfj03k9bWtJySgOLnRQvwzZRjoQhsmnP+mg7H/rpXdYaXHmgwo38oZJar55CJD2AhZkPuXaTH4M +NMn5X7azKFGnpyuqSfqNZSlO42sTp5SjLVFteAxEy9/eCG/Oo2Sr05WE1LlSVHJ7liXMvGnjSG4N +0MedJ5qq+BOS3R7fY581qRY27Iy4g/Q9iY/NtBde17MXQRBdJ3NghVdJIgc= +-----END CERTIFICATE----- + +Trustwave Global Certification Authority +======================================== +-----BEGIN CERTIFICATE----- +MIIF2jCCA8KgAwIBAgIMBfcOhtpJ80Y1Lr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xiRvchLIrH+QtAuRcOi35hYQcRfO3gZPSEF9NUqj +ifLJS3tBEW1ntwiYTOURGa5CgNz7kAXU+FDKvuStx8KU1xad5hePrzb7AgMBAAGjQjBAMA8GA1Ud +EwEB/wQFMAMBAf8wHQYDVR0OBBYEFJngGWcNYtt2s9o9uFvo/ULSMQ6HMA4GA1UdDwEB/wQEAwIB +BjANBgkqhkiG9w0BAQsFAAOCAgEAmHNw4rDT7TnsTGDZqRKGFx6W0OhUKDtkLSGm+J1WE2pIPU/H +PinbbViDVD2HfSMF1OQc3Og4ZYbFdada2zUFvXfeuyk3QAUHw5RSn8pk3fEbK9xGChACMf1KaA0H +ZJDmHvUqoai7PF35owgLEQzxPy0QlG/+4jSHg9bP5Rs1bdID4bANqKCqRieCNqcVtgimQlRXtpla +4gt5kNdXElE1GYhBaCXUNxeEFfsBctyV3lImIJgm4nb1J2/6ADtKYdkNy1GTKv0WBpanI5ojSP5R +vbbEsLFUzt5sQa0WZ37b/TjNuThOssFgy50X31ieemKyJo90lZvkWx3SD92YHJtZuSPTMaCm/zjd +zyBP6VhWOmfD0faZmZ26NraAL4hHT4a/RDqA5Dccprrql5gR0IRiR2Qequ5AvzSxnI9O4fKSTx+O +856X3vOmeWqJcU9LJxdI/uz0UA9PSX3MReO9ekDFQdxhVicGaeVyQYHTtgGJoC86cnn+OjC/QezH +Yj6RS8fZMXZC+fc8Y+wmjHMMfRod6qh8h6jCJ3zhM0EPz8/8AKAigJ5Kp28AsEFFtyLKaEjFQqKu +3R3y4G5OBVixwJAWKqQ9EEC+j2Jjg6mcgn0tAumDMHzLJ8n9HmYAsC7TIS+OMxZsmO0QqAfWzJPP +29FpHOTKyeC2nOnOcXHebD8WpHk= +-----END CERTIFICATE----- + +Trustwave Global ECC P256 Certification Authority +================================================= +-----BEGIN CERTIFICATE----- +MIICYDCCAgegAwIBAgIMDWpfCD8oXD5Rld9dMAoGCCqGSM49BAMCMIGRMQswCQYDVQQGEwJVUzER +MA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBI +b2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDI1NiBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MjMxOTM1MTBaFw00MjA4MjMxOTM1MTBaMIGRMQswCQYD +VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRy +dXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDI1 +NiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH77bOYj +43MyCMpg5lOcunSNGLB4kFKA3TjASh3RqMyTpJcGOMoNFWLGjgEqZZ2q3zSRLoHB5DOSMcT9CTqm +P62jQzBBMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAwcGADAdBgNVHQ4EFgQUo0EGrJBt +0UrrdaVKEJmzsaGLSvcwCgYIKoZIzj0EAwIDRwAwRAIgB+ZU2g6gWrKuEZ+Hxbb/ad4lvvigtwjz +RM4q3wghDDcCIC0mA6AFvWvR9lz4ZcyGbbOcNEhjhAnFjXca4syc4XR7 +-----END CERTIFICATE----- + +Trustwave Global ECC P384 Certification Authority +================================================= +-----BEGIN CERTIFICATE----- +MIICnTCCAiSgAwIBAgIMCL2Fl2yZJ6SAaEc7MAoGCCqGSM49BAMDMIGRMQswCQYDVQQGEwJVUzER +MA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBI +b2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDM4NCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MjMxOTM2NDNaFw00MjA4MjMxOTM2NDNaMIGRMQswCQYD +VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRy +dXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDM4 +NCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTB2MBAGByqGSM49AgEGBSuBBAAiA2IABGvaDXU1CDFH +Ba5FmVXxERMuSvgQMSOjfoPTfygIOiYaOs+Xgh+AtycJj9GOMMQKmw6sWASr9zZ9lCOkmwqKi6vr +/TklZvFe/oyujUF5nQlgziip04pt89ZF1PKYhDhloKNDMEEwDwYDVR0TAQH/BAUwAwEB/zAPBgNV +HQ8BAf8EBQMDBwYAMB0GA1UdDgQWBBRVqYSJ0sEyvRjLbKYHTsjnnb6CkDAKBggqhkjOPQQDAwNn +ADBkAjA3AZKXRRJ+oPM+rRk6ct30UJMDEr5E0k9BpIycnR+j9sKS50gU/k6bpZFXrsY3crsCMGcl +CrEMXu6pY5Jv5ZAL/mYiykf9ijH3g/56vxC+GCsej/YpHpRZ744hN8tRmKVuSw== +-----END CERTIFICATE----- + +NAVER Global Root Certification Authority +========================================= +-----BEGIN CERTIFICATE----- +MIIFojCCA4qgAwIBAgIUAZQwHqIL3fXFMyqxQ0Rx+NZQTQ0wDQYJKoZIhvcNAQEMBQAwaTELMAkG +A1UEBhMCS1IxJjAkBgNVBAoMHU5BVkVSIEJVU0lORVNTIFBMQVRGT1JNIENvcnAuMTIwMAYDVQQD +DClOQVZFUiBHbG9iYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MTgwODU4 +NDJaFw0zNzA4MTgyMzU5NTlaMGkxCzAJBgNVBAYTAktSMSYwJAYDVQQKDB1OQVZFUiBCVVNJTkVT +UyBQTEFURk9STSBDb3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zp6U5LOogMFDTjfArsQLtk70pt6wKGm+LUx5vR1yblTmXVHIloUFcd4G7ad6Qz4G3bx +hYTeodoS76TiEJd6eN4MUZeoIUCLhr0N8F5OSza7OyAfikJW4Qsav3vQIkMsRIz75Sq0bBwcupTg +E34h5prCy8VCZLQelHsIJchxzIdFV4XTnyliIoNRlwAYl3dqmJLJfGBs32x9SuRwTMKeuB330DTH +D8z7p/8Dvq1wkNoL3chtl1+afwkyQf3NosxabUzyqkn+Zvjp2DXrDige7kgvOtB5CTh8piKCk5XQ +A76+AqAF3SAi428diDRgxuYKuQl1C/AH6GmWNcf7I4GOODm4RStDeKLRLBT/DShycpWbXgnbiUSY +qqFJu3FS8r/2/yehNq+4tneI3TqkbZs0kNwUXTC/t+sX5Ie3cdCh13cV1ELX8vMxmV2b3RZtP+oG +I/hGoiLtk/bdmuYqh7GYVPEi92tF4+KOdh2ajcQGjTa3FPOdVGm3jjzVpG2Tgbet9r1ke8LJaDmg +kpzNNIaRkPpkUZ3+/uul9XXeifdy +-----END CERTIFICATE----- + +AC RAIZ FNMT-RCM SERVIDORES SEGUROS +=================================== +-----BEGIN CERTIFICATE----- +MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQswCQYDVQQGEwJF +UzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgwFgYDVQRhDA9WQVRFUy1RMjgy +NjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1SQ00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4 +MTIyMDA5MzczM1oXDTQzMTIyMDA5MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQt +UkNNMQ4wDAYDVQQLDAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNB +QyBSQUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgE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bfc2hIkCwU9D9SGuTSyxTDYWnP4vkYxboz +nxSjBF25cfe1lNj2M8FawTSLfJvdkzrnE6JwYZ+vj+vYxXX4M2bUdGc6N3ec592kD3ZDZopD8p/7 +DEJ4Y9HiD2971KE9dJeFt0g5QdYg/NA6s/rob8SKunE3vouXsXgxT7PntgMTzlSdriVZzH81Xwj3 +QEUxeCp6 +-----END CERTIFICATE----- + +GlobalSign Root E46 +=================== +-----BEGIN CERTIFICATE----- +MIICCzCCAZGgAwIBAgISEdK7ujNu1LzmJGjFDYQdmOhDMAoGCCqGSM49BAMDMEYxCzAJBgNVBAYT +AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQDExNHbG9iYWxTaWduIFJvb3Qg +RTQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNV +BAoTEEdsb2JhbFNpZ24gbnYtc2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBFNDYwdjAQBgcq +hkjOPQIBBgUrgQQAIgNiAAScDrHPt+ieUnd1NPqlRqetMhkytAepJ8qUuwzSChDH2omwlwxwEwkB +jtjqR+q+soArzfwoDdusvKSGN+1wCAB16pMLey5SnCNoIwZD7JIvU4Tb+0cUB+hflGddyXqBPCCj +QjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQxCpCPtsad0kRL +gLWi5h+xEk8blTAKBggqhkjOPQQDAwNoADBlAjEA31SQ7Zvvi5QCkxeCmb6zniz2C5GMn0oUsfZk +vLtoURMMA/cVi4RguYv/Uo7njLwcAjA8+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+ +CAezNIm8BZ/3Hobui3A= +-----END CERTIFICATE----- + +GLOBALTRUST 2020 +================ +-----BEGIN CERTIFICATE----- +MIIFgjCCA2qgAwIBAgILWku9WvtPilv6ZeUwDQYJKoZIhvcNA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H9FhN3nkq9XVsxJxaD1qaJwiMB8GA1Ud +IwQYMBaAFNwuH9FhN3nkq9XVsxJxaD1qaJwiMA0GCSqGSIb3DQEBCwUAA4ICAQCR8EICaEDuw2jA +VC/f7GLDw56KoDEoqoOOpFaWEhCGVrqXctJUMHytGdUdaG/7FELYjQ7ztdGl4wJCXtzoRlgHNQIw +4Lx0SsFDKv/bGtCwr2zD/cuz9X9tAy5ZVp0tLTWMstZDFyySCstd6IwPS3BD0IL/qMy/pJTAvoe9 +iuOTe8aPmxadJ2W8esVCgmxcB9CpwYhgROmYhRZf+I/KARDOJcP5YBugxZfD0yyIMaK9MOzQ0MAS +8cE54+X1+NZK3TTN+2/BT+MAi1bikvcoskJ3ciNnxz8RFbLEAwW+uxF7Cr+obuf/WEPPm2eggAe2 +HcqtbepBEX4tdJP7wry+UUTF72glJ4DjyKDUEuzZpTcdN3y0kcra1LGWge9oXHYQSa9+pTeAsRxS +vTOBTI/53WXZFM2KJVj04sWDpQmQ1GwUY7VA3+vA/MRYfg0UFodUJ25W5HCEuGwyEn6CMUO+1918 +oa2u1qsgEu8KwxCMSZY13At1XrFP1U80DhEgB3VDRemjEdqso5nCtnkn4rnvyOL2NSl6dPrFf4IF +YqYK6miyeUcGbvJXqBUzxvd4Sj1Ce2t+/vdG6tHrju+IaFvowdlxfv1k7/9nR4hYJS8+hge9+6jl +gqispdNpQ80xiEmEU5LAsTkbOYMBMMTyqfrQA71yN2BWHzZ8vTmR9W0Nv3vXkg== +-----END CERTIFICATE----- + +ANF Secure Server Root CA +========================= +-----BEGIN CERTIFICATE----- +MIIF7zCCA9egAwIBAgIIDdPjvGz5a7EwDQYJKoZIhvcNAQELBQAwgYQxEjAQBgNVBAUTCUc2MzI4 +NzUxMDELMAkGA1UEBhMCRVMxJzAlBgNVBAoTHkFORiBBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lv +bjEUMBIGA1UECxMLQU5GIENBIFJhaXoxIjAgBgNVBAMTGUFORiBTZWN1cmUg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GA1UdDgQWBBScX9BsY6Nfk8qTmAitjIelLFzBNzAOBgNVHQ8BAf8E +BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEATh65isagmD9uw2nAalxJ +UqzLK114OMHVVISfk/CHGT0sZonrDUL8zPB1hT+L9IBdeeUXZ701guLyPI59WzbLWoAAKfLOKyzx +j6ptBZNscsdW699QIyjlRRA96Gejrw5VD5AJYu9LWaL2U/HANeQvwSS9eS9OICI7/RogsKQOLHDt +dD+4E5UGUcjohybKpFtqFiGS3XNgnhAY3jyB6ugYw3yJ8otQPr0R4hUDqDZ9MwFsSBXXiJCZBMXM +5gf0vPSQ7RPi6ovDj6MzD8EpTBNO2hVWcXNyglD2mjN8orGoGjR0ZVzO0eurU+AagNjqOknkJjCb +5RyKqKkVMoaZkgoQI1YS4PbOTOK7vtuNknMBZi9iPrJyJ0U27U1W45eZ/zo1PqVUSlJZS2Db7v54 +EX9K3BR5YLZrZAPbFYPhor72I5dQ8AkzNqdxliXzuUJ92zg/LFis6ELhDtjTO0wugumDLmsx2d1H +hk9tl5EuT+IocTUW0fJz/iUrB0ckYyfI+PbZa/wSMVYIwFNCr5zQM378BvAxRAMU8Vjq8moNqRGy +g77FGr8H6lnco4g175x2MjxNBiLOFeXdntiP2t7SxDnlF4HPOEfrf4htWRvfn0IUrn7PqLBmZdo3 +r5+qPeoott7VMVgWglvquxl1AnMaykgaIZOQCo6ThKd9OyMYkomgjaw= +-----END CERTIFICATE----- + +Certum EC-384 CA +================ +-----BEGIN CERTIFICATE----- +MIICZTCCAeugAwIBAgIQeI8nXIESUiClBNAt3bpz9DAKBggqhkjOPQQDAzB0MQswCQYDVQQGEwJQ +TDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2Vy +dGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwHhcNMTgwMzI2 +MDcyNDU0WhcNNDMwMzI2MDcyNDU0WjB0MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERh +dGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx +GTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATEKI6rGFtq +vm5kN2PkzeyrOvfMobgOgknXhimfoZTy42B4mIF4Bk3y7JoOV2CDn7TmFy8as10CW4kjPMIRBSqn +iBMY81CE1700LCeJVf/OTOffph8oxPBUw7l8t1Ot68KjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD +VR0OBBYEFI0GZnQkdjrzife81r1HfS+8EF9LMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNo +ADBlAjADVS2m5hjEfO/JUG7BJw+ch69u1RsIGL2SKcHvlJF40jocVYli5RsJHrpka/F2tNQCMQC0 +QoSZ/6vnnvuRlydd3LBbMHHOXjgaatkl5+r3YZJW+OraNsKHZZYuciUvf9/DE8k= +-----END CERTIFICATE----- + +Certum Trusted Root CA +====================== +-----BEGIN CERTIFICATE----- +MIIFwDCCA6igAwIBAgIQHr9ZULjJgDdMBvfrVU+17TANBgkqhkiG9w0BAQ0FADB6MQswCQYDVQQG +EwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0g +Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0Ew +HhcNMTgwMzE2MTIxMDEzWhcNNDMwMzE2MTIxMDEzWjB6MQswCQYDVQQGEwJQTDEhMB8GA1UEChMY +QXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkxHzA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EX1xAZufHSCe96Qp1bWgvUxpVOKs7/B9dPfhgGiPEZtdmYu65x +xBzndFlY7wyJz4sfdZMaBBSSSFCp61cpABbjNhzI+L/wM9VBD8TMPN3pM0MBkRArHtG5Xc0yGYuP +jCB31yLEQtyEFpslbei0VXF/sHyz03FJuc9SpAQ/3D2gu68zngowYI7bnV2UqL1g52KAdoGDDIzM +MEZJ4gzSqK/rYXHv5yJiqfdcZGyfFoxnNidF9Ql7v/YQCvGwjVRDjAS6oz/v4jXH+XTgbzRB0L9z +ZVcg+ZtnemZoJE6AZb0QmQZZ8mWvuMZHu/2QeItBcy6vVR/cO5JyboTT0GFMDcx2V+IthSIVNg3r +AZ3r2OvEhJn7wAzMMujjd9qDRIueVSjAi1jTkD5OGwDxFa2DK5o= +-----END CERTIFICATE----- + +HARICA TLS RSA Root CA 2021 +=========================== +-----BEGIN CERTIFICATE----- +MIIFpDCCA4ygAwIBAgIQOcqTHO9D88aOk8f0ZIk4fjANBgkqhkiG9w0BAQsFADBsMQswCQYDVQQG +EwJHUjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u +cyBDQTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBSU0EgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTEwNTUz +OFoXDTQ1MDIxMzEwNTUzN1owbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRl +bWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgUlNB +IFJvb3QgQ0EgMjAyMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIvC569lmwVnlskN +JLnQDmT8zuIkGCyEf3dRywQRNrhe7Wlxp57kJQmXZ8FHws+RFjZiPTgE4VGC/6zStGndLuwRo0Xu +a2s7TL+MjaQenRG56Tj5eg4MmOIjHdFOY9TnuEFE+2uva9of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W/4GKvyMX6ssmeVkjaef2WdhW+o45WxLM0/L5H9MG0 +qPzVMIho7suuyWPEdr6sOBjhXlzPrjoiUevRi7PzKzMHVIf6tLITe7pTBGIBnfHAT+7hOtSLIBD6 +Alfm78ELt5BGnBkpjNxvoEppaZS3JGWg/6w/zgH7IS79aPib8qXPMThcFarmlwDB31qlpzmq6YR/ +PFGoOtmUW4y/Twhx5duoXNTSpv4Ao8YWxw/ogM4cKGR0GQjTQuPOAF1/sdwTsOEFy9EgqoZ0njnn +kf3/W9b3raYvAwtt41dU63ZTGI0RmLo= +-----END CERTIFICATE----- + +HARICA TLS ECC Root CA 2021 +=========================== +-----BEGIN CERTIFICATE----- +MIICVDCCAdugAwIBAgIQZ3SdjXfYO2rbIvT/WeK/zjAKBggqhkjOPQQDAzBsMQswCQYDVQQGEwJH +UjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBD +QTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBFQ0MgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTExMDExMFoX +DTQ1MDIxMzExMDEwOVowbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRlbWlj +IGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgRUNDIFJv +b3QgQ0EgMjAyMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABDgI/rGgltJ6rK9JOtDA4MM7KKrxcm1l +AEeIhPyaJmuqS7psBAqIXhfyVYf8MLA04jRYVxqEU+kw2anylnTDUR9YSTHMmE5gEYd103KUkE+b +ECUqqHgtvpBBWJAVcqeht6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUyRtTgRL+BNUW +0aq8mm+3oJUZbsowDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMDA2cAMGQCMBHervjcToiwqfAi +rcJRQO9gcS3ujwLEXQNwSaSS6sUUiHCm0w2wqsosQJz76YJumgIwK0eaB8bRwoF8yguWGEEbo/Qw +CZ61IygNnxS2PFOiTAZpffpskcYqSUXm7LcT4Tps +-----END CERTIFICATE----- + +Autoridad de Certificacion Firmaprofesional CIF A62634068 +========================================================= +-----BEGIN CERTIFICATE----- +MIIGFDCCA/ygAwIBAgIIG3Dp0v+ubHEwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCRVMxQjBA +BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 +MjYzNDA2ODAeFw0xNDA5MjMxNTIyMDdaFw0zNjA1MDUxNTIyMDdaMFExCzAJBgNVBAYTAkVTMUIw +QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB +NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD +Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P +B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY +7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH +ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI +plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX +MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX +LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJB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DEMnDAGf/JOC0ULGb0QkTmVXYbgBVX/8Cnp6o5qtjTcNAuuuuUavpf +NIbnYrX9ivAwhZTJryQCL2/W3Wf+47BVTwSYT6RBVuKT0Gro1vP7ZeDOdcQxWQzugsgMYDNKGbqE +ZycPvEJdvSRUDewdcAZfpLz6IHxV +-----END CERTIFICATE----- + +vTrus ECC Root CA +================= +-----BEGIN CERTIFICATE----- +MIICDzCCAZWgAwIBAgIUbmq8WapTvpg5Z6LSa6Q75m0c1towCgYIKoZIzj0EAwMwRzELMAkGA1UE +BhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBS +b290IENBMB4XDTE4MDczMTA3MjY0NFoXDTQzMDczMTA3MjY0NFowRzELMAkGA1UEBhMCQ04xHDAa +BgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBSb290IENBMHYw +EAYHKoZIzj0CAQYFK4EEACIDYgAEZVBKrox5lkqqHAjDo6LN/llWQXf9JpRCux3NCNtzslt188+c +ToL0v/hhJoVs1oVbcnDS/dtitN9Ti72xRFhiQgnH+n9bEOf+QP3A2MMrMudwpremIFUde4BdS49n +TPEQo0IwQDAdBgNVHQ4EFgQUmDnNvtiyjPeyq+GtJK97fKHbH88wDwYDVR0TAQH/BAUwAwEB/zAO +BgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwMDaAAwZQIwV53dVvHH4+m4SVBrm2nDb+zDfSXkV5UT +QJtS0zvzQBm8JsctBp61ezaf9SXUY2sAAjEA6dPGnlaaKsyh2j/IZivTWJwghfqrkYpwcBE4YGQL +YgmRWAD5Tfs0aNoJrSEGGJTO +-----END CERTIFICATE----- + +vTrus Root CA +============= +-----BEGIN CERTIFICATE----- +MIIFVjCCAz6gAwIBAgIUQ+NxE9izWRRdt86M/TX9b7wFjUUwDQYJKoZIhvcNAQELBQAwQzELMAkG +A1UEBhM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IBBjANBgkqhkiG9w0BAQsFAAOC +AgEAKbqSSaet8PFww+SX8J+pJdVrnjT+5hpk9jprUrIQeBqfTNqK2uwcN1LgQkv7bHbKJAs5EhWd +nxEt/Hlk3ODg9d3gV8mlsnZwUKT+twpw1aA08XXXTUm6EdGz2OyC/+sOxL9kLX1jbhd47F18iMjr +jld22VkE+rxSH0Ws8HqA7Oxvdq6R2xCOBNyS36D25q5J08FsEhvMKar5CKXiNxTKsbhm7xqC5PD4 +8acWabfbqWE8n/Uxy+QARsIvdLGx14HuqCaVvIivTDUHKgLKeBRtRytAVunLKmChZwOgzoy8sHJn +xDHO2zTlJQNgJXtxmOTAGytfdELSS8VZCAeHvsXDf+eW2eHcKJfWjwXj9ZtOyh1QRwVTsMo554Wg +icEFOwE30z9J4nfrI8iIZjs9OXYhRvHsXyO466JmdXTBQPfYaJqT4i2pLr0cox7IdMakLXogqzu4 +sEb9b91fUlV1YvCXoHzXOP0l382gmxDPi7g4Xl7FtKYCNqEeXxzP4padKar9mK5S4fNBUvupLnKW +nyfjqnN9+BojZns7q2WwMgFLFT49ok8MKzWixtlnEjUwzXYuFrOZnk1PTi07NEPhmg4NpGaXutIc +SkwsKouLgU9xGqndXHt7CMUADTdA43x7VF8vhV929vensBxXVsFy6K2ir40zSbofitzmdHxghm+H +l3s= +-----END CERTIFICATE----- + +ISRG Root X2 +============ +-----BEGIN CERTIFICATE----- +MIICGzCCAaGgAwIBAgIQQdKd0XLq7qeAwSxs6S+HUjAKBggqhkjOPQQDAzBPMQswCQYDVQQGEwJV +UzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMTDElT +UkcgUm9vdCBYMjAeFw0yMDA5MDQwMDAwMDBaFw00MDA5MTcxNjAwMDBaME8xCzAJBgNVBAYTAlVT +MSkwJwYDVQQKEyBJbnRlcm5ldCBTZWN1cml0eSBSZXNlYXJjaCBHcm91cDEVMBMGA1UEAxMMSVNS +RyBS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VTjFnanRbEEV16rCf0OY1/k6fi8wrkkVbbiVg +hUbN0aqwdmaTd5a+g744tiROJgvM7XpWGuDpWsZkrUx6AEhEL7lAuxM+vhV4nYWBSipX3tUZQ9rb +yltHhoMLP7YNdnhzeSJesYAfz77RP1YQmCuVh6EfnWQUYDksswBVLuT1sw5XxJFBAJw/6KXf6vb/ +yPCtbVKoF6ubYfwSUTXkJf2vqmqGOQ== +-----END CERTIFICATE----- + +GlobalSign ECC Root CA - R4 +=========================== +-----BEGIN CERTIFICATE----- +MIIB3DCCAYOgAwIBAgINAgPlfvU/k/2lCSGypjAKBggqhkjOPQQDAjBQMSQwIgYDVQQLExtHbG9i +YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds +b2JhbFNpZ24wHhcNMTIxMTEzMDAwMDAwWhcNMzgwMTE5MDMxNDA3WjBQMSQwIgYDVQQLExtHbG9i +YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds +b2JhbFNpZ24wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS4xnnTj2wlDp8uORkcA6SumuU5BwkW +ymOxuYb4ilfBV85C+nOh92VC/x7BALJucw7/xyHlGKSq2XE/qNS5zowdo0IwQDAOBgNVHQ8BAf8E +BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUVLB7rUW44kB/+wpu+74zyTyjhNUwCgYI +KoZIzj0EAwIDRwAwRAIgIk90crlgr/HmnKAWBVBfw147bmF0774BxL4YSFlhgjICICadVGNA3jdg +UM/I2O2dgq43mLyjj0xMqTQrbO/7lZsm +-----END CERTIFICATE----- + +GTS Root R1 +=========== +-----BEGIN CERTIFICATE----- +MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQGEwJV +UzEiMCAGA1UEChMZR29vZ2xl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XRqWbTKH7QMgyALOWr7Z6v2yTcQvG99fevX4i8buMTolUVVn +jWQye+mew4K6Ki3pHrTgSAai/GevHyICc/sgCq+dVEuhzf9gR7A/Xe8bVr2XIZYtCtFenTgCR2y5 +9PYjJbigapordwj6xLEokCZYCDzifqrXPW+6MYgKBesntaFJ7qBFVHvmJ2WZICGoo7z7GJa7Um8M +7YNRTOlZ4iBgxcJlkoKM8xAfDoqXvneCbT+PHV28SSe9zE8P4c52hgQjxcCMElv924SgJPFI/2R8 +0L5cFtHvma3AH/vLrrw4IgYmZNralw4/KBVEqE8AyvCazM90arQ+POuV7LXTWtiBmelDGDfrs7vR +WGJB82bSj6p4lVQgw1oudCvV0b4YacCs1aTPObpRhANl6WLAYv7YTVWW4tAR+kg0Eeye7QUd5MjW +HYbL +-----END CERTIFICATE----- + +GTS Root R3 +=========== +-----BEGIN CERTIFICATE----- +MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi +MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMw +HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ +R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjO +PQIBBgUrgQQAIgNiAAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout +736GjOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL24CejQjBA +MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTB8Sa6oC2uhYHP0/Eq +Er24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azT +L818+FsuVbu/3ZL3pAzcMeGiAjEA/JdmZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV +11RZt+cRLInUue4X +-----END CERTIFICATE----- + +GTS Root R4 +=========== +-----BEGIN CERTIFICATE----- +MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi +MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQw +HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ +R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjO +PQIBBgUrgQQAIgNiAATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzu +hXyiQHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvRHYqjQjBA +MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSATNbrdP9JNqPV2Py1 +PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/C +r8deVl5c1RxYIigL9zC2L7F8AjEA8GE8p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh +4rsUecrNIdSUtUlD +-----END CERTIFICATE----- + +Telia Root CA v2 +================ +-----BEGIN CERTIFICATE----- +MIIFdDCCA1ygAwIBAgIPAWdfJ9b+euPkrL4JWwWeMA0GCSqGSIb3DQEBCwUAMEQxCzAJBgNVBAYT +AkZJMRowGAYDVQQKDBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UEAwwQVGVsaWEgUm9vd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n4vOaWWl/oRrfxn83EJ +8rKJhGdEr7nv7ZbsnGTbMjBvZ5qsfl+yqwE2foH65IRe0qw24GtixX1LDoJt0nZi0f6X+J8wfBj5 +tFJ3gh1229MdqfDBmgC9bXXYfef6xzijnHDoRnkDry5023X4blMMA8iZGok1GTzTyVR8qPAs5m4H +eW9q4ebqkYJpCh3DflminmtGFZhb069GHWLIzoBSSRE/yQQSwxN8PzuKlts8oB4KtItUsiRnDe+C +y748fdHif64W1lZYudogsYMVoe+KTTJvQS8TUoKU1xrBeKJR3Stwbbca+few4GeXVtt8YVMJAygC +QMez2P2ccGrGKMOF6eLtGpOg3kuYooQ+BXcBlj37tCAPnHICehIv1aO6UXivKitEZU61/Qrowc15 +h2Er3oBXRb9n8ZuRXqWk7FlIEA04x7D6w0RtBPV4UBySllva9bguulvP5fBqnUsvWHMtTy3EHD70 +sz+rFQ47GUGKpMFXEmZxTPpT41frYpUJnlTd0cI8Vzy9OK2YZLe4A5pTVmBds9hCG1xLEooc6+t9 +xnppxyd/pPiL8uSUZodL6ZQHCRJ5irLrdATczvREWeAWysUsWNc8e89ihmpQfTU2Zqf7N+cox9jQ +raVplI/owd8k+BsHMYeB2F326CjYSlKArBPuUBQemMc= +-----END CERTIFICATE----- + +D-TRUST BR Root CA 1 2020 +========================= +-----BEGIN CERTIFICATE----- +MIIC2zCCAmCgAwIBAgIQfMmPK4TX3+oPyWWa00tNljAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE +RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEJSIFJvb3QgQ0EgMSAy +MDIwMB4XDTIwMDIxMTA5NDUwMFoXDTM1MDIxMTA5NDQ1OVowSDELMAkGA1UEBhMCREUxFTATBgNV +BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDEgMjAyMDB2MBAG +ByqGSM49AgEGBSuBBAAiA2IABMbLxyjR+4T1mu9CFCDhQ2tuda38KwOE1HaTJddZO0Flax7mNCq7 +dPYSzuht56vkPE4/RAiLzRZxy7+SmfSk1zxQVFKQhYN4lGdnoxwJGT11NIXe7WB9xwy0QVK5buXu +QqOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFHOREKv/VbNafAkl1bK6CKBrqx9t +MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu +bmV0L2NybC9kLXRydXN0X2JyX3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj +dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwQlIlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP +PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD +AwNpADBmAjEAlJAtE/rhY/hhY+ithXhUkZy4kzg+GkHaQBZTQgjKL47xPoFWwKrY7RjEsK70Pvom +AjEA8yjixtsrmfu3Ubgko6SUeho/5jbiA1czijDLgsfWFBHVdWNbFJWcHwHP2NVypw87 +-----END CERTIFICATE----- + +D-TRUST EV Root CA 1 2020 +========================= +-----BEGIN CERTIFICATE----- +MIIC2zCCAmCgAwIBAgIQXwJB13qHfEwDo6yWjfv/0DAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE +RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEVWIFJvb3QgQ0EgMSAy +MDIwMB4XDTIwMDIxMTEwMDAwMFoXDTM1MDIxMTA5NTk1OVowSDELMAkGA1UEBhMCREUxFTATBgNV +BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDEgMjAyMDB2MBAG +ByqGSM49AgEGBSuBBAAiA2IABPEL3YZDIBnfl4XoIkqbz52Yv7QFJsnL46bSj8WeeHsxiamJrSc8 +ZRCC/N/DnU7wMyPE0jL1HLDfMxddxfCxivnvubcUyilKwg+pf3VlSSowZ/Rk99Yad9rDwpdhQntJ +raOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFH8QARY3OqQo5FD4pPfsazK2/umL +MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu +bmV0L2NybC9kLXRydXN0X2V2X3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj +dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwRVYlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP +PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD +AwNpADBmAjEAyjzGKnXCXnViOTYAYFqLwZOZzNnbQTs7h5kXO9XMT8oi96CAy/m0sRtW9XLS/BnR +AjEAkfcwkz8QRitxpNA7RJvAKQIFskF3UfN5Wp6OFKBOQtJbgfM0agPnIjhQW+0ZT0MW +-----END CERTIFICATE----- diff --git a/vendor/stripe-php-7.72.0/init.php b/vendor/stripe-php-10.5.0/init.php similarity index 69% rename from vendor/stripe-php-7.72.0/init.php rename to vendor/stripe-php-10.5.0/init.php index 11ac713d..5555d8f9 100644 --- a/vendor/stripe-php-7.72.0/init.php +++ b/vendor/stripe-php-10.5.0/init.php @@ -2,6 +2,8 @@ // File generated from our OpenAPI spec +require __DIR__ . '/lib/Util/ApiVersion.php'; + // Stripe singleton require __DIR__ . '/lib/Stripe.php'; @@ -17,6 +19,7 @@ require __DIR__ . '/lib/Util/ObjectTypes.php'; // HttpClient require __DIR__ . '/lib/HttpClient/ClientInterface.php'; +require __DIR__ . '/lib/HttpClient/StreamingClientInterface.php'; require __DIR__ . '/lib/HttpClient/CurlClient.php'; // Exceptions @@ -53,6 +56,8 @@ require __DIR__ . '/lib/ApiOperations/Delete.php'; require __DIR__ . '/lib/ApiOperations/NestedResource.php'; require __DIR__ . '/lib/ApiOperations/Request.php'; require __DIR__ . '/lib/ApiOperations/Retrieve.php'; +require __DIR__ . '/lib/ApiOperations/Search.php'; +require __DIR__ . '/lib/ApiOperations/SingletonRetrieve.php'; require __DIR__ . '/lib/ApiOperations/Update.php'; // Plumbing @@ -66,25 +71,27 @@ require __DIR__ . '/lib/Service/AbstractService.php'; require __DIR__ . '/lib/Service/AbstractServiceFactory.php'; // StripeClient +require __DIR__ . '/lib/BaseStripeClientInterface.php'; require __DIR__ . '/lib/StripeClientInterface.php'; +require __DIR__ . '/lib/StripeStreamingClientInterface.php'; require __DIR__ . '/lib/BaseStripeClient.php'; require __DIR__ . '/lib/StripeClient.php'; // Stripe API Resources require __DIR__ . '/lib/Account.php'; require __DIR__ . '/lib/AccountLink.php'; -require __DIR__ . '/lib/AlipayAccount.php'; require __DIR__ . '/lib/ApplePayDomain.php'; require __DIR__ . '/lib/ApplicationFee.php'; require __DIR__ . '/lib/ApplicationFeeRefund.php'; +require __DIR__ . '/lib/Apps/Secret.php'; require __DIR__ . '/lib/Balance.php'; require __DIR__ . '/lib/BalanceTransaction.php'; require __DIR__ . '/lib/BankAccount.php'; +require __DIR__ . '/lib/BillingPortal/Configuration.php'; require __DIR__ . '/lib/BillingPortal/Session.php'; -require __DIR__ . '/lib/BitcoinReceiver.php'; -require __DIR__ . '/lib/BitcoinTransaction.php'; require __DIR__ . '/lib/Capability.php'; require __DIR__ . '/lib/Card.php'; +require __DIR__ . '/lib/CashBalance.php'; require __DIR__ . '/lib/Charge.php'; require __DIR__ . '/lib/Checkout/Session.php'; require __DIR__ . '/lib/Collection.php'; @@ -94,6 +101,7 @@ require __DIR__ . '/lib/CreditNote.php'; require __DIR__ . '/lib/CreditNoteLineItem.php'; require __DIR__ . '/lib/Customer.php'; require __DIR__ . '/lib/CustomerBalanceTransaction.php'; +require __DIR__ . '/lib/CustomerCashBalanceTransaction.php'; require __DIR__ . '/lib/Discount.php'; require __DIR__ . '/lib/Dispute.php'; require __DIR__ . '/lib/EphemeralKey.php'; @@ -102,6 +110,13 @@ require __DIR__ . '/lib/Event.php'; require __DIR__ . '/lib/ExchangeRate.php'; require __DIR__ . '/lib/File.php'; require __DIR__ . '/lib/FileLink.php'; +require __DIR__ . '/lib/FinancialConnections/Account.php'; +require __DIR__ . '/lib/FinancialConnections/AccountOwner.php'; +require __DIR__ . '/lib/FinancialConnections/AccountOwnership.php'; +require __DIR__ . '/lib/FinancialConnections/Session.php'; +require __DIR__ . '/lib/FundingInstructions.php'; +require __DIR__ . '/lib/Identity/VerificationReport.php'; +require __DIR__ . '/lib/Identity/VerificationSession.php'; require __DIR__ . '/lib/Invoice.php'; require __DIR__ . '/lib/InvoiceItem.php'; require __DIR__ . '/lib/InvoiceLineItem.php'; @@ -114,10 +129,8 @@ require __DIR__ . '/lib/Issuing/Transaction.php'; require __DIR__ . '/lib/LineItem.php'; require __DIR__ . '/lib/LoginLink.php'; require __DIR__ . '/lib/Mandate.php'; -require __DIR__ . '/lib/Order.php'; -require __DIR__ . '/lib/OrderItem.php'; -require __DIR__ . '/lib/OrderReturn.php'; require __DIR__ . '/lib/PaymentIntent.php'; +require __DIR__ . '/lib/PaymentLink.php'; require __DIR__ . '/lib/PaymentMethod.php'; require __DIR__ . '/lib/Payout.php'; require __DIR__ . '/lib/Person.php'; @@ -125,34 +138,47 @@ require __DIR__ . '/lib/Plan.php'; require __DIR__ . '/lib/Price.php'; require __DIR__ . '/lib/Product.php'; require __DIR__ . '/lib/PromotionCode.php'; +require __DIR__ . '/lib/Quote.php'; require __DIR__ . '/lib/Radar/EarlyFraudWarning.php'; require __DIR__ . '/lib/Radar/ValueList.php'; require __DIR__ . '/lib/Radar/ValueListItem.php'; -require __DIR__ . '/lib/Recipient.php'; -require __DIR__ . '/lib/RecipientTransfer.php'; require __DIR__ . '/lib/Refund.php'; require __DIR__ . '/lib/Reporting/ReportRun.php'; require __DIR__ . '/lib/Reporting/ReportType.php'; require __DIR__ . '/lib/Review.php'; +require __DIR__ . '/lib/SearchResult.php'; require __DIR__ . '/lib/SetupAttempt.php'; require __DIR__ . '/lib/SetupIntent.php'; +require __DIR__ . '/lib/ShippingRate.php'; require __DIR__ . '/lib/Sigma/ScheduledQueryRun.php'; -require __DIR__ . '/lib/SKU.php'; require __DIR__ . '/lib/Source.php'; require __DIR__ . '/lib/SourceTransaction.php'; require __DIR__ . '/lib/Subscription.php'; require __DIR__ . '/lib/SubscriptionItem.php'; require __DIR__ . '/lib/SubscriptionSchedule.php'; +require __DIR__ . '/lib/TaxCode.php'; require __DIR__ . '/lib/TaxId.php'; require __DIR__ . '/lib/TaxRate.php'; +require __DIR__ . '/lib/Terminal/Configuration.php'; require __DIR__ . '/lib/Terminal/ConnectionToken.php'; require __DIR__ . '/lib/Terminal/Location.php'; require __DIR__ . '/lib/Terminal/Reader.php'; -require __DIR__ . '/lib/ThreeDSecure.php'; +require __DIR__ . '/lib/TestHelpers/TestClock.php'; require __DIR__ . '/lib/Token.php'; require __DIR__ . '/lib/Topup.php'; require __DIR__ . '/lib/Transfer.php'; require __DIR__ . '/lib/TransferReversal.php'; +require __DIR__ . '/lib/Treasury/CreditReversal.php'; +require __DIR__ . '/lib/Treasury/DebitReversal.php'; +require __DIR__ . '/lib/Treasury/FinancialAccount.php'; +require __DIR__ . '/lib/Treasury/FinancialAccountFeatures.php'; +require __DIR__ . '/lib/Treasury/InboundTransfer.php'; +require __DIR__ . '/lib/Treasury/OutboundPayment.php'; +require __DIR__ . '/lib/Treasury/OutboundTransfer.php'; +require __DIR__ . '/lib/Treasury/ReceivedCredit.php'; +require __DIR__ . '/lib/Treasury/ReceivedDebit.php'; +require __DIR__ . '/lib/Treasury/Transaction.php'; +require __DIR__ . '/lib/Treasury/TransactionEntry.php'; require __DIR__ . '/lib/UsageRecord.php'; require __DIR__ . '/lib/UsageRecordSummary.php'; require __DIR__ . '/lib/WebhookEndpoint.php'; @@ -162,8 +188,10 @@ require __DIR__ . '/lib/Service/AccountService.php'; require __DIR__ . '/lib/Service/AccountLinkService.php'; require __DIR__ . '/lib/Service/ApplePayDomainService.php'; require __DIR__ . '/lib/Service/ApplicationFeeService.php'; +require __DIR__ . '/lib/Service/Apps/SecretService.php'; require __DIR__ . '/lib/Service/BalanceService.php'; require __DIR__ . '/lib/Service/BalanceTransactionService.php'; +require __DIR__ . '/lib/Service/BillingPortal/ConfigurationService.php'; require __DIR__ . '/lib/Service/BillingPortal/SessionService.php'; require __DIR__ . '/lib/Service/ChargeService.php'; require __DIR__ . '/lib/Service/Checkout/SessionService.php'; @@ -177,6 +205,10 @@ require __DIR__ . '/lib/Service/EventService.php'; require __DIR__ . '/lib/Service/ExchangeRateService.php'; require __DIR__ . '/lib/Service/FileService.php'; require __DIR__ . '/lib/Service/FileLinkService.php'; +require __DIR__ . '/lib/Service/FinancialConnections/AccountService.php'; +require __DIR__ . '/lib/Service/FinancialConnections/SessionService.php'; +require __DIR__ . '/lib/Service/Identity/VerificationReportService.php'; +require __DIR__ . '/lib/Service/Identity/VerificationSessionService.php'; require __DIR__ . '/lib/Service/InvoiceService.php'; require __DIR__ . '/lib/Service/InvoiceItemService.php'; require __DIR__ . '/lib/Service/Issuing/AuthorizationService.php'; @@ -185,15 +217,15 @@ require __DIR__ . '/lib/Service/Issuing/CardholderService.php'; require __DIR__ . '/lib/Service/Issuing/DisputeService.php'; require __DIR__ . '/lib/Service/Issuing/TransactionService.php'; require __DIR__ . '/lib/Service/MandateService.php'; -require __DIR__ . '/lib/Service/OrderService.php'; -require __DIR__ . '/lib/Service/OrderReturnService.php'; require __DIR__ . '/lib/Service/PaymentIntentService.php'; +require __DIR__ . '/lib/Service/PaymentLinkService.php'; require __DIR__ . '/lib/Service/PaymentMethodService.php'; require __DIR__ . '/lib/Service/PayoutService.php'; require __DIR__ . '/lib/Service/PlanService.php'; require __DIR__ . '/lib/Service/PriceService.php'; require __DIR__ . '/lib/Service/ProductService.php'; require __DIR__ . '/lib/Service/PromotionCodeService.php'; +require __DIR__ . '/lib/Service/QuoteService.php'; require __DIR__ . '/lib/Service/Radar/EarlyFraudWarningService.php'; require __DIR__ . '/lib/Service/Radar/ValueListService.php'; require __DIR__ . '/lib/Service/Radar/ValueListItemService.php'; @@ -203,30 +235,60 @@ require __DIR__ . '/lib/Service/Reporting/ReportTypeService.php'; require __DIR__ . '/lib/Service/ReviewService.php'; require __DIR__ . '/lib/Service/SetupAttemptService.php'; require __DIR__ . '/lib/Service/SetupIntentService.php'; +require __DIR__ . '/lib/Service/ShippingRateService.php'; require __DIR__ . '/lib/Service/Sigma/ScheduledQueryRunService.php'; -require __DIR__ . '/lib/Service/SkuService.php'; require __DIR__ . '/lib/Service/SourceService.php'; require __DIR__ . '/lib/Service/SubscriptionService.php'; require __DIR__ . '/lib/Service/SubscriptionItemService.php'; require __DIR__ . '/lib/Service/SubscriptionScheduleService.php'; +require __DIR__ . '/lib/Service/TaxCodeService.php'; require __DIR__ . '/lib/Service/TaxRateService.php'; +require __DIR__ . '/lib/Service/Terminal/ConfigurationService.php'; require __DIR__ . '/lib/Service/Terminal/ConnectionTokenService.php'; require __DIR__ . '/lib/Service/Terminal/LocationService.php'; require __DIR__ . '/lib/Service/Terminal/ReaderService.php'; +require __DIR__ . '/lib/Service/TestHelpers/CustomerService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Issuing/CardService.php'; +require __DIR__ . '/lib/Service/TestHelpers/RefundService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Terminal/ReaderService.php'; +require __DIR__ . '/lib/Service/TestHelpers/TestClockService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/InboundTransferService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/OutboundTransferService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php'; require __DIR__ . '/lib/Service/TokenService.php'; require __DIR__ . '/lib/Service/TopupService.php'; require __DIR__ . '/lib/Service/TransferService.php'; +require __DIR__ . '/lib/Service/Treasury/CreditReversalService.php'; +require __DIR__ . '/lib/Service/Treasury/DebitReversalService.php'; +require __DIR__ . '/lib/Service/Treasury/FinancialAccountService.php'; +require __DIR__ . '/lib/Service/Treasury/InboundTransferService.php'; +require __DIR__ . '/lib/Service/Treasury/OutboundPaymentService.php'; +require __DIR__ . '/lib/Service/Treasury/OutboundTransferService.php'; +require __DIR__ . '/lib/Service/Treasury/ReceivedCreditService.php'; +require __DIR__ . '/lib/Service/Treasury/ReceivedDebitService.php'; +require __DIR__ . '/lib/Service/Treasury/TransactionService.php'; +require __DIR__ . '/lib/Service/Treasury/TransactionEntryService.php'; require __DIR__ . '/lib/Service/WebhookEndpointService.php'; // Service factories -require __DIR__ . '/lib/Service/CoreServiceFactory.php'; +require __DIR__ . '/lib/Service/Apps/AppsServiceFactory.php'; require __DIR__ . '/lib/Service/BillingPortal/BillingPortalServiceFactory.php'; require __DIR__ . '/lib/Service/Checkout/CheckoutServiceFactory.php'; +require __DIR__ . '/lib/Service/CoreServiceFactory.php'; +require __DIR__ . '/lib/Service/FinancialConnections/FinancialConnectionsServiceFactory.php'; +require __DIR__ . '/lib/Service/Identity/IdentityServiceFactory.php'; require __DIR__ . '/lib/Service/Issuing/IssuingServiceFactory.php'; require __DIR__ . '/lib/Service/Radar/RadarServiceFactory.php'; require __DIR__ . '/lib/Service/Reporting/ReportingServiceFactory.php'; require __DIR__ . '/lib/Service/Sigma/SigmaServiceFactory.php'; require __DIR__ . '/lib/Service/Terminal/TerminalServiceFactory.php'; +require __DIR__ . '/lib/Service/TestHelpers/Issuing/IssuingServiceFactory.php'; +require __DIR__ . '/lib/Service/TestHelpers/Terminal/TerminalServiceFactory.php'; +require __DIR__ . '/lib/Service/TestHelpers/TestHelpersServiceFactory.php'; +require __DIR__ . '/lib/Service/TestHelpers/Treasury/TreasuryServiceFactory.php'; +require __DIR__ . '/lib/Service/Treasury/TreasuryServiceFactory.php'; // OAuth require __DIR__ . '/lib/OAuth.php'; diff --git a/vendor/stripe-php-7.72.0/lib/Account.php b/vendor/stripe-php-10.5.0/lib/Account.php similarity index 89% rename from vendor/stripe-php-7.72.0/lib/Account.php rename to vendor/stripe-php-10.5.0/lib/Account.php index bc752fda..77f814d4 100644 --- a/vendor/stripe-php-7.72.0/lib/Account.php +++ b/vendor/stripe-php-10.5.0/lib/Account.php @@ -20,12 +20,14 @@ namespace Stripe; * @property \Stripe\StripeObject $capabilities * @property bool $charges_enabled Whether the account can create live charges. * @property \Stripe\StripeObject $company + * @property \Stripe\StripeObject $controller * @property string $country The account's country. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property int $created Time at which the account was connected. Measured in seconds since the Unix epoch. * @property string $default_currency Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country. * @property bool $details_submitted Whether account details have been submitted. Standard accounts cannot receive payouts before this is true. - * @property null|string $email The primary user's email address. - * @property \Stripe\Collection $external_accounts External accounts (bank accounts and debit cards) currently attached to this account + * @property null|string $email An email address associated with the account. You can treat this as metadata: it is not used for authentication or messaging account holders. + * @property \Stripe\Collection<\Stripe\BankAccount|\Stripe\Card> $external_accounts External accounts (bank accounts and debit cards) currently attached to this account + * @property \Stripe\StripeObject $future_requirements * @property \Stripe\Person $individual

This is an object representing a person associated with a Stripe account.

A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. See the Standard onboarding or Express onboarding documentation for information about platform pre-filling and account onboarding steps.

Related guide: Handling Identity Verification with the API.

* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property bool $payouts_enabled Whether Stripe can send payouts to this account. @@ -49,15 +51,6 @@ class Account extends ApiResource const BUSINESS_TYPE_INDIVIDUAL = 'individual'; const BUSINESS_TYPE_NON_PROFIT = 'non_profit'; - const CAPABILITY_CARD_PAYMENTS = 'card_payments'; - const CAPABILITY_LEGACY_PAYMENTS = 'legacy_payments'; - const CAPABILITY_PLATFORM_PAYMENTS = 'platform_payments'; - const CAPABILITY_TRANSFERS = 'transfers'; - - const CAPABILITY_STATUS_ACTIVE = 'active'; - const CAPABILITY_STATUS_INACTIVE = 'inactive'; - const CAPABILITY_STATUS_PENDING = 'pending'; - const TYPE_CUSTOM = 'custom'; const TYPE_EXPRESS = 'express'; const TYPE_STANDARD = 'standard'; @@ -88,6 +81,25 @@ class Account extends ApiResource return parent::instanceUrl(); } + /** + * @param null|array|string $id the ID of the account to retrieve, or an + * options array containing an `id` key + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Account + */ + public static function retrieve($id = null, $opts = null) + { + if (!$opts && \is_string($id) && 'sk_' === \substr($id, 0, 3)) { + $opts = $id; + $id = null; + } + + return self::_retrieve($id, $opts); + } + public function serializeParameters($force = false) { $update = parent::serializeParameters($force); @@ -139,25 +151,6 @@ class Account extends ApiResource return $updateArr; } - /** - * @param null|array|string $id the ID of the account to retrieve, or an - * options array containing an `id` key - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Account - */ - public static function retrieve($id = null, $opts = null) - { - if (!$opts && \is_string($id) && 'sk_' === \substr($id, 0, 3)) { - $opts = $id; - $id = null; - } - - return self::_retrieve($id, $opts); - } - /** * @param null|array $clientId * @param null|array|string $opts @@ -182,25 +175,7 @@ class Account extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of persons - */ - public function persons($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/persons'; - list($response, $opts) = $this->_request('get', $url, $params, $opts); - $obj = Util\Util::convertToStripeObject($response, $opts); - $obj->setLastResponse($response); - - return $obj; - } - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return Account the rejected account + * @return \Stripe\Account the rejected account */ public function reject($params = null, $opts = null) { @@ -211,12 +186,6 @@ class Account extends ApiResource return $this; } - /* - * Capabilities methods - * We can not add the capabilities() method today as the Account object already has a - * capabilities property which is a hash and not the sub-list of capabilities. - */ - const PATH_CAPABILITIES = '/capabilities'; /** @@ -226,7 +195,7 @@ class Account extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of capabilities + * @return \Stripe\Collection<\Stripe\Capability> the list of capabilities */ public static function allCapabilities($id, $params = null, $opts = null) { @@ -262,7 +231,6 @@ class Account extends ApiResource { return self::_updateNestedResource($id, static::PATH_CAPABILITIES, $capabilityId, $params, $opts); } - const PATH_EXTERNAL_ACCOUNTS = '/external_accounts'; /** @@ -272,7 +240,7 @@ class Account extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of external accounts (BankAccount or Card) + * @return \Stripe\Collection<\Stripe\BankAccount|\Stripe\Card> the list of external accounts (BankAccount or Card) */ public static function allExternalAccounts($id, $params = null, $opts = null) { @@ -337,7 +305,6 @@ class Account extends ApiResource { return self::_updateNestedResource($id, static::PATH_EXTERNAL_ACCOUNTS, $externalAccountId, $params, $opts); } - const PATH_LOGIN_LINKS = '/login_links'; /** @@ -353,7 +320,6 @@ class Account extends ApiResource { return self::_createNestedResource($id, static::PATH_LOGIN_LINKS, $params, $opts); } - const PATH_PERSONS = '/persons'; /** @@ -363,7 +329,7 @@ class Account extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of persons + * @return \Stripe\Collection<\Stripe\Person> the list of persons */ public static function allPersons($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/AccountLink.php b/vendor/stripe-php-10.5.0/lib/AccountLink.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/AccountLink.php rename to vendor/stripe-php-10.5.0/lib/AccountLink.php diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/All.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/All.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/All.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/All.php diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/Create.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Create.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/Create.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/Create.php diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/Delete.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Delete.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/Delete.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/Delete.php diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/NestedResource.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/NestedResource.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/NestedResource.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/NestedResource.php diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/Request.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Request.php similarity index 62% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/Request.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/Request.php index e300dc13..a60ca796 100644 --- a/vendor/stripe-php-7.72.0/lib/ApiOperations/Request.php +++ b/vendor/stripe-php-10.5.0/lib/ApiOperations/Request.php @@ -45,6 +45,21 @@ trait Request return [$resp->json, $options]; } + /** + * @param string $method HTTP method ('get', 'post', etc.) + * @param string $url URL for the request + * @param callable $readBodyChunk function that will receive chunks of data from a successful request body + * @param array $params list of parameters for the request + * @param null|array|string $options + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + */ + protected function _requestStream($method, $url, $readBodyChunk, $params = [], $options = null) + { + $opts = $this->_opts->merge($options); + static::_staticStreamingRequest($method, $url, $readBodyChunk, $params, $opts); + } + /** * @param string $method HTTP method ('get', 'post', etc.) * @param string $url URL for the request @@ -65,4 +80,21 @@ trait Request return [$response, $opts]; } + + /** + * @param string $method HTTP method ('get', 'post', etc.) + * @param string $url URL for the request + * @param callable $readBodyChunk function that will receive chunks of data from a successful request body + * @param array $params list of parameters for the request + * @param null|array|string $options + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + */ + protected static function _staticStreamingRequest($method, $url, $readBodyChunk, $params, $options) + { + $opts = \Stripe\Util\RequestOptions::parse($options); + $baseUrl = isset($opts->apiBase) ? $opts->apiBase : static::baseUrl(); + $requestor = new \Stripe\ApiRequestor($opts->apiKey, $baseUrl); + $requestor->requestStream($method, $url, $readBodyChunk, $params, $opts->headers); + } } diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/Retrieve.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Retrieve.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/Retrieve.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/Retrieve.php diff --git a/vendor/stripe-php-10.5.0/lib/ApiOperations/Search.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Search.php new file mode 100644 index 00000000..09472eba --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/ApiOperations/Search.php @@ -0,0 +1,37 @@ +json, $opts); + if (!($obj instanceof \Stripe\SearchResult)) { + throw new \Stripe\Exception\UnexpectedValueException( + 'Expected type ' . \Stripe\SearchResult::class . ', got "' . \get_class($obj) . '" instead.' + ); + } + $obj->setLastResponse($response); + $obj->setFilters($params); + + return $obj; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/ApiOperations/SingletonRetrieve.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/SingletonRetrieve.php new file mode 100644 index 00000000..baae67e1 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/ApiOperations/SingletonRetrieve.php @@ -0,0 +1,30 @@ +refresh(); + + return $instance; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/ApiOperations/Update.php b/vendor/stripe-php-10.5.0/lib/ApiOperations/Update.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/ApiOperations/Update.php rename to vendor/stripe-php-10.5.0/lib/ApiOperations/Update.php index 688f0808..9fde1e4f 100644 --- a/vendor/stripe-php-7.72.0/lib/ApiOperations/Update.php +++ b/vendor/stripe-php-10.5.0/lib/ApiOperations/Update.php @@ -37,6 +37,10 @@ trait Update * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return static the saved resource + * + * @deprecated The `save` method is deprecated and will be removed in a + * future major version of the library. Use the static method `update` + * on the resource instead. */ public function save($opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/ApiRequestor.php b/vendor/stripe-php-10.5.0/lib/ApiRequestor.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/ApiRequestor.php rename to vendor/stripe-php-10.5.0/lib/ApiRequestor.php index 048c462c..7162e33b 100644 --- a/vendor/stripe-php-7.72.0/lib/ApiRequestor.php +++ b/vendor/stripe-php-10.5.0/lib/ApiRequestor.php @@ -21,6 +21,10 @@ class ApiRequestor * @var HttpClient\ClientInterface */ private static $_httpClient; + /** + * @var HttpClient\StreamingClientInterface + */ + private static $_streamingHttpClient; /** * @var RequestTelemetry @@ -123,6 +127,26 @@ class ApiRequestor return [$resp, $myApiKey]; } + /** + * @param string $method + * @param string $url + * @param callable $readBodyChunkCallable + * @param null|array $params + * @param null|array $headers + * + * @throws Exception\ApiErrorException + */ + public function requestStream($method, $url, $readBodyChunkCallable, $params = null, $headers = null) + { + $params = $params ?: []; + $headers = $headers ?: []; + list($rbody, $rcode, $rheaders, $myApiKey) = + $this->_requestRawStreaming($method, $url, $params, $headers, $readBodyChunkCallable); + if ($rcode >= 300) { + $this->_interpretResponse($rbody, $rcode, $rheaders); + } + } + /** * @param string $rbody a JSON string * @param int $rcode @@ -271,9 +295,8 @@ class ApiRequestor /** * @static * - * @param string $disabledFunctionsOutput - String value of the 'disable_function' setting, as output by \ini_get('disable_functions') + * @param string $disableFunctionsOutput - String value of the 'disable_function' setting, as output by \ini_get('disable_functions') * @param string $functionName - Name of the function we are interesting in seeing whether or not it is disabled - * @param mixed $disableFunctionsOutput * * @return bool */ @@ -328,18 +351,7 @@ class ApiRequestor ]; } - /** - * @param string $method - * @param string $url - * @param array $params - * @param array $headers - * - * @throws Exception\AuthenticationException - * @throws Exception\ApiConnectionException - * - * @return array - */ - private function _requestRaw($method, $url, $params, $headers) + private function _prepareRequest($method, $url, $params, $headers) { $myApiKey = $this->_apiKey; if (!$myApiKey) { @@ -416,6 +428,24 @@ class ApiRequestor $rawHeaders[] = $header . ': ' . $value; } + return [$absUrl, $rawHeaders, $params, $hasFile, $myApiKey]; + } + + /** + * @param string $method + * @param string $url + * @param array $params + * @param array $headers + * + * @throws Exception\AuthenticationException + * @throws Exception\ApiConnectionException + * + * @return array + */ + private function _requestRaw($method, $url, $params, $headers) + { + list($absUrl, $rawHeaders, $params, $hasFile, $myApiKey) = $this->_prepareRequest($method, $url, $params, $headers); + $requestStartMs = Util\Util::currentTimeMillis(); list($rbody, $rcode, $rheaders) = $this->httpClient()->request( @@ -428,7 +458,46 @@ class ApiRequestor if (isset($rheaders['request-id']) && \is_string($rheaders['request-id']) - && \strlen($rheaders['request-id']) > 0) { + && '' !== $rheaders['request-id']) { + self::$requestTelemetry = new RequestTelemetry( + $rheaders['request-id'], + Util\Util::currentTimeMillis() - $requestStartMs + ); + } + + return [$rbody, $rcode, $rheaders, $myApiKey]; + } + + /** + * @param string $method + * @param string $url + * @param array $params + * @param array $headers + * @param callable $readBodyChunkCallable + * + * @throws Exception\AuthenticationException + * @throws Exception\ApiConnectionException + * + * @return array + */ + private function _requestRawStreaming($method, $url, $params, $headers, $readBodyChunkCallable) + { + list($absUrl, $rawHeaders, $params, $hasFile, $myApiKey) = $this->_prepareRequest($method, $url, $params, $headers); + + $requestStartMs = Util\Util::currentTimeMillis(); + + list($rbody, $rcode, $rheaders) = $this->streamingHttpClient()->requestStream( + $method, + $absUrl, + $rawHeaders, + $params, + $hasFile, + $readBodyChunkCallable + ); + + if (isset($rheaders['request-id']) + && \is_string($rheaders['request-id']) + && '' !== $rheaders['request-id']) { self::$requestTelemetry = new RequestTelemetry( $rheaders['request-id'], Util\Util::currentTimeMillis() - $requestStartMs @@ -502,6 +571,16 @@ class ApiRequestor self::$_httpClient = $client; } + /** + * @static + * + * @param HttpClient\StreamingClientInterface $client + */ + public static function setStreamingHttpClient($client) + { + self::$_streamingHttpClient = $client; + } + /** * @static * @@ -523,4 +602,16 @@ class ApiRequestor return self::$_httpClient; } + + /** + * @return HttpClient\StreamingClientInterface + */ + private function streamingHttpClient() + { + if (!self::$_streamingHttpClient) { + self::$_streamingHttpClient = HttpClient\CurlClient::instance(); + } + + return self::$_streamingHttpClient; + } } diff --git a/vendor/stripe-php-7.72.0/lib/ApiResource.php b/vendor/stripe-php-10.5.0/lib/ApiResource.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/ApiResource.php rename to vendor/stripe-php-10.5.0/lib/ApiResource.php index 521010b3..25c6b84a 100644 --- a/vendor/stripe-php-7.72.0/lib/ApiResource.php +++ b/vendor/stripe-php-10.5.0/lib/ApiResource.php @@ -82,6 +82,8 @@ abstract class ApiResource extends StripeObject { // Replace dots with slashes for namespaced resources, e.g. if the object's name is // "foo.bar", then its URL will be "/v1/foo/bars". + + /** @phpstan-ignore-next-line */ $base = \str_replace('.', '/', static::OBJECT_NAME); return "/v1/{$base}s"; diff --git a/vendor/stripe-php-7.72.0/lib/ApiResponse.php b/vendor/stripe-php-10.5.0/lib/ApiResponse.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApiResponse.php rename to vendor/stripe-php-10.5.0/lib/ApiResponse.php diff --git a/vendor/stripe-php-7.72.0/lib/ApplePayDomain.php b/vendor/stripe-php-10.5.0/lib/ApplePayDomain.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApplePayDomain.php rename to vendor/stripe-php-10.5.0/lib/ApplePayDomain.php diff --git a/vendor/stripe-php-7.72.0/lib/ApplicationFee.php b/vendor/stripe-php-10.5.0/lib/ApplicationFee.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/ApplicationFee.php rename to vendor/stripe-php-10.5.0/lib/ApplicationFee.php index 88aeed64..2a53204a 100644 --- a/vendor/stripe-php-7.72.0/lib/ApplicationFee.php +++ b/vendor/stripe-php-10.5.0/lib/ApplicationFee.php @@ -18,7 +18,7 @@ namespace Stripe; * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string|\Stripe\Charge $originating_transaction ID of the corresponding charge on the platform account, if this fee was the result of a charge using the destination parameter. * @property bool $refunded Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false. - * @property \Stripe\Collection $refunds A list of refunds that have been applied to the fee. + * @property \Stripe\Collection<\Stripe\StripeObject> $refunds A list of refunds that have been applied to the fee. */ class ApplicationFee extends ApiResource { @@ -37,7 +37,7 @@ class ApplicationFee extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of fee refunds + * @return \Stripe\Collection<\Stripe\ApplicationFeeRefund> the list of fee refunds */ public static function allRefunds($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/ApplicationFeeRefund.php b/vendor/stripe-php-10.5.0/lib/ApplicationFeeRefund.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ApplicationFeeRefund.php rename to vendor/stripe-php-10.5.0/lib/ApplicationFeeRefund.php diff --git a/vendor/stripe-php-10.5.0/lib/Apps/Secret.php b/vendor/stripe-php-10.5.0/lib/Apps/Secret.php new file mode 100644 index 00000000..bd0d777f --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Apps/Secret.php @@ -0,0 +1,79 @@ +secret. Other apps can't + * view secrets created by an app. Additionally, secrets are scoped to provide + * further permission control. + * + * All Dashboard users and the app backend share account scoped + * secrets. Use the account scope for secrets that don't change + * per-user, like a third-party API key. + * + * A user scoped secret is accessible by the app backend and one + * specific Dashboard user. Use the user scope for per-user secrets + * like per-user OAuth tokens, where different users might have different + * permissions. + * + * Related guide: Store + * data between page reloads. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|int $expires_at The Unix timestamp for the expiry time of the secret, after which the secret deletes. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string $name A name for the secret that's unique within the scope. + * @property null|string $payload The plaintext secret value to be stored. + * @property \Stripe\StripeObject $scope + */ +class Secret extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'apps.secret'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Apps\Secret the deleted secret + */ + public static function deleteWhere($params = null, $opts = null) + { + $url = static::classUrl() . '/delete'; + list($response, $opts) = static::_staticRequest('post', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Apps\Secret the finded secret + */ + public static function find($params = null, $opts = null) + { + $url = static::classUrl() . '/find'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Balance.php b/vendor/stripe-php-10.5.0/lib/Balance.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Balance.php rename to vendor/stripe-php-10.5.0/lib/Balance.php index 0fdc2850..4c14a880 100644 --- a/vendor/stripe-php-7.72.0/lib/Balance.php +++ b/vendor/stripe-php-10.5.0/lib/Balance.php @@ -31,15 +31,5 @@ class Balance extends SingletonApiResource { const OBJECT_NAME = 'balance'; - /** - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Balance - */ - public static function retrieve($opts = null) - { - return self::_singletonRetrieve($opts); - } + use ApiOperations\SingletonRetrieve; } diff --git a/vendor/stripe-php-7.72.0/lib/BalanceTransaction.php b/vendor/stripe-php-10.5.0/lib/BalanceTransaction.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/BalanceTransaction.php rename to vendor/stripe-php-10.5.0/lib/BalanceTransaction.php diff --git a/vendor/stripe-php-7.72.0/lib/BankAccount.php b/vendor/stripe-php-10.5.0/lib/BankAccount.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/BankAccount.php rename to vendor/stripe-php-10.5.0/lib/BankAccount.php index 40eca41c..57fd19be 100644 --- a/vendor/stripe-php-7.72.0/lib/BankAccount.php +++ b/vendor/stripe-php-10.5.0/lib/BankAccount.php @@ -23,6 +23,7 @@ namespace Stripe; * @property null|string|\Stripe\Account $account The ID of the account that the bank account is associated with. * @property null|string $account_holder_name The name of the person or business that owns the bank account. * @property null|string $account_holder_type The type of entity that holds the account. This can be either individual or company. + * @property null|string $account_type The bank account type. This can only be checking or savings in most countries. In Japan, this can only be futsu or toza. * @property null|string[] $available_payout_methods A set of available payout methods for this bank account. Only values from this set should be passed as the method when creating a payout. * @property null|string $bank_name Name of the bank associated with the routing number (e.g., WELLS FARGO). * @property string $country Two-letter ISO code representing the country the bank account is located in. diff --git a/vendor/stripe-php-7.72.0/lib/BaseStripeClient.php b/vendor/stripe-php-10.5.0/lib/BaseStripeClient.php similarity index 82% rename from vendor/stripe-php-7.72.0/lib/BaseStripeClient.php rename to vendor/stripe-php-10.5.0/lib/BaseStripeClient.php index 5499fe3a..b0b2e7e5 100644 --- a/vendor/stripe-php-7.72.0/lib/BaseStripeClient.php +++ b/vendor/stripe-php-10.5.0/lib/BaseStripeClient.php @@ -2,7 +2,7 @@ namespace Stripe; -class BaseStripeClient implements StripeClientInterface +class BaseStripeClient implements StripeClientInterface, StripeStreamingClientInterface { /** @var string default base URL for Stripe's API */ const DEFAULT_API_BASE = 'https://api.stripe.com'; @@ -139,6 +139,25 @@ class BaseStripeClient implements StripeClientInterface return $obj; } + /** + * Sends a request to Stripe's API, passing chunks of the streamed response + * into a user-provided $readBodyChunkCallable callback. + * + * @param string $method the HTTP method + * @param string $path the path of the request + * @param callable $readBodyChunkCallable a function that will be called + * @param array $params the parameters of the request + * @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request + * with chunks of bytes from the body if the request is successful + */ + public function requestStream($method, $path, $readBodyChunkCallable, $params, $opts) + { + $opts = $this->defaultOpts->merge($opts, true); + $baseUrl = $opts->apiBase ?: $this->getApiBase(); + $requestor = new \Stripe\ApiRequestor($this->apiKeyForRequest($opts), $baseUrl); + list($response, $opts->apiKey) = $requestor->requestStream($method, $path, $readBodyChunkCallable, $params, $opts->headers); + } + /** * Sends a request to Stripe's API. * @@ -163,6 +182,30 @@ class BaseStripeClient implements StripeClientInterface return $obj; } + /** + * Sends a request to Stripe's API. + * + * @param string $method the HTTP method + * @param string $path the path of the request + * @param array $params the parameters of the request + * @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request + * + * @return \Stripe\SearchResult of ApiResources + */ + public function requestSearchResult($method, $path, $params, $opts) + { + $obj = $this->request($method, $path, $params, $opts); + if (!($obj instanceof \Stripe\SearchResult)) { + $received_class = \get_class($obj); + $msg = "Expected to receive `Stripe\\SearchResult` object from Stripe API. Instead received `{$received_class}`."; + + throw new \Stripe\Exception\UnexpectedValueException($msg); + } + $obj->setFilters($params); + + return $obj; + } + /** * @param \Stripe\Util\RequestOptions $opts * diff --git a/vendor/stripe-php-7.72.0/lib/StripeClientInterface.php b/vendor/stripe-php-10.5.0/lib/BaseStripeClientInterface.php similarity index 66% rename from vendor/stripe-php-7.72.0/lib/StripeClientInterface.php rename to vendor/stripe-php-10.5.0/lib/BaseStripeClientInterface.php index adcef3f9..6b004573 100644 --- a/vendor/stripe-php-7.72.0/lib/StripeClientInterface.php +++ b/vendor/stripe-php-10.5.0/lib/BaseStripeClientInterface.php @@ -5,7 +5,7 @@ namespace Stripe; /** * Interface for a Stripe client. */ -interface StripeClientInterface +interface BaseStripeClientInterface { /** * Gets the API key used by the client to send requests. @@ -41,16 +41,4 @@ interface StripeClientInterface * @return string the base URL for Stripe's Files API */ public function getFilesBase(); - - /** - * Sends a request to Stripe's API. - * - * @param string $method the HTTP method - * @param string $path the path of the request - * @param array $params the parameters of the request - * @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request - * - * @return \Stripe\StripeObject the object returned by Stripe's API - */ - public function request($method, $path, $params, $opts); } diff --git a/vendor/stripe-php-10.5.0/lib/BillingPortal/Configuration.php b/vendor/stripe-php-10.5.0/lib/BillingPortal/Configuration.php new file mode 100644 index 00000000..4449654c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/BillingPortal/Configuration.php @@ -0,0 +1,33 @@ +overriden when creating the session. + * @property \Stripe\StripeObject $features + * @property bool $is_default Whether the configuration is the default. If true, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $login_page + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch. + */ +class Configuration extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'billing_portal.configuration'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + use \Stripe\ApiOperations\Update; +} diff --git a/vendor/stripe-php-10.5.0/lib/BillingPortal/Session.php b/vendor/stripe-php-10.5.0/lib/BillingPortal/Session.php new file mode 100644 index 00000000..243e845b --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/BillingPortal/Session.php @@ -0,0 +1,42 @@ +integration + * guide. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property string|\Stripe\BillingPortal\Configuration $configuration The configuration used by this session, describing the features available. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $customer The ID of the customer for this session. + * @property null|\Stripe\StripeObject $flow Information about a specific flow for the customer to go through. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|string $locale The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer’s preferred_locales or browser’s locale is used. + * @property null|string $on_behalf_of The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this on_behalf_of account appear in the portal. For more information, see the docs. Use the Accounts API to modify the on_behalf_of account's branding settings, which the portal displays. + * @property null|string $return_url The URL to redirect customers to when they click on the portal's link to return to your website. + * @property string $url The short-lived URL of the session that gives customers access to the customer portal. + */ +class Session extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'billing_portal.session'; + + use \Stripe\ApiOperations\Create; +} diff --git a/vendor/stripe-php-7.72.0/lib/Capability.php b/vendor/stripe-php-10.5.0/lib/Capability.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Capability.php rename to vendor/stripe-php-10.5.0/lib/Capability.php index 3580df60..f675d719 100644 --- a/vendor/stripe-php-7.72.0/lib/Capability.php +++ b/vendor/stripe-php-10.5.0/lib/Capability.php @@ -14,6 +14,7 @@ namespace Stripe; * @property string $id The identifier for the capability. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property string|\Stripe\Account $account The account for which the capability enables functionality. + * @property \Stripe\StripeObject $future_requirements * @property bool $requested Whether the capability has been requested. * @property null|int $requested_at Time at which the capability was requested. Measured in seconds since the Unix epoch. * @property \Stripe\StripeObject $requirements diff --git a/vendor/stripe-php-7.72.0/lib/Card.php b/vendor/stripe-php-10.5.0/lib/Card.php similarity index 90% rename from vendor/stripe-php-7.72.0/lib/Card.php rename to vendor/stripe-php-10.5.0/lib/Card.php index 106cd181..939523b1 100644 --- a/vendor/stripe-php-7.72.0/lib/Card.php +++ b/vendor/stripe-php-10.5.0/lib/Card.php @@ -33,12 +33,12 @@ namespace Stripe; * @property null|string $dynamic_last4 (For tokenized numbers only.) The last four digits of the device account number. * @property int $exp_month Two-digit number representing the card's expiration month. * @property int $exp_year Four-digit number representing the card's expiration year. - * @property null|string $fingerprint Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. + * @property null|string $fingerprint

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.

* @property string $funding Card funding type. Can be credit, debit, prepaid, or unknown. * @property string $last4 The last four digits of the card. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|string $name Cardholder name. - * @property null|string|\Stripe\Recipient $recipient The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead. + * @property null|string $status For external accounts, possible values are new and errored. If a transfer fails, the status is set to errored and transfers are stopped until account details are updated. * @property null|string $tokenization_method If the card number is tokenized, this is the method that was used. Can be android_pay (includes Google Pay), apple_pay, masterpass, visa_checkout, or null. */ class Card extends ApiResource @@ -91,12 +91,8 @@ class Card extends ApiResource $base = Account::classUrl(); $parent = $this['account']; $path = 'external_accounts'; - } elseif ($this['recipient']) { - $base = Recipient::classUrl(); - $parent = $this['recipient']; - $path = 'cards'; } else { - $msg = 'Cards cannot be accessed without a customer ID, account ID or recipient ID.'; + $msg = 'Cards cannot be accessed without a customer ID, or account ID.'; throw new Exception\UnexpectedValueException($msg); } diff --git a/vendor/stripe-php-10.5.0/lib/CashBalance.php b/vendor/stripe-php-10.5.0/lib/CashBalance.php new file mode 100644 index 00000000..3e739615 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/CashBalance.php @@ -0,0 +1,66 @@ +Cash balance represents real funds. Customers can add + * funds to their cash balance by sending a bank transfer. These funds can be used + * for payment and can eventually be paid out to your bank account. + * + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|\Stripe\StripeObject $available A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the smallest currency unit. + * @property string $customer The ID of the customer whose cash balance this object represents. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $settings + */ +class CashBalance extends ApiResource +{ + const OBJECT_NAME = 'cash_balance'; + + /** + * @return string the API URL for this balance transaction + */ + public function instanceUrl() + { + $customer = $this['customer']; + $customer = Util\Util::utf8($customer); + + $base = Customer::classUrl(); + $customerExtn = \urlencode($customer); + + return "{$base}/{$customerExtn}/cash_balance"; + } + + /** + * @param array|string $_id + * @param null|array|string $_opts + * + * @throws \Stripe\Exception\BadMethodCallException + */ + public static function retrieve($_id, $_opts = null) + { + $msg = 'Customer Cash Balance cannot be retrieved without a ' . + 'customer ID. Retrieve a Customer Cash Balance using ' . + "`Customer::retrieveCashBalance('customer_id')`."; + + throw new Exception\BadMethodCallException($msg); + } + + /** + * @param string $_id + * @param null|array $_params + * @param null|array|string $_options + * + * @throws \Stripe\Exception\BadMethodCallException + */ + public static function update($_id, $_params = null, $_options = null) + { + $msg = 'Customer Cash Balance cannot be updated without a ' . + 'customer ID. Retrieve a Customer Cash Balance using ' . + "`Customer::updateCashBalance('customer_id')`."; + + throw new Exception\BadMethodCallException($msg); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Charge.php b/vendor/stripe-php-10.5.0/lib/Charge.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Charge.php rename to vendor/stripe-php-10.5.0/lib/Charge.php index 799bede8..428ef66e 100644 --- a/vendor/stripe-php-7.72.0/lib/Charge.php +++ b/vendor/stripe-php-10.5.0/lib/Charge.php @@ -15,12 +15,14 @@ namespace Stripe; * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property \Stripe\StripeObject $alternate_statement_descriptors * @property int $amount Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). * @property int $amount_captured Amount in %s captured (can be less than the amount attribute on the charge if a partial capture was made). * @property int $amount_refunded Amount in %s refunded (can be less than the amount attribute on the charge if a partial refund was issued). * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the charge. * @property null|string|\Stripe\ApplicationFee $application_fee The application fee (if any) for the charge. See the Connect documentation for details. * @property null|int $application_fee_amount The amount of the application fee (if any) requested for the charge. See the Connect documentation for details. + * @property string $authorization_code Authorization code on the charge. * @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). * @property \Stripe\StripeObject $billing_details * @property null|string $calculated_statement_descriptor The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. @@ -32,27 +34,29 @@ namespace Stripe; * @property null|string|\Stripe\Account $destination ID of an existing, connected Stripe account to transfer funds to if transfer_data was specified in the charge request. * @property null|string|\Stripe\Dispute $dispute Details about the dispute if the charge has been disputed. * @property bool $disputed Whether the charge has been disputed. - * @property null|string $failure_code Error code explaining reason for charge failure if available (see the errors section for a list of codes). + * @property null|string|\Stripe\BalanceTransaction $failure_balance_transaction ID of the balance transaction that describes the reversal of the balance on your account due to payment failure. + * @property null|string $failure_code Error code explaining reason for charge failure if available (see the errors section for a list of codes). * @property null|string $failure_message Message to user further explaining reason for charge failure if available. * @property null|\Stripe\StripeObject $fraud_details Information on fraud assessments for the charge. * @property null|string|\Stripe\Invoice $invoice ID of the invoice this charge is for if one exists. + * @property \Stripe\StripeObject $level3 * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|string|\Stripe\Account $on_behalf_of The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the Connect documentation for details. - * @property null|string|\Stripe\Order $order ID of the order this charge is for if one exists. * @property null|\Stripe\StripeObject $outcome Details about whether the payment was accepted, and why. See understanding declines for details. * @property bool $paid true if the charge succeeded, or was successfully authorized for later capture. * @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent associated with this charge, if one exists. * @property null|string $payment_method ID of the payment method used in this charge. * @property null|\Stripe\StripeObject $payment_method_details Details about the payment method at the time of the transaction. + * @property \Stripe\StripeObject $radar_options Options to configure Radar. See Radar Session for more information. * @property null|string $receipt_email This is the email address that the receipt for this charge was sent to. * @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this charge. This attribute will be null until a receipt has been sent. * @property null|string $receipt_url This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt. * @property bool $refunded Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false. - * @property \Stripe\Collection $refunds A list of refunds that have been applied to the charge. + * @property null|\Stripe\Collection<\Stripe\Refund> $refunds A list of refunds that have been applied to the charge. * @property null|string|\Stripe\Review $review ID of the review associated with this charge if one exists. * @property null|\Stripe\StripeObject $shipping Shipping information for the charge. - * @property null|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to payment_method or payment_method_details instead. + * @property null|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to payment_method or payment_method_details instead. * @property null|string|\Stripe\Transfer $source_transfer The transfer ID which created this charge. Only present if the charge came from another Stripe account. See the Connect documentation for details. * @property null|string $statement_descriptor For card charges, use statement_descriptor_suffix instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters. * @property null|string $statement_descriptor_suffix Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. @@ -68,6 +72,7 @@ class Charge extends ApiResource use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const STATUS_FAILED = 'failed'; @@ -133,7 +138,7 @@ class Charge extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Charge the captured charge + * @return \Stripe\Charge the captured charge */ public function capture($params = null, $opts = null) { @@ -143,4 +148,19 @@ class Charge extends ApiResource return $this; } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the charge search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/charges/search'; + + return self::_searchResource($url, $params, $opts); + } } diff --git a/vendor/stripe-php-7.72.0/lib/Checkout/Session.php b/vendor/stripe-php-10.5.0/lib/Checkout/Session.php similarity index 55% rename from vendor/stripe-php-7.72.0/lib/Checkout/Session.php rename to vendor/stripe-php-10.5.0/lib/Checkout/Session.php index c5385978..f2efa598 100644 --- a/vendor/stripe-php-7.72.0/lib/Checkout/Session.php +++ b/vendor/stripe-php-10.5.0/lib/Checkout/Session.php @@ -7,8 +7,9 @@ namespace Stripe\Checkout; /** * A Checkout Session represents your customer's session as they pay for one-time * purchases or subscriptions through Checkout. We recommend - * creating a new Session each time your customer attempts to pay. + * href="https://stripe.com/docs/payments/checkout">Checkout or Payment Links. We + * recommend creating a new Session each time your customer attempts to pay. * * Once payment is successful, the Checkout Session will contain a reference to the * Customer, and either the @@ -19,36 +20,56 @@ namespace Stripe\Checkout; * You can create a Checkout Session on your server and pass its ID to the client * to begin Checkout. * - * Related guide: Checkout - * Server Quickstart. + * Related guide: Checkout + * Quickstart. * * @property string $id Unique identifier for the object. Used to pass to redirectToCheckout in Stripe.js. * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|\Stripe\StripeObject $after_expiration When set, provides configuration for actions to take if this Checkout Session expires. * @property null|bool $allow_promotion_codes Enables user redeemable promotion codes. * @property null|int $amount_subtotal Total of all items before discounts or taxes are applied. * @property null|int $amount_total Total of all items after discounts and taxes are applied. + * @property \Stripe\StripeObject $automatic_tax * @property null|string $billing_address_collection Describes whether Checkout should collect the customer's billing address. - * @property string $cancel_url The URL the customer will be directed to if they decide to cancel payment and return to your website. + * @property null|string $cancel_url If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. * @property null|string $client_reference_id A unique string to reference the Checkout Session. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the Session with your internal systems. + * @property null|\Stripe\StripeObject $consent Results of consent_collection for this session. + * @property null|\Stripe\StripeObject $consent_collection When set, provides configuration for the Checkout Session to gather active consent from customers. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property \Stripe\StripeObject $custom_text * @property null|string|\Stripe\Customer $customer The ID of the customer for this Session. For Checkout Sessions in payment or subscription mode, Checkout will create a new customer object based on information provided during the payment flow unless an existing customer was provided when the Session was created. - * @property null|\Stripe\StripeObject $customer_details The customer details including the customer's tax exempt status and the customer's tax IDs. + * @property null|string $customer_creation Configure whether a Checkout Session creates a Customer when the Checkout Session completes. + * @property null|\Stripe\StripeObject $customer_details The customer details including the customer's tax exempt status and the customer's tax IDs. Only the customer's email is present on Sessions in setup mode. * @property null|string $customer_email If provided, this value will be used when the Customer object is created. If not provided, customers will be asked to enter their email address. Use this parameter to prefill customer data if you already have an email on file. To access information about the customer once the payment flow is complete, use the customer attribute. - * @property \Stripe\Collection $line_items The line items purchased by the customer. + * @property int $expires_at The timestamp at which the Checkout Session will expire. + * @property null|string|\Stripe\Invoice $invoice ID of the invoice created by the Checkout Session, if it exists. + * @property null|\Stripe\StripeObject $invoice_creation Details on the state of invoice creation for the Checkout Session. + * @property \Stripe\Collection<\Stripe\LineItem> $line_items The line items purchased by the customer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or auto, the browser's locale is used. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $mode The mode of the Checkout Session. * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment mode. + * @property null|string|\Stripe\PaymentLink $payment_link The ID of the Payment Link that created this Session. + * @property null|string $payment_method_collection Configure whether a Checkout Session should collect a payment method. + * @property null|\Stripe\StripeObject $payment_method_options Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession. * @property string[] $payment_method_types A list of the types of payment methods (e.g. card) this Checkout Session is allowed to accept. * @property string $payment_status The payment status of the Checkout Session, one of paid, unpaid, or no_payment_required. You can use this value to decide when to fulfill your customer's order. + * @property \Stripe\StripeObject $phone_number_collection + * @property null|string $recovered_from The ID of the original expired Checkout Session that triggered the recovery flow. * @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup mode. - * @property null|\Stripe\StripeObject $shipping Shipping information for this Checkout Session. * @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer. + * @property null|\Stripe\StripeObject $shipping_cost The details of the customer cost of shipping, including the customer chosen ShippingRate. + * @property null|\Stripe\StripeObject $shipping_details Shipping information for this Checkout Session. + * @property \Stripe\StripeObject[] $shipping_options The shipping rate options applied to this Session. + * @property null|string $status The status of the Checkout Session, one of open, complete, or expired. * @property null|string $submit_type Describes the type of transaction being performed by Checkout in order to customize relevant text on the page, such as the submit button. submit_type can only be specified on Checkout Sessions in payment mode, but not Checkout Sessions in subscription or setup mode. * @property null|string|\Stripe\Subscription $subscription The ID of the subscription for Checkout Sessions in subscription mode. * @property string $success_url The URL the customer will be directed to after the payment or subscription creation is successful. + * @property \Stripe\StripeObject $tax_id_collection * @property null|\Stripe\StripeObject $total_details Tax and discount details for the computed total amount. + * @property null|string $url The URL to the Checkout Session. Redirect customers to this URL to take them to Checkout. If you’re using Custom Domains, the URL will use your subdomain. Otherwise, it’ll use checkout.stripe.com. This value is only present when the session is active. */ class Session extends \Stripe\ApiResource { @@ -56,34 +77,67 @@ class Session extends \Stripe\ApiResource use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; - use \Stripe\ApiOperations\NestedResource; use \Stripe\ApiOperations\Retrieve; const BILLING_ADDRESS_COLLECTION_AUTO = 'auto'; const BILLING_ADDRESS_COLLECTION_REQUIRED = 'required'; + const CUSTOMER_CREATION_ALWAYS = 'always'; + const CUSTOMER_CREATION_IF_REQUIRED = 'if_required'; + + const MODE_PAYMENT = 'payment'; + const MODE_SETUP = 'setup'; + const MODE_SUBSCRIPTION = 'subscription'; + + const PAYMENT_METHOD_COLLECTION_ALWAYS = 'always'; + const PAYMENT_METHOD_COLLECTION_IF_REQUIRED = 'if_required'; + const PAYMENT_STATUS_NO_PAYMENT_REQUIRED = 'no_payment_required'; const PAYMENT_STATUS_PAID = 'paid'; const PAYMENT_STATUS_UNPAID = 'unpaid'; + const STATUS_COMPLETE = 'complete'; + const STATUS_EXPIRED = 'expired'; + const STATUS_OPEN = 'open'; + const SUBMIT_TYPE_AUTO = 'auto'; const SUBMIT_TYPE_BOOK = 'book'; const SUBMIT_TYPE_DONATE = 'donate'; const SUBMIT_TYPE_PAY = 'pay'; - const PATH_LINE_ITEMS = '/line_items'; - /** - * @param string $id the ID of the session on which to retrieve the items * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of items + * @return \Stripe\Checkout\Session the expired session + */ + public function expire($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/expire'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> list of LineItems */ public static function allLineItems($id, $params = null, $opts = null) { - return self::_allNestedResources($id, static::PATH_LINE_ITEMS, $params, $opts); + $url = static::resourceUrl($id) . '/line_items'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; } } diff --git a/vendor/stripe-php-7.72.0/lib/Collection.php b/vendor/stripe-php-10.5.0/lib/Collection.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/Collection.php rename to vendor/stripe-php-10.5.0/lib/Collection.php index 899299d3..67da085d 100644 --- a/vendor/stripe-php-7.72.0/lib/Collection.php +++ b/vendor/stripe-php-10.5.0/lib/Collection.php @@ -5,10 +5,13 @@ namespace Stripe; /** * Class Collection. * + * @template TStripeObject of StripeObject + * @template-implements \IteratorAggregate + * * @property string $object * @property string $url * @property bool $has_more - * @property \Stripe\StripeObject[] $data + * @property TStripeObject[] $data */ class Collection extends StripeObject implements \Countable, \IteratorAggregate { @@ -47,6 +50,10 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate $this->filters = $filters; } + /** + * @return mixed + */ + #[\ReturnTypeWillChange] public function offsetGet($k) { if (\is_string($k)) { @@ -60,6 +67,14 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate throw new Exception\InvalidArgumentException($msg); } + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws Exception\ApiErrorException + * + * @return Collection + */ public function all($params = null, $opts = null) { self::_validateParams($params); @@ -77,6 +92,14 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate return $obj; } + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws Exception\ApiErrorException + * + * @return TStripeObject + */ public function create($params = null, $opts = null) { self::_validateParams($params); @@ -87,6 +110,15 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate return Util\Util::convertToStripeObject($response, $opts); } + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws Exception\ApiErrorException + * + * @return TStripeObject + */ public function retrieve($id, $params = null, $opts = null) { self::_validateParams($params); @@ -107,6 +139,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate /** * @return int the number of objects in the current page */ + #[\ReturnTypeWillChange] public function count() { return \count($this->data); @@ -116,6 +149,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate * @return \ArrayIterator an iterator that can be used to iterate * across objects in the current page */ + #[\ReturnTypeWillChange] public function getIterator() { return new \ArrayIterator($this->data); @@ -131,7 +165,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate } /** - * @return \Generator|StripeObject[] A generator that can be used to + * @return \Generator|TStripeObject[] A generator that can be used to * iterate across all objects across all pages. As page boundaries are * encountered, the next page will be fetched automatically for * continued iteration. @@ -194,7 +228,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate * @param null|array $params * @param null|array|string $opts * - * @return Collection + * @return Collection */ public function nextPage($params = null, $opts = null) { @@ -222,7 +256,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate * @param null|array $params * @param null|array|string $opts * - * @return Collection + * @return Collection */ public function previousPage($params = null, $opts = null) { @@ -244,7 +278,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate /** * Gets the first item from the current page. Returns `null` if the current page is empty. * - * @return null|\Stripe\StripeObject + * @return null|TStripeObject */ public function first() { @@ -254,7 +288,7 @@ class Collection extends StripeObject implements \Countable, \IteratorAggregate /** * Gets the last item from the current page. Returns `null` if the current page is empty. * - * @return null|\Stripe\StripeObject + * @return null|TStripeObject */ public function last() { diff --git a/vendor/stripe-php-7.72.0/lib/CountrySpec.php b/vendor/stripe-php-10.5.0/lib/CountrySpec.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/CountrySpec.php rename to vendor/stripe-php-10.5.0/lib/CountrySpec.php diff --git a/vendor/stripe-php-7.72.0/lib/Coupon.php b/vendor/stripe-php-10.5.0/lib/Coupon.php similarity index 77% rename from vendor/stripe-php-7.72.0/lib/Coupon.php rename to vendor/stripe-php-10.5.0/lib/Coupon.php index 41afdcfc..ce9b611d 100644 --- a/vendor/stripe-php-7.72.0/lib/Coupon.php +++ b/vendor/stripe-php-10.5.0/lib/Coupon.php @@ -7,10 +7,13 @@ namespace Stripe; /** * A coupon contains information about a percent-off or amount-off discount you * might want to apply to a customer. Coupons may be applied to invoices or orders. Coupons do - * not work with conventional one-off charges. + * href="https://stripe.com/docs/api#subscriptions">subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not + * work with conventional one-off charges or payment intents. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. @@ -18,6 +21,7 @@ namespace Stripe; * @property \Stripe\StripeObject $applies_to * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $currency If amount_off has been set, the three-letter ISO code for the currency of the amount to take off. + * @property \Stripe\StripeObject $currency_options Coupons defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency. * @property string $duration One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount. * @property null|int $duration_in_months If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. diff --git a/vendor/stripe-php-7.72.0/lib/CreditNote.php b/vendor/stripe-php-10.5.0/lib/CreditNote.php similarity index 77% rename from vendor/stripe-php-7.72.0/lib/CreditNote.php rename to vendor/stripe-php-10.5.0/lib/CreditNote.php index cc523a9f..65425e12 100644 --- a/vendor/stripe-php-7.72.0/lib/CreditNote.php +++ b/vendor/stripe-php-10.5.0/lib/CreditNote.php @@ -14,6 +14,7 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount The integer amount in %s representing the total amount of the credit note, including tax. + * @property int $amount_shipping This is the sum of all the shipping amounts. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property string|\Stripe\Customer $customer ID of the customer. @@ -21,7 +22,7 @@ namespace Stripe; * @property int $discount_amount The integer amount in %s representing the total amount of discount that was credited. * @property \Stripe\StripeObject[] $discount_amounts The aggregate amounts calculated per discount for all line items. * @property string|\Stripe\Invoice $invoice ID of the invoice. - * @property \Stripe\Collection $lines Line items that make up the credit note + * @property \Stripe\Collection<\Stripe\CreditNoteLineItem> $lines Line items that make up the credit note * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string $memo Customer-facing text that appears on the credit note PDF. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. @@ -30,10 +31,13 @@ namespace Stripe; * @property string $pdf The link to download the PDF of the credit note. * @property null|string $reason Reason for issuing this credit note, one of duplicate, fraudulent, order_change, or product_unsatisfactory * @property null|string|\Stripe\Refund $refund Refund related to this credit note. + * @property null|\Stripe\StripeObject $shipping_cost The details of the cost of shipping, including the ShippingRate applied to the invoice. * @property string $status Status of this credit note, one of issued or void. Learn more about voiding credit notes. - * @property int $subtotal The integer amount in %s representing the amount of the credit note, excluding tax and invoice level discounts. + * @property int $subtotal The integer amount in %s representing the amount of the credit note, excluding exclusive tax and invoice level discounts. + * @property null|int $subtotal_excluding_tax The integer amount in %s representing the amount of the credit note, excluding all tax and invoice level discounts. * @property \Stripe\StripeObject[] $tax_amounts The aggregate amounts calculated per tax rate for all line items. * @property int $total The integer amount in %s representing the total amount of the credit note, including tax and all discount. + * @property null|int $total_excluding_tax The integer amount in %s representing the total amount of the credit note, excluding tax, but including discounts. * @property string $type Type of this credit note, one of pre_payment or post_payment. A pre_payment credit note means it was issued when the invoice was open. A post_payment credit note means it was issued when the invoice was paid. * @property null|int $voided_at The time that the credit note was voided. */ @@ -70,7 +74,7 @@ class CreditNote extends ApiResource { $url = static::classUrl() . '/preview'; list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); - $obj = Util\Util::convertToStripeObject($response->json, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); $obj->setLastResponse($response); return $obj; @@ -82,7 +86,25 @@ class CreditNote extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return CreditNote the voided credit note + * @return \Stripe\Collection<\Stripe\CreditNoteLineItem> list of CreditNoteLineItems + */ + public static function previewLines($params = null, $opts = null) + { + $url = static::classUrl() . '/preview/lines'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CreditNote the voided credit note */ public function voidCreditNote($params = null, $opts = null) { @@ -102,7 +124,7 @@ class CreditNote extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of credit note line items + * @return \Stripe\Collection<\Stripe\CreditNoteLineItem> the list of credit note line items */ public static function allLines($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/CreditNoteLineItem.php b/vendor/stripe-php-10.5.0/lib/CreditNoteLineItem.php similarity index 85% rename from vendor/stripe-php-7.72.0/lib/CreditNoteLineItem.php rename to vendor/stripe-php-10.5.0/lib/CreditNoteLineItem.php index 254886b7..6b2ca2e3 100644 --- a/vendor/stripe-php-7.72.0/lib/CreditNoteLineItem.php +++ b/vendor/stripe-php-10.5.0/lib/CreditNoteLineItem.php @@ -8,6 +8,7 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount The integer amount in %s representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts. + * @property null|int $amount_excluding_tax The integer amount in %s representing the amount being credited for this line item, excluding all tax and discounts. * @property null|string $description Description of the item being credited. * @property int $discount_amount The integer amount in %s representing the discount being credited for this line item. * @property \Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item @@ -19,6 +20,7 @@ namespace Stripe; * @property string $type The type of the credit note line item, one of invoice_line_item or custom_line_item. When the type is invoice_line_item there is an additional invoice_line_item property on the resource the value of which is the id of the credited line item on the invoice. * @property null|int $unit_amount The cost of each unit of product being credited. * @property null|string $unit_amount_decimal Same as unit_amount, but contains a decimal value with at most 12 decimal places. + * @property null|string $unit_amount_excluding_tax The amount in %s representing the unit amount being credited for this line item, excluding all tax and discounts. */ class CreditNoteLineItem extends ApiResource { diff --git a/vendor/stripe-php-7.72.0/lib/Customer.php b/vendor/stripe-php-10.5.0/lib/Customer.php similarity index 62% rename from vendor/stripe-php-7.72.0/lib/Customer.php rename to vendor/stripe-php-10.5.0/lib/Customer.php index c3a42cd8..3c3413c0 100644 --- a/vendor/stripe-php-7.72.0/lib/Customer.php +++ b/vendor/stripe-php-10.5.0/lib/Customer.php @@ -5,10 +5,8 @@ namespace Stripe; /** - * Customer objects allow you to perform recurring charges, and to - * track multiple charges, that are associated with the same customer. The API - * allows you to create, delete, and update your customers. You can retrieve - * individual customers as well as a list of all your customers. + * This object represents a customer of your business. It lets you create recurring + * charges and track payments that belong to the same customer. * * Related guide: Save a card during @@ -18,13 +16,15 @@ namespace Stripe; * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|\Stripe\StripeObject $address The customer's address. * @property int $balance Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized. + * @property null|\Stripe\CashBalance $cash_balance The current funds being held by Stripe on behalf of the customer. These funds can be applied towards payment intents with source "cash_balance". The settings[reconciliation_mode] field describes whether these funds are applied to such payment intents manually or automatically. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $currency Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes. - * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source

ID of the default payment source for the customer.

If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.

+ * @property null|string|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $default_source

ID of the default payment source for the customer.

If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.

* @property null|bool $delinquent

When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice isn't paid by its due date.

If an invoice is marked uncollectible by dunning, delinquent doesn't get reset to false.

* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. * @property null|\Stripe\Discount $discount Describes the current discount active on the customer, if there is one. * @property null|string $email The customer's email address. + * @property \Stripe\StripeObject $invoice_credit_balance The current multi-currency balances, if any, being stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that will be added to their next invoice denominated in that currency. These balances do not refer to any unpaid invoices. They solely track amounts that have yet to be successfully applied to any invoice. A balance in a particular currency is only applied to any invoice as an invoice in that currency is finalized. * @property null|string $invoice_prefix The prefix for the customer used to generate unique invoice numbers. * @property \Stripe\StripeObject $invoice_settings * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. @@ -34,10 +34,12 @@ namespace Stripe; * @property null|string $phone The customer's phone number. * @property null|string[] $preferred_locales The customer's preferred locales (languages), ordered by preference. * @property null|\Stripe\StripeObject $shipping Mailing and shipping address for the customer. Appears on invoices emailed to this customer. - * @property \Stripe\Collection $sources The customer's payment sources, if any. - * @property \Stripe\Collection $subscriptions The customer's current subscriptions, if any. + * @property \Stripe\Collection<\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source> $sources The customer's payment sources, if any. + * @property \Stripe\Collection<\Stripe\Subscription> $subscriptions The customer's current subscriptions, if any. + * @property \Stripe\StripeObject $tax * @property null|string $tax_exempt Describes the customer's tax exemption status. One of none, exempt, or reverse. When set to reverse, invoice and receipt PDFs include the text "Reverse charge". - * @property \Stripe\Collection $tax_ids The customer's tax IDs. + * @property \Stripe\Collection<\Stripe\TaxId> $tax_ids The customer's tax IDs. + * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this customer belongs to. */ class Customer extends ApiResource { @@ -48,6 +50,7 @@ class Customer extends ApiResource use ApiOperations\Delete; use ApiOperations\NestedResource; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const TAX_EXEMPT_EXEMPT = 'exempt'; @@ -77,8 +80,94 @@ class Customer extends ApiResource $url = $this->instanceUrl() . '/discount'; list($response, $opts) = $this->_request('delete', $url, $params, $opts); $this->refreshFrom(['discount' => null], $opts, true); + + return $this; } + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\PaymentMethod> list of PaymentMethods + */ + public static function allPaymentMethods($id, $params = null, $opts = null) + { + $url = static::resourceUrl($id) . '/payment_methods'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param string $payment_method + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Customer the retrieved customer + */ + public function retrievePaymentMethod($payment_method, $params = null, $opts = null) + { + $url = $this->instanceUrl() . '/payment_methods/' . $payment_method; + list($response, $opts) = $this->_request('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the customer search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/customers/search'; + + return self::_searchResource($url, $params, $opts); + } + + const PATH_CASH_BALANCE = '/cash_balance'; + + /** + * @param string $id the ID of the customer to which the cash balance belongs + * @param null|array $params + * @param null|array|string $opts + * @param mixed $cashBalanceId + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CashBalance + */ + public static function retrieveCashBalance($id, $cashBalanceId, $params = null, $opts = null) + { + return self::_retrieveNestedResource($id, static::PATH_CASH_BALANCE, $params, $opts); + } + + /** + * @param string $id the ID of the customer to which the cash balance belongs + * @param null|array $params + * @param null|array|string $opts + * @param mixed $cashBalanceId + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CashBalance + */ + public static function updateCashBalance($id, $cashBalanceId, $params = null, $opts = null) + { + return self::_updateNestedResource($id, static::PATH_CASH_BALANCE, $params, $opts); + } const PATH_BALANCE_TRANSACTIONS = '/balance_transactions'; /** @@ -88,7 +177,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of customer balance transactions + * @return \Stripe\Collection<\Stripe\CustomerBalanceTransaction> the list of customer balance transactions */ public static function allBalanceTransactions($id, $params = null, $opts = null) { @@ -138,7 +227,36 @@ class Customer extends ApiResource { return self::_updateNestedResource($id, static::PATH_BALANCE_TRANSACTIONS, $balanceTransactionId, $params, $opts); } + const PATH_CASH_BALANCE_TRANSACTIONS = '/cash_balance_transactions'; + /** + * @param string $id the ID of the customer on which to retrieve the customer cash balance transactions + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\CustomerCashBalanceTransaction> the list of customer cash balance transactions + */ + public static function allCashBalanceTransactions($id, $params = null, $opts = null) + { + return self::_allNestedResources($id, static::PATH_CASH_BALANCE_TRANSACTIONS, $params, $opts); + } + + /** + * @param string $id the ID of the customer to which the customer cash balance transaction belongs + * @param string $cashBalanceTransactionId the ID of the customer cash balance transaction to retrieve + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CustomerCashBalanceTransaction + */ + public static function retrieveCashBalanceTransaction($id, $cashBalanceTransactionId, $params = null, $opts = null) + { + return self::_retrieveNestedResource($id, static::PATH_CASH_BALANCE_TRANSACTIONS, $cashBalanceTransactionId, $params, $opts); + } const PATH_SOURCES = '/sources'; /** @@ -148,7 +266,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of payment sources (AlipayAccount, BankAccount, BitcoinReceiver, Card or Source) + * @return \Stripe\Collection<\Stripe\BankAccount|\Stripe\Card|\Stripe\Source> the list of payment sources (BankAccount, Card or Source) */ public static function allSources($id, $params = null, $opts = null) { @@ -162,7 +280,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public static function createSource($id, $params = null, $opts = null) { @@ -177,7 +295,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public static function deleteSource($id, $sourceId, $params = null, $opts = null) { @@ -192,7 +310,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public static function retrieveSource($id, $sourceId, $params = null, $opts = null) { @@ -207,13 +325,12 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public static function updateSource($id, $sourceId, $params = null, $opts = null) { return self::_updateNestedResource($id, static::PATH_SOURCES, $sourceId, $params, $opts); } - const PATH_TAX_IDS = '/tax_ids'; /** @@ -223,7 +340,7 @@ class Customer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of tax ids + * @return \Stripe\Collection<\Stripe\TaxId> the list of tax ids */ public static function allTaxIds($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/CustomerBalanceTransaction.php b/vendor/stripe-php-10.5.0/lib/CustomerBalanceTransaction.php similarity index 92% rename from vendor/stripe-php-7.72.0/lib/CustomerBalanceTransaction.php rename to vendor/stripe-php-10.5.0/lib/CustomerBalanceTransaction.php index 8c306760..02cc1f4d 100644 --- a/vendor/stripe-php-7.72.0/lib/CustomerBalanceTransaction.php +++ b/vendor/stripe-php-10.5.0/lib/CustomerBalanceTransaction.php @@ -29,7 +29,7 @@ namespace Stripe; * @property null|string|\Stripe\Invoice $invoice The ID of the invoice (if any) related to the transaction. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $type Transaction type: adjustment, applied_to_invoice, credit_note, initial, invoice_too_large, invoice_too_small, unspent_receiver_credit, or unapplied_from_invoice. See the Customer Balance page to learn more about transaction types. + * @property string $type Transaction type: adjustment, applied_to_invoice, credit_note, initial, invoice_overpaid, invoice_too_large, invoice_too_small, unspent_receiver_credit, or unapplied_from_invoice. See the Customer Balance page to learn more about transaction types. */ class CustomerBalanceTransaction extends ApiResource { @@ -39,6 +39,7 @@ class CustomerBalanceTransaction extends ApiResource const TYPE_APPLIED_TO_INVOICE = 'applied_to_invoice'; const TYPE_CREDIT_NOTE = 'credit_note'; const TYPE_INITIAL = 'initial'; + const TYPE_INVOICE_OVERPAID = 'invoice_overpaid'; const TYPE_INVOICE_TOO_LARGE = 'invoice_too_large'; const TYPE_INVOICE_TOO_SMALL = 'invoice_too_small'; const TYPE_UNSPENT_RECEIVER_CREDIT = 'unspent_receiver_credit'; diff --git a/vendor/stripe-php-10.5.0/lib/CustomerCashBalanceTransaction.php b/vendor/stripe-php-10.5.0/lib/CustomerCashBalanceTransaction.php new file mode 100644 index 00000000..f492bb62 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/CustomerCashBalanceTransaction.php @@ -0,0 +1,42 @@ +ISO currency code, in lowercase. Must be a supported currency. + * @property string|\Stripe\Customer $customer The customer whose available cash balance changed as a result of this transaction. + * @property int $ending_balance The total available cash balance for the specified currency after this transaction was applied. Represented in the smallest currency unit. + * @property \Stripe\StripeObject $funded + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property int $net_amount The amount by which the cash balance changed, represented in the smallest currency unit. A positive value represents funds being added to the cash balance, a negative value represents funds being removed from the cash balance. + * @property \Stripe\StripeObject $refunded_from_payment + * @property string $type The type of the cash balance transaction. One of applied_to_payment, unapplied_from_payment, refunded_from_payment, funded, return_initiated, or return_canceled. New types may be added in future. See Customer Balance to learn more about these types. + * @property \Stripe\StripeObject $unapplied_from_payment + */ +class CustomerCashBalanceTransaction extends ApiResource +{ + const OBJECT_NAME = 'customer_cash_balance_transaction'; + + use ApiOperations\All; + use ApiOperations\Retrieve; + + const TYPE_APPLIED_TO_PAYMENT = 'applied_to_payment'; + const TYPE_FUNDED = 'funded'; + const TYPE_FUNDING_REVERSED = 'funding_reversed'; + const TYPE_REFUNDED_FROM_PAYMENT = 'refunded_from_payment'; + const TYPE_RETURN_CANCELED = 'return_canceled'; + const TYPE_RETURN_INITIATED = 'return_initiated'; + const TYPE_UNAPPLIED_FROM_PAYMENT = 'unapplied_from_payment'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Discount.php b/vendor/stripe-php-10.5.0/lib/Discount.php new file mode 100644 index 00000000..dbc5d4bb --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Discount.php @@ -0,0 +1,23 @@ +instanceUrl() . '/close'; - list($response, $opts) = $this->_request('post', $url, null, $opts); + list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; diff --git a/vendor/stripe-php-7.72.0/lib/EphemeralKey.php b/vendor/stripe-php-10.5.0/lib/EphemeralKey.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/EphemeralKey.php rename to vendor/stripe-php-10.5.0/lib/EphemeralKey.php index 253256cf..ee8ecded 100644 --- a/vendor/stripe-php-7.72.0/lib/EphemeralKey.php +++ b/vendor/stripe-php-10.5.0/lib/EphemeralKey.php @@ -11,7 +11,6 @@ namespace Stripe; * @property int $expires Time at which the key will expire. Measured in seconds since the Unix epoch. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property string $secret The key's secret. You can use this value to make authorized requests to the Stripe API. - * @property array $associated_objects */ class EphemeralKey extends ApiResource { diff --git a/vendor/stripe-php-7.72.0/lib/ErrorObject.php b/vendor/stripe-php-10.5.0/lib/ErrorObject.php similarity index 64% rename from vendor/stripe-php-7.72.0/lib/ErrorObject.php rename to vendor/stripe-php-10.5.0/lib/ErrorObject.php index a9fe1a3b..3385aac0 100644 --- a/vendor/stripe-php-7.72.0/lib/ErrorObject.php +++ b/vendor/stripe-php-10.5.0/lib/ErrorObject.php @@ -26,14 +26,14 @@ namespace Stripe; * @property string $payment_method_type If the error is specific to the type * of payment method, the payment method type that had a problem. This * field is only populated for invoice-related errors. + * @property string $request_log_url A URL to the request log entry in your + * dashboard. * @property SetupIntent $setup_intent The SetupIntent object for errors * returned on a request involving a SetupIntent. * @property StripeObject $source The source object for errors returned on a * request involving a source. - * @property string $type The type of error returned. One of - * `api_connection_error`, `api_error`, `authentication_error`, - * `card_error`, `idempotency_error`, `invalid_request_error`, or - * `rate_limit_error`. + * @property string $type The type of error returned. One of `api_error`, + * `card_error`, `idempotency_error`, or `invalid_request_error`. */ class ErrorObject extends StripeObject { @@ -42,28 +42,42 @@ class ErrorObject extends StripeObject * * @see https://stripe.com/docs/error-codes */ - const CODE_ACCOUNT_ALREADY_EXISTS = 'account_already_exists'; const CODE_ACCOUNT_COUNTRY_INVALID_ADDRESS = 'account_country_invalid_address'; + const CODE_ACCOUNT_ERROR_COUNTRY_CHANGE_REQUIRES_ADDITIONAL_STEPS = 'account_error_country_change_requires_additional_steps'; + const CODE_ACCOUNT_INFORMATION_MISMATCH = 'account_information_mismatch'; const CODE_ACCOUNT_INVALID = 'account_invalid'; const CODE_ACCOUNT_NUMBER_INVALID = 'account_number_invalid'; + const CODE_ACSS_DEBIT_SESSION_INCOMPLETE = 'acss_debit_session_incomplete'; const CODE_ALIPAY_UPGRADE_REQUIRED = 'alipay_upgrade_required'; const CODE_AMOUNT_TOO_LARGE = 'amount_too_large'; const CODE_AMOUNT_TOO_SMALL = 'amount_too_small'; const CODE_API_KEY_EXPIRED = 'api_key_expired'; + const CODE_AUTHENTICATION_REQUIRED = 'authentication_required'; const CODE_BALANCE_INSUFFICIENT = 'balance_insufficient'; + const CODE_BANK_ACCOUNT_BAD_ROUTING_NUMBERS = 'bank_account_bad_routing_numbers'; + const CODE_BANK_ACCOUNT_DECLINED = 'bank_account_declined'; const CODE_BANK_ACCOUNT_EXISTS = 'bank_account_exists'; const CODE_BANK_ACCOUNT_UNUSABLE = 'bank_account_unusable'; const CODE_BANK_ACCOUNT_UNVERIFIED = 'bank_account_unverified'; + const CODE_BANK_ACCOUNT_VERIFICATION_FAILED = 'bank_account_verification_failed'; + const CODE_BILLING_INVALID_MANDATE = 'billing_invalid_mandate'; const CODE_BITCOIN_UPGRADE_REQUIRED = 'bitcoin_upgrade_required'; + const CODE_CARD_DECLINE_RATE_LIMIT_EXCEEDED = 'card_decline_rate_limit_exceeded'; const CODE_CARD_DECLINED = 'card_declined'; + const CODE_CARDHOLDER_PHONE_NUMBER_REQUIRED = 'cardholder_phone_number_required'; const CODE_CHARGE_ALREADY_CAPTURED = 'charge_already_captured'; const CODE_CHARGE_ALREADY_REFUNDED = 'charge_already_refunded'; const CODE_CHARGE_DISPUTED = 'charge_disputed'; const CODE_CHARGE_EXCEEDS_SOURCE_LIMIT = 'charge_exceeds_source_limit'; const CODE_CHARGE_EXPIRED_FOR_CAPTURE = 'charge_expired_for_capture'; + const CODE_CHARGE_INVALID_PARAMETER = 'charge_invalid_parameter'; + const CODE_CLEARING_CODE_UNSUPPORTED = 'clearing_code_unsupported'; + const CODE_COUNTRY_CODE_INVALID = 'country_code_invalid'; const CODE_COUNTRY_UNSUPPORTED = 'country_unsupported'; const CODE_COUPON_EXPIRED = 'coupon_expired'; + const CODE_CUSTOMER_MAX_PAYMENT_METHODS = 'customer_max_payment_methods'; const CODE_CUSTOMER_MAX_SUBSCRIPTIONS = 'customer_max_subscriptions'; + const CODE_DEBIT_NOT_AUTHORIZED = 'debit_not_authorized'; const CODE_EMAIL_INVALID = 'email_invalid'; const CODE_EXPIRED_CARD = 'expired_card'; const CODE_IDEMPOTENCY_KEY_IN_USE = 'idempotency_key_in_use'; @@ -71,8 +85,13 @@ class ErrorObject extends StripeObject const CODE_INCORRECT_CVC = 'incorrect_cvc'; const CODE_INCORRECT_NUMBER = 'incorrect_number'; const CODE_INCORRECT_ZIP = 'incorrect_zip'; + const CODE_INSTANT_PAYOUTS_LIMIT_EXCEEDED = 'instant_payouts_limit_exceeded'; const CODE_INSTANT_PAYOUTS_UNSUPPORTED = 'instant_payouts_unsupported'; + const CODE_INSUFFICIENT_FUNDS = 'insufficient_funds'; + const CODE_INTENT_INVALID_STATE = 'intent_invalid_state'; + const CODE_INTENT_VERIFICATION_METHOD_MISSING = 'intent_verification_method_missing'; const CODE_INVALID_CARD_TYPE = 'invalid_card_type'; + const CODE_INVALID_CHARACTERS = 'invalid_characters'; const CODE_INVALID_CHARGE_AMOUNT = 'invalid_charge_amount'; const CODE_INVALID_CVC = 'invalid_cvc'; const CODE_INVALID_EXPIRY_MONTH = 'invalid_expiry_month'; @@ -80,18 +99,17 @@ class ErrorObject extends StripeObject const CODE_INVALID_NUMBER = 'invalid_number'; const CODE_INVALID_SOURCE_USAGE = 'invalid_source_usage'; const CODE_INVOICE_NO_CUSTOMER_LINE_ITEMS = 'invoice_no_customer_line_items'; + const CODE_INVOICE_NO_PAYMENT_METHOD_TYPES = 'invoice_no_payment_method_types'; const CODE_INVOICE_NO_SUBSCRIPTION_LINE_ITEMS = 'invoice_no_subscription_line_items'; const CODE_INVOICE_NOT_EDITABLE = 'invoice_not_editable'; + const CODE_INVOICE_ON_BEHALF_OF_NOT_EDITABLE = 'invoice_on_behalf_of_not_editable'; const CODE_INVOICE_PAYMENT_INTENT_REQUIRES_ACTION = 'invoice_payment_intent_requires_action'; const CODE_INVOICE_UPCOMING_NONE = 'invoice_upcoming_none'; const CODE_LIVEMODE_MISMATCH = 'livemode_mismatch'; const CODE_LOCK_TIMEOUT = 'lock_timeout'; const CODE_MISSING = 'missing'; + const CODE_NO_ACCOUNT = 'no_account'; const CODE_NOT_ALLOWED_ON_STANDARD_ACCOUNT = 'not_allowed_on_standard_account'; - const CODE_ORDER_CREATION_FAILED = 'order_creation_failed'; - const CODE_ORDER_REQUIRED_SETTINGS = 'order_required_settings'; - const CODE_ORDER_STATUS_INVALID = 'order_status_invalid'; - const CODE_ORDER_UPSTREAM_TIMEOUT = 'order_upstream_timeout'; const CODE_OUT_OF_INVENTORY = 'out_of_inventory'; const CODE_PARAMETER_INVALID_EMPTY = 'parameter_invalid_empty'; const CODE_PARAMETER_INVALID_INTEGER = 'parameter_invalid_integer'; @@ -100,38 +118,64 @@ class ErrorObject extends StripeObject const CODE_PARAMETER_MISSING = 'parameter_missing'; const CODE_PARAMETER_UNKNOWN = 'parameter_unknown'; const CODE_PARAMETERS_EXCLUSIVE = 'parameters_exclusive'; + const CODE_PAYMENT_INTENT_ACTION_REQUIRED = 'payment_intent_action_required'; const CODE_PAYMENT_INTENT_AUTHENTICATION_FAILURE = 'payment_intent_authentication_failure'; const CODE_PAYMENT_INTENT_INCOMPATIBLE_PAYMENT_METHOD = 'payment_intent_incompatible_payment_method'; const CODE_PAYMENT_INTENT_INVALID_PARAMETER = 'payment_intent_invalid_parameter'; + const CODE_PAYMENT_INTENT_KONBINI_REJECTED_CONFIRMATION_NUMBER = 'payment_intent_konbini_rejected_confirmation_number'; + const CODE_PAYMENT_INTENT_MANDATE_INVALID = 'payment_intent_mandate_invalid'; + const CODE_PAYMENT_INTENT_PAYMENT_ATTEMPT_EXPIRED = 'payment_intent_payment_attempt_expired'; const CODE_PAYMENT_INTENT_PAYMENT_ATTEMPT_FAILED = 'payment_intent_payment_attempt_failed'; const CODE_PAYMENT_INTENT_UNEXPECTED_STATE = 'payment_intent_unexpected_state'; + const CODE_PAYMENT_METHOD_BANK_ACCOUNT_ALREADY_VERIFIED = 'payment_method_bank_account_already_verified'; + const CODE_PAYMENT_METHOD_BANK_ACCOUNT_BLOCKED = 'payment_method_bank_account_blocked'; + const CODE_PAYMENT_METHOD_BILLING_DETAILS_ADDRESS_MISSING = 'payment_method_billing_details_address_missing'; + const CODE_PAYMENT_METHOD_CURRENCY_MISMATCH = 'payment_method_currency_mismatch'; + const CODE_PAYMENT_METHOD_INVALID_PARAMETER = 'payment_method_invalid_parameter'; + const CODE_PAYMENT_METHOD_INVALID_PARAMETER_TESTMODE = 'payment_method_invalid_parameter_testmode'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_FAILED = 'payment_method_microdeposit_failed'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_VERIFICATION_AMOUNTS_INVALID = 'payment_method_microdeposit_verification_amounts_invalid'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_VERIFICATION_AMOUNTS_MISMATCH = 'payment_method_microdeposit_verification_amounts_mismatch'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_VERIFICATION_ATTEMPTS_EXCEEDED = 'payment_method_microdeposit_verification_attempts_exceeded'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_VERIFICATION_DESCRIPTOR_CODE_MISMATCH = 'payment_method_microdeposit_verification_descriptor_code_mismatch'; + const CODE_PAYMENT_METHOD_MICRODEPOSIT_VERIFICATION_TIMEOUT = 'payment_method_microdeposit_verification_timeout'; + const CODE_PAYMENT_METHOD_PROVIDER_DECLINE = 'payment_method_provider_decline'; + const CODE_PAYMENT_METHOD_PROVIDER_TIMEOUT = 'payment_method_provider_timeout'; const CODE_PAYMENT_METHOD_UNACTIVATED = 'payment_method_unactivated'; const CODE_PAYMENT_METHOD_UNEXPECTED_STATE = 'payment_method_unexpected_state'; + const CODE_PAYMENT_METHOD_UNSUPPORTED_TYPE = 'payment_method_unsupported_type'; const CODE_PAYOUTS_NOT_ALLOWED = 'payouts_not_allowed'; + const CODE_PLATFORM_ACCOUNT_REQUIRED = 'platform_account_required'; const CODE_PLATFORM_API_KEY_EXPIRED = 'platform_api_key_expired'; const CODE_POSTAL_CODE_INVALID = 'postal_code_invalid'; const CODE_PROCESSING_ERROR = 'processing_error'; const CODE_PRODUCT_INACTIVE = 'product_inactive'; const CODE_RATE_LIMIT = 'rate_limit'; + const CODE_REFER_TO_CUSTOMER = 'refer_to_customer'; + const CODE_REFUND_DISPUTED_PAYMENT = 'refund_disputed_payment'; const CODE_RESOURCE_ALREADY_EXISTS = 'resource_already_exists'; const CODE_RESOURCE_MISSING = 'resource_missing'; + const CODE_RETURN_INTENT_ALREADY_PROCESSED = 'return_intent_already_processed'; const CODE_ROUTING_NUMBER_INVALID = 'routing_number_invalid'; const CODE_SECRET_KEY_REQUIRED = 'secret_key_required'; const CODE_SEPA_UNSUPPORTED_ACCOUNT = 'sepa_unsupported_account'; const CODE_SETUP_ATTEMPT_FAILED = 'setup_attempt_failed'; const CODE_SETUP_INTENT_AUTHENTICATION_FAILURE = 'setup_intent_authentication_failure'; + const CODE_SETUP_INTENT_INVALID_PARAMETER = 'setup_intent_invalid_parameter'; + const CODE_SETUP_INTENT_SETUP_ATTEMPT_EXPIRED = 'setup_intent_setup_attempt_expired'; const CODE_SETUP_INTENT_UNEXPECTED_STATE = 'setup_intent_unexpected_state'; const CODE_SHIPPING_CALCULATION_FAILED = 'shipping_calculation_failed'; const CODE_SKU_INACTIVE = 'sku_inactive'; const CODE_STATE_UNSUPPORTED = 'state_unsupported'; const CODE_TAX_ID_INVALID = 'tax_id_invalid'; const CODE_TAXES_CALCULATION_FAILED = 'taxes_calculation_failed'; + const CODE_TERMINAL_LOCATION_COUNTRY_UNSUPPORTED = 'terminal_location_country_unsupported'; const CODE_TESTMODE_CHARGES_ONLY = 'testmode_charges_only'; const CODE_TLS_VERSION_UNSUPPORTED = 'tls_version_unsupported'; const CODE_TOKEN_ALREADY_USED = 'token_already_used'; const CODE_TOKEN_IN_USE = 'token_in_use'; + const CODE_TRANSFER_SOURCE_BALANCE_PARAMETERS_MISMATCH = 'transfer_source_balance_parameters_mismatch'; const CODE_TRANSFERS_NOT_ALLOWED = 'transfers_not_allowed'; - const CODE_UPSTREAM_ORDER_CREATION_FAILED = 'upstream_order_creation_failed'; const CODE_URL_INVALID = 'url_invalid'; /** diff --git a/vendor/stripe-php-7.72.0/lib/Event.php b/vendor/stripe-php-10.5.0/lib/Event.php similarity index 70% rename from vendor/stripe-php-7.72.0/lib/Event.php rename to vendor/stripe-php-10.5.0/lib/Event.php index 518c5d41..51731d54 100644 --- a/vendor/stripe-php-7.72.0/lib/Event.php +++ b/vendor/stripe-php-10.5.0/lib/Event.php @@ -39,6 +39,9 @@ namespace Stripe; * href="https://stripe.com/docs/api#retrieve_event">Retrieve Event API is * guaranteed only for 30 days. * + * This class includes constants for the possible string representations of + * event types. See https://stripe.com/docs/api#event_types for more details. + * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property string $account The connected account that originated the event. @@ -57,38 +60,38 @@ class Event extends ApiResource use ApiOperations\All; use ApiOperations\Retrieve; - /** - * Possible string representations of event types. - * - * @see https://stripe.com/docs/api#event_types - */ - const ACCOUNT_UPDATED = 'account.updated'; const ACCOUNT_APPLICATION_AUTHORIZED = 'account.application.authorized'; const ACCOUNT_APPLICATION_DEAUTHORIZED = 'account.application.deauthorized'; const ACCOUNT_EXTERNAL_ACCOUNT_CREATED = 'account.external_account.created'; const ACCOUNT_EXTERNAL_ACCOUNT_DELETED = 'account.external_account.deleted'; const ACCOUNT_EXTERNAL_ACCOUNT_UPDATED = 'account.external_account.updated'; + const ACCOUNT_UPDATED = 'account.updated'; const APPLICATION_FEE_CREATED = 'application_fee.created'; - const APPLICATION_FEE_REFUNDED = 'application_fee.refunded'; const APPLICATION_FEE_REFUND_UPDATED = 'application_fee.refund.updated'; + const APPLICATION_FEE_REFUNDED = 'application_fee.refunded'; const BALANCE_AVAILABLE = 'balance.available'; + const BILLING_PORTAL_CONFIGURATION_CREATED = 'billing_portal.configuration.created'; + const BILLING_PORTAL_CONFIGURATION_UPDATED = 'billing_portal.configuration.updated'; + const BILLING_PORTAL_SESSION_CREATED = 'billing_portal.session.created'; const CAPABILITY_UPDATED = 'capability.updated'; + const CASH_BALANCE_FUNDS_AVAILABLE = 'cash_balance.funds_available'; const CHARGE_CAPTURED = 'charge.captured'; - const CHARGE_EXPIRED = 'charge.expired'; - const CHARGE_FAILED = 'charge.failed'; - const CHARGE_PENDING = 'charge.pending'; - const CHARGE_REFUNDED = 'charge.refunded'; - const CHARGE_SUCCEEDED = 'charge.succeeded'; - const CHARGE_UPDATED = 'charge.updated'; const CHARGE_DISPUTE_CLOSED = 'charge.dispute.closed'; const CHARGE_DISPUTE_CREATED = 'charge.dispute.created'; const CHARGE_DISPUTE_FUNDS_REINSTATED = 'charge.dispute.funds_reinstated'; const CHARGE_DISPUTE_FUNDS_WITHDRAWN = 'charge.dispute.funds_withdrawn'; const CHARGE_DISPUTE_UPDATED = 'charge.dispute.updated'; + const CHARGE_EXPIRED = 'charge.expired'; + const CHARGE_FAILED = 'charge.failed'; + const CHARGE_PENDING = 'charge.pending'; const CHARGE_REFUND_UPDATED = 'charge.refund.updated'; + const CHARGE_REFUNDED = 'charge.refunded'; + const CHARGE_SUCCEEDED = 'charge.succeeded'; + const CHARGE_UPDATED = 'charge.updated'; const CHECKOUT_SESSION_ASYNC_PAYMENT_FAILED = 'checkout.session.async_payment_failed'; const CHECKOUT_SESSION_ASYNC_PAYMENT_SUCCEEDED = 'checkout.session.async_payment_succeeded'; const CHECKOUT_SESSION_COMPLETED = 'checkout.session.completed'; + const CHECKOUT_SESSION_EXPIRED = 'checkout.session.expired'; const COUPON_CREATED = 'coupon.created'; const COUPON_DELETED = 'coupon.deleted'; const COUPON_UPDATED = 'coupon.updated'; @@ -97,7 +100,6 @@ class Event extends ApiResource const CREDIT_NOTE_VOIDED = 'credit_note.voided'; const CUSTOMER_CREATED = 'customer.created'; const CUSTOMER_DELETED = 'customer.deleted'; - const CUSTOMER_UPDATED = 'customer.updated'; const CUSTOMER_DISCOUNT_CREATED = 'customer.discount.created'; const CUSTOMER_DISCOUNT_DELETED = 'customer.discount.deleted'; const CUSTOMER_DISCOUNT_UPDATED = 'customer.discount.updated'; @@ -107,14 +109,29 @@ class Event extends ApiResource const CUSTOMER_SOURCE_UPDATED = 'customer.source.updated'; const CUSTOMER_SUBSCRIPTION_CREATED = 'customer.subscription.created'; const CUSTOMER_SUBSCRIPTION_DELETED = 'customer.subscription.deleted'; + const CUSTOMER_SUBSCRIPTION_PAUSED = 'customer.subscription.paused'; const CUSTOMER_SUBSCRIPTION_PENDING_UPDATE_APPLIED = 'customer.subscription.pending_update_applied'; const CUSTOMER_SUBSCRIPTION_PENDING_UPDATE_EXPIRED = 'customer.subscription.pending_update_expired'; + const CUSTOMER_SUBSCRIPTION_RESUMED = 'customer.subscription.resumed'; const CUSTOMER_SUBSCRIPTION_TRIAL_WILL_END = 'customer.subscription.trial_will_end'; const CUSTOMER_SUBSCRIPTION_UPDATED = 'customer.subscription.updated'; const CUSTOMER_TAX_ID_CREATED = 'customer.tax_id.created'; const CUSTOMER_TAX_ID_DELETED = 'customer.tax_id.deleted'; const CUSTOMER_TAX_ID_UPDATED = 'customer.tax_id.updated'; + const CUSTOMER_UPDATED = 'customer.updated'; + const CUSTOMER_CASH_BALANCE_TRANSACTION_CREATED = 'customer_cash_balance_transaction.created'; const FILE_CREATED = 'file.created'; + const FINANCIAL_CONNECTIONS_ACCOUNT_CREATED = 'financial_connections.account.created'; + const FINANCIAL_CONNECTIONS_ACCOUNT_DEACTIVATED = 'financial_connections.account.deactivated'; + const FINANCIAL_CONNECTIONS_ACCOUNT_DISCONNECTED = 'financial_connections.account.disconnected'; + const FINANCIAL_CONNECTIONS_ACCOUNT_REACTIVATED = 'financial_connections.account.reactivated'; + const FINANCIAL_CONNECTIONS_ACCOUNT_REFRESHED_BALANCE = 'financial_connections.account.refreshed_balance'; + const IDENTITY_VERIFICATION_SESSION_CANCELED = 'identity.verification_session.canceled'; + const IDENTITY_VERIFICATION_SESSION_CREATED = 'identity.verification_session.created'; + const IDENTITY_VERIFICATION_SESSION_PROCESSING = 'identity.verification_session.processing'; + const IDENTITY_VERIFICATION_SESSION_REDACTED = 'identity.verification_session.redacted'; + const IDENTITY_VERIFICATION_SESSION_REQUIRES_INPUT = 'identity.verification_session.requires_input'; + const IDENTITY_VERIFICATION_SESSION_VERIFIED = 'identity.verification_session.verified'; const INVOICE_CREATED = 'invoice.created'; const INVOICE_DELETED = 'invoice.deleted'; const INVOICE_FINALIZATION_FAILED = 'invoice.finalization_failed'; @@ -131,7 +148,6 @@ class Event extends ApiResource const INVOICEITEM_CREATED = 'invoiceitem.created'; const INVOICEITEM_DELETED = 'invoiceitem.deleted'; const INVOICEITEM_UPDATED = 'invoiceitem.updated'; - const ISSUER_FRAUD_RECORD_CREATED = 'issuer_fraud_record.created'; const ISSUING_AUTHORIZATION_CREATED = 'issuing_authorization.created'; const ISSUING_AUTHORIZATION_REQUEST = 'issuing_authorization.request'; const ISSUING_AUTHORIZATION_UPDATED = 'issuing_authorization.updated'; @@ -148,20 +164,18 @@ class Event extends ApiResource const ISSUING_TRANSACTION_UPDATED = 'issuing_transaction.updated'; const MANDATE_UPDATED = 'mandate.updated'; const ORDER_CREATED = 'order.created'; - const ORDER_PAYMENT_FAILED = 'order.payment_failed'; - const ORDER_PAYMENT_SUCCEEDED = 'order.payment_succeeded'; - const ORDER_UPDATED = 'order.updated'; - const ORDER_RETURN_CREATED = 'order_return.created'; const PAYMENT_INTENT_AMOUNT_CAPTURABLE_UPDATED = 'payment_intent.amount_capturable_updated'; const PAYMENT_INTENT_CANCELED = 'payment_intent.canceled'; const PAYMENT_INTENT_CREATED = 'payment_intent.created'; + const PAYMENT_INTENT_PARTIALLY_FUNDED = 'payment_intent.partially_funded'; const PAYMENT_INTENT_PAYMENT_FAILED = 'payment_intent.payment_failed'; const PAYMENT_INTENT_PROCESSING = 'payment_intent.processing'; const PAYMENT_INTENT_REQUIRES_ACTION = 'payment_intent.requires_action'; const PAYMENT_INTENT_SUCCEEDED = 'payment_intent.succeeded'; + const PAYMENT_LINK_CREATED = 'payment_link.created'; + const PAYMENT_LINK_UPDATED = 'payment_link.updated'; const PAYMENT_METHOD_ATTACHED = 'payment_method.attached'; const PAYMENT_METHOD_AUTOMATICALLY_UPDATED = 'payment_method.automatically_updated'; - const PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED = 'payment_method.card_automatically_updated'; const PAYMENT_METHOD_DETACHED = 'payment_method.detached'; const PAYMENT_METHOD_UPDATED = 'payment_method.updated'; const PAYOUT_CANCELED = 'payout.canceled'; @@ -172,7 +186,6 @@ class Event extends ApiResource const PERSON_CREATED = 'person.created'; const PERSON_DELETED = 'person.deleted'; const PERSON_UPDATED = 'person.updated'; - const PING = 'ping'; const PLAN_CREATED = 'plan.created'; const PLAN_DELETED = 'plan.deleted'; const PLAN_UPDATED = 'plan.updated'; @@ -183,13 +196,18 @@ class Event extends ApiResource const PRODUCT_DELETED = 'product.deleted'; const PRODUCT_UPDATED = 'product.updated'; const PROMOTION_CODE_CREATED = 'promotion_code.created'; - const PROMOTION_CODE_DELETED = 'promotion_code.deleted'; const PROMOTION_CODE_UPDATED = 'promotion_code.updated'; + const QUOTE_ACCEPTED = 'quote.accepted'; + const QUOTE_CANCELED = 'quote.canceled'; + const QUOTE_CREATED = 'quote.created'; + const QUOTE_FINALIZED = 'quote.finalized'; const RADAR_EARLY_FRAUD_WARNING_CREATED = 'radar.early_fraud_warning.created'; const RADAR_EARLY_FRAUD_WARNING_UPDATED = 'radar.early_fraud_warning.updated'; const RECIPIENT_CREATED = 'recipient.created'; const RECIPIENT_DELETED = 'recipient.deleted'; const RECIPIENT_UPDATED = 'recipient.updated'; + const REFUND_CREATED = 'refund.created'; + const REFUND_UPDATED = 'refund.updated'; const REPORTING_REPORT_RUN_FAILED = 'reporting.report_run.failed'; const REPORTING_REPORT_RUN_SUCCEEDED = 'reporting.report_run.succeeded'; const REPORTING_REPORT_TYPE_UPDATED = 'reporting.report_type.updated'; @@ -220,6 +238,13 @@ class Event extends ApiResource const SUBSCRIPTION_SCHEDULE_UPDATED = 'subscription_schedule.updated'; const TAX_RATE_CREATED = 'tax_rate.created'; const TAX_RATE_UPDATED = 'tax_rate.updated'; + const TERMINAL_READER_ACTION_FAILED = 'terminal.reader.action_failed'; + const TERMINAL_READER_ACTION_SUCCEEDED = 'terminal.reader.action_succeeded'; + const TEST_HELPERS_TEST_CLOCK_ADVANCING = 'test_helpers.test_clock.advancing'; + const TEST_HELPERS_TEST_CLOCK_CREATED = 'test_helpers.test_clock.created'; + const TEST_HELPERS_TEST_CLOCK_DELETED = 'test_helpers.test_clock.deleted'; + const TEST_HELPERS_TEST_CLOCK_INTERNAL_FAILURE = 'test_helpers.test_clock.internal_failure'; + const TEST_HELPERS_TEST_CLOCK_READY = 'test_helpers.test_clock.ready'; const TOPUP_CANCELED = 'topup.canceled'; const TOPUP_CREATED = 'topup.created'; const TOPUP_FAILED = 'topup.failed'; @@ -228,4 +253,32 @@ class Event extends ApiResource const TRANSFER_CREATED = 'transfer.created'; const TRANSFER_REVERSED = 'transfer.reversed'; const TRANSFER_UPDATED = 'transfer.updated'; + const TREASURY_CREDIT_REVERSAL_CREATED = 'treasury.credit_reversal.created'; + const TREASURY_CREDIT_REVERSAL_POSTED = 'treasury.credit_reversal.posted'; + const TREASURY_DEBIT_REVERSAL_COMPLETED = 'treasury.debit_reversal.completed'; + const TREASURY_DEBIT_REVERSAL_CREATED = 'treasury.debit_reversal.created'; + const TREASURY_DEBIT_REVERSAL_INITIAL_CREDIT_GRANTED = 'treasury.debit_reversal.initial_credit_granted'; + const TREASURY_FINANCIAL_ACCOUNT_CLOSED = 'treasury.financial_account.closed'; + const TREASURY_FINANCIAL_ACCOUNT_CREATED = 'treasury.financial_account.created'; + const TREASURY_FINANCIAL_ACCOUNT_FEATURES_STATUS_UPDATED = 'treasury.financial_account.features_status_updated'; + const TREASURY_INBOUND_TRANSFER_CANCELED = 'treasury.inbound_transfer.canceled'; + const TREASURY_INBOUND_TRANSFER_CREATED = 'treasury.inbound_transfer.created'; + const TREASURY_INBOUND_TRANSFER_FAILED = 'treasury.inbound_transfer.failed'; + const TREASURY_INBOUND_TRANSFER_SUCCEEDED = 'treasury.inbound_transfer.succeeded'; + const TREASURY_OUTBOUND_PAYMENT_CANCELED = 'treasury.outbound_payment.canceled'; + const TREASURY_OUTBOUND_PAYMENT_CREATED = 'treasury.outbound_payment.created'; + const TREASURY_OUTBOUND_PAYMENT_EXPECTED_ARRIVAL_DATE_UPDATED = 'treasury.outbound_payment.expected_arrival_date_updated'; + const TREASURY_OUTBOUND_PAYMENT_FAILED = 'treasury.outbound_payment.failed'; + const TREASURY_OUTBOUND_PAYMENT_POSTED = 'treasury.outbound_payment.posted'; + const TREASURY_OUTBOUND_PAYMENT_RETURNED = 'treasury.outbound_payment.returned'; + const TREASURY_OUTBOUND_TRANSFER_CANCELED = 'treasury.outbound_transfer.canceled'; + const TREASURY_OUTBOUND_TRANSFER_CREATED = 'treasury.outbound_transfer.created'; + const TREASURY_OUTBOUND_TRANSFER_EXPECTED_ARRIVAL_DATE_UPDATED = 'treasury.outbound_transfer.expected_arrival_date_updated'; + const TREASURY_OUTBOUND_TRANSFER_FAILED = 'treasury.outbound_transfer.failed'; + const TREASURY_OUTBOUND_TRANSFER_POSTED = 'treasury.outbound_transfer.posted'; + const TREASURY_OUTBOUND_TRANSFER_RETURNED = 'treasury.outbound_transfer.returned'; + const TREASURY_RECEIVED_CREDIT_CREATED = 'treasury.received_credit.created'; + const TREASURY_RECEIVED_CREDIT_FAILED = 'treasury.received_credit.failed'; + const TREASURY_RECEIVED_CREDIT_SUCCEEDED = 'treasury.received_credit.succeeded'; + const TREASURY_RECEIVED_DEBIT_CREATED = 'treasury.received_debit.created'; } diff --git a/vendor/stripe-php-7.72.0/lib/Exception/ApiConnectionException.php b/vendor/stripe-php-10.5.0/lib/Exception/ApiConnectionException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/ApiConnectionException.php rename to vendor/stripe-php-10.5.0/lib/Exception/ApiConnectionException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/ApiErrorException.php b/vendor/stripe-php-10.5.0/lib/Exception/ApiErrorException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/ApiErrorException.php rename to vendor/stripe-php-10.5.0/lib/Exception/ApiErrorException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/AuthenticationException.php b/vendor/stripe-php-10.5.0/lib/Exception/AuthenticationException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/AuthenticationException.php rename to vendor/stripe-php-10.5.0/lib/Exception/AuthenticationException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/BadMethodCallException.php b/vendor/stripe-php-10.5.0/lib/Exception/BadMethodCallException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/BadMethodCallException.php rename to vendor/stripe-php-10.5.0/lib/Exception/BadMethodCallException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/CardException.php b/vendor/stripe-php-10.5.0/lib/Exception/CardException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/CardException.php rename to vendor/stripe-php-10.5.0/lib/Exception/CardException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/ExceptionInterface.php b/vendor/stripe-php-10.5.0/lib/Exception/ExceptionInterface.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/ExceptionInterface.php rename to vendor/stripe-php-10.5.0/lib/Exception/ExceptionInterface.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/IdempotencyException.php b/vendor/stripe-php-10.5.0/lib/Exception/IdempotencyException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/IdempotencyException.php rename to vendor/stripe-php-10.5.0/lib/Exception/IdempotencyException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/InvalidArgumentException.php b/vendor/stripe-php-10.5.0/lib/Exception/InvalidArgumentException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/InvalidArgumentException.php rename to vendor/stripe-php-10.5.0/lib/Exception/InvalidArgumentException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/InvalidRequestException.php b/vendor/stripe-php-10.5.0/lib/Exception/InvalidRequestException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/InvalidRequestException.php rename to vendor/stripe-php-10.5.0/lib/Exception/InvalidRequestException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/ExceptionInterface.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/ExceptionInterface.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/ExceptionInterface.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/ExceptionInterface.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidClientException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidClientException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidClientException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidClientException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidGrantException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidGrantException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidGrantException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidGrantException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidRequestException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidRequestException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidRequestException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidRequestException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidScopeException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidScopeException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/InvalidScopeException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/InvalidScopeException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/OAuthErrorException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/OAuthErrorException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/OAuthErrorException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/OAuthErrorException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnknownOAuthErrorException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnknownOAuthErrorException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnknownOAuthErrorException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnknownOAuthErrorException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnsupportedGrantTypeException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnsupportedGrantTypeException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnsupportedGrantTypeException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnsupportedGrantTypeException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnsupportedResponseTypeException.php b/vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnsupportedResponseTypeException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/OAuth/UnsupportedResponseTypeException.php rename to vendor/stripe-php-10.5.0/lib/Exception/OAuth/UnsupportedResponseTypeException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/PermissionException.php b/vendor/stripe-php-10.5.0/lib/Exception/PermissionException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/PermissionException.php rename to vendor/stripe-php-10.5.0/lib/Exception/PermissionException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/RateLimitException.php b/vendor/stripe-php-10.5.0/lib/Exception/RateLimitException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/RateLimitException.php rename to vendor/stripe-php-10.5.0/lib/Exception/RateLimitException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/SignatureVerificationException.php b/vendor/stripe-php-10.5.0/lib/Exception/SignatureVerificationException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/SignatureVerificationException.php rename to vendor/stripe-php-10.5.0/lib/Exception/SignatureVerificationException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/UnexpectedValueException.php b/vendor/stripe-php-10.5.0/lib/Exception/UnexpectedValueException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/UnexpectedValueException.php rename to vendor/stripe-php-10.5.0/lib/Exception/UnexpectedValueException.php diff --git a/vendor/stripe-php-7.72.0/lib/Exception/UnknownApiErrorException.php b/vendor/stripe-php-10.5.0/lib/Exception/UnknownApiErrorException.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Exception/UnknownApiErrorException.php rename to vendor/stripe-php-10.5.0/lib/Exception/UnknownApiErrorException.php diff --git a/vendor/stripe-php-7.72.0/lib/ExchangeRate.php b/vendor/stripe-php-10.5.0/lib/ExchangeRate.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/ExchangeRate.php rename to vendor/stripe-php-10.5.0/lib/ExchangeRate.php diff --git a/vendor/stripe-php-7.72.0/lib/File.php b/vendor/stripe-php-10.5.0/lib/File.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/File.php rename to vendor/stripe-php-10.5.0/lib/File.php index b27c9691..d5c14fb7 100644 --- a/vendor/stripe-php-7.72.0/lib/File.php +++ b/vendor/stripe-php-10.5.0/lib/File.php @@ -20,7 +20,7 @@ namespace Stripe; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|int $expires_at The time at which the file expires and is no longer available in epoch seconds. * @property null|string $filename A filename for the file, suitable for saving to a filesystem. - * @property null|\Stripe\Collection $links A list of file links that point at this file. + * @property null|\Stripe\Collection<\Stripe\FileLink> $links A list of file links that point at this file. * @property string $purpose The purpose of the uploaded file. * @property int $size The size in bytes of the file object. * @property null|string $title A user friendly title for the document. @@ -40,9 +40,15 @@ class File extends ApiResource const PURPOSE_BUSINESS_LOGO = 'business_logo'; const PURPOSE_CUSTOMER_SIGNATURE = 'customer_signature'; const PURPOSE_DISPUTE_EVIDENCE = 'dispute_evidence'; + const PURPOSE_DOCUMENT_PROVIDER_IDENTITY_DOCUMENT = 'document_provider_identity_document'; + const PURPOSE_FINANCE_REPORT_RUN = 'finance_report_run'; const PURPOSE_IDENTITY_DOCUMENT = 'identity_document'; + const PURPOSE_IDENTITY_DOCUMENT_DOWNLOADABLE = 'identity_document_downloadable'; const PURPOSE_PCI_DOCUMENT = 'pci_document'; + const PURPOSE_SELFIE = 'selfie'; + const PURPOSE_SIGMA_SCHEDULED_QUERY = 'sigma_scheduled_query'; const PURPOSE_TAX_DOCUMENT_USER_UPLOAD = 'tax_document_user_upload'; + const PURPOSE_TERMINAL_READER_SPLASHSCREEN = 'terminal_reader_splashscreen'; // This resource can have two different object names. In latter API // versions, only `file` is used, but since stripe-php may be used with @@ -54,11 +60,6 @@ class File extends ApiResource create as protected _create; } - public static function classUrl() - { - return '/v1/files'; - } - /** * @param null|array $params * @param null|array|string $opts diff --git a/vendor/stripe-php-7.72.0/lib/FileLink.php b/vendor/stripe-php-10.5.0/lib/FileLink.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/FileLink.php rename to vendor/stripe-php-10.5.0/lib/FileLink.php diff --git a/vendor/stripe-php-10.5.0/lib/FinancialConnections/Account.php b/vendor/stripe-php-10.5.0/lib/FinancialConnections/Account.php new file mode 100644 index 00000000..0fc4e26d --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/FinancialConnections/Account.php @@ -0,0 +1,104 @@ +subcategory. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|string $display_name A human-readable name that has been assigned to this account, either by the account holder or by the institution. + * @property string $institution_name The name of the institution that holds this account. + * @property null|string $last4 The last 4 digits of the account number. If present, this will be 4 numeric characters. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|string|\Stripe\FinancialConnections\AccountOwnership $ownership The most recent information about the account's owners. + * @property null|\Stripe\StripeObject $ownership_refresh The state of the most recent attempt to refresh the account owners. + * @property null|string[] $permissions The list of permissions granted by this account. + * @property string $status The status of the link to the account. + * @property string $subcategory

If category is cash, one of:

- checking - savings - other

If category is credit, one of:

- mortgage - line_of_credit - credit_card - other

If category is investment or other, this will be other.

+ * @property string[] $supported_payment_method_types The PaymentMethod type(s) that can be created from this account. + */ +class Account extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'financial_connections.account'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const CATEGORY_CASH = 'cash'; + const CATEGORY_CREDIT = 'credit'; + const CATEGORY_INVESTMENT = 'investment'; + const CATEGORY_OTHER = 'other'; + + const STATUS_ACTIVE = 'active'; + const STATUS_DISCONNECTED = 'disconnected'; + const STATUS_INACTIVE = 'inactive'; + + const SUBCATEGORY_CHECKING = 'checking'; + const SUBCATEGORY_CREDIT_CARD = 'credit_card'; + const SUBCATEGORY_LINE_OF_CREDIT = 'line_of_credit'; + const SUBCATEGORY_MORTGAGE = 'mortgage'; + const SUBCATEGORY_OTHER = 'other'; + const SUBCATEGORY_SAVINGS = 'savings'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Account the disconnected account + */ + public function disconnect($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/disconnect'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\FinancialConnections\AccountOwner> list of BankConnectionsResourceOwners + */ + public static function allOwners($id, $params = null, $opts = null) + { + $url = static::resourceUrl($id) . '/owners'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Account the refreshed account + */ + public function refreshAccount($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/refresh'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/FinancialConnections/AccountOwner.php b/vendor/stripe-php-10.5.0/lib/FinancialConnections/AccountOwner.php new file mode 100644 index 00000000..53a7f1a4 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/FinancialConnections/AccountOwner.php @@ -0,0 +1,20 @@ + $owners A paginated list of owners for this account. + */ +class AccountOwnership extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'financial_connections.account_ownership'; +} diff --git a/vendor/stripe-php-10.5.0/lib/FinancialConnections/Session.php b/vendor/stripe-php-10.5.0/lib/FinancialConnections/Session.php new file mode 100644 index 00000000..8d55cd06 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/FinancialConnections/Session.php @@ -0,0 +1,27 @@ + $accounts The accounts that were collected as part of this Session. + * @property string $client_secret A value that will be passed to the client to launch the authentication flow. + * @property \Stripe\StripeObject $filters + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string[] $permissions Permissions requested for accounts collected during this session. + * @property string $return_url For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. + */ +class Session extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'financial_connections.session'; + + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; +} diff --git a/vendor/stripe-php-10.5.0/lib/FundingInstructions.php b/vendor/stripe-php-10.5.0/lib/FundingInstructions.php new file mode 100644 index 00000000..af799914 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/FundingInstructions.php @@ -0,0 +1,28 @@ +balance + * that is automatically applied to future invoices and payments using the + * customer_balance payment method. Customers can fund this balance by + * initiating a bank transfer to any account in the + * financial_addresses field. Related guide: Customer + * Balance - Funding Instructions to learn more. + * + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property \Stripe\StripeObject $bank_transfer + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $funding_type The funding_type of the returned instructions + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + */ +class FundingInstructions extends ApiResource +{ + const OBJECT_NAME = 'funding_instructions'; + + const FUNDING_TYPE_BANK_TRANSFER = 'bank_transfer'; +} diff --git a/vendor/stripe-php-7.72.0/lib/HttpClient/ClientInterface.php b/vendor/stripe-php-10.5.0/lib/HttpClient/ClientInterface.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/HttpClient/ClientInterface.php rename to vendor/stripe-php-10.5.0/lib/HttpClient/ClientInterface.php diff --git a/vendor/stripe-php-7.72.0/lib/HttpClient/CurlClient.php b/vendor/stripe-php-10.5.0/lib/HttpClient/CurlClient.php similarity index 68% rename from vendor/stripe-php-7.72.0/lib/HttpClient/CurlClient.php rename to vendor/stripe-php-10.5.0/lib/HttpClient/CurlClient.php index b8245185..fdf421c1 100644 --- a/vendor/stripe-php-7.72.0/lib/HttpClient/CurlClient.php +++ b/vendor/stripe-php-10.5.0/lib/HttpClient/CurlClient.php @@ -24,17 +24,17 @@ if (!\defined('CURL_HTTP_VERSION_2TLS')) { \define('CURL_HTTP_VERSION_2TLS', 4); } -class CurlClient implements ClientInterface +class CurlClient implements ClientInterface, StreamingClientInterface { - private static $instance; + protected static $instance; public static function instance() { - if (!self::$instance) { - self::$instance = new self(); + if (!static::$instance) { + static::$instance = new static(); } - return self::$instance; + return static::$instance; } protected $defaultOptions; @@ -193,7 +193,7 @@ class CurlClient implements ClientInterface // END OF USER DEFINED TIMEOUTS - public function request($method, $absUrl, $headers, $params, $hasFile) + private function constructRequest($method, $absUrl, $headers, $params, $hasFile) { $method = \strtolower($method); @@ -271,20 +271,215 @@ class CurlClient implements ClientInterface $opts[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2TLS; } - // Stripe's API servers are only accessible over IPv4. Force IPv4 resolving to avoid - // potential issues (cf. https://github.com/stripe/stripe-php/issues/1045). - $opts[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V4; + // If the user didn't explicitly specify a CURLOPT_IPRESOLVE option, we + // force IPv4 resolving as Stripe's API servers are only accessible over + // IPv4 (see. https://github.com/stripe/stripe-php/issues/1045). + // We let users specify a custom option in case they need to say proxy + // through an IPv6 proxy. + if (!isset($opts[\CURLOPT_IPRESOLVE])) { + $opts[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V4; + } + + return [$opts, $absUrl]; + } + + public function request($method, $absUrl, $headers, $params, $hasFile) + { + list($opts, $absUrl) = $this->constructRequest($method, $absUrl, $headers, $params, $hasFile); list($rbody, $rcode, $rheaders) = $this->executeRequestWithRetries($opts, $absUrl); return [$rbody, $rcode, $rheaders]; } + public function requestStream($method, $absUrl, $headers, $params, $hasFile, $readBodyChunk) + { + list($opts, $absUrl) = $this->constructRequest($method, $absUrl, $headers, $params, $hasFile); + + $opts[\CURLOPT_RETURNTRANSFER] = false; + list($rbody, $rcode, $rheaders) = $this->executeStreamingRequestWithRetries($opts, $absUrl, $readBodyChunk); + + return [$rbody, $rcode, $rheaders]; + } + + /** + * Curl permits sending \CURLOPT_HEADERFUNCTION, which is called with lines + * from the header and \CURLOPT_WRITEFUNCTION, which is called with bytes + * from the body. You usually want to handle the body differently depending + * on what was in the header. + * + * This function makes it easier to specify different callbacks depending + * on the contents of the heeder. After the header has been completely read + * and the body begins to stream, it will call $determineWriteCallback with + * the array of headers. $determineWriteCallback should, based on the + * headers it receives, return a "writeCallback" that describes what to do + * with the incoming HTTP response body. + * + * @param array $opts + * @param callable $determineWriteCallback + * + * @return array + */ + private function useHeadersToDetermineWriteCallback($opts, $determineWriteCallback) + { + $rheaders = new Util\CaseInsensitiveArray(); + $headerCallback = function ($curl, $header_line) use (&$rheaders) { + return self::parseLineIntoHeaderArray($header_line, $rheaders); + }; + + $writeCallback = null; + $writeCallbackWrapper = function ($curl, $data) use (&$writeCallback, &$rheaders, &$determineWriteCallback) { + if (null === $writeCallback) { + $writeCallback = \call_user_func_array($determineWriteCallback, [$rheaders]); + } + + return \call_user_func_array($writeCallback, [$curl, $data]); + }; + + return [$headerCallback, $writeCallbackWrapper]; + } + + private static function parseLineIntoHeaderArray($line, &$headers) + { + if (false === \strpos($line, ':')) { + return \strlen($line); + } + list($key, $value) = \explode(':', \trim($line), 2); + $headers[\trim($key)] = \trim($value); + + return \strlen($line); + } + + /** + * Like `executeRequestWithRetries` except: + * 1. Does not buffer the body of a successful (status code < 300) + * response into memory -- instead, calls the caller-provided + * $readBodyChunk with each chunk of incoming data. + * 2. Does not retry if a network error occurs while streaming the + * body of a successful response. + * + * @param array $opts cURL options + * @param string $absUrl + * @param callable $readBodyChunk + * + * @return array + */ + public function executeStreamingRequestWithRetries($opts, $absUrl, $readBodyChunk) + { + /** @var bool */ + $shouldRetry = false; + /** @var int */ + $numRetries = 0; + + // Will contain the bytes of the body of the last request + // if it was not successful and should not be retries + /** @var null|string */ + $rbody = null; + + // Status code of the last request + /** @var null|bool */ + $rcode = null; + + // Array of headers from the last request + /** @var null|array */ + $lastRHeaders = null; + + $errno = null; + $message = null; + + $determineWriteCallback = function ($rheaders) use ( + &$readBodyChunk, + &$shouldRetry, + &$rbody, + &$numRetries, + &$rcode, + &$lastRHeaders, + &$errno + ) { + $lastRHeaders = $rheaders; + $errno = \curl_errno($this->curlHandle); + + $rcode = \curl_getinfo($this->curlHandle, \CURLINFO_HTTP_CODE); + + // Send the bytes from the body of a successful request to the caller-provided $readBodyChunk. + if ($rcode < 300) { + $rbody = null; + + return function ($curl, $data) use (&$readBodyChunk) { + // Don't expose the $curl handle to the user, and don't require them to + // return the length of $data. + \call_user_func_array($readBodyChunk, [$data]); + + return \strlen($data); + }; + } + + $shouldRetry = $this->shouldRetry($errno, $rcode, $rheaders, $numRetries); + + // Discard the body from an unsuccessful request that should be retried. + if ($shouldRetry) { + return function ($curl, $data) { + return \strlen($data); + }; + } else { + // Otherwise, buffer the body into $rbody. It will need to be parsed to determine + // which exception to throw to the user. + $rbody = ''; + + return function ($curl, $data) use (&$rbody) { + $rbody .= $data; + + return \strlen($data); + }; + } + }; + + while (true) { + list($headerCallback, $writeCallback) = $this->useHeadersToDetermineWriteCallback($opts, $determineWriteCallback); + $opts[\CURLOPT_HEADERFUNCTION] = $headerCallback; + $opts[\CURLOPT_WRITEFUNCTION] = $writeCallback; + + $shouldRetry = false; + $rbody = null; + $this->resetCurlHandle(); + \curl_setopt_array($this->curlHandle, $opts); + $result = \curl_exec($this->curlHandle); + $errno = \curl_errno($this->curlHandle); + if (0 !== $errno) { + $message = \curl_error($this->curlHandle); + } + if (!$this->getEnablePersistentConnections()) { + $this->closeCurlHandle(); + } + + if (\is_callable($this->getRequestStatusCallback())) { + \call_user_func_array( + $this->getRequestStatusCallback(), + [$rbody, $rcode, $lastRHeaders, $errno, $message, $shouldRetry, $numRetries] + ); + } + + if ($shouldRetry) { + ++$numRetries; + $sleepSeconds = $this->sleepTime($numRetries, $lastRHeaders); + \usleep((int) ($sleepSeconds * 1000000)); + } else { + break; + } + } + + if (0 !== $errno) { + $this->handleCurlError($absUrl, $errno, $message, $numRetries); + } + + return [$rbody, $rcode, $lastRHeaders]; + } + /** * @param array $opts cURL options * @param string $absUrl */ - private function executeRequestWithRetries($opts, $absUrl) + public function executeRequestWithRetries($opts, $absUrl) { $numRetries = 0; @@ -296,14 +491,7 @@ class CurlClient implements ClientInterface // Create a callback to capture HTTP headers for the response $rheaders = new Util\CaseInsensitiveArray(); $headerCallback = function ($curl, $header_line) use (&$rheaders) { - // Ignore the HTTP request line (HTTP/1.1 200 OK) - if (false === \strpos($header_line, ':')) { - return \strlen($header_line); - } - list($key, $value) = \explode(':', \trim($header_line), 2); - $rheaders[\trim($key)] = \trim($value); - - return \strlen($header_line); + return CurlClient::parseLineIntoHeaderArray($header_line, $rheaders); }; $opts[\CURLOPT_HEADERFUNCTION] = $headerCallback; diff --git a/vendor/stripe-php-10.5.0/lib/HttpClient/StreamingClientInterface.php b/vendor/stripe-php-10.5.0/lib/HttpClient/StreamingClientInterface.php new file mode 100644 index 00000000..482f9a11 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/HttpClient/StreamingClientInterface.php @@ -0,0 +1,23 @@ +type and options parameters used. You can find the + * result of each verification check performed in the appropriate sub-resource: + * document, id_number, selfie. + * + * Each VerificationReport contains a copy of any data collected by the user as + * well as reference IDs which can be used to access collected images through the + * FileUpload API. To configure and + * create VerificationReports, use the VerificationSession + * API. + * + * Related guides: Accessing + * verification results. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property \Stripe\StripeObject $document Result from a document check + * @property \Stripe\StripeObject $id_number Result from an id_number check + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $options + * @property \Stripe\StripeObject $selfie Result from a selfie check + * @property string $type Type of report. + * @property null|string $verification_session ID of the VerificationSession that created this report. + */ +class VerificationReport extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'identity.verification_report'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const TYPE_DOCUMENT = 'document'; + const TYPE_ID_NUMBER = 'id_number'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Identity/VerificationSession.php b/vendor/stripe-php-10.5.0/lib/Identity/VerificationSession.php new file mode 100644 index 00000000..180e5091 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Identity/VerificationSession.php @@ -0,0 +1,88 @@ +verification check to perform. + * Only create one VerificationSession for each verification in your system. + * + * A VerificationSession transitions through multiple statuses throughout its + * lifetime as it progresses through the verification flow. The VerificationSession + * contains the user's verified data after verification checks are complete. + * + * Related guide: The Verification + * Sessions API + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|string $client_secret The short-lived client secret used by Stripe.js to show a verification modal inside your app. This client secret expires after 24 hours and can only be used once. Don’t store it, log it, embed it in a URL, or expose it to anyone other than the user. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs on passing the client secret to the frontend to learn more. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|\Stripe\StripeObject $last_error If present, this property tells you the last error encountered when processing the verification. + * @property null|string|\Stripe\Identity\VerificationReport $last_verification_report ID of the most recent VerificationReport. Learn more about accessing detailed verification results. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property \Stripe\StripeObject $options + * @property null|\Stripe\StripeObject $redaction Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null. + * @property string $status Status of this VerificationSession. Learn more about the lifecycle of sessions. + * @property string $type The type of verification check to be performed. + * @property null|string $url The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don’t store it, log it, send it in emails or expose it to anyone other than the user. Refer to our docs on verifying identity documents to learn how to redirect users to Stripe. + * @property null|\Stripe\StripeObject $verified_outputs The user’s verified data. + */ +class VerificationSession extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'identity.verification_session'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + use \Stripe\ApiOperations\Update; + + const STATUS_CANCELED = 'canceled'; + const STATUS_PROCESSING = 'processing'; + const STATUS_REQUIRES_INPUT = 'requires_input'; + const STATUS_VERIFIED = 'verified'; + + const TYPE_DOCUMENT = 'document'; + const TYPE_ID_NUMBER = 'id_number'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession the canceled verification session + */ + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession the redacted verification session + */ + public function redact($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/redact'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Invoice.php b/vendor/stripe-php-10.5.0/lib/Invoice.php similarity index 74% rename from vendor/stripe-php-7.72.0/lib/Invoice.php rename to vendor/stripe-php-10.5.0/lib/Invoice.php index 1791d570..eb5aa469 100644 --- a/vendor/stripe-php-7.72.0/lib/Invoice.php +++ b/vendor/stripe-php-10.5.0/lib/Invoice.php @@ -23,7 +23,7 @@ namespace Stripe; * to finalize the invoice. * * If your invoice is configured to be billed by sending an email, then based on - * your email + * your email * settings, Stripe will email the invoice to your customer and await payment. * These emails can contain a link to a hosted page to pay the invoice. * @@ -41,25 +41,28 @@ namespace Stripe; * Related guide: Send * Invoices to Customers. * - * @property string $id Unique identifier for the object. + * @property string $id Unique identifier for the object. This property is always present unless the invoice is an upcoming invoice. See Retrieve an upcoming invoice for more details. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string $account_country The country of the business associated with this invoice, most often the business creating the invoice. * @property null|string $account_name The public name of the business associated with this invoice, most often the business creating the invoice. * @property null|(string|\Stripe\TaxId)[] $account_tax_ids The account tax IDs associated with the invoice. Only editable when the invoice is a draft. * @property int $amount_due Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the amount_due may be 0. If there is a positive starting_balance for the invoice (the customer owes money), the amount_due will also take that into account. The charge that gets generated for the invoice will be for the amount specified in amount_due. * @property int $amount_paid The amount, in %s, that was paid. - * @property int $amount_remaining The amount remaining, in %s, that is due. + * @property int $amount_remaining The difference between amount_due and amount_paid, in %s. + * @property int $amount_shipping This is the sum of all the shipping amounts. + * @property null|string|\Stripe\StripeObject $application ID of the Connect Application that created the invoice. * @property null|int $application_fee_amount The fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account when the invoice is paid. * @property int $attempt_count Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. * @property bool $attempted Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the invoice.created webhook, for example, so you might not want to display that invoice as unpaid to your users. * @property bool $auto_advance Controls whether Stripe will perform automatic collection of the invoice. When false, the invoice's state will not automatically advance without an explicit action. + * @property \Stripe\StripeObject $automatic_tax * @property null|string $billing_reason Indicates the reason why the invoice was created. subscription_cycle indicates an invoice created by a subscription advancing into a new period. subscription_create indicates an invoice created due to creating a subscription. subscription_update indicates an invoice created due to updating a subscription. subscription is set for all old invoices to indicate either a change to a subscription or a period advancement. manual is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The upcoming value is reserved for simulated invoices per the upcoming invoice endpoint. subscription_threshold indicates an invoice created due to a billing threshold being reached. * @property null|string|\Stripe\Charge $charge ID of the latest charge generated for this invoice, if any. - * @property null|string $collection_method Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. + * @property string $collection_method Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|\Stripe\StripeObject[] $custom_fields Custom fields displayed on the invoice. - * @property string|\Stripe\Customer $customer The ID of the customer who will be billed. + * @property null|string|\Stripe\Customer $customer The ID of the customer who will be billed. * @property null|\Stripe\StripeObject $customer_address The customer's address. Until the invoice is finalized, this field will equal customer.address. Once the invoice is finalized, this field will no longer be updated. * @property null|string $customer_email The customer's email. Until the invoice is finalized, this field will equal customer.email. Once the invoice is finalized, this field will no longer be updated. * @property null|string $customer_name The customer's name. Until the invoice is finalized, this field will equal customer.name. Once the invoice is finalized, this field will no longer be updated. @@ -68,7 +71,7 @@ namespace Stripe; * @property null|string $customer_tax_exempt The customer's tax exempt status. Until the invoice is finalized, this field will equal customer.tax_exempt. Once the invoice is finalized, this field will no longer be updated. * @property null|\Stripe\StripeObject[] $customer_tax_ids The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as customer.tax_ids. Once the invoice is finalized, this field will no longer be updated. * @property null|string|\Stripe\PaymentMethod $default_payment_method ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. + * @property null|string|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. * @property \Stripe\TaxRate[] $default_tax_rates The tax rates applied to this invoice, if any. * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. * @property null|\Stripe\Discount $discount Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts. @@ -76,34 +79,46 @@ namespace Stripe; * @property null|int $due_date The date on which payment for this invoice is due. This value will be null for invoices where collection_method=charge_automatically. * @property null|int $ending_balance Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null. * @property null|string $footer Footer displayed on the invoice. + * @property null|\Stripe\StripeObject $from_invoice Details of the invoice that was cloned. See the revision documentation for more details. * @property null|string $hosted_invoice_url The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null. * @property null|string $invoice_pdf The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null. - * @property null|\Stripe\ErrorObject $last_finalization_error The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized. - * @property \Stripe\Collection $lines The individual line items that make up the invoice. lines is sorted as follows: invoice items in reverse chronological order, followed by the subscription, if any. + * @property null|\Stripe\StripeObject $last_finalization_error The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized. + * @property null|string|\Stripe\Invoice $latest_revision The ID of the most recent non-draft revision of this invoice + * @property \Stripe\Collection<\Stripe\InvoiceLineItem> $lines The individual line items that make up the invoice. lines is sorted as follows: invoice items in reverse chronological order, followed by the subscription, if any. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|int $next_payment_attempt The time at which payment will next be attempted. This value will be null for invoices where collection_method=send_invoice. * @property null|string $number A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified. + * @property null|string|\Stripe\Account $on_behalf_of The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the Invoices with Connect documentation for details. * @property bool $paid Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance. + * @property bool $paid_out_of_band Returns true if the invoice was manually marked paid, returns false if the invoice hasn't been paid yet or was paid on Stripe. * @property null|string|\Stripe\PaymentIntent $payment_intent The PaymentIntent associated with this invoice. The PaymentIntent is generated when the invoice is finalized, and can then be used to pay the invoice. Note that voiding an invoice will cancel the PaymentIntent. * @property \Stripe\StripeObject $payment_settings * @property int $period_end End of the usage period during which invoice items were added to this invoice. * @property int $period_start Start of the usage period during which invoice items were added to this invoice. * @property int $post_payment_credit_notes_amount Total amount of all post-payment credit notes issued for this invoice. * @property int $pre_payment_credit_notes_amount Total amount of all pre-payment credit notes issued for this invoice. + * @property null|string|\Stripe\Quote $quote The quote this invoice was generated from. * @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this invoice. - * @property int $starting_balance Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. + * @property null|\Stripe\StripeObject $rendering_options Options for invoice PDF rendering. + * @property null|\Stripe\StripeObject $shipping_cost The details of the cost of shipping, including the ShippingRate applied on the invoice. + * @property null|\Stripe\StripeObject $shipping_details Shipping details for the invoice. The Invoice PDF will use the shipping_details value if it is set, otherwise the PDF will render the shipping address from the customer. + * @property int $starting_balance Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. For revision invoices, this also includes any customer balance that was applied to the original invoice. * @property null|string $statement_descriptor Extra information about an invoice for the customer's credit card statement. * @property null|string $status The status of the invoice, one of draft, open, paid, uncollectible, or void. Learn more * @property \Stripe\StripeObject $status_transitions * @property null|string|\Stripe\Subscription $subscription The subscription that this invoice was prepared for, if any. * @property int $subscription_proration_date Only set for upcoming invoices that preview prorations. The time used to calculate prorations. - * @property int $subtotal Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated + * @property int $subtotal Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated + * @property null|int $subtotal_excluding_tax The integer amount in %s representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated * @property null|int $tax The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice. + * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this invoice belongs to. * @property \Stripe\StripeObject $threshold_reason * @property int $total Total after discounts and taxes. * @property null|\Stripe\StripeObject[] $total_discount_amounts The aggregate amounts calculated per discount across all line items. + * @property null|int $total_excluding_tax The integer amount in %s representing the total amount of the invoice including all discounts but excluding all tax. * @property \Stripe\StripeObject[] $total_tax_amounts The aggregate amounts calculated per tax rate for all line items. + * @property null|\Stripe\StripeObject $transfer_data The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to for the invoice. * @property null|int $webhooks_delivered_at Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have been exhausted. This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created. */ class Invoice extends ApiResource @@ -113,13 +128,17 @@ class Invoice extends ApiResource use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Delete; + use ApiOperations\NestedResource; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const BILLING_CHARGE_AUTOMATICALLY = 'charge_automatically'; const BILLING_SEND_INVOICE = 'send_invoice'; + const BILLING_REASON_AUTOMATIC_PENDING_INVOICE_ITEM_INVOICE = 'automatic_pending_invoice_item_invoice'; const BILLING_REASON_MANUAL = 'manual'; + const BILLING_REASON_QUOTE_ACCEPT = 'quote_accept'; const BILLING_REASON_SUBSCRIPTION = 'subscription'; const BILLING_REASON_SUBSCRIPTION_CREATE = 'subscription_create'; const BILLING_REASON_SUBSCRIPTION_CYCLE = 'subscription_cycle'; @@ -137,49 +156,13 @@ class Invoice extends ApiResource const STATUS_UNCOLLECTIBLE = 'uncollectible'; const STATUS_VOID = 'void'; - use ApiOperations\NestedResource; - - const PATH_LINES = '/lines'; - /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Invoice the upcoming invoice - */ - public static function upcoming($params = null, $opts = null) - { - $url = static::classUrl() . '/upcoming'; - list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); - $obj = Util\Util::convertToStripeObject($response->json, $opts); - $obj->setLastResponse($response); - - return $obj; - } - - /** - * @param string $id the ID of the invoice on which to retrieve the lines - * @param null|array $params - * @param null|array|string $opts - * - * @throws StripeExceptionApiErrorException if the request fails - * - * @return \Stripe\Collection the list of lines (InvoiceLineItem) - */ - public static function allLines($id, $params = null, $opts = null) - { - return self::_allNestedResources($id, static::PATH_LINES, $params, $opts); - } - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return Invoice the finalized invoice + * @return \Stripe\Invoice the finalized invoice */ public function finalizeInvoice($params = null, $opts = null) { @@ -196,7 +179,7 @@ class Invoice extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Invoice the uncollectible invoice + * @return \Stripe\Invoice the uncollectible invoice */ public function markUncollectible($params = null, $opts = null) { @@ -213,7 +196,7 @@ class Invoice extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Invoice the paid invoice + * @return \Stripe\Invoice the paid invoice */ public function pay($params = null, $opts = null) { @@ -230,7 +213,7 @@ class Invoice extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Invoice the sent invoice + * @return \Stripe\Invoice the sent invoice */ public function sendInvoice($params = null, $opts = null) { @@ -247,7 +230,43 @@ class Invoice extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Invoice the voided invoice + * @return \Stripe\Invoice the upcoming invoice + */ + public static function upcoming($params = null, $opts = null) + { + $url = static::classUrl() . '/upcoming'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\InvoiceLineItem> list of InvoiceLineItems + */ + public static function upcomingLines($params = null, $opts = null) + { + $url = static::classUrl() . '/upcoming/lines'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Invoice the voided invoice */ public function voidInvoice($params = null, $opts = null) { @@ -257,4 +276,35 @@ class Invoice extends ApiResource return $this; } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the invoice search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/invoices/search'; + + return self::_searchResource($url, $params, $opts); + } + + const PATH_LINES = '/lines'; + + /** + * @param string $id the ID of the invoice on which to retrieve the line items + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> the list of line items + */ + public static function allLines($id, $params = null, $opts = null) + { + return self::_allNestedResources($id, static::PATH_LINES, $params, $opts); + } } diff --git a/vendor/stripe-php-7.72.0/lib/InvoiceItem.php b/vendor/stripe-php-10.5.0/lib/InvoiceItem.php similarity index 96% rename from vendor/stripe-php-7.72.0/lib/InvoiceItem.php rename to vendor/stripe-php-10.5.0/lib/InvoiceItem.php index 6153bbf9..76eae069 100644 --- a/vendor/stripe-php-7.72.0/lib/InvoiceItem.php +++ b/vendor/stripe-php-10.5.0/lib/InvoiceItem.php @@ -34,6 +34,7 @@ namespace Stripe; * @property null|string|\Stripe\Subscription $subscription The subscription that this invoice item has been created for, if any. * @property string $subscription_item The subscription item that this invoice item has been created for, if any. * @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to the invoice item. When set, the default_tax_rates on the invoice do not apply to this invoice item. + * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this invoice item belongs to. * @property null|int $unit_amount Unit amount (in the currency specified) of the invoice item. * @property null|string $unit_amount_decimal Same as unit_amount, but contains a decimal value with at most 12 decimal places. */ diff --git a/vendor/stripe-php-7.72.0/lib/InvoiceLineItem.php b/vendor/stripe-php-10.5.0/lib/InvoiceLineItem.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/InvoiceLineItem.php rename to vendor/stripe-php-10.5.0/lib/InvoiceLineItem.php index e579afb6..e5c123b2 100644 --- a/vendor/stripe-php-7.72.0/lib/InvoiceLineItem.php +++ b/vendor/stripe-php-10.5.0/lib/InvoiceLineItem.php @@ -8,6 +8,7 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount The amount, in %s. + * @property null|int $amount_excluding_tax The integer amount in %s representing the amount for this line item, excluding all tax and discounts. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. * @property null|\Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item. @@ -20,12 +21,14 @@ namespace Stripe; * @property null|\Stripe\Plan $plan The plan of the subscription, if the line item is a subscription or a proration. * @property null|\Stripe\Price $price The price of the line item. * @property bool $proration Whether this is a proration. + * @property null|\Stripe\StripeObject $proration_details Additional details for proration line items * @property null|int $quantity The quantity of the subscription, if the line item is a subscription or a proration. * @property null|string $subscription The subscription that the invoice item pertains to, if any. * @property string $subscription_item The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription. * @property \Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item * @property \Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item. * @property string $type A string identifying the type of the source of this line item, either an invoiceitem or a subscription. + * @property null|string $unit_amount_excluding_tax The amount in %s representing the unit amount for this line item, excluding all tax and discounts. */ class InvoiceLineItem extends ApiResource { diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/Authorization.php b/vendor/stripe-php-10.5.0/lib/Issuing/Authorization.php similarity index 79% rename from vendor/stripe-php-7.72.0/lib/Issuing/Authorization.php rename to vendor/stripe-php-10.5.0/lib/Issuing/Authorization.php index 22e81275..1433edd9 100644 --- a/vendor/stripe-php-7.72.0/lib/Issuing/Authorization.php +++ b/vendor/stripe-php-10.5.0/lib/Issuing/Authorization.php @@ -30,12 +30,14 @@ namespace Stripe\Issuing; * @property string $merchant_currency The currency that was presented to the cardholder for the authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property \Stripe\StripeObject $merchant_data * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|\Stripe\StripeObject $network_data Details about the authorization, such as identifiers, set by the card network. * @property null|\Stripe\StripeObject $pending_request The pending authorization request. This field will only be non-null during an issuing_authorization.request webhook. - * @property \Stripe\StripeObject[] $request_history History of every time the authorization was approved/denied (whether approved/denied by you directly or by Stripe based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization or partial capture, you can look at this field to see the previous states of the authorization. + * @property \Stripe\StripeObject[] $request_history History of every time a pending_request authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined. * @property string $status The current status of the authorization in its lifecycle. * @property \Stripe\Issuing\Transaction[] $transactions List of transactions associated with this authorization. + * @property null|\Stripe\StripeObject $treasury Treasury details related to this authorization if it was created on a FinancialAccount. * @property \Stripe\StripeObject $verification_data - * @property null|string $wallet What, if any, digital wallet was used for this authorization. One of apple_pay, google_pay, or samsung_pay. + * @property null|string $wallet The digital wallet used for this transaction. One of apple_pay, google_pay, or samsung_pay. Will populate as null when no digital wallet was utilized. */ class Authorization extends \Stripe\ApiResource { @@ -51,7 +53,7 @@ class Authorization extends \Stripe\ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Authorization the approved authorization + * @return \Stripe\Issuing\Authorization the approved authorization */ public function approve($params = null, $opts = null) { @@ -68,7 +70,7 @@ class Authorization extends \Stripe\ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Authorization the declined authorization + * @return \Stripe\Issuing\Authorization the declined authorization */ public function decline($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/Card.php b/vendor/stripe-php-10.5.0/lib/Issuing/Card.php similarity index 83% rename from vendor/stripe-php-7.72.0/lib/Issuing/Card.php rename to vendor/stripe-php-10.5.0/lib/Issuing/Card.php index e0ac774e..78f1e3fc 100644 --- a/vendor/stripe-php-7.72.0/lib/Issuing/Card.php +++ b/vendor/stripe-php-10.5.0/lib/Issuing/Card.php @@ -14,10 +14,11 @@ namespace Stripe\Issuing; * @property null|string $cancellation_reason The reason why the card was canceled. * @property \Stripe\Issuing\Cardholder $cardholder

An Issuing Cardholder object represents an individual or business entity who is issued cards.

Related guide: How to create a Cardholder

* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $currency Three-letter ISO currency code, in lowercase. Supported currencies are usd in the US, eur in the EU, and gbp in the UK. * @property string $cvc The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with the expand parameter. Additionally, it's only available via the "Retrieve a card" endpoint, not via "List all cards" or any other endpoint. * @property int $exp_month The expiration month of the card. * @property int $exp_year The expiration year of the card. + * @property null|string $financial_account The financial account this card is attached to. * @property string $last4 The last 4 digits of the card number. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. @@ -29,6 +30,7 @@ namespace Stripe\Issuing; * @property \Stripe\StripeObject $spending_controls * @property string $status Whether authorizations can be approved on this card. * @property string $type The type of the card. + * @property null|\Stripe\StripeObject $wallets Information relating to digital wallets (like Apple Pay and Google Pay). */ class Card extends \Stripe\ApiResource { @@ -38,22 +40,4 @@ class Card extends \Stripe\ApiResource use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Issuing\CardDetails the card details associated with that issuing card - */ - public function details($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/details'; - list($response, $opts) = $this->_request('get', $url, $params, $opts); - $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); - $obj->setLastResponse($response); - - return $obj; - } } diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/CardDetails.php b/vendor/stripe-php-10.5.0/lib/Issuing/CardDetails.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Issuing/CardDetails.php rename to vendor/stripe-php-10.5.0/lib/Issuing/CardDetails.php diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/Cardholder.php b/vendor/stripe-php-10.5.0/lib/Issuing/Cardholder.php similarity index 91% rename from vendor/stripe-php-7.72.0/lib/Issuing/Cardholder.php rename to vendor/stripe-php-10.5.0/lib/Issuing/Cardholder.php index 931b7ce8..1e220d23 100644 --- a/vendor/stripe-php-7.72.0/lib/Issuing/Cardholder.php +++ b/vendor/stripe-php-10.5.0/lib/Issuing/Cardholder.php @@ -22,7 +22,7 @@ namespace Stripe\Issuing; * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $name The cardholder's name. This will be printed on cards issued to them. - * @property null|string $phone_number The cardholder's phone number. + * @property null|string $phone_number The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details. * @property \Stripe\StripeObject $requirements * @property null|\Stripe\StripeObject $spending_controls Rules that control spending across this cardholder's cards. Refer to our documentation for more details. * @property string $status Specifies whether to permit authorizations on this cardholder's cards. diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/Dispute.php b/vendor/stripe-php-10.5.0/lib/Issuing/Dispute.php similarity index 79% rename from vendor/stripe-php-7.72.0/lib/Issuing/Dispute.php rename to vendor/stripe-php-10.5.0/lib/Issuing/Dispute.php index 0df24b84..644831a7 100644 --- a/vendor/stripe-php-7.72.0/lib/Issuing/Dispute.php +++ b/vendor/stripe-php-10.5.0/lib/Issuing/Dispute.php @@ -15,7 +15,7 @@ namespace Stripe\Issuing; * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount Disputed amount. Usually the amount of the transaction, but can differ (usually because of currency fluctuation). + * @property int $amount Disputed amount in the card's currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation). * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency The currency the transaction was made in. @@ -24,6 +24,7 @@ namespace Stripe\Issuing; * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $status Current status of the dispute. * @property string|\Stripe\Issuing\Transaction $transaction The transaction being disputed. + * @property null|\Stripe\StripeObject $treasury Treasury details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts */ class Dispute extends \Stripe\ApiResource { @@ -40,7 +41,7 @@ class Dispute extends \Stripe\ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Dispute the submited dispute + * @return \Stripe\Issuing\Dispute the submited dispute */ public function submit($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Issuing/Transaction.php b/vendor/stripe-php-10.5.0/lib/Issuing/Transaction.php similarity index 89% rename from vendor/stripe-php-7.72.0/lib/Issuing/Transaction.php rename to vendor/stripe-php-10.5.0/lib/Issuing/Transaction.php index 3c44d7ec..4586b2fa 100644 --- a/vendor/stripe-php-7.72.0/lib/Issuing/Transaction.php +++ b/vendor/stripe-php-10.5.0/lib/Issuing/Transaction.php @@ -31,7 +31,9 @@ namespace Stripe\Issuing; * @property \Stripe\StripeObject $merchant_data * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|\Stripe\StripeObject $purchase_details Additional purchase information that is optionally provided by the merchant. + * @property null|\Stripe\StripeObject $treasury Treasury details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts * @property string $type The nature of the transaction. + * @property null|string $wallet The digital wallet used for this transaction. One of apple_pay, google_pay, or samsung_pay. */ class Transaction extends \Stripe\ApiResource { diff --git a/vendor/stripe-php-7.72.0/lib/LineItem.php b/vendor/stripe-php-10.5.0/lib/LineItem.php similarity index 85% rename from vendor/stripe-php-7.72.0/lib/LineItem.php rename to vendor/stripe-php-10.5.0/lib/LineItem.php index 0a413461..63c5ca2e 100644 --- a/vendor/stripe-php-7.72.0/lib/LineItem.php +++ b/vendor/stripe-php-10.5.0/lib/LineItem.php @@ -9,7 +9,9 @@ namespace Stripe; * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount_discount Total discount amount applied. If no discounts were applied, defaults to 0. * @property int $amount_subtotal Total before any discounts or taxes are applied. + * @property int $amount_tax Total tax amount applied. If no tax was applied, defaults to 0. * @property int $amount_total Total after discounts and taxes. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name. @@ -21,6 +23,4 @@ namespace Stripe; class LineItem extends ApiResource { const OBJECT_NAME = 'item'; - - use ApiOperations\All; } diff --git a/vendor/stripe-php-7.72.0/lib/LoginLink.php b/vendor/stripe-php-10.5.0/lib/LoginLink.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/LoginLink.php rename to vendor/stripe-php-10.5.0/lib/LoginLink.php diff --git a/vendor/stripe-php-7.72.0/lib/Mandate.php b/vendor/stripe-php-10.5.0/lib/Mandate.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Mandate.php rename to vendor/stripe-php-10.5.0/lib/Mandate.php diff --git a/vendor/stripe-php-7.72.0/lib/OAuth.php b/vendor/stripe-php-10.5.0/lib/OAuth.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/OAuth.php rename to vendor/stripe-php-10.5.0/lib/OAuth.php diff --git a/vendor/stripe-php-7.72.0/lib/OAuthErrorObject.php b/vendor/stripe-php-10.5.0/lib/OAuthErrorObject.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/OAuthErrorObject.php rename to vendor/stripe-php-10.5.0/lib/OAuthErrorObject.php diff --git a/vendor/stripe-php-7.72.0/lib/PaymentIntent.php b/vendor/stripe-php-10.5.0/lib/PaymentIntent.php similarity index 74% rename from vendor/stripe-php-7.72.0/lib/PaymentIntent.php rename to vendor/stripe-php-10.5.0/lib/PaymentIntent.php index 2d204e9d..7fd57796 100644 --- a/vendor/stripe-php-7.72.0/lib/PaymentIntent.php +++ b/vendor/stripe-php-10.5.0/lib/PaymentIntent.php @@ -22,21 +22,23 @@ namespace Stripe; * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). * @property int $amount_capturable Amount that can be captured from this PaymentIntent. + * @property \Stripe\StripeObject $amount_details * @property int $amount_received Amount that was collected by this PaymentIntent. * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the PaymentIntent. * @property null|int $application_fee_amount The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents use case for connected accounts. + * @property null|\Stripe\StripeObject $automatic_payment_methods Settings to configure compatible payment methods from the Stripe Dashboard * @property null|int $canceled_at Populated when status is canceled, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch. * @property null|string $cancellation_reason Reason for cancellation of this PaymentIntent, either user-provided (duplicate, fraudulent, requested_by_customer, or abandoned) or generated by Stripe internally (failed_invoice, void_invoice, or automatic). * @property string $capture_method Controls when the funds will be captured from the customer's account. - * @property \Stripe\Collection $charges Charges that were created by this PaymentIntent, if any. - * @property null|string $client_secret

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

+ * @property null|string $client_secret

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

* @property string $confirmation_method * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|string|\Stripe\Customer $customer

ID of the Customer this PaymentIntent belongs to, if one exists.

Payment methods attached to other Customers cannot be used with this PaymentIntent.

If present in combination with setup_future_usage, this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete.

* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. * @property null|string|\Stripe\Invoice $invoice ID of the invoice that created this PaymentIntent, if it exists. - * @property null|\Stripe\ErrorObject $last_payment_error The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason. + * @property null|\Stripe\StripeObject $last_payment_error The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason. + * @property null|string|\Stripe\Charge $latest_charge The latest charge created by this payment intent. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. For more information, see the documentation. * @property null|\Stripe\StripeObject $next_action If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source. @@ -44,11 +46,12 @@ namespace Stripe; * @property null|string|\Stripe\PaymentMethod $payment_method ID of the payment method used in this PaymentIntent. * @property null|\Stripe\StripeObject $payment_method_options Payment-method-specific configuration for this PaymentIntent. * @property string[] $payment_method_types The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. + * @property null|\Stripe\StripeObject $processing If present, this property tells you about the processing state of the payment. * @property null|string $receipt_email Email address that the receipt for the resulting payment will be sent to. If receipt_email is specified for a payment in live mode, a receipt will be sent regardless of your email settings. * @property null|string|\Stripe\Review $review ID of the review associated with this PaymentIntent, if any. * @property null|string $setup_future_usage

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses setup_future_usage to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

* @property null|\Stripe\StripeObject $shipping Shipping information for this PaymentIntent. - * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. + * @property null|string|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. * @property null|string $statement_descriptor For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters. * @property null|string $statement_descriptor_suffix Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. * @property string $status Status of this PaymentIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded. Read more about each PaymentIntent status. @@ -62,6 +65,7 @@ class PaymentIntent extends ApiResource use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const STATUS_CANCELED = 'canceled'; @@ -78,7 +82,24 @@ class PaymentIntent extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return PaymentIntent the canceled payment intent + * @return \Stripe\PaymentIntent the applied payment intent + */ + public function applyCustomerBalance($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/apply_customer_balance'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentIntent the canceled payment intent */ public function cancel($params = null, $opts = null) { @@ -95,7 +116,7 @@ class PaymentIntent extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return PaymentIntent the captured payment intent + * @return \Stripe\PaymentIntent the captured payment intent */ public function capture($params = null, $opts = null) { @@ -112,7 +133,7 @@ class PaymentIntent extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return PaymentIntent the confirmed payment intent + * @return \Stripe\PaymentIntent the confirmed payment intent */ public function confirm($params = null, $opts = null) { @@ -122,4 +143,53 @@ class PaymentIntent extends ApiResource return $this; } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentIntent the incremented payment intent + */ + public function incrementAuthorization($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/increment_authorization'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentIntent the verified payment intent + */ + public function verifyMicrodeposits($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/verify_microdeposits'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the payment intent search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/payment_intents/search'; + + return self::_searchResource($url, $params, $opts); + } } diff --git a/vendor/stripe-php-10.5.0/lib/PaymentLink.php b/vendor/stripe-php-10.5.0/lib/PaymentLink.php new file mode 100644 index 00000000..eeeecc4f --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/PaymentLink.php @@ -0,0 +1,91 @@ +checkout session to + * render the payment page. You can use checkout + * session events to track payments through payment links. + * + * Related guide: Payment Links API + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property bool $active Whether the payment link's url is active. If false, customers visiting the URL will be shown a page saying that the link has been deactivated. + * @property \Stripe\StripeObject $after_completion + * @property bool $allow_promotion_codes Whether user redeemable promotion codes are enabled. + * @property null|int $application_fee_amount The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. + * @property null|float $application_fee_percent This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. + * @property \Stripe\StripeObject $automatic_tax + * @property string $billing_address_collection Configuration for collecting the customer's billing address. + * @property null|\Stripe\StripeObject $consent_collection When set, provides configuration to gather active consent from customers. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property \Stripe\StripeObject $custom_text + * @property string $customer_creation Configuration for Customer creation during checkout. + * @property null|\Stripe\StripeObject $invoice_creation Configuration for creating invoice for payment mode payment links. + * @property \Stripe\Collection<\Stripe\LineItem> $line_items The line items representing what is being sold. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|string|\Stripe\Account $on_behalf_of The account on behalf of which to charge. See the Connect documentation for details. + * @property null|\Stripe\StripeObject $payment_intent_data Indicates the parameters to be passed to PaymentIntent creation during checkout. + * @property string $payment_method_collection Configuration for collecting a payment method during checkout. + * @property null|string[] $payment_method_types The list of payment method types that customers can use. When null, Stripe will dynamically show relevant payment methods you've enabled in your payment method settings. + * @property \Stripe\StripeObject $phone_number_collection + * @property null|\Stripe\StripeObject $shipping_address_collection Configuration for collecting the customer's shipping address. + * @property \Stripe\StripeObject[] $shipping_options The shipping rate options applied to the session. + * @property string $submit_type Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button. + * @property null|\Stripe\StripeObject $subscription_data When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use subscription_data. + * @property \Stripe\StripeObject $tax_id_collection + * @property null|\Stripe\StripeObject $transfer_data The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to. + * @property string $url The public URL that can be shared with customers. + */ +class PaymentLink extends ApiResource +{ + const OBJECT_NAME = 'payment_link'; + + use ApiOperations\All; + use ApiOperations\Create; + use ApiOperations\Retrieve; + use ApiOperations\Update; + + const BILLING_ADDRESS_COLLECTION_AUTO = 'auto'; + const BILLING_ADDRESS_COLLECTION_REQUIRED = 'required'; + + const CUSTOMER_CREATION_ALWAYS = 'always'; + const CUSTOMER_CREATION_IF_REQUIRED = 'if_required'; + + const PAYMENT_METHOD_COLLECTION_ALWAYS = 'always'; + const PAYMENT_METHOD_COLLECTION_IF_REQUIRED = 'if_required'; + + const SUBMIT_TYPE_AUTO = 'auto'; + const SUBMIT_TYPE_BOOK = 'book'; + const SUBMIT_TYPE_DONATE = 'donate'; + const SUBMIT_TYPE_PAY = 'pay'; + + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> list of LineItems + */ + public static function allLineItems($id, $params = null, $opts = null) + { + $url = static::resourceUrl($id) . '/line_items'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/PaymentMethod.php b/vendor/stripe-php-10.5.0/lib/PaymentMethod.php similarity index 75% rename from vendor/stripe-php-7.72.0/lib/PaymentMethod.php rename to vendor/stripe-php-10.5.0/lib/PaymentMethod.php index d9c9e2b5..1ac4cee2 100644 --- a/vendor/stripe-php-7.72.0/lib/PaymentMethod.php +++ b/vendor/stripe-php-10.5.0/lib/PaymentMethod.php @@ -5,11 +5,11 @@ namespace Stripe; /** - * PaymentMethod objects represent your customer's payment instruments. They can be - * used with PaymentIntents to - * collect payments or saved to Customer objects to store instrument details for - * future payments. + * collect payments or save them to Customer objects to store instrument details + * for future payments. * * Related guides: Payment Methods and @@ -18,28 +18,43 @@ namespace Stripe; * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property \Stripe\StripeObject $acss_debit + * @property \Stripe\StripeObject $affirm + * @property \Stripe\StripeObject $afterpay_clearpay * @property \Stripe\StripeObject $alipay * @property \Stripe\StripeObject $au_becs_debit * @property \Stripe\StripeObject $bacs_debit * @property \Stripe\StripeObject $bancontact * @property \Stripe\StripeObject $billing_details + * @property \Stripe\StripeObject $blik + * @property \Stripe\StripeObject $boleto * @property \Stripe\StripeObject $card * @property \Stripe\StripeObject $card_present * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. + * @property \Stripe\StripeObject $customer_balance * @property \Stripe\StripeObject $eps * @property \Stripe\StripeObject $fpx * @property \Stripe\StripeObject $giropay * @property \Stripe\StripeObject $grabpay * @property \Stripe\StripeObject $ideal * @property \Stripe\StripeObject $interac_present + * @property \Stripe\StripeObject $klarna + * @property \Stripe\StripeObject $konbini + * @property \Stripe\StripeObject $link * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property \Stripe\StripeObject $oxxo * @property \Stripe\StripeObject $p24 + * @property \Stripe\StripeObject $paynow + * @property \Stripe\StripeObject $pix + * @property \Stripe\StripeObject $promptpay + * @property \Stripe\StripeObject $radar_options Options to configure Radar. See Radar Session for more information. * @property \Stripe\StripeObject $sepa_debit * @property \Stripe\StripeObject $sofort * @property string $type The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + * @property \Stripe\StripeObject $us_bank_account + * @property \Stripe\StripeObject $wechat_pay */ class PaymentMethod extends ApiResource { @@ -56,7 +71,7 @@ class PaymentMethod extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return PaymentMethod the attached payment method + * @return \Stripe\PaymentMethod the attached payment method */ public function attach($params = null, $opts = null) { @@ -73,7 +88,7 @@ class PaymentMethod extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return PaymentMethod the detached payment method + * @return \Stripe\PaymentMethod the detached payment method */ public function detach($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Payout.php b/vendor/stripe-php-10.5.0/lib/Payout.php similarity index 96% rename from vendor/stripe-php-7.72.0/lib/Payout.php rename to vendor/stripe-php-10.5.0/lib/Payout.php index 46f86181..f3d20f79 100644 --- a/vendor/stripe-php-7.72.0/lib/Payout.php +++ b/vendor/stripe-php-10.5.0/lib/Payout.php @@ -53,7 +53,9 @@ class Payout extends ApiResource const FAILURE_COULD_NOT_PROCESS = 'could_not_process'; const FAILURE_DEBIT_NOT_AUTHORIZED = 'debit_not_authorized'; const FAILURE_DECLINED = 'declined'; + const FAILURE_INCORRECT_ACCOUNT_HOLDER_ADDRESS = 'incorrect_account_holder_address'; const FAILURE_INCORRECT_ACCOUNT_HOLDER_NAME = 'incorrect_account_holder_name'; + const FAILURE_INCORRECT_ACCOUNT_HOLDER_TAX_ID = 'incorrect_account_holder_tax_id'; const FAILURE_INSUFFICIENT_FUNDS = 'insufficient_funds'; const FAILURE_INVALID_ACCOUNT_NUMBER = 'invalid_account_number'; const FAILURE_INVALID_CURRENCY = 'invalid_currency'; @@ -78,7 +80,7 @@ class Payout extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Payout the canceled payout + * @return \Stripe\Payout the canceled payout */ public function cancel($params = null, $opts = null) { @@ -95,7 +97,7 @@ class Payout extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Payout the reversed payout + * @return \Stripe\Payout the reversed payout */ public function reverse($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Person.php b/vendor/stripe-php-10.5.0/lib/Person.php similarity index 92% rename from vendor/stripe-php-7.72.0/lib/Person.php rename to vendor/stripe-php-10.5.0/lib/Person.php index ad2b46f1..becd5904 100644 --- a/vendor/stripe-php-7.72.0/lib/Person.php +++ b/vendor/stripe-php-10.5.0/lib/Person.php @@ -31,8 +31,11 @@ namespace Stripe; * @property null|string $first_name The person's first name. * @property null|string $first_name_kana The Kana variation of the person's first name (Japan only). * @property null|string $first_name_kanji The Kanji variation of the person's first name (Japan only). + * @property string[] $full_name_aliases A list of alternate names or aliases that the person is known by. + * @property null|\Stripe\StripeObject $future_requirements Information about the upcoming new requirements for this person, including what information needs to be collected, and by when. * @property null|string $gender The person's gender (International regulations require either "male" or "female"). * @property bool $id_number_provided Whether the person's id_number was provided. + * @property bool $id_number_secondary_provided Whether the person's id_number_secondary was provided. * @property null|string $last_name The person's last name. * @property null|string $last_name_kana The Kana variation of the person's last name (Japan only). * @property null|string $last_name_kanji The Kanji variation of the person's last name (Japan only). @@ -41,6 +44,7 @@ namespace Stripe; * @property null|string $nationality The country where the person is a national. * @property null|string $phone The person's phone number. * @property string $political_exposure Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. + * @property \Stripe\StripeObject $registered_address * @property \Stripe\StripeObject $relationship * @property null|\Stripe\StripeObject $requirements Information about the requirements for this person, including what information needs to be collected, and by when. * @property bool $ssn_last_4_provided Whether the last four digits of the person's Social Security number have been provided (U.S. only). diff --git a/vendor/stripe-php-7.72.0/lib/Plan.php b/vendor/stripe-php-10.5.0/lib/Plan.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Plan.php rename to vendor/stripe-php-10.5.0/lib/Plan.php index bff735d7..c3621fa6 100644 --- a/vendor/stripe-php-7.72.0/lib/Plan.php +++ b/vendor/stripe-php-10.5.0/lib/Plan.php @@ -22,14 +22,14 @@ namespace Stripe; * Related guides: Set up * a subscription and more about products and prices. + * href="https://stripe.com/docs/products-prices/overview">products and prices. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property bool $active Whether the plan can be used for new purchases. * @property null|string $aggregate_usage Specifies a usage aggregation strategy for plans of usage_type=metered. Allowed values are sum for summing up all usage during a period, last_during_period for using the last usage record reported within a period, last_ever for using the last usage record ever (across period bounds) or max which uses the usage record with the maximum reported usage during a period. Defaults to sum. - * @property null|int $amount The unit amount in %s to be charged, represented as a whole integer if possible. - * @property null|string $amount_decimal The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. + * @property null|int $amount The unit amount in %s to be charged, represented as a whole integer if possible. Only set if billing_scheme=per_unit. + * @property null|string $amount_decimal The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. Only set if billing_scheme=per_unit. * @property string $billing_scheme Describes how to compute the price per period. Either per_unit or tiered. per_unit indicates that the fixed amount (specified in amount) will be charged per unit in quantity (for plans with usage_type=licensed), or per unit of total usage (for plans with usage_type=metered). tiered indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiers_mode attributes. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. diff --git a/vendor/stripe-php-7.72.0/lib/Price.php b/vendor/stripe-php-10.5.0/lib/Price.php similarity index 70% rename from vendor/stripe-php-7.72.0/lib/Price.php rename to vendor/stripe-php-10.5.0/lib/Price.php index 9d3c5540..defb37d5 100644 --- a/vendor/stripe-php-7.72.0/lib/Price.php +++ b/vendor/stripe-php-10.5.0/lib/Price.php @@ -20,8 +20,8 @@ namespace Stripe; * href="https://stripe.com/docs/billing/subscriptions/set-up-subscription">Set up * a subscription, create an invoice, - * and more about products - * and prices. + * and more about products and prices. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. @@ -29,18 +29,21 @@ namespace Stripe; * @property string $billing_scheme Describes how to compute the price per period. Either per_unit or tiered. per_unit indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity (for prices with usage_type=licensed), or per unit of total usage (for prices with usage_type=metered). tiered indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiers_mode attributes. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property \Stripe\StripeObject $currency_options Prices defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency. + * @property null|\Stripe\StripeObject $custom_unit_amount When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|string $lookup_key A lookup key used to retrieve prices dynamically from a static string. + * @property null|string $lookup_key A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|string $nickname A brief description of the plan, hidden from customers. + * @property null|string $nickname A brief description of the price, hidden from customers. * @property string|\Stripe\Product $product The ID of the product this price is associated with. * @property null|\Stripe\StripeObject $recurring The recurring components of a price such as interval and usage_type. + * @property null|string $tax_behavior Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. Once specified as either inclusive or exclusive, it cannot be changed. * @property \Stripe\StripeObject[] $tiers Each element represents a pricing tier. This parameter requires billing_scheme to be set to tiered. See also the documentation for billing_scheme. * @property null|string $tiers_mode Defines if the tiering price should be graduated or volume based. In volume-based tiering, the maximum quantity within a period determines the per unit price. In graduated tiering, pricing can change as the quantity grows. * @property null|\Stripe\StripeObject $transform_quantity Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with tiers. * @property string $type One of one_time or recurring depending on whether the price is for a one-time purchase or a recurring (subscription) purchase. - * @property null|int $unit_amount The unit amount in %s to be charged, represented as a whole integer if possible. - * @property null|string $unit_amount_decimal The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. + * @property null|int $unit_amount The unit amount in %s to be charged, represented as a whole integer if possible. Only set if billing_scheme=per_unit. + * @property null|string $unit_amount_decimal The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. Only set if billing_scheme=per_unit. */ class Price extends ApiResource { @@ -49,14 +52,34 @@ class Price extends ApiResource use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const BILLING_SCHEME_PER_UNIT = 'per_unit'; const BILLING_SCHEME_TIERED = 'tiered'; + const TAX_BEHAVIOR_EXCLUSIVE = 'exclusive'; + const TAX_BEHAVIOR_INCLUSIVE = 'inclusive'; + const TAX_BEHAVIOR_UNSPECIFIED = 'unspecified'; + const TIERS_MODE_GRADUATED = 'graduated'; const TIERS_MODE_VOLUME = 'volume'; const TYPE_ONE_TIME = 'one_time'; const TYPE_RECURRING = 'recurring'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the price search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/prices/search'; + + return self::_searchResource($url, $params, $opts); + } } diff --git a/vendor/stripe-php-7.72.0/lib/Product.php b/vendor/stripe-php-10.5.0/lib/Product.php similarity index 68% rename from vendor/stripe-php-7.72.0/lib/Product.php rename to vendor/stripe-php-10.5.0/lib/Product.php index 5afe1f13..cd135b77 100644 --- a/vendor/stripe-php-7.72.0/lib/Product.php +++ b/vendor/stripe-php-10.5.0/lib/Product.php @@ -9,14 +9,16 @@ namespace Stripe; * For example, you might offer a Standard and Premium version of your goods or * service; each version would be a separate Product. They can be used in * conjunction with Prices to - * configure pricing in Checkout and Subscriptions. + * configure pricing in Payment Links, Checkout, and Subscriptions. * * Related guides: Set up - * a subscription or accept one-time - * payments with Checkout and more about Products and Prices + * a subscription, share a Payment + * Link, accept + * payments with Checkout, and more about Products and Prices * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. @@ -25,18 +27,20 @@ namespace Stripe; * @property null|string $caption A short one-line description of the product, meant to be displayable to the customer. Only applicable to products of type=good. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string[] $deactivate_on An array of connect application identifiers that cannot purchase this product. Only applicable to products of type=good. + * @property null|string|\Stripe\Price $default_price The ID of the Price object that is the default price for this product. * @property null|string $description The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. * @property string[] $images A list of up to 8 URLs of images for this product, meant to be displayable to the customer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $name The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - * @property null|\Stripe\StripeObject $package_dimensions The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own package_dimensions. Only applicable to products of type=good. - * @property null|bool $shippable Whether this product is a shipped good. Only applicable to products of type=good. + * @property string $name The product's name, meant to be displayable to the customer. + * @property null|\Stripe\StripeObject $package_dimensions The dimensions of this product for shipping purposes. + * @property null|bool $shippable Whether this product is shipped (i.e., physical goods). * @property null|string $statement_descriptor Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. + * @property null|string|\Stripe\TaxCode $tax_code A tax code ID. * @property string $type The type of the product. The product is either of type good, which is eligible for use with Orders and SKUs, or service, which is eligible for use with Subscriptions and Plans. - * @property null|string $unit_label A label that represents units of this product in Stripe and on customers’ receipts and invoices. When set, this will be included in associated invoice line item descriptions. + * @property null|string $unit_label A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal. * @property int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch. - * @property null|string $url A URL of a publicly-accessible webpage for this product. Only applicable to products of type=good. + * @property null|string $url A URL of a publicly-accessible webpage for this product. */ class Product extends ApiResource { @@ -46,8 +50,24 @@ class Product extends ApiResource use ApiOperations\Create; use ApiOperations\Delete; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const TYPE_GOOD = 'good'; const TYPE_SERVICE = 'service'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the product search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/products/search'; + + return self::_searchResource($url, $params, $opts); + } } diff --git a/vendor/stripe-php-7.72.0/lib/PromotionCode.php b/vendor/stripe-php-10.5.0/lib/PromotionCode.php similarity index 77% rename from vendor/stripe-php-7.72.0/lib/PromotionCode.php rename to vendor/stripe-php-10.5.0/lib/PromotionCode.php index f4bb0f4f..7eb0c407 100644 --- a/vendor/stripe-php-7.72.0/lib/PromotionCode.php +++ b/vendor/stripe-php-10.5.0/lib/PromotionCode.php @@ -5,14 +5,15 @@ namespace Stripe; /** - * A Promotion Code represents a customer-redeemable code for a coupon. It can be - * used to create multiple codes for a single coupon. + * A Promotion Code represents a customer-redeemable code for a coupon. It can be used to create + * multiple codes for a single coupon. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property bool $active Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid. * @property string $code The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. - * @property \Stripe\Coupon $coupon A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to invoices or orders. Coupons do not work with conventional one-off charges. + * @property \Stripe\Coupon $coupon A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with conventional one-off charges or payment intents. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer The customer that this promotion code can be used by. * @property null|int $expires_at Date at which the promotion code can no longer be redeemed. diff --git a/vendor/stripe-php-10.5.0/lib/Quote.php b/vendor/stripe-php-10.5.0/lib/Quote.php new file mode 100644 index 00000000..7e564e8b --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Quote.php @@ -0,0 +1,171 @@ +charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as active. Defaults to charge_automatically. + * @property \Stripe\StripeObject $computed + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property null|string|\Stripe\Customer $customer The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. + * @property (string|\Stripe\TaxRate)[] $default_tax_rates The tax rates applied to this quote. + * @property null|string $description A description that will be displayed on the quote PDF. + * @property (string|\Stripe\Discount)[] $discounts The discounts applied to this quote. + * @property int $expires_at The date on which the quote will be canceled if in open or draft status. Measured in seconds since the Unix epoch. + * @property null|string $footer A footer that will be displayed on the quote PDF. + * @property null|\Stripe\StripeObject $from_quote Details of the quote that was cloned. See the cloning documentation for more details. + * @property null|string $header A header that will be displayed on the quote PDF. + * @property null|string|\Stripe\Invoice $invoice The invoice that was created from this quote. + * @property null|\Stripe\StripeObject $invoice_settings All invoices will be billed using the specified settings. + * @property \Stripe\Collection<\Stripe\LineItem> $line_items A list of items the customer is being quoted for. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|string $number A unique number that identifies this particular quote. This number is assigned once the quote is finalized. + * @property null|string|\Stripe\Account $on_behalf_of The account on behalf of which to charge. See the Connect documentation for details. + * @property string $status The status of the quote. + * @property \Stripe\StripeObject $status_transitions + * @property null|string|\Stripe\Subscription $subscription The subscription that was created or updated from this quote. + * @property \Stripe\StripeObject $subscription_data + * @property null|string|\Stripe\SubscriptionSchedule $subscription_schedule The subscription schedule that was created or updated from this quote. + * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this quote belongs to. + * @property \Stripe\StripeObject $total_details + * @property null|\Stripe\StripeObject $transfer_data The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices. + */ +class Quote extends ApiResource +{ + const OBJECT_NAME = 'quote'; + + use ApiOperations\All; + use ApiOperations\Create; + use ApiOperations\Retrieve; + use ApiOperations\Update; + + const COLLECTION_METHOD_CHARGE_AUTOMATICALLY = 'charge_automatically'; + const COLLECTION_METHOD_SEND_INVOICE = 'send_invoice'; + + const STATUS_ACCEPTED = 'accepted'; + const STATUS_CANCELED = 'canceled'; + const STATUS_DRAFT = 'draft'; + const STATUS_OPEN = 'open'; + + /** + * @param callable $readBodyChunkCallable + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + */ + public function pdf($readBodyChunkCallable, $params = null, $opts = null) + { + $opts = \Stripe\Util\RequestOptions::parse($opts); + if (null === $opts->apiBase) { + $opts->apiBase = Stripe::$apiUploadBase; + } + + $url = $this->instanceUrl() . '/pdf'; + $this->_requestStream('get', $url, $readBodyChunkCallable, $params, $opts); + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote the accepted quote + */ + public function accept($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/accept'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote the canceled quote + */ + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote the finalized quote + */ + public function finalizeQuote($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/finalize'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> list of LineItems + */ + public static function allComputedUpfrontLineItems($id, $params = null, $opts = null) + { + $url = static::resourceUrl($id) . '/computed_upfront_line_items'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param string $id + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> list of LineItems + */ + public static function allLineItems($id, $params = null, $opts = null) + { + $url = static::resourceUrl($id) . '/line_items'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Radar/EarlyFraudWarning.php b/vendor/stripe-php-10.5.0/lib/Radar/EarlyFraudWarning.php similarity index 93% rename from vendor/stripe-php-7.72.0/lib/Radar/EarlyFraudWarning.php rename to vendor/stripe-php-10.5.0/lib/Radar/EarlyFraudWarning.php index eb1b351c..2dfd2aca 100644 --- a/vendor/stripe-php-7.72.0/lib/Radar/EarlyFraudWarning.php +++ b/vendor/stripe-php-10.5.0/lib/Radar/EarlyFraudWarning.php @@ -19,6 +19,7 @@ namespace Stripe\Radar; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $fraud_type The type of fraud labelled by the issuer. One of card_never_received, fraudulent_card_application, made_with_counterfeit_card, made_with_lost_card, made_with_stolen_card, misc, unauthorized_use_of_card. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string|\Stripe\PaymentIntent $payment_intent ID of the Payment Intent this early fraud warning is for, optionally expanded. */ class EarlyFraudWarning extends \Stripe\ApiResource { diff --git a/vendor/stripe-php-7.72.0/lib/Radar/ValueList.php b/vendor/stripe-php-10.5.0/lib/Radar/ValueList.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Radar/ValueList.php rename to vendor/stripe-php-10.5.0/lib/Radar/ValueList.php index bcbef74c..8cd62236 100644 --- a/vendor/stripe-php-7.72.0/lib/Radar/ValueList.php +++ b/vendor/stripe-php-10.5.0/lib/Radar/ValueList.php @@ -17,8 +17,8 @@ namespace Stripe\Radar; * @property string $alias The name of the value list for use in rules. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $created_by The name or email address of the user who created this value list. - * @property string $item_type The type of items in the value list. One of card_fingerprint, card_bin, email, ip_address, country, string, or case_sensitive_string. - * @property \Stripe\Collection $list_items List of items contained within this value list. + * @property string $item_type The type of items in the value list. One of card_fingerprint, card_bin, email, ip_address, country, string, case_sensitive_string, or customer_id. + * @property \Stripe\Collection<\Stripe\Radar\ValueListItem> $list_items List of items contained within this value list. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $name The name of the value list. diff --git a/vendor/stripe-php-7.72.0/lib/Radar/ValueListItem.php b/vendor/stripe-php-10.5.0/lib/Radar/ValueListItem.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Radar/ValueListItem.php rename to vendor/stripe-php-10.5.0/lib/Radar/ValueListItem.php diff --git a/vendor/stripe-php-7.72.0/lib/RecipientTransfer.php b/vendor/stripe-php-10.5.0/lib/RecipientTransfer.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/RecipientTransfer.php rename to vendor/stripe-php-10.5.0/lib/RecipientTransfer.php diff --git a/vendor/stripe-php-7.72.0/lib/Refund.php b/vendor/stripe-php-10.5.0/lib/Refund.php similarity index 79% rename from vendor/stripe-php-7.72.0/lib/Refund.php rename to vendor/stripe-php-10.5.0/lib/Refund.php index f5e975fd..0ddabfc4 100644 --- a/vendor/stripe-php-7.72.0/lib/Refund.php +++ b/vendor/stripe-php-10.5.0/lib/Refund.php @@ -21,12 +21,14 @@ namespace Stripe; * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only) * @property string|\Stripe\BalanceTransaction $failure_balance_transaction If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. * @property string $failure_reason If the refund failed, the reason for refund failure if known. Possible values are lost_or_stolen_card, expired_or_canceled_card, or unknown. + * @property string $instructions_email Email to which refund instructions, if required, are sent to. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property \Stripe\StripeObject $next_action * @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent that was refunded. * @property null|string $reason Reason for the refund, either user-provided (duplicate, fraudulent, or requested_by_customer) or generated by Stripe internally (expired_uncaptured_charge). * @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this refund. * @property null|string|\Stripe\TransferReversal $source_transfer_reversal The transfer reversal that is associated with the refund. Only present if the charge came from another Stripe account. See the Connect documentation for details. - * @property null|string $status Status of the refund. For credit card refunds, this can be pending, succeeded, or failed. For other types of refunds, it can be pending, succeeded, failed, or canceled. Refer to our refunds documentation for more details. + * @property null|string $status Status of the refund. For credit card refunds, this can be pending, succeeded, or failed. For other types of refunds, it can be pending, requires_action, succeeded, failed, or canceled. Refer to our refunds documentation for more details. * @property null|string|\Stripe\TransferReversal $transfer_reversal If the accompanying transfer was reversed, the transfer reversal object. Only applicable if the charge was created using the destination parameter. */ class Refund extends ApiResource @@ -43,16 +45,30 @@ class Refund extends ApiResource const FAILURE_REASON_UNKNOWN = 'unknown'; const REASON_DUPLICATE = 'duplicate'; + const REASON_EXPIRED_UNCAPTURED_CHARGE = 'expired_uncaptured_charge'; const REASON_FRAUDULENT = 'fraudulent'; const REASON_REQUESTED_BY_CUSTOMER = 'requested_by_customer'; const STATUS_CANCELED = 'canceled'; const STATUS_FAILED = 'failed'; const STATUS_PENDING = 'pending'; + const STATUS_REQUIRES_ACTION = 'requires_action'; const STATUS_SUCCEEDED = 'succeeded'; /** - * @deprecated use FAILURE_REASON_EXPIRED_OR_CANCELED_CARD instead + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Refund the canceled refund */ - const FAILURE_REASON = 'expired_or_canceled_card'; + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } } diff --git a/vendor/stripe-php-7.72.0/lib/Reporting/ReportRun.php b/vendor/stripe-php-10.5.0/lib/Reporting/ReportRun.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Reporting/ReportRun.php rename to vendor/stripe-php-10.5.0/lib/Reporting/ReportRun.php index 458cbed6..7c3d2a99 100644 --- a/vendor/stripe-php-7.72.0/lib/Reporting/ReportRun.php +++ b/vendor/stripe-php-10.5.0/lib/Reporting/ReportRun.php @@ -12,15 +12,15 @@ namespace Stripe\Reporting; * href="https://stripe.com/docs/reporting/statements/api">API Access to * Reports. * - * Note that reports can only be run based on your live-mode data (not test-mode - * data), and thus related requests must be made with a live-mode API key. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $error If something should go wrong during the run, a message about the failure (populated when status=failed). - * @property bool $livemode Always true: reports can only be run on live-mode data. + * @property bool $livemode true if the report is run on live mode data and false if it is run on test mode data. * @property \Stripe\StripeObject $parameters * @property string $report_type The ID of the report type to run, such as "balance.summary.1". * @property null|\Stripe\File $result The file object representing the result of the report run (populated when status=succeeded). diff --git a/vendor/stripe-php-7.72.0/lib/Reporting/ReportType.php b/vendor/stripe-php-10.5.0/lib/Reporting/ReportType.php similarity index 86% rename from vendor/stripe-php-7.72.0/lib/Reporting/ReportType.php rename to vendor/stripe-php-10.5.0/lib/Reporting/ReportType.php index cf753012..4725656e 100644 --- a/vendor/stripe-php-7.72.0/lib/Reporting/ReportType.php +++ b/vendor/stripe-php-10.5.0/lib/Reporting/ReportType.php @@ -12,8 +12,8 @@ namespace Stripe\Reporting; * documentation for those Report Type IDs, along with required and optional * parameters. * - * Note that reports can only be run based on your live-mode data (not test-mode - * data), and thus related requests must be made with a live-mode API key. * * @property string $id The ID of the Report Type, such as balance.summary.1. @@ -21,6 +21,7 @@ namespace Stripe\Reporting; * @property int $data_available_end Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch. * @property int $data_available_start Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch. * @property null|string[] $default_columns List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the columns parameter, this will be null.) + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property string $name Human-readable name of the Report Type * @property int $updated When this Report Type was latest updated. Measured in seconds since the Unix epoch. * @property int $version Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas. diff --git a/vendor/stripe-php-7.72.0/lib/RequestTelemetry.php b/vendor/stripe-php-10.5.0/lib/RequestTelemetry.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/RequestTelemetry.php rename to vendor/stripe-php-10.5.0/lib/RequestTelemetry.php diff --git a/vendor/stripe-php-7.72.0/lib/Review.php b/vendor/stripe-php-10.5.0/lib/Review.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Review.php rename to vendor/stripe-php-10.5.0/lib/Review.php index 606b4105..af8f3985 100644 --- a/vendor/stripe-php-7.72.0/lib/Review.php +++ b/vendor/stripe-php-10.5.0/lib/Review.php @@ -15,7 +15,7 @@ namespace Stripe; * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string $billing_zip The ZIP or postal code of the card used, if applicable. * @property null|string|\Stripe\Charge $charge The charge associated with this review. - * @property null|string $closed_reason The reason the review was closed, or null if it has not yet been closed. One of approved, refunded, refunded_as_fraud, or disputed. + * @property null|string $closed_reason The reason the review was closed, or null if it has not yet been closed. One of approved, refunded, refunded_as_fraud, disputed, or redacted. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $ip_address The IP address where the payment originated. * @property null|\Stripe\StripeObject $ip_address_location Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address. @@ -23,7 +23,7 @@ namespace Stripe; * @property bool $open If true, the review needs action. * @property string $opened_reason The reason the review was opened. One of rule or manual. * @property string|\Stripe\PaymentIntent $payment_intent The PaymentIntent ID associated with this review, if one exists. - * @property string $reason The reason the review is currently open or closed. One of rule, manual, approved, refunded, refunded_as_fraud, or disputed. + * @property string $reason The reason the review is currently open or closed. One of rule, manual, approved, refunded, refunded_as_fraud, disputed, or redacted. * @property null|\Stripe\StripeObject $session Information related to the browsing session of the user who initiated the payment. */ class Review extends ApiResource @@ -53,7 +53,7 @@ class Review extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Review the approved review + * @return \Stripe\Review the approved review */ public function approve($params = null, $opts = null) { diff --git a/vendor/stripe-php-10.5.0/lib/SearchResult.php b/vendor/stripe-php-10.5.0/lib/SearchResult.php new file mode 100644 index 00000000..b6005314 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/SearchResult.php @@ -0,0 +1,237 @@ +Collection in that they both wrap + * around a list of objects and provide pagination. However the + * SearchResult object paginates by relying on a + * next_page token included in the response rather than using + * object IDs and a starting_before/ending_after + * parameter. Thus, SearchResult only supports forwards pagination. + * + * The {@see $total_count} property is only available when + * the `expand` parameter contains `total_count`. + * + * @template TStripeObject of StripeObject + * @template-implements \IteratorAggregate + * + * @property string $object + * @property string $url + * @property string $next_page + * @property int $total_count + * @property bool $has_more + * @property TStripeObject[] $data + */ +class SearchResult extends StripeObject implements \Countable, \IteratorAggregate +{ + const OBJECT_NAME = 'search_result'; + + use ApiOperations\Request; + + /** @var array */ + protected $filters = []; + + /** + * @return string the base URL for the given class + */ + public static function baseUrl() + { + return Stripe::$apiBase; + } + + /** + * Returns the filters. + * + * @return array the filters + */ + public function getFilters() + { + return $this->filters; + } + + /** + * Sets the filters, removing paging options. + * + * @param array $filters the filters + */ + public function setFilters($filters) + { + $this->filters = $filters; + } + + /** + * @return mixed + */ + #[\ReturnTypeWillChange] + public function offsetGet($k) + { + if (\is_string($k)) { + return parent::offsetGet($k); + } + $msg = "You tried to access the {$k} index, but SearchResult " . + 'types only support string keys. (HINT: Search calls ' . + 'return an object with a `data` (which is the data ' . + "array). You likely want to call ->data[{$k}])"; + + throw new Exception\InvalidArgumentException($msg); + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws Exception\ApiErrorException + * + * @return SearchResult + */ + public function all($params = null, $opts = null) + { + self::_validateParams($params); + list($url, $params) = $this->extractPathAndUpdateParams($params); + + list($response, $opts) = $this->_request('get', $url, $params, $opts); + $obj = Util\Util::convertToStripeObject($response, $opts); + if (!($obj instanceof \Stripe\SearchResult)) { + throw new \Stripe\Exception\UnexpectedValueException( + 'Expected type ' . \Stripe\SearchResult::class . ', got "' . \get_class($obj) . '" instead.' + ); + } + $obj->setFilters($params); + + return $obj; + } + + /** + * @return int the number of objects in the current page + */ + #[\ReturnTypeWillChange] + public function count() + { + return \count($this->data); + } + + /** + * @return \ArrayIterator an iterator that can be used to iterate + * across objects in the current page + */ + #[\ReturnTypeWillChange] + public function getIterator() + { + return new \ArrayIterator($this->data); + } + + /** + * @return \Generator|TStripeObject[] A generator that can be used to + * iterate across all objects across all pages. As page boundaries are + * encountered, the next page will be fetched automatically for + * continued iteration. + */ + public function autoPagingIterator() + { + $page = $this; + + while (true) { + foreach ($page as $item) { + yield $item; + } + $page = $page->nextPage(); + + if ($page->isEmpty()) { + break; + } + } + } + + /** + * Returns an empty set of search results. This is returned from + * {@see nextPage()} when we know that there isn't a next page in order to + * replicate the behavior of the API when it attempts to return a page + * beyond the last. + * + * @param null|array|string $opts + * + * @return SearchResult + */ + public static function emptySearchResult($opts = null) + { + return SearchResult::constructFrom(['data' => []], $opts); + } + + /** + * Returns true if the page object contains no element. + * + * @return bool + */ + public function isEmpty() + { + return empty($this->data); + } + + /** + * Fetches the next page in the resource list (if there is one). + * + * This method will try to respect the limit of the current page. If none + * was given, the default limit will be fetched again. + * + * @param null|array $params + * @param null|array|string $opts + * + * @return SearchResult + */ + public function nextPage($params = null, $opts = null) + { + if (!$this->has_more) { + return static::emptySearchResult($opts); + } + + $params = \array_merge( + $this->filters ?: [], + ['page' => $this->next_page], + $params ?: [] + ); + + return $this->all($params, $opts); + } + + /** + * Gets the first item from the current page. Returns `null` if the current page is empty. + * + * @return null|TStripeObject + */ + public function first() + { + return \count($this->data) > 0 ? $this->data[0] : null; + } + + /** + * Gets the last item from the current page. Returns `null` if the current page is empty. + * + * @return null|TStripeObject + */ + public function last() + { + return \count($this->data) > 0 ? $this->data[\count($this->data) - 1] : null; + } + + private function extractPathAndUpdateParams($params) + { + $url = \parse_url($this->url); + + if (!isset($url['path'])) { + throw new Exception\UnexpectedValueException("Could not parse list url into parts: {$url}"); + } + + if (isset($url['query'])) { + // If the URL contains a query param, parse it out into $params so they + // don't interact weirdly with each other. + $query = []; + \parse_str($url['query'], $query); + $params = \array_merge($params ?: [], $query); + } + + return [$url['path'], $params]; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/AbstractService.php b/vendor/stripe-php-10.5.0/lib/Service/AbstractService.php similarity index 70% rename from vendor/stripe-php-7.72.0/lib/Service/AbstractService.php rename to vendor/stripe-php-10.5.0/lib/Service/AbstractService.php index ed092c8b..145af675 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/AbstractService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/AbstractService.php @@ -12,6 +12,11 @@ abstract class AbstractService */ protected $client; + /** + * @var \Stripe\StripeStreamingClientInterface + */ + protected $streamingClient; + /** * Initializes a new instance of the {@link AbstractService} class. * @@ -20,6 +25,7 @@ abstract class AbstractService public function __construct($client) { $this->client = $client; + $this->streamingClient = $client; } /** @@ -32,6 +38,16 @@ abstract class AbstractService return $this->client; } + /** + * Gets the client used by this service to send requests. + * + * @return \Stripe\StripeStreamingClientInterface + */ + public function getStreamingClient() + { + return $this->streamingClient; + } + /** * Translate null values to empty strings. For service methods, * we interpret null as a request to unset the field, which @@ -59,11 +75,21 @@ abstract class AbstractService return $this->getClient()->request($method, $path, static::formatParams($params), $opts); } + protected function requestStream($method, $path, $readBodyChunkCallable, $params, $opts) + { + return $this->getStreamingClient()->requestStream($method, $path, $readBodyChunkCallable, static::formatParams($params), $opts); + } + protected function requestCollection($method, $path, $params, $opts) { return $this->getClient()->requestCollection($method, $path, static::formatParams($params), $opts); } + protected function requestSearchResult($method, $path, $params, $opts) + { + return $this->getClient()->requestSearchResult($method, $path, static::formatParams($params), $opts); + } + protected function buildPath($basePath, ...$ids) { foreach ($ids as $id) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/AbstractServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/AbstractServiceFactory.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Service/AbstractServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/AbstractServiceFactory.php index 4aca6868..9c04244f 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/AbstractServiceFactory.php +++ b/vendor/stripe-php-10.5.0/lib/Service/AbstractServiceFactory.php @@ -42,6 +42,16 @@ abstract class AbstractServiceFactory * @return null|AbstractService|AbstractServiceFactory */ public function __get($name) + { + return $this->getService($name); + } + + /** + * @param string $name + * + * @return null|AbstractService|AbstractServiceFactory + */ + public function getService($name) { $serviceClass = $this->getServiceClass($name); if (null !== $serviceClass) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/AccountLinkService.php b/vendor/stripe-php-10.5.0/lib/Service/AccountLinkService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/AccountLinkService.php rename to vendor/stripe-php-10.5.0/lib/Service/AccountLinkService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/AccountService.php b/vendor/stripe-php-10.5.0/lib/Service/AccountService.php similarity index 91% rename from vendor/stripe-php-7.72.0/lib/Service/AccountService.php rename to vendor/stripe-php-10.5.0/lib/Service/AccountService.php index c731e475..4ef217d5 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/AccountService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/AccountService.php @@ -15,7 +15,7 @@ class AccountService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Account> */ public function all($params = null, $opts = null) { @@ -33,7 +33,7 @@ class AccountService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Capability> */ public function allCapabilities($parentId, $params = null, $opts = null) { @@ -49,7 +49,7 @@ class AccountService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\BankAccount|\Stripe\Card> */ public function allExternalAccounts($parentId, $params = null, $opts = null) { @@ -67,7 +67,7 @@ class AccountService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Person> */ public function allPersons($parentId, $params = null, $opts = null) { @@ -146,11 +146,12 @@ class AccountService extends \Stripe\Service\AbstractService } /** - * With Connect, you can delete Custom or Express - * accounts you manage. + * With Connect, you can delete accounts you manage. * - * Accounts created using test-mode keys can be deleted at any time. Accounts - * created using live-mode keys can only be deleted once all balances are zero. + * Accounts created using test-mode keys can be deleted at any time. Standard + * accounts created using live-mode keys cannot be deleted. Custom or Express + * accounts created using live-mode keys can only be deleted once all balances are + * zero. * * If you want to delete your own account, use the account information tab in your @@ -278,11 +279,11 @@ class AccountService extends \Stripe\Service\AbstractService } /** - * Updates a connected Express or Custom - * account by setting the values of the parameters passed. Any parameters not - * provided are left unchanged. Most parameters can be changed only for Custom - * accounts. (These are marked Custom Only below.) Parameters - * marked Custom and Express are supported by both account types. + * Updates a connected account by setting the + * values of the parameters passed. Any parameters not provided are left unchanged. + * Most parameters can be changed only for Custom accounts. (These are marked + * Custom Only below.) Parameters marked Custom and + * Express are not supported for Standard accounts. * * To update your own account, use the Dashboard. Refer to our Custom - * account, and optionally sets it as the default for its currency. Other bank - * account details are not editable by design. + * Updates the metadata, account holder name, account holder type of a bank account + * belonging to a Custom account, and + * optionally sets it as the default for its currency. Other bank account details + * are not editable by design. * * You can re-enable a disabled bank account by performing an update call without * providing any arguments or changes. diff --git a/vendor/stripe-php-7.72.0/lib/Service/ApplePayDomainService.php b/vendor/stripe-php-10.5.0/lib/Service/ApplePayDomainService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/ApplePayDomainService.php rename to vendor/stripe-php-10.5.0/lib/Service/ApplePayDomainService.php index 6577b6b6..3a076f47 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ApplePayDomainService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ApplePayDomainService.php @@ -14,7 +14,7 @@ class ApplePayDomainService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\ApplePayDomain> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/ApplicationFeeService.php b/vendor/stripe-php-10.5.0/lib/Service/ApplicationFeeService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/ApplicationFeeService.php rename to vendor/stripe-php-10.5.0/lib/Service/ApplicationFeeService.php index c05c3cd5..138c3794 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ApplicationFeeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ApplicationFeeService.php @@ -15,7 +15,7 @@ class ApplicationFeeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\ApplicationFee> */ public function all($params = null, $opts = null) { @@ -35,7 +35,7 @@ class ApplicationFeeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\ApplicationFeeRefund> */ public function allRefunds($parentId, $params = null, $opts = null) { diff --git a/vendor/stripe-php-10.5.0/lib/Service/Apps/AppsServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Apps/AppsServiceFactory.php new file mode 100644 index 00000000..39f37345 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Apps/AppsServiceFactory.php @@ -0,0 +1,25 @@ + + */ + private static $classMap = [ + 'secrets' => SecretService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Apps/SecretService.php b/vendor/stripe-php-10.5.0/lib/Service/Apps/SecretService.php new file mode 100644 index 00000000..8c9c74b4 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Apps/SecretService.php @@ -0,0 +1,68 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/apps/secrets', $params, $opts); + } + + /** + * Create or replace a secret in the secret store. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Apps\Secret + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/apps/secrets', $params, $opts); + } + + /** + * Deletes a secret from the secret store by name and scope. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Apps\Secret + */ + public function deleteWhere($params = null, $opts = null) + { + return $this->request('post', '/v1/apps/secrets/delete', $params, $opts); + } + + /** + * Finds a secret in the secret store by name and scope. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Apps\Secret + */ + public function find($params = null, $opts = null) + { + return $this->request('get', '/v1/apps/secrets/find', $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/BalanceService.php b/vendor/stripe-php-10.5.0/lib/Service/BalanceService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/BalanceService.php rename to vendor/stripe-php-10.5.0/lib/Service/BalanceService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/BalanceTransactionService.php b/vendor/stripe-php-10.5.0/lib/Service/BalanceTransactionService.php similarity index 96% rename from vendor/stripe-php-7.72.0/lib/Service/BalanceTransactionService.php rename to vendor/stripe-php-10.5.0/lib/Service/BalanceTransactionService.php index fb1da501..9e6d37c0 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/BalanceTransactionService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/BalanceTransactionService.php @@ -19,7 +19,7 @@ class BalanceTransactionService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\BalanceTransaction> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php index 756ae176..23a4d30b 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php +++ b/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/BillingPortalServiceFactory.php @@ -7,6 +7,7 @@ namespace Stripe\Service\BillingPortal; /** * Service factory class for API resources in the BillingPortal namespace. * + * @property ConfigurationService $configurations * @property SessionService $sessions */ class BillingPortalServiceFactory extends \Stripe\Service\AbstractServiceFactory @@ -15,6 +16,7 @@ class BillingPortalServiceFactory extends \Stripe\Service\AbstractServiceFactory * @var array */ private static $classMap = [ + 'configurations' => ConfigurationService::class, 'sessions' => SessionService::class, ]; diff --git a/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/ConfigurationService.php b/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/ConfigurationService.php new file mode 100644 index 00000000..11d1a5a3 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/ConfigurationService.php @@ -0,0 +1,73 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/billing_portal/configurations', $params, $opts); + } + + /** + * Creates a configuration that describes the functionality and behavior of a + * PortalSession. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\BillingPortal\Configuration + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/billing_portal/configurations', $params, $opts); + } + + /** + * Retrieves a configuration that describes the functionality of the customer + * portal. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\BillingPortal\Configuration + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/billing_portal/configurations/%s', $id), $params, $opts); + } + + /** + * Updates a configuration that describes the functionality of the customer portal. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\BillingPortal\Configuration + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/billing_portal/configurations/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/BillingPortal/SessionService.php b/vendor/stripe-php-10.5.0/lib/Service/BillingPortal/SessionService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/BillingPortal/SessionService.php rename to vendor/stripe-php-10.5.0/lib/Service/BillingPortal/SessionService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/ChargeService.php b/vendor/stripe-php-10.5.0/lib/Service/ChargeService.php similarity index 73% rename from vendor/stripe-php-7.72.0/lib/Service/ChargeService.php rename to vendor/stripe-php-10.5.0/lib/Service/ChargeService.php index f5321b8a..0bde0279 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ChargeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ChargeService.php @@ -15,7 +15,7 @@ class ChargeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Charge> */ public function all($params = null, $opts = null) { @@ -27,9 +27,10 @@ class ChargeService extends \Stripe\Service\AbstractService * of the two-step payment flow, where first you created a * charge with the capture option set to false. * - * Uncaptured payments expire exactly seven days after they are created. If they - * are not captured by that point in time, they will be marked as refunded and will - * no longer be capturable. + * Uncaptured payments expire a set number of days after they are created (7 by default). If they are not captured + * by that point in time, they will be marked as refunded and will no longer be + * capturable. * * @param string $id * @param null|array $params @@ -82,6 +83,26 @@ class ChargeService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/charges/%s', $id), $params, $opts); } + /** + * Search for charges you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Charge> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/charges/search', $params, $opts); + } + /** * Updates the specified charge by setting the values of the parameters passed. Any * parameters not provided will be left unchanged. diff --git a/vendor/stripe-php-7.72.0/lib/Service/Checkout/CheckoutServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Checkout/CheckoutServiceFactory.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Checkout/CheckoutServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Checkout/CheckoutServiceFactory.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/Checkout/SessionService.php b/vendor/stripe-php-10.5.0/lib/Service/Checkout/SessionService.php similarity index 67% rename from vendor/stripe-php-7.72.0/lib/Service/Checkout/SessionService.php rename to vendor/stripe-php-10.5.0/lib/Service/Checkout/SessionService.php index 9da37887..2291ccd5 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Checkout/SessionService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Checkout/SessionService.php @@ -14,7 +14,7 @@ class SessionService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Checkout\Session> */ public function all($params = null, $opts = null) { @@ -27,17 +27,17 @@ class SessionService extends \Stripe\Service\AbstractService * items. There is also a URL where you can retrieve the full (paginated) list of * line items. * - * @param string $parentId + * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\LineItem> */ - public function allLineItems($parentId, $params = null, $opts = null) + public function allLineItems($id, $params = null, $opts = null) { - return $this->requestCollection('get', $this->buildPath('/v1/checkout/sessions/%s/line_items', $parentId), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/checkout/sessions/%s/line_items', $id), $params, $opts); } /** @@ -55,6 +55,25 @@ class SessionService extends \Stripe\Service\AbstractService return $this->request('post', '/v1/checkout/sessions', $params, $opts); } + /** + * A Session can be expired when it is in one of these statuses: open. + * + * After it expires, a customer can’t complete a Session and customers loading the + * Session see a message saying the Session is expired. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Checkout\Session + */ + public function expire($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/checkout/sessions/%s/expire', $id), $params, $opts); + } + /** * Retrieves a Session object. * diff --git a/vendor/stripe-php-7.72.0/lib/Service/CoreServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/CoreServiceFactory.php similarity index 83% rename from vendor/stripe-php-7.72.0/lib/Service/CoreServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/CoreServiceFactory.php index e0109591..351f6913 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/CoreServiceFactory.php +++ b/vendor/stripe-php-10.5.0/lib/Service/CoreServiceFactory.php @@ -11,6 +11,7 @@ namespace Stripe\Service; * @property AccountService $accounts * @property ApplePayDomainService $applePayDomains * @property ApplicationFeeService $applicationFees + * @property Apps\AppsServiceFactory $apps * @property BalanceService $balance * @property BalanceTransactionService $balanceTransactions * @property BillingPortal\BillingPortalServiceFactory $billingPortal @@ -26,37 +27,42 @@ namespace Stripe\Service; * @property ExchangeRateService $exchangeRates * @property FileLinkService $fileLinks * @property FileService $files + * @property FinancialConnections\FinancialConnectionsServiceFactory $financialConnections + * @property Identity\IdentityServiceFactory $identity * @property InvoiceItemService $invoiceItems * @property InvoiceService $invoices * @property Issuing\IssuingServiceFactory $issuing * @property MandateService $mandates * @property OAuthService $oauth - * @property OrderReturnService $orderReturns - * @property OrderService $orders * @property PaymentIntentService $paymentIntents + * @property PaymentLinkService $paymentLinks * @property PaymentMethodService $paymentMethods * @property PayoutService $payouts * @property PlanService $plans * @property PriceService $prices * @property ProductService $products * @property PromotionCodeService $promotionCodes + * @property QuoteService $quotes * @property Radar\RadarServiceFactory $radar * @property RefundService $refunds * @property Reporting\ReportingServiceFactory $reporting * @property ReviewService $reviews * @property SetupAttemptService $setupAttempts * @property SetupIntentService $setupIntents + * @property ShippingRateService $shippingRates * @property Sigma\SigmaServiceFactory $sigma - * @property SkuService $skus * @property SourceService $sources * @property SubscriptionItemService $subscriptionItems * @property SubscriptionService $subscriptions * @property SubscriptionScheduleService $subscriptionSchedules + * @property TaxCodeService $taxCodes * @property TaxRateService $taxRates * @property Terminal\TerminalServiceFactory $terminal + * @property TestHelpers\TestHelpersServiceFactory $testHelpers * @property TokenService $tokens * @property TopupService $topups * @property TransferService $transfers + * @property Treasury\TreasuryServiceFactory $treasury * @property WebhookEndpointService $webhookEndpoints */ class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory @@ -69,6 +75,7 @@ class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory 'accounts' => AccountService::class, 'applePayDomains' => ApplePayDomainService::class, 'applicationFees' => ApplicationFeeService::class, + 'apps' => Apps\AppsServiceFactory::class, 'balance' => BalanceService::class, 'balanceTransactions' => BalanceTransactionService::class, 'billingPortal' => BillingPortal\BillingPortalServiceFactory::class, @@ -84,37 +91,42 @@ class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory 'exchangeRates' => ExchangeRateService::class, 'fileLinks' => FileLinkService::class, 'files' => FileService::class, + 'financialConnections' => FinancialConnections\FinancialConnectionsServiceFactory::class, + 'identity' => Identity\IdentityServiceFactory::class, 'invoiceItems' => InvoiceItemService::class, 'invoices' => InvoiceService::class, 'issuing' => Issuing\IssuingServiceFactory::class, 'mandates' => MandateService::class, 'oauth' => OAuthService::class, - 'orderReturns' => OrderReturnService::class, - 'orders' => OrderService::class, 'paymentIntents' => PaymentIntentService::class, + 'paymentLinks' => PaymentLinkService::class, 'paymentMethods' => PaymentMethodService::class, 'payouts' => PayoutService::class, 'plans' => PlanService::class, 'prices' => PriceService::class, 'products' => ProductService::class, 'promotionCodes' => PromotionCodeService::class, + 'quotes' => QuoteService::class, 'radar' => Radar\RadarServiceFactory::class, 'refunds' => RefundService::class, 'reporting' => Reporting\ReportingServiceFactory::class, 'reviews' => ReviewService::class, 'setupAttempts' => SetupAttemptService::class, 'setupIntents' => SetupIntentService::class, + 'shippingRates' => ShippingRateService::class, 'sigma' => Sigma\SigmaServiceFactory::class, - 'skus' => SkuService::class, 'sources' => SourceService::class, 'subscriptionItems' => SubscriptionItemService::class, 'subscriptions' => SubscriptionService::class, 'subscriptionSchedules' => SubscriptionScheduleService::class, + 'taxCodes' => TaxCodeService::class, 'taxRates' => TaxRateService::class, 'terminal' => Terminal\TerminalServiceFactory::class, + 'testHelpers' => TestHelpers\TestHelpersServiceFactory::class, 'tokens' => TokenService::class, 'topups' => TopupService::class, 'transfers' => TransferService::class, + 'treasury' => Treasury\TreasuryServiceFactory::class, 'webhookEndpoints' => WebhookEndpointService::class, ]; diff --git a/vendor/stripe-php-7.72.0/lib/Service/CountrySpecService.php b/vendor/stripe-php-10.5.0/lib/Service/CountrySpecService.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Service/CountrySpecService.php rename to vendor/stripe-php-10.5.0/lib/Service/CountrySpecService.php index 573444fd..8f3869fe 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/CountrySpecService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/CountrySpecService.php @@ -14,7 +14,7 @@ class CountrySpecService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\CountrySpec> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/CouponService.php b/vendor/stripe-php-10.5.0/lib/Service/CouponService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/CouponService.php rename to vendor/stripe-php-10.5.0/lib/Service/CouponService.php index 82a880f5..89eb2c7d 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/CouponService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/CouponService.php @@ -14,7 +14,7 @@ class CouponService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Coupon> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/CreditNoteService.php b/vendor/stripe-php-10.5.0/lib/Service/CreditNoteService.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Service/CreditNoteService.php rename to vendor/stripe-php-10.5.0/lib/Service/CreditNoteService.php index 39807dc1..a00f010a 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/CreditNoteService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/CreditNoteService.php @@ -14,7 +14,7 @@ class CreditNoteService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\CreditNote> */ public function all($params = null, $opts = null) { @@ -32,7 +32,7 @@ class CreditNoteService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\CreditNoteLineItem> */ public function allLines($parentId, $params = null, $opts = null) { @@ -98,11 +98,11 @@ class CreditNoteService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\CreditNote + * @return \Stripe\Collection<\Stripe\CreditNoteLineItem> */ public function previewLines($params = null, $opts = null) { - return $this->request('get', '/v1/credit_notes/preview/lines', $params, $opts); + return $this->requestCollection('get', '/v1/credit_notes/preview/lines', $params, $opts); } /** diff --git a/vendor/stripe-php-7.72.0/lib/Service/CustomerService.php b/vendor/stripe-php-10.5.0/lib/Service/CustomerService.php similarity index 66% rename from vendor/stripe-php-7.72.0/lib/Service/CustomerService.php rename to vendor/stripe-php-10.5.0/lib/Service/CustomerService.php index fdc6a596..5cb7910a 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/CustomerService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/CustomerService.php @@ -15,7 +15,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Customer> */ public function all($params = null, $opts = null) { @@ -32,13 +32,46 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\CustomerBalanceTransaction> */ public function allBalanceTransactions($parentId, $params = null, $opts = null) { return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/balance_transactions', $parentId), $params, $opts); } + /** + * Returns a list of transactions that modified the customer’s cash balance. + * + * @param string $parentId + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\CustomerCashBalanceTransaction> + */ + public function allCashBalanceTransactions($parentId, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/cash_balance_transactions', $parentId), $params, $opts); + } + + /** + * Returns a list of PaymentMethods for a given Customer. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\PaymentMethod> + */ + public function allPaymentMethods($id, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/customers/%s/payment_methods', $id), $params, $opts); + } + /** * List sources for a specified customer. * @@ -48,7 +81,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\BankAccount|\Stripe\Card|\Stripe\Source> */ public function allSources($parentId, $params = null, $opts = null) { @@ -64,7 +97,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\TaxId> */ public function allTaxIds($parentId, $params = null, $opts = null) { @@ -103,6 +136,26 @@ class CustomerService extends \Stripe\Service\AbstractService return $this->request('post', $this->buildPath('/v1/customers/%s/balance_transactions', $parentId), $params, $opts); } + /** + * Retrieve funding instructions for a customer cash balance. If funding + * instructions do not yet exist for the customer, new funding instructions will be + * created. If funding instructions have already been created for a given customer, + * the same funding instructions will be retrieved. In other words, we will return + * the same funding instructions each time. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Customer + */ + public function createFundingInstructions($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/customers/%s/funding_instructions', $id), $params, $opts); + } + /** * When you create a new credit card, you must specify a customer or recipient on * which to create it. @@ -118,7 +171,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public function createSource($parentId, $params = null, $opts = null) { @@ -182,7 +235,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public function deleteSource($parentId, $id, $params = null, $opts = null) { @@ -207,8 +260,7 @@ class CustomerService extends \Stripe\Service\AbstractService } /** - * Retrieves the details of an existing customer. You need only supply the unique - * customer identifier that was returned upon customer creation. + * Retrieves a Customer object. * * @param string $id * @param null|array $params @@ -241,6 +293,57 @@ class CustomerService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/customers/%s/balance_transactions/%s', $parentId, $id), $params, $opts); } + /** + * Retrieves a customer’s cash balance. + * + * @param string $parentId + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CashBalance + */ + public function retrieveCashBalance($parentId, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/customers/%s/cash_balance', $parentId), $params, $opts); + } + + /** + * Retrieves a specific cash balance transaction, which updated the customer’s cash balance. + * + * @param string $parentId + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CustomerCashBalanceTransaction + */ + public function retrieveCashBalanceTransaction($parentId, $id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/customers/%s/cash_balance_transactions/%s', $parentId, $id), $params, $opts); + } + + /** + * Retrieves a PaymentMethod object for a given Customer. + * + * @param string $parentId + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Customer + */ + public function retrievePaymentMethod($parentId, $id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/customers/%s/payment_methods/%s', $parentId, $id), $params, $opts); + } + /** * Retrieve a specified source for a given customer. * @@ -251,7 +354,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public function retrieveSource($parentId, $id, $params = null, $opts = null) { @@ -275,6 +378,26 @@ class CustomerService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/customers/%s/tax_ids/%s', $parentId, $id), $params, $opts); } + /** + * Search for customers you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Customer> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/customers/search', $params, $opts); + } + /** * Updates the specified customer by setting the values of the parameters passed. * Any parameters not provided will be left unchanged. For example, if you pass the @@ -321,6 +444,22 @@ class CustomerService extends \Stripe\Service\AbstractService return $this->request('post', $this->buildPath('/v1/customers/%s/balance_transactions/%s', $parentId, $id), $params, $opts); } + /** + * Changes the settings on a customer’s cash balance. + * + * @param string $parentId + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\CashBalance + */ + public function updateCashBalance($parentId, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/customers/%s/cash_balance', $parentId), $params, $opts); + } + /** * @param string $parentId * @param string $id @@ -329,7 +468,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public function updateSource($parentId, $id, $params = null, $opts = null) { @@ -344,7 +483,7 @@ class CustomerService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source + * @return \Stripe\BankAccount|\Stripe\Card|\Stripe\Source */ public function verifySource($parentId, $id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/DisputeService.php b/vendor/stripe-php-10.5.0/lib/Service/DisputeService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/DisputeService.php rename to vendor/stripe-php-10.5.0/lib/Service/DisputeService.php index 4eb1542b..86d3584a 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/DisputeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/DisputeService.php @@ -14,7 +14,7 @@ class DisputeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Dispute> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/EphemeralKeyService.php b/vendor/stripe-php-10.5.0/lib/Service/EphemeralKeyService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/EphemeralKeyService.php rename to vendor/stripe-php-10.5.0/lib/Service/EphemeralKeyService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/EventService.php b/vendor/stripe-php-10.5.0/lib/Service/EventService.php similarity index 96% rename from vendor/stripe-php-7.72.0/lib/Service/EventService.php rename to vendor/stripe-php-10.5.0/lib/Service/EventService.php index 430b35ab..9e779dd9 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/EventService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/EventService.php @@ -18,7 +18,7 @@ class EventService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Event> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/ExchangeRateService.php b/vendor/stripe-php-10.5.0/lib/Service/ExchangeRateService.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Service/ExchangeRateService.php rename to vendor/stripe-php-10.5.0/lib/Service/ExchangeRateService.php index fc78410c..fe010b00 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ExchangeRateService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ExchangeRateService.php @@ -15,7 +15,7 @@ class ExchangeRateService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\ExchangeRate> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/FileLinkService.php b/vendor/stripe-php-10.5.0/lib/Service/FileLinkService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/FileLinkService.php rename to vendor/stripe-php-10.5.0/lib/Service/FileLinkService.php index 7a3a435d..06929a9c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/FileLinkService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/FileLinkService.php @@ -14,7 +14,7 @@ class FileLinkService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\FileLink> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/FileService.php b/vendor/stripe-php-10.5.0/lib/Service/FileService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/FileService.php rename to vendor/stripe-php-10.5.0/lib/Service/FileService.php index 14842884..82ef0e50 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/FileService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/FileService.php @@ -16,7 +16,7 @@ class FileService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\File> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/AccountService.php b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/AccountService.php new file mode 100644 index 00000000..213d1727 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/AccountService.php @@ -0,0 +1,89 @@ +Account objects. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\FinancialConnections\Account> + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/financial_connections/accounts', $params, $opts); + } + + /** + * Lists all owners for a given Account. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\FinancialConnections\AccountOwner> + */ + public function allOwners($id, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/financial_connections/accounts/%s/owners', $id), $params, $opts); + } + + /** + * Disables your access to a Financial Connections Account. You will + * no longer be able to access data associated with the account (e.g. balances, + * transactions). + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Account + */ + public function disconnect($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/financial_connections/accounts/%s/disconnect', $id), $params, $opts); + } + + /** + * Refreshes the data associated with a Financial Connections Account. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Account + */ + public function refresh($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/financial_connections/accounts/%s/refresh', $id), $params, $opts); + } + + /** + * Retrieves the details of an Financial Connections Account. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Account + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/financial_connections/accounts/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/FinancialConnectionsServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/FinancialConnectionsServiceFactory.php new file mode 100644 index 00000000..7dd82634 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/FinancialConnectionsServiceFactory.php @@ -0,0 +1,27 @@ + + */ + private static $classMap = [ + 'accounts' => AccountService::class, + 'sessions' => SessionService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/SessionService.php b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/SessionService.php new file mode 100644 index 00000000..eab589cd --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/FinancialConnections/SessionService.php @@ -0,0 +1,41 @@ +Session. The session’s client_secret can be used to + * launch the flow using Stripe.js. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Session + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/financial_connections/sessions', $params, $opts); + } + + /** + * Retrieves the details of a Financial Connections Session. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\FinancialConnections\Session + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/financial_connections/sessions/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Identity/IdentityServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Identity/IdentityServiceFactory.php new file mode 100644 index 00000000..cf631462 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Identity/IdentityServiceFactory.php @@ -0,0 +1,27 @@ + + */ + private static $classMap = [ + 'verificationReports' => VerificationReportService::class, + 'verificationSessions' => VerificationSessionService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationReportService.php b/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationReportService.php new file mode 100644 index 00000000..9289d9df --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationReportService.php @@ -0,0 +1,39 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/identity/verification_reports', $params, $opts); + } + + /** + * Retrieves an existing VerificationReport. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationReport + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/identity/verification_reports/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationSessionService.php b/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationSessionService.php new file mode 100644 index 00000000..24bb4e06 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Identity/VerificationSessionService.php @@ -0,0 +1,146 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/identity/verification_sessions', $params, $opts); + } + + /** + * A VerificationSession object can be canceled when it is in + * requires_input status. + * + * Once canceled, future submission attempts are disabled. This cannot be undone. + * Learn more. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/identity/verification_sessions/%s/cancel', $id), $params, $opts); + } + + /** + * Creates a VerificationSession object. + * + * After the VerificationSession is created, display a verification modal using the + * session client_secret or send your users to the session’s + * url. + * + * If your API key is in test mode, verification checks won’t actually process, + * though everything else will occur as if in live mode. + * + * Related guide: Verify your + * users’ identity documents. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/identity/verification_sessions', $params, $opts); + } + + /** + * Redact a VerificationSession to remove all collected information from Stripe. + * This will redact the VerificationSession and all objects related to it, + * including VerificationReports, Events, request logs, etc. + * + * A VerificationSession object can be redacted when it is in + * requires_input or verified status. Redacting a + * VerificationSession in requires_action state will automatically + * cancel it. + * + * The redaction process may take up to four days. When the redaction process is in + * progress, the VerificationSession’s redaction.status field will be + * set to processing; when the process is finished, it will change to + * redacted and an identity.verification_session.redacted + * event will be emitted. + * + * Redaction is irreversible. Redacted objects are still accessible in the Stripe + * API, but all the fields that contain personal data will be replaced by the + * string [redacted] or a similar placeholder. The + * metadata field will also be erased. Redacted objects cannot be + * updated or used for any purpose. + * + * Learn more. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession + */ + public function redact($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/identity/verification_sessions/%s/redact', $id), $params, $opts); + } + + /** + * Retrieves the details of a VerificationSession that was previously created. + * + * When the session status is requires_input, you can use this method + * to retrieve a valid client_secret or url to allow + * re-submission. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/identity/verification_sessions/%s', $id), $params, $opts); + } + + /** + * Updates a VerificationSession object. + * + * When the session status is requires_input, you can use this method + * to update the verification check and options. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Identity\VerificationSession + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/identity/verification_sessions/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/InvoiceItemService.php b/vendor/stripe-php-10.5.0/lib/Service/InvoiceItemService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/InvoiceItemService.php rename to vendor/stripe-php-10.5.0/lib/Service/InvoiceItemService.php index 0f0b9e91..45e20721 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/InvoiceItemService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/InvoiceItemService.php @@ -15,7 +15,7 @@ class InvoiceItemService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\InvoiceItem> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/InvoiceService.php b/vendor/stripe-php-10.5.0/lib/Service/InvoiceService.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/Service/InvoiceService.php rename to vendor/stripe-php-10.5.0/lib/Service/InvoiceService.php index f647b28f..cc61a320 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/InvoiceService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/InvoiceService.php @@ -16,7 +16,7 @@ class InvoiceService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Invoice> */ public function all($params = null, $opts = null) { @@ -35,7 +35,7 @@ class InvoiceService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\InvoiceLineItem> */ public function allLines($parentId, $params = null, $opts = null) { @@ -43,12 +43,10 @@ class InvoiceService extends \Stripe\Service\AbstractService } /** - * This endpoint creates a draft invoice for a given customer. The draft invoice - * created pulls in all pending invoice items on that customer, including - * prorations. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to - * your customers. + * This endpoint creates a draft invoice for a given customer. The invoice remains + * a draft until you finalize the invoice, which + * allows you to pay or send + * the invoice to your customers. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts @@ -152,6 +150,26 @@ class InvoiceService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/invoices/%s', $id), $params, $opts); } + /** + * Search for invoices you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Invoice> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/invoices/search', $params, $opts); + } + /** * Stripe will automatically send invoices to customers according to your subscriptions @@ -221,11 +239,11 @@ class InvoiceService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Invoice + * @return \Stripe\Collection<\Stripe\InvoiceLineItem> */ public function upcomingLines($params = null, $opts = null) { - return $this->request('get', '/v1/invoices/upcoming/lines', $params, $opts); + return $this->requestCollection('get', '/v1/invoices/upcoming/lines', $params, $opts); } /** diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/AuthorizationService.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/AuthorizationService.php similarity index 83% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/AuthorizationService.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/AuthorizationService.php index 6fff70e7..d36f48ed 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Issuing/AuthorizationService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Issuing/AuthorizationService.php @@ -16,7 +16,7 @@ class AuthorizationService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Issuing\Authorization> */ public function all($params = null, $opts = null) { @@ -27,7 +27,9 @@ class AuthorizationService extends \Stripe\Service\AbstractService * Approves a pending Issuing Authorization object. This request * should be made within the timeout window of the real-time - * authorization flow. + * authorization flow. You can also respond directly to the webhook request to + * approve an authorization (preferred). More details can be found here. * * @param string $id * @param null|array $params @@ -46,7 +48,9 @@ class AuthorizationService extends \Stripe\Service\AbstractService * Declines a pending Issuing Authorization object. This request * should be made within the timeout window of the real time - * authorization flow. + * authorization flow. You can also respond directly to the webhook request to + * decline an authorization (preferred). More details can be found here. * * @param string $id * @param null|array $params diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/CardService.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/CardService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/CardService.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/CardService.php index 346d54af..22b7e541 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Issuing/CardService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Issuing/CardService.php @@ -16,7 +16,7 @@ class CardService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Issuing\Card> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/CardholderService.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/CardholderService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/CardholderService.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/CardholderService.php index 5731b1bf..65e675b3 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Issuing/CardholderService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Issuing/CardholderService.php @@ -16,7 +16,7 @@ class CardholderService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Issuing\Cardholder> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/DisputeService.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/DisputeService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/DisputeService.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/DisputeService.php index ab5df5f3..45c25288 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Issuing/DisputeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Issuing/DisputeService.php @@ -16,7 +16,7 @@ class DisputeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Issuing\Dispute> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/IssuingServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/IssuingServiceFactory.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/IssuingServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/IssuingServiceFactory.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/Issuing/TransactionService.php b/vendor/stripe-php-10.5.0/lib/Service/Issuing/TransactionService.php similarity index 96% rename from vendor/stripe-php-7.72.0/lib/Service/Issuing/TransactionService.php rename to vendor/stripe-php-10.5.0/lib/Service/Issuing/TransactionService.php index 8fb0ee2a..dd83b182 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Issuing/TransactionService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Issuing/TransactionService.php @@ -16,7 +16,7 @@ class TransactionService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Issuing\Transaction> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/MandateService.php b/vendor/stripe-php-10.5.0/lib/Service/MandateService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/MandateService.php rename to vendor/stripe-php-10.5.0/lib/Service/MandateService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/OAuthService.php b/vendor/stripe-php-10.5.0/lib/Service/OAuthService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/OAuthService.php rename to vendor/stripe-php-10.5.0/lib/Service/OAuthService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/PaymentIntentService.php b/vendor/stripe-php-10.5.0/lib/Service/PaymentIntentService.php similarity index 56% rename from vendor/stripe-php-7.72.0/lib/Service/PaymentIntentService.php rename to vendor/stripe-php-10.5.0/lib/Service/PaymentIntentService.php index 43aba46d..f3f81d5c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PaymentIntentService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PaymentIntentService.php @@ -14,23 +14,44 @@ class PaymentIntentService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\PaymentIntent> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/payment_intents', $params, $opts); } + /** + * Manually reconcile the remaining amount for a customer_balance PaymentIntent. + * + * @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 applyCustomerBalance($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/payment_intents/%s/apply_customer_balance', $id), $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. + * requires_confirmation, requires_action or, in rare cases, processing. * * 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. * + * You cannot cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session + * instead. + * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts @@ -48,8 +69,8 @@ class PaymentIntentService extends \Stripe\Service\AbstractService * 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. + * Uncaptured PaymentIntents will be canceled a set number of days after they are + * created (7 by default). * * Learn more about separate authorization * and capture. @@ -70,29 +91,25 @@ class PaymentIntentService extends \Stripe\Service\AbstractService /** * 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 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 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. * @@ -134,6 +151,47 @@ class PaymentIntentService extends \Stripe\Service\AbstractService return $this->request('post', '/v1/payment_intents', $params, $opts); } + /** + * Perform an incremental authorization on an eligible PaymentIntent. To be eligible, the + * PaymentIntent’s status must be requires_capture and incremental_authorization_supported + * must be true. + * + * Incremental authorizations attempt to increase the authorized amount on your + * customer’s card to the new, higher amount provided. As with the + * initial authorization, incremental authorizations may be declined. A single + * PaymentIntent can call this endpoint multiple times to further increase the + * authorized amount. + * + * If the incremental authorization succeeds, the PaymentIntent object is returned + * with the updated amount. + * If the incremental authorization fails, a card_declined error is returned, and + * no fields on the PaymentIntent or Charge are updated. The PaymentIntent object + * remains capturable for the previously authorized amount. + * + * Each PaymentIntent can have a maximum of 10 incremental authorization attempts, + * including declines. Once captured, a PaymentIntent can no longer be incremented. + * + * Learn more about incremental + * authorizations. + * + * @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 incrementAuthorization($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/payment_intents/%s/increment_authorization', $id), $params, $opts); + } + /** * Retrieves the details of a PaymentIntent that has previously been created. * @@ -157,6 +215,26 @@ class PaymentIntentService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/payment_intents/%s', $id), $params, $opts); } + /** + * Search for PaymentIntents you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\PaymentIntent> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/payment_intents/search', $params, $opts); + } + /** * Updates properties on a PaymentIntent object without confirming. * @@ -178,4 +256,20 @@ class PaymentIntentService extends \Stripe\Service\AbstractService { return $this->request('post', $this->buildPath('/v1/payment_intents/%s', $id), $params, $opts); } + + /** + * Verifies microdeposits on a PaymentIntent object. + * + * @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 verifyMicrodeposits($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/payment_intents/%s/verify_microdeposits', $id), $params, $opts); + } } diff --git a/vendor/stripe-php-10.5.0/lib/Service/PaymentLinkService.php b/vendor/stripe-php-10.5.0/lib/Service/PaymentLinkService.php new file mode 100644 index 00000000..e5008d7a --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/PaymentLinkService.php @@ -0,0 +1,89 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/payment_links', $params, $opts); + } + + /** + * When retrieving a payment link, there is an includable + * line_items property containing the first handful of those + * items. There is also a URL where you can retrieve the full (paginated) list of + * line items. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> + */ + public function allLineItems($id, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/payment_links/%s/line_items', $id), $params, $opts); + } + + /** + * Creates a payment link. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentLink + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/payment_links', $params, $opts); + } + + /** + * Retrieve a payment link. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentLink + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/payment_links/%s', $id), $params, $opts); + } + + /** + * Updates a payment link. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\PaymentLink + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/payment_links/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/PaymentMethodService.php b/vendor/stripe-php-10.5.0/lib/Service/PaymentMethodService.php similarity index 71% rename from vendor/stripe-php-7.72.0/lib/Service/PaymentMethodService.php rename to vendor/stripe-php-10.5.0/lib/Service/PaymentMethodService.php index 7111b9eb..70944daa 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PaymentMethodService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PaymentMethodService.php @@ -7,14 +7,17 @@ namespace Stripe\Service; class PaymentMethodService extends \Stripe\Service\AbstractService { /** - * Returns a list of PaymentMethods for a given Customer. + * Returns a list of PaymentMethods for Treasury flows. If you want to list the + * PaymentMethods attached to a Customer for payments, you should use the List a Customer’s + * PaymentMethods API instead. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\PaymentMethod> */ public function all($params = null, $opts = null) { @@ -28,10 +31,11 @@ class PaymentMethodService extends \Stripe\Service\AbstractService * you use a SetupIntent or a PaymentIntent * with setup_future_usage. - * These approaches will perform any necessary steps to ensure that the - * PaymentMethod can be used in a future payment. Using the - * /v1/payment_methods/:id/attach endpoint does not ensure that future - * payments can be made with the attached PaymentMethod. See /v1/payment_methods/:id/attach + * endpoint without first using a SetupIntent or PaymentIntent with + * setup_future_usage does not optimize the PaymentMethod for future + * use, which makes later declines and payment friction more likely. See Optimizing cards for future * payments for more information about setting up future payments. * @@ -58,6 +62,12 @@ class PaymentMethodService extends \Stripe\Service\AbstractService * href="/docs/stripe-js/reference#stripe-create-payment-method">Stripe.js * reference to learn how to create PaymentMethods via Stripe.js. * + * Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a + * payment immediately or the SetupIntent API to collect payment + * method details ahead of a future payment. + * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * @@ -71,7 +81,8 @@ class PaymentMethodService extends \Stripe\Service\AbstractService } /** - * Detaches a PaymentMethod object from a Customer. + * Detaches a PaymentMethod object from a Customer. After a PaymentMethod is + * detached, it can no longer be used for a payment or re-attached to a Customer. * * @param string $id * @param null|array $params @@ -87,7 +98,10 @@ class PaymentMethodService extends \Stripe\Service\AbstractService } /** - * Retrieves a PaymentMethod object. + * Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a + * payment method attached to a Customer, you should use Retrieve a Customer’s + * PaymentMethods. * * @param string $id * @param null|array $params diff --git a/vendor/stripe-php-7.72.0/lib/Service/PayoutService.php b/vendor/stripe-php-10.5.0/lib/Service/PayoutService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/PayoutService.php rename to vendor/stripe-php-10.5.0/lib/Service/PayoutService.php index 547e22da..4ca3561c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PayoutService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PayoutService.php @@ -16,7 +16,7 @@ class PayoutService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Payout> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/PlanService.php b/vendor/stripe-php-10.5.0/lib/Service/PlanService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/PlanService.php rename to vendor/stripe-php-10.5.0/lib/Service/PlanService.php index 16625d27..6c0a8d47 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PlanService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PlanService.php @@ -14,7 +14,7 @@ class PlanService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Plan> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/PriceService.php b/vendor/stripe-php-10.5.0/lib/Service/PriceService.php similarity index 68% rename from vendor/stripe-php-7.72.0/lib/Service/PriceService.php rename to vendor/stripe-php-10.5.0/lib/Service/PriceService.php index cc44f69c..ef2b938d 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PriceService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PriceService.php @@ -14,7 +14,7 @@ class PriceService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Price> */ public function all($params = null, $opts = null) { @@ -53,6 +53,26 @@ class PriceService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/prices/%s', $id), $params, $opts); } + /** + * Search for prices you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Price> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/prices/search', $params, $opts); + } + /** * Updates the specified price by setting the values of the parameters passed. Any * parameters not provided are left unchanged. diff --git a/vendor/stripe-php-7.72.0/lib/Service/ProductService.php b/vendor/stripe-php-10.5.0/lib/Service/ProductService.php similarity index 75% rename from vendor/stripe-php-7.72.0/lib/Service/ProductService.php rename to vendor/stripe-php-10.5.0/lib/Service/ProductService.php index 850cea56..5eb6d82c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ProductService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ProductService.php @@ -15,7 +15,7 @@ class ProductService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Product> */ public function all($params = null, $opts = null) { @@ -73,6 +73,26 @@ class ProductService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/products/%s', $id), $params, $opts); } + /** + * Search for products you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Product> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/products/search', $params, $opts); + } + /** * Updates the specific product by setting the values of the parameters passed. Any * parameters not provided will be left unchanged. diff --git a/vendor/stripe-php-7.72.0/lib/Service/PromotionCodeService.php b/vendor/stripe-php-10.5.0/lib/Service/PromotionCodeService.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/Service/PromotionCodeService.php rename to vendor/stripe-php-10.5.0/lib/Service/PromotionCodeService.php index 1de5696d..17461b4b 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/PromotionCodeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/PromotionCodeService.php @@ -14,7 +14,7 @@ class PromotionCodeService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\PromotionCode> */ public function all($params = null, $opts = null) { @@ -38,7 +38,10 @@ class PromotionCodeService extends \Stripe\Service\AbstractService } /** - * Retrieves the promotion code with the given ID. + * Retrieves the promotion code with the given ID. In order to retrieve a promotion + * code by the customer-facing code use list with the desired + * code. * * @param string $id * @param null|array $params diff --git a/vendor/stripe-php-10.5.0/lib/Service/QuoteService.php b/vendor/stripe-php-10.5.0/lib/Service/QuoteService.php new file mode 100644 index 00000000..05f0dfb6 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/QuoteService.php @@ -0,0 +1,177 @@ +request('post', $this->buildPath('/v1/quotes/%s/accept', $id), $params, $opts); + } + + /** + * Returns a list of your quotes. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\Quote> + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/quotes', $params, $opts); + } + + /** + * When retrieving a quote, there is an includable computed.upfront.line_items + * property containing the first handful of those items. There is also a URL where + * you can retrieve the full (paginated) list of upfront line items. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> + */ + public function allComputedUpfrontLineItems($id, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/quotes/%s/computed_upfront_line_items', $id), $params, $opts); + } + + /** + * When retrieving a quote, there is an includable line_items + * property containing the first handful of those items. There is also a URL where + * you can retrieve the full (paginated) list of line items. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\LineItem> + */ + public function allLineItems($id, $params = null, $opts = null) + { + return $this->requestCollection('get', $this->buildPath('/v1/quotes/%s/line_items', $id), $params, $opts); + } + + /** + * Cancels the quote. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/quotes/%s/cancel', $id), $params, $opts); + } + + /** + * A quote models prices and services for a customer. Default options for + * header, description, footer, and + * expires_at can be set in the dashboard via the quote template. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/quotes', $params, $opts); + } + + /** + * Finalizes the quote. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote + */ + public function finalizeQuote($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/quotes/%s/finalize', $id), $params, $opts); + } + + /** + * Retrieves the quote with the given ID. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/quotes/%s', $id), $params, $opts); + } + + /** + * A quote models prices and services for a customer. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Quote + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/quotes/%s', $id), $params, $opts); + } + + /** + * Download the PDF for a finalized quote. + * + * @param string $id + * @param callable $readBodyChunkCallable + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + */ + public function pdf($id, $readBodyChunkCallable, $params = null, $opts = null) + { + $opts = \Stripe\Util\RequestOptions::parse($opts); + if (!isset($opts->apiBase)) { + $opts->apiBase = $this->getClient()->getFilesBase(); + } + $this->requestStream('get', $this->buildPath('/v1/quotes/%s/pdf', $id), $readBodyChunkCallable, $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/Radar/EarlyFraudWarningService.php b/vendor/stripe-php-10.5.0/lib/Service/Radar/EarlyFraudWarningService.php similarity index 94% rename from vendor/stripe-php-7.72.0/lib/Service/Radar/EarlyFraudWarningService.php rename to vendor/stripe-php-10.5.0/lib/Service/Radar/EarlyFraudWarningService.php index 7b097348..be119b4c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Radar/EarlyFraudWarningService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Radar/EarlyFraudWarningService.php @@ -14,7 +14,7 @@ class EarlyFraudWarningService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Radar\EarlyFraudWarning> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Radar/RadarServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Radar/RadarServiceFactory.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Radar/RadarServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Radar/RadarServiceFactory.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListItemService.php b/vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListItemService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListItemService.php rename to vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListItemService.php index 89eba2a7..b9da3dd8 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListItemService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListItemService.php @@ -16,7 +16,7 @@ class ValueListItemService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Radar\ValueListItem> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListService.php b/vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListService.php rename to vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListService.php index 64ac2ee7..70d9b486 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Radar/ValueListService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Radar/ValueListService.php @@ -16,7 +16,7 @@ class ValueListService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Radar\ValueList> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/RefundService.php b/vendor/stripe-php-10.5.0/lib/Service/RefundService.php similarity index 75% rename from vendor/stripe-php-7.72.0/lib/Service/RefundService.php rename to vendor/stripe-php-10.5.0/lib/Service/RefundService.php index 49b4267e..772c0f6e 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/RefundService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/RefundService.php @@ -17,13 +17,32 @@ class RefundService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Refund> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/refunds', $params, $opts); } + /** + * Cancels a refund with a status of requires_action. + * + * Refunds in other states cannot be canceled, and only refunds for payment methods + * that require customer action will enter the requires_action state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Refund + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/refunds/%s/cancel', $id), $params, $opts); + } + /** * Create a refund. * diff --git a/vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportRunService.php b/vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportRunService.php similarity index 75% rename from vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportRunService.php rename to vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportRunService.php index 46e2139a..b62898fd 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportRunService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportRunService.php @@ -7,15 +7,14 @@ namespace Stripe\Service\Reporting; class ReportRunService extends \Stripe\Service\AbstractService { /** - * Returns a list of Report Runs, with the most recent appearing first. (Requires a - * live-mode API key.). + * Returns a list of Report Runs, with the most recent appearing first. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Reporting\ReportRun> */ public function all($params = null, $opts = null) { @@ -23,8 +22,8 @@ class ReportRunService extends \Stripe\Service\AbstractService } /** - * Creates a new object and begin running the report. (Requires a live-mode API key.). + * Creates a new object and begin running the report. (Certain report types require + * a live-mode API key.). * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts @@ -39,8 +38,7 @@ class ReportRunService extends \Stripe\Service\AbstractService } /** - * Retrieves the details of an existing Report Run. (Requires a live-mode API key.). + * Retrieves the details of an existing Report Run. * * @param string $id * @param null|array $params diff --git a/vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportTypeService.php b/vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportTypeService.php similarity index 81% rename from vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportTypeService.php rename to vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportTypeService.php index 46f6bf83..7fa50382 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportTypeService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportTypeService.php @@ -7,15 +7,14 @@ namespace Stripe\Service\Reporting; class ReportTypeService extends \Stripe\Service\AbstractService { /** - * Returns a full list of Report Types. (Requires a live-mode API key.). + * Returns a full list of Report Types. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Reporting\ReportType> */ public function all($params = null, $opts = null) { @@ -23,7 +22,7 @@ class ReportTypeService extends \Stripe\Service\AbstractService } /** - * Retrieves the details of a Report Type. (Requires a live-mode API key.). * * @param string $id diff --git a/vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportingServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportingServiceFactory.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Reporting/ReportingServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Reporting/ReportingServiceFactory.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/ReviewService.php b/vendor/stripe-php-10.5.0/lib/Service/ReviewService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/ReviewService.php rename to vendor/stripe-php-10.5.0/lib/Service/ReviewService.php index ea152f23..3bcd325b 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/ReviewService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/ReviewService.php @@ -16,7 +16,7 @@ class ReviewService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Review> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/SetupAttemptService.php b/vendor/stripe-php-10.5.0/lib/Service/SetupAttemptService.php similarity index 91% rename from vendor/stripe-php-7.72.0/lib/Service/SetupAttemptService.php rename to vendor/stripe-php-10.5.0/lib/Service/SetupAttemptService.php index 7376ea13..8657441e 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SetupAttemptService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SetupAttemptService.php @@ -14,7 +14,7 @@ class SetupAttemptService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\SetupAttempt> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/SetupIntentService.php b/vendor/stripe-php-10.5.0/lib/Service/SetupIntentService.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Service/SetupIntentService.php rename to vendor/stripe-php-10.5.0/lib/Service/SetupIntentService.php index 3cbec506..3dea24cb 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SetupIntentService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SetupIntentService.php @@ -14,7 +14,7 @@ class SetupIntentService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\SetupIntent> */ public function all($params = null, $opts = null) { @@ -124,4 +124,20 @@ class SetupIntentService extends \Stripe\Service\AbstractService { return $this->request('post', $this->buildPath('/v1/setup_intents/%s', $id), $params, $opts); } + + /** + * Verifies microdeposits on a SetupIntent object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SetupIntent + */ + public function verifyMicrodeposits($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/setup_intents/%s/verify_microdeposits', $id), $params, $opts); + } } diff --git a/vendor/stripe-php-10.5.0/lib/Service/ShippingRateService.php b/vendor/stripe-php-10.5.0/lib/Service/ShippingRateService.php new file mode 100644 index 00000000..d141e484 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/ShippingRateService.php @@ -0,0 +1,70 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/shipping_rates', $params, $opts); + } + + /** + * Creates a new shipping rate object. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\ShippingRate + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/shipping_rates', $params, $opts); + } + + /** + * Returns the shipping rate object with the given ID. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\ShippingRate + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/shipping_rates/%s', $id), $params, $opts); + } + + /** + * Updates an existing shipping rate object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\ShippingRate + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/shipping_rates/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/Sigma/ScheduledQueryRunService.php b/vendor/stripe-php-10.5.0/lib/Service/Sigma/ScheduledQueryRunService.php similarity index 94% rename from vendor/stripe-php-7.72.0/lib/Service/Sigma/ScheduledQueryRunService.php rename to vendor/stripe-php-10.5.0/lib/Service/Sigma/ScheduledQueryRunService.php index 92641751..0fa8cd9c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Sigma/ScheduledQueryRunService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Sigma/ScheduledQueryRunService.php @@ -14,7 +14,7 @@ class ScheduledQueryRunService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Sigma\ScheduledQueryRun> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Sigma/SigmaServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Sigma/SigmaServiceFactory.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Sigma/SigmaServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Sigma/SigmaServiceFactory.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/SourceService.php b/vendor/stripe-php-10.5.0/lib/Service/SourceService.php similarity index 91% rename from vendor/stripe-php-7.72.0/lib/Service/SourceService.php rename to vendor/stripe-php-10.5.0/lib/Service/SourceService.php index c6cc0596..b5571788 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SourceService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SourceService.php @@ -7,17 +7,19 @@ namespace Stripe\Service; class SourceService extends \Stripe\Service\AbstractService { /** + * List source transactions for a given source. + * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Source + * @return \Stripe\Collection<\Stripe\SourceTransaction> */ - public function allTransactions($id, $params = null, $opts = null) + public function allSourceTransactions($id, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/sources/%s/source_transactions', $id), $params, $opts); + return $this->requestCollection('get', $this->buildPath('/v1/sources/%s/source_transactions', $id), $params, $opts); } /** diff --git a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionItemService.php b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionItemService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/SubscriptionItemService.php rename to vendor/stripe-php-10.5.0/lib/Service/SubscriptionItemService.php index 3b2aa2b1..e18c8de4 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionItemService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionItemService.php @@ -14,7 +14,7 @@ class SubscriptionItemService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\SubscriptionItem> */ public function all($params = null, $opts = null) { @@ -39,7 +39,7 @@ class SubscriptionItemService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\UsageRecordSummary> */ public function allUsageRecordSummaries($parentId, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionScheduleService.php b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionScheduleService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/SubscriptionScheduleService.php rename to vendor/stripe-php-10.5.0/lib/Service/SubscriptionScheduleService.php index 9eed4606..42aaf6bb 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionScheduleService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionScheduleService.php @@ -14,7 +14,7 @@ class SubscriptionScheduleService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\SubscriptionSchedule> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionService.php b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionService.php similarity index 64% rename from vendor/stripe-php-7.72.0/lib/Service/SubscriptionService.php rename to vendor/stripe-php-10.5.0/lib/Service/SubscriptionService.php index f3ac768c..dcbc8e64 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/SubscriptionService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/SubscriptionService.php @@ -15,7 +15,7 @@ class SubscriptionService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Subscription> */ public function all($params = null, $opts = null) { @@ -58,6 +58,17 @@ class SubscriptionService extends \Stripe\Service\AbstractService * Creates a new subscription on an existing customer. Each customer can have up to * 500 active or scheduled subscriptions. * + * When you create a subscription with + * collection_method=charge_automatically, the first invoice is + * finalized as part of the request. The payment_behavior parameter + * determines the exact behavior of the initial payment. + * + * To start subscriptions where the first invoice always begins in a + * draft status, use subscription + * schedules instead. Schedules provide the flexibility to model more complex + * billing configurations that change over time. + * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * @@ -86,6 +97,27 @@ class SubscriptionService extends \Stripe\Service\AbstractService return $this->request('delete', $this->buildPath('/v1/subscriptions/%s/discount', $id), $params, $opts); } + /** + * Initiates resumption of a paused subscription, optionally resetting the billing + * cycle anchor and creating prorations. If a resumption invoice is generated, it + * must be paid or marked uncollectible before the subscription will be unpaused. + * If payment succeeds the subscription will become active, and if + * payment fails the subscription will be past_due. The resumption + * invoice will void automatically if not paid by the expiration date. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Subscription + */ + public function resume($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/subscriptions/%s/resume', $id), $params, $opts); + } + /** * Retrieves the subscription with the given ID. * @@ -102,6 +134,26 @@ class SubscriptionService extends \Stripe\Service\AbstractService return $this->request('get', $this->buildPath('/v1/subscriptions/%s', $id), $params, $opts); } + /** + * Search for subscriptions you’ve previously created using Stripe’s Search Query Language. Don’t use + * search in read-after-write flows where strict consistency is necessary. Under + * normal operating conditions, data is searchable in less than a minute. + * Occasionally, propagation of new or updated data can be up to an hour behind + * during outages. Search functionality is not available to merchants in India. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult<\Stripe\Subscription> + */ + public function search($params = null, $opts = null) + { + return $this->requestSearchResult('get', '/v1/subscriptions/search', $params, $opts); + } + /** * Updates an existing subscription on a customer to match the specified * parameters. When changing plans or quantities, we will optionally prorate the diff --git a/vendor/stripe-php-10.5.0/lib/Service/TaxCodeService.php b/vendor/stripe-php-10.5.0/lib/Service/TaxCodeService.php new file mode 100644 index 00000000..fd167a10 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TaxCodeService.php @@ -0,0 +1,41 @@ +all tax codes + * available to add to Products in order to allow specific tax calculations. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\TaxCode> + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/tax_codes', $params, $opts); + } + + /** + * Retrieves the details of an existing tax code. Supply the unique tax code ID and + * Stripe will return the corresponding tax code information. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TaxCode + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/tax_codes/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/TaxRateService.php b/vendor/stripe-php-10.5.0/lib/Service/TaxRateService.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Service/TaxRateService.php rename to vendor/stripe-php-10.5.0/lib/Service/TaxRateService.php index 7cee1fea..0d67eec3 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/TaxRateService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/TaxRateService.php @@ -15,7 +15,7 @@ class TaxRateService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\TaxRate> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/Terminal/ReaderService.php b/vendor/stripe-php-10.5.0/lib/Service/Terminal/ConfigurationService.php similarity index 65% rename from vendor/stripe-php-7.72.0/lib/Service/Terminal/ReaderService.php rename to vendor/stripe-php-10.5.0/lib/Service/Terminal/ConfigurationService.php index 765015c8..97c7c275 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Terminal/ReaderService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Terminal/ConfigurationService.php @@ -4,40 +4,40 @@ namespace Stripe\Service\Terminal; -class ReaderService extends \Stripe\Service\AbstractService +class ConfigurationService extends \Stripe\Service\AbstractService { /** - * Returns a list of Reader objects. + * Returns a list of Configuration objects. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Terminal\Configuration> */ public function all($params = null, $opts = null) { - return $this->requestCollection('get', '/v1/terminal/readers', $params, $opts); + return $this->requestCollection('get', '/v1/terminal/configurations', $params, $opts); } /** - * Creates a new Reader object. + * Creates a new Configuration object. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Terminal\Reader + * @return \Stripe\Terminal\Configuration */ public function create($params = null, $opts = null) { - return $this->request('post', '/v1/terminal/readers', $params, $opts); + return $this->request('post', '/v1/terminal/configurations', $params, $opts); } /** - * Deletes a Reader object. + * Deletes a Configuration object. * * @param string $id * @param null|array $params @@ -45,15 +45,15 @@ class ReaderService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Terminal\Reader + * @return \Stripe\Terminal\Configuration */ public function delete($id, $params = null, $opts = null) { - return $this->request('delete', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + return $this->request('delete', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } /** - * Retrieves a Reader object. + * Retrieves a Configuration object. * * @param string $id * @param null|array $params @@ -61,16 +61,15 @@ class ReaderService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Terminal\Reader + * @return \Stripe\Terminal\Configuration */ public function retrieve($id, $params = null, $opts = null) { - return $this->request('get', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + return $this->request('get', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } /** - * Updates a Reader object by setting the values of the parameters - * passed. Any parameters not provided will be left unchanged. + * Updates a new Configuration object. * * @param string $id * @param null|array $params @@ -78,10 +77,10 @@ class ReaderService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Terminal\Reader + * @return \Stripe\Terminal\Configuration */ public function update($id, $params = null, $opts = null) { - return $this->request('post', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + return $this->request('post', $this->buildPath('/v1/terminal/configurations/%s', $id), $params, $opts); } } diff --git a/vendor/stripe-php-7.72.0/lib/Service/Terminal/ConnectionTokenService.php b/vendor/stripe-php-10.5.0/lib/Service/Terminal/ConnectionTokenService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/Terminal/ConnectionTokenService.php rename to vendor/stripe-php-10.5.0/lib/Service/Terminal/ConnectionTokenService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/Terminal/LocationService.php b/vendor/stripe-php-10.5.0/lib/Service/Terminal/LocationService.php similarity index 89% rename from vendor/stripe-php-7.72.0/lib/Service/Terminal/LocationService.php rename to vendor/stripe-php-10.5.0/lib/Service/Terminal/LocationService.php index 8adc7a52..74a776eb 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Terminal/LocationService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Terminal/LocationService.php @@ -14,7 +14,7 @@ class LocationService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Terminal\Location> */ public function all($params = null, $opts = null) { @@ -22,7 +22,9 @@ class LocationService extends \Stripe\Service\AbstractService } /** - * Creates a new Location object. + * Creates a new Location object. For further details, including which + * address fields are required in each country, see the Manage locations guide. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts diff --git a/vendor/stripe-php-10.5.0/lib/Service/Terminal/ReaderService.php b/vendor/stripe-php-10.5.0/lib/Service/Terminal/ReaderService.php new file mode 100644 index 00000000..ae855595 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Terminal/ReaderService.php @@ -0,0 +1,151 @@ +Reader objects. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\Terminal\Reader> + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/terminal/readers', $params, $opts); + } + + /** + * Cancels the current reader action. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function cancelAction($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/cancel_action', $id), $params, $opts); + } + + /** + * Creates a new Reader object. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/terminal/readers', $params, $opts); + } + + /** + * Deletes a Reader object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function delete($id, $params = null, $opts = null) + { + return $this->request('delete', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + } + + /** + * Initiates a payment flow on a Reader. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function processPaymentIntent($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/process_payment_intent', $id), $params, $opts); + } + + /** + * Initiates a setup intent flow on a Reader. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function processSetupIntent($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/process_setup_intent', $id), $params, $opts); + } + + /** + * Retrieves a Reader object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + } + + /** + * Sets reader display to show cart 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\Terminal\Reader + */ + public function setReaderDisplay($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/terminal/readers/%s/set_reader_display', $id), $params, $opts); + } + + /** + * Updates a Reader object by setting the values of the parameters + * passed. Any parameters not provided will be left unchanged. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/terminal/readers/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/Terminal/TerminalServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Terminal/TerminalServiceFactory.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/Service/Terminal/TerminalServiceFactory.php rename to vendor/stripe-php-10.5.0/lib/Service/Terminal/TerminalServiceFactory.php index c70ac873..f095124c 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/Terminal/TerminalServiceFactory.php +++ b/vendor/stripe-php-10.5.0/lib/Service/Terminal/TerminalServiceFactory.php @@ -7,6 +7,7 @@ namespace Stripe\Service\Terminal; /** * Service factory class for API resources in the Terminal namespace. * + * @property ConfigurationService $configurations * @property ConnectionTokenService $connectionTokens * @property LocationService $locations * @property ReaderService $readers @@ -17,6 +18,7 @@ class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory * @var array */ private static $classMap = [ + 'configurations' => ConfigurationService::class, 'connectionTokens' => ConnectionTokenService::class, 'locations' => LocationService::class, 'readers' => ReaderService::class, diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/CustomerService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/CustomerService.php new file mode 100644 index 00000000..c46b5797 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/CustomerService.php @@ -0,0 +1,24 @@ +request('post', $this->buildPath('/v1/test_helpers/customers/%s/fund_cash_balance', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/CardService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/CardService.php new file mode 100644 index 00000000..01d7080a --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/CardService.php @@ -0,0 +1,76 @@ +Card object to + * delivered. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Issuing\Card + */ + public function deliverCard($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/deliver', $id), $params, $opts); + } + + /** + * Updates the shipping status of the specified Issuing Card object to + * failure. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Issuing\Card + */ + public function failCard($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/fail', $id), $params, $opts); + } + + /** + * Updates the shipping status of the specified Issuing Card object to + * returned. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Issuing\Card + */ + public function returnCard($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/return', $id), $params, $opts); + } + + /** + * Updates the shipping status of the specified Issuing Card object to + * shipped. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Issuing\Card + */ + public function shipCard($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/ship', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/IssuingServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/IssuingServiceFactory.php new file mode 100644 index 00000000..a202ec33 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Issuing/IssuingServiceFactory.php @@ -0,0 +1,25 @@ + + */ + private static $classMap = [ + 'cards' => CardService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/RefundService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/RefundService.php new file mode 100644 index 00000000..de0e4d10 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/RefundService.php @@ -0,0 +1,24 @@ +requires_action. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Refund + */ + public function expire($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/refunds/%s/expire', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/ReaderService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/ReaderService.php new file mode 100644 index 00000000..2eb4de49 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/ReaderService.php @@ -0,0 +1,25 @@ +request('post', $this->buildPath('/v1/test_helpers/terminal/readers/%s/present_payment_method', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/TerminalServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/TerminalServiceFactory.php new file mode 100644 index 00000000..153ebe0d --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Terminal/TerminalServiceFactory.php @@ -0,0 +1,25 @@ + + */ + private static $classMap = [ + 'readers' => ReaderService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestClockService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestClockService.php new file mode 100644 index 00000000..a4eee8c3 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestClockService.php @@ -0,0 +1,87 @@ +Ready. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TestHelpers\TestClock + */ + public function advance($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/test_clocks/%s/advance', $id), $params, $opts); + } + + /** + * Returns a list of your test clocks. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Collection<\Stripe\TestHelpers\TestClock> + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/test_helpers/test_clocks', $params, $opts); + } + + /** + * Creates a new test clock that can be attached to new customers and quotes. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TestHelpers\TestClock + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/test_helpers/test_clocks', $params, $opts); + } + + /** + * Deletes a test clock. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TestHelpers\TestClock + */ + public function delete($id, $params = null, $opts = null) + { + return $this->request('delete', $this->buildPath('/v1/test_helpers/test_clocks/%s', $id), $params, $opts); + } + + /** + * Retrieves a test clock. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TestHelpers\TestClock + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/test_helpers/test_clocks/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestHelpersServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestHelpersServiceFactory.php new file mode 100644 index 00000000..cb0ee1a0 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/TestHelpersServiceFactory.php @@ -0,0 +1,35 @@ + + */ + private static $classMap = [ + 'customers' => CustomerService::class, + 'issuing' => Issuing\IssuingServiceFactory::class, + 'refunds' => RefundService::class, + 'terminal' => Terminal\TerminalServiceFactory::class, + 'testClocks' => TestClockService::class, + 'treasury' => Treasury\TreasuryServiceFactory::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/InboundTransferService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/InboundTransferService.php new file mode 100644 index 00000000..1c824762 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/InboundTransferService.php @@ -0,0 +1,62 @@ +failed + * status. The InboundTransfer must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function fail($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/fail', $id), $params, $opts); + } + + /** + * Marks the test mode InboundTransfer object as returned and links the + * InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the + * succeeded state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function returnInboundTransfer($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/return', $id), $params, $opts); + } + + /** + * Transitions a test mode created InboundTransfer to the succeeded + * status. The InboundTransfer must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function succeed($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/succeed', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php new file mode 100644 index 00000000..4981e685 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php @@ -0,0 +1,62 @@ +failed + * status. The OutboundPayment must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function fail($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_payments/%s/fail', $id), $params, $opts); + } + + /** + * Transitions a test mode created OutboundPayment to the posted + * status. The OutboundPayment must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function post($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_payments/%s/post', $id), $params, $opts); + } + + /** + * Transitions a test mode created OutboundPayment to the returned + * status. The OutboundPayment must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function returnOutboundPayment($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_payments/%s/return', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundTransferService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundTransferService.php new file mode 100644 index 00000000..4b26bedf --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/OutboundTransferService.php @@ -0,0 +1,62 @@ +failed + * status. The OutboundTransfer must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function fail($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/fail', $id), $params, $opts); + } + + /** + * Transitions a test mode created OutboundTransfer to the posted + * status. The OutboundTransfer must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function post($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/post', $id), $params, $opts); + } + + /** + * Transitions a test mode created OutboundTransfer to the returned + * status. The OutboundTransfer must already be in the processing + * state. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function returnOutboundTransfer($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/return', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php new file mode 100644 index 00000000..a90031a3 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php @@ -0,0 +1,25 @@ +request('post', '/v1/test_helpers/treasury/received_credits', $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php new file mode 100644 index 00000000..17f4c827 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php @@ -0,0 +1,25 @@ +request('post', '/v1/test_helpers/treasury/received_debits', $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/TreasuryServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/TreasuryServiceFactory.php new file mode 100644 index 00000000..8329a53e --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/TestHelpers/Treasury/TreasuryServiceFactory.php @@ -0,0 +1,33 @@ + + */ + private static $classMap = [ + 'inboundTransfers' => InboundTransferService::class, + 'outboundPayments' => OutboundPaymentService::class, + 'outboundTransfers' => OutboundTransferService::class, + 'receivedCredits' => ReceivedCreditService::class, + 'receivedDebits' => ReceivedDebitService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/TokenService.php b/vendor/stripe-php-10.5.0/lib/Service/TokenService.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Service/TokenService.php rename to vendor/stripe-php-10.5.0/lib/Service/TokenService.php diff --git a/vendor/stripe-php-7.72.0/lib/Service/TopupService.php b/vendor/stripe-php-10.5.0/lib/Service/TopupService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/TopupService.php rename to vendor/stripe-php-10.5.0/lib/Service/TopupService.php index 059dc209..bd486b9e 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/TopupService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/TopupService.php @@ -14,7 +14,7 @@ class TopupService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Topup> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Service/TransferService.php b/vendor/stripe-php-10.5.0/lib/Service/TransferService.php similarity index 92% rename from vendor/stripe-php-7.72.0/lib/Service/TransferService.php rename to vendor/stripe-php-10.5.0/lib/Service/TransferService.php index 150bbf73..b5113e9a 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/TransferService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/TransferService.php @@ -16,7 +16,7 @@ class TransferService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\Transfer> */ public function all($params = null, $opts = null) { @@ -36,27 +36,13 @@ class TransferService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\TransferReversal> */ public function allReversals($parentId, $params = null, $opts = null) { return $this->requestCollection('get', $this->buildPath('/v1/transfers/%s/reversals', $parentId), $params, $opts); } - /** - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Transfer - */ - public function cancel($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/transfers/%s/cancel', $id), $params, $opts); - } - /** * To send funds from your Stripe account to a connected account, you create a new * transfer object. Your Stripe balance must be able to diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/CreditReversalService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/CreditReversalService.php new file mode 100644 index 00000000..60bf900a --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/CreditReversalService.php @@ -0,0 +1,56 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/credit_reversals', $params, $opts); + } + + /** + * Reverses a ReceivedCredit and creates a CreditReversal object. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\CreditReversal + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/credit_reversals', $params, $opts); + } + + /** + * Retrieves the details of an existing CreditReversal by passing the unique + * CreditReversal ID from either the CreditReversal creation request or + * CreditReversal list. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\CreditReversal + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/credit_reversals/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/DebitReversalService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/DebitReversalService.php new file mode 100644 index 00000000..8887ee14 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/DebitReversalService.php @@ -0,0 +1,54 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/debit_reversals', $params, $opts); + } + + /** + * Reverses a ReceivedDebit and creates a DebitReversal object. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\DebitReversal + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/debit_reversals', $params, $opts); + } + + /** + * Retrieves a DebitReversal object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\DebitReversal + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/debit_reversals/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/FinancialAccountService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/FinancialAccountService.php new file mode 100644 index 00000000..f273bd9c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/FinancialAccountService.php @@ -0,0 +1,103 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/financial_accounts', $params, $opts); + } + + /** + * Creates a new FinancialAccount. For now, each connected account can only have + * one FinancialAccount. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/financial_accounts', $params, $opts); + } + + /** + * Retrieves the details of a FinancialAccount. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/financial_accounts/%s', $id), $params, $opts); + } + + /** + * Retrieves Features information associated with the FinancialAccount. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount + */ + public function retrieveFeatures($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/financial_accounts/%s/features', $id), $params, $opts); + } + + /** + * Updates the details of a FinancialAccount. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount + */ + public function update($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/treasury/financial_accounts/%s', $id), $params, $opts); + } + + /** + * Updates the Features associated with a FinancialAccount. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount + */ + public function updateFeatures($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/treasury/financial_accounts/%s/features', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/InboundTransferService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/InboundTransferService.php new file mode 100644 index 00000000..49ea32ba --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/InboundTransferService.php @@ -0,0 +1,70 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/inbound_transfers', $params, $opts); + } + + /** + * Cancels an InboundTransfer. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/treasury/inbound_transfers/%s/cancel', $id), $params, $opts); + } + + /** + * Creates an InboundTransfer. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/inbound_transfers', $params, $opts); + } + + /** + * Retrieves the details of an existing InboundTransfer. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/inbound_transfers/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundPaymentService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundPaymentService.php new file mode 100644 index 00000000..e6108e0c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundPaymentService.php @@ -0,0 +1,72 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/outbound_payments', $params, $opts); + } + + /** + * Cancel an OutboundPayment. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/treasury/outbound_payments/%s/cancel', $id), $params, $opts); + } + + /** + * Creates an OutboundPayment. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/outbound_payments', $params, $opts); + } + + /** + * Retrieves the details of an existing OutboundPayment by passing the unique + * OutboundPayment ID from either the OutboundPayment creation request or + * OutboundPayment list. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/outbound_payments/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundTransferService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundTransferService.php new file mode 100644 index 00000000..f6131865 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/OutboundTransferService.php @@ -0,0 +1,72 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/outbound_transfers', $params, $opts); + } + + /** + * An OutboundTransfer can be canceled if the funds have not yet been paid out. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function cancel($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/treasury/outbound_transfers/%s/cancel', $id), $params, $opts); + } + + /** + * Creates an OutboundTransfer. + * + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function create($params = null, $opts = null) + { + return $this->request('post', '/v1/treasury/outbound_transfers', $params, $opts); + } + + /** + * Retrieves the details of an existing OutboundTransfer by passing the unique + * OutboundTransfer ID from either the OutboundTransfer creation request or + * OutboundTransfer list. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/outbound_transfers/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedCreditService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedCreditService.php new file mode 100644 index 00000000..1355deb5 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedCreditService.php @@ -0,0 +1,40 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/received_credits', $params, $opts); + } + + /** + * Retrieves the details of an existing ReceivedCredit by passing the unique + * ReceivedCredit ID from the ReceivedCredit list. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\ReceivedCredit + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/received_credits/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedDebitService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedDebitService.php new file mode 100644 index 00000000..dfe3786b --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/ReceivedDebitService.php @@ -0,0 +1,40 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/received_debits', $params, $opts); + } + + /** + * Retrieves the details of an existing ReceivedDebit by passing the unique + * ReceivedDebit ID from the ReceivedDebit list. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\ReceivedDebit + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/received_debits/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionEntryService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionEntryService.php new file mode 100644 index 00000000..3943de1c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionEntryService.php @@ -0,0 +1,39 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/transaction_entries', $params, $opts); + } + + /** + * Retrieves a TransactionEntry object. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\TransactionEntry + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/transaction_entries/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionService.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionService.php new file mode 100644 index 00000000..232b2b1c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TransactionService.php @@ -0,0 +1,39 @@ + + */ + public function all($params = null, $opts = null) + { + return $this->requestCollection('get', '/v1/treasury/transactions', $params, $opts); + } + + /** + * Retrieves the details of an existing Transaction. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\Transaction + */ + public function retrieve($id, $params = null, $opts = null) + { + return $this->request('get', $this->buildPath('/v1/treasury/transactions/%s', $id), $params, $opts); + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Service/Treasury/TreasuryServiceFactory.php b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TreasuryServiceFactory.php new file mode 100644 index 00000000..a2a2622b --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Service/Treasury/TreasuryServiceFactory.php @@ -0,0 +1,43 @@ + + */ + private static $classMap = [ + 'creditReversals' => CreditReversalService::class, + 'debitReversals' => DebitReversalService::class, + 'financialAccounts' => FinancialAccountService::class, + 'inboundTransfers' => InboundTransferService::class, + 'outboundPayments' => OutboundPaymentService::class, + 'outboundTransfers' => OutboundTransferService::class, + 'receivedCredits' => ReceivedCreditService::class, + 'receivedDebits' => ReceivedDebitService::class, + 'transactionEntries' => TransactionEntryService::class, + 'transactions' => TransactionService::class, + ]; + + protected function getServiceClass($name) + { + return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Service/WebhookEndpointService.php b/vendor/stripe-php-10.5.0/lib/Service/WebhookEndpointService.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Service/WebhookEndpointService.php rename to vendor/stripe-php-10.5.0/lib/Service/WebhookEndpointService.php index 01e64224..baa15bd2 100644 --- a/vendor/stripe-php-7.72.0/lib/Service/WebhookEndpointService.php +++ b/vendor/stripe-php-10.5.0/lib/Service/WebhookEndpointService.php @@ -14,7 +14,7 @@ class WebhookEndpointService extends \Stripe\Service\AbstractService * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection + * @return \Stripe\Collection<\Stripe\WebhookEndpoint> */ public function all($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/SetupAttempt.php b/vendor/stripe-php-10.5.0/lib/SetupAttempt.php similarity index 70% rename from vendor/stripe-php-7.72.0/lib/SetupAttempt.php rename to vendor/stripe-php-10.5.0/lib/SetupAttempt.php index 6c83b686..b091cda2 100644 --- a/vendor/stripe-php-7.72.0/lib/SetupAttempt.php +++ b/vendor/stripe-php-10.5.0/lib/SetupAttempt.php @@ -13,13 +13,15 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string|\Stripe\StripeObject $application The value of application on the SetupIntent at the time of this confirmation. + * @property bool $attach_to_self

If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.

It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.

* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer The value of customer on the SetupIntent at the time of this confirmation. + * @property null|string[] $flow_directions

Indicates the directions of money movement for which this payment method is intended to be used.

Include inbound if you intend to use the payment method as the origin to pull funds from. Include outbound if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.

* @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string|\Stripe\Account $on_behalf_of The value of on_behalf_of on the SetupIntent at the time of this confirmation. * @property string|\Stripe\PaymentMethod $payment_method ID of the payment method used with this SetupAttempt. * @property \Stripe\StripeObject $payment_method_details - * @property null|\Stripe\ErrorObject $setup_error The error encountered during this attempt to confirm the SetupIntent, if any. + * @property null|\Stripe\StripeObject $setup_error The error encountered during this attempt to confirm the SetupIntent, if any. * @property string|\Stripe\SetupIntent $setup_intent ID of the SetupIntent that this attempt belongs to. * @property string $status Status of this SetupAttempt, one of requires_confirmation, requires_action, processing, succeeded, failed, or abandoned. * @property string $usage The value of usage on the SetupIntent at the time of this confirmation, one of off_session or on_session. diff --git a/vendor/stripe-php-7.72.0/lib/SetupIntent.php b/vendor/stripe-php-10.5.0/lib/SetupIntent.php similarity index 78% rename from vendor/stripe-php-7.72.0/lib/SetupIntent.php rename to vendor/stripe-php-10.5.0/lib/SetupIntent.php index bf8da19c..ae6111cb 100644 --- a/vendor/stripe-php-7.72.0/lib/SetupIntent.php +++ b/vendor/stripe-php-10.5.0/lib/SetupIntent.php @@ -43,12 +43,14 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the SetupIntent. + * @property bool $attach_to_self

If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.

It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.

* @property null|string $cancellation_reason Reason for cancellation of this SetupIntent, one of abandoned, requested_by_customer, or duplicate. - * @property null|string $client_secret

The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

+ * @property null|string $client_secret

The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer

ID of the Customer this SetupIntent belongs to, if one exists.

If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.

* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. - * @property null|\Stripe\ErrorObject $last_setup_error The error encountered in the previous SetupIntent confirmation. + * @property null|string[] $flow_directions

Indicates the directions of money movement for which this payment method is intended to be used.

Include inbound if you intend to use the payment method as the origin to pull funds from. Include outbound if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.

+ * @property null|\Stripe\StripeObject $last_setup_error The error encountered in the previous SetupIntent confirmation. * @property null|string|\Stripe\SetupAttempt $latest_attempt The most recent SetupAttempt for this SetupIntent. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string|\Stripe\Mandate $mandate ID of the multi use Mandate generated by the SetupIntent. @@ -84,7 +86,7 @@ class SetupIntent extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return SetupIntent the canceled setup intent + * @return \Stripe\SetupIntent the canceled setup intent */ public function cancel($params = null, $opts = null) { @@ -101,7 +103,7 @@ class SetupIntent extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return SetupIntent the confirmed setup intent + * @return \Stripe\SetupIntent the confirmed setup intent */ public function confirm($params = null, $opts = null) { @@ -111,4 +113,21 @@ class SetupIntent extends ApiResource return $this; } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SetupIntent the verified setup intent + */ + public function verifyMicrodeposits($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/verify_microdeposits'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } } diff --git a/vendor/stripe-php-10.5.0/lib/ShippingRate.php b/vendor/stripe-php-10.5.0/lib/ShippingRate.php new file mode 100644 index 00000000..b68b757c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/ShippingRate.php @@ -0,0 +1,41 @@ +Checkout Sessions + * and Orders to collect + * shipping costs. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property bool $active Whether the shipping rate can be used for new purchases. Defaults to true. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|\Stripe\StripeObject $delivery_estimate The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions. + * @property null|string $display_name The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. + * @property \Stripe\StripeObject $fixed_amount + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|string $tax_behavior Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. + * @property null|string|\Stripe\TaxCode $tax_code A tax code ID. The Shipping tax code is txcd_92010001. + * @property string $type The type of calculation to use on the shipping rate. Can only be fixed_amount for now. + */ +class ShippingRate extends ApiResource +{ + const OBJECT_NAME = 'shipping_rate'; + + use ApiOperations\All; + use ApiOperations\Create; + use ApiOperations\Retrieve; + use ApiOperations\Update; + + const TAX_BEHAVIOR_EXCLUSIVE = 'exclusive'; + const TAX_BEHAVIOR_INCLUSIVE = 'inclusive'; + const TAX_BEHAVIOR_UNSPECIFIED = 'unspecified'; + + const TYPE_FIXED_AMOUNT = 'fixed_amount'; +} diff --git a/vendor/stripe-php-7.72.0/lib/Sigma/ScheduledQueryRun.php b/vendor/stripe-php-10.5.0/lib/Sigma/ScheduledQueryRun.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Sigma/ScheduledQueryRun.php rename to vendor/stripe-php-10.5.0/lib/Sigma/ScheduledQueryRun.php diff --git a/vendor/stripe-php-7.72.0/lib/SingletonApiResource.php b/vendor/stripe-php-10.5.0/lib/SingletonApiResource.php similarity index 74% rename from vendor/stripe-php-7.72.0/lib/SingletonApiResource.php rename to vendor/stripe-php-10.5.0/lib/SingletonApiResource.php index 704cff87..34dfa43f 100644 --- a/vendor/stripe-php-7.72.0/lib/SingletonApiResource.php +++ b/vendor/stripe-php-10.5.0/lib/SingletonApiResource.php @@ -7,15 +7,6 @@ namespace Stripe; */ abstract class SingletonApiResource extends ApiResource { - protected static function _singletonRetrieve($options = null) - { - $opts = Util\RequestOptions::parse($options); - $instance = new static(null, $opts); - $instance->refresh(); - - return $instance; - } - /** * @return string the endpoint associated with this singleton class */ @@ -23,6 +14,8 @@ abstract class SingletonApiResource extends ApiResource { // Replace dots with slashes for namespaced resources, e.g. if the object's name is // "foo.bar", then its URL will be "/v1/foo/bar". + + /** @phpstan-ignore-next-line */ $base = \str_replace('.', '/', static::OBJECT_NAME); return "/v1/{$base}"; diff --git a/vendor/stripe-php-7.72.0/lib/Source.php b/vendor/stripe-php-10.5.0/lib/Source.php similarity index 90% rename from vendor/stripe-php-7.72.0/lib/Source.php rename to vendor/stripe-php-10.5.0/lib/Source.php index 2262e71d..201fdab7 100644 --- a/vendor/stripe-php-7.72.0/lib/Source.php +++ b/vendor/stripe-php-10.5.0/lib/Source.php @@ -10,6 +10,12 @@ namespace Stripe; * API just like a Card object: once chargeable, they can be charged, * or can be attached to customers. * + * Stripe doesn't recommend using the deprecated Sources API. We recommend that + * you adopt the PaymentMethods API. This + * newer API provides access to our latest features and payment method types. + * * Related guides: Sources API and Sources & Customers. * @@ -115,26 +121,6 @@ class Source extends ApiResource throw new Exception\UnexpectedValueException($message); } - /** - * @deprecated sourceTransactions is deprecated. Please use Source::allSourceTransactions instead. - * - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection the list of source transactions - */ - public function sourceTransactions($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/source_transactions'; - list($response, $opts) = $this->_request('get', $url, $params, $opts); - $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); - $obj->setLastResponse($response); - - return $obj; - } - /** * @param string $id * @param null|array $params @@ -142,11 +128,16 @@ class Source extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of source transactions + * @return \Stripe\Collection<\Stripe\SourceTransaction> list of SourceTransactions */ public static function allSourceTransactions($id, $params = null, $opts = null) { - return self::_allNestedResources($id, '/source_transactions', $params, $opts); + $url = static::resourceUrl($id) . '/source_transactions'; + list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); + $obj->setLastResponse($response); + + return $obj; } /** @@ -155,7 +146,7 @@ class Source extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Source the verified source + * @return \Stripe\Source the verified source */ public function verify($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/SourceTransaction.php b/vendor/stripe-php-10.5.0/lib/SourceTransaction.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/SourceTransaction.php rename to vendor/stripe-php-10.5.0/lib/SourceTransaction.php diff --git a/vendor/stripe-php-7.72.0/lib/Stripe.php b/vendor/stripe-php-10.5.0/lib/Stripe.php similarity index 95% rename from vendor/stripe-php-7.72.0/lib/Stripe.php rename to vendor/stripe-php-10.5.0/lib/Stripe.php index ec39b615..b11bf4f8 100644 --- a/vendor/stripe-php-7.72.0/lib/Stripe.php +++ b/vendor/stripe-php-10.5.0/lib/Stripe.php @@ -58,7 +58,7 @@ class Stripe /** @var float Initial delay between retries, in seconds */ private static $initialNetworkRetryDelay = 0.5; - const VERSION = '7.72.0'; + const VERSION = '10.5.0'; /** * @return string the API key used for requests @@ -90,7 +90,7 @@ class Stripe } /** - * @param Util\LoggerInterface $logger the logger to which the library + * @param \Psr\Log\LoggerInterface|Util\LoggerInterface $logger the logger to which the library * will produce messages */ public static function setLogger($logger) @@ -176,7 +176,7 @@ class Stripe } /** - * @return string | null The Stripe account ID for connected account + * @return null|string The Stripe account ID for connected account * requests */ public static function getAccountId() @@ -185,7 +185,7 @@ class Stripe } /** - * @param string $accountId the Stripe account ID to set for connected + * @param null|string $accountId the Stripe account ID to set for connected * account requests */ public static function setAccountId($accountId) @@ -194,7 +194,7 @@ class Stripe } /** - * @return array | null The application's information + * @return null|array The application's information */ public static function getAppInfo() { diff --git a/vendor/stripe-php-7.72.0/lib/StripeClient.php b/vendor/stripe-php-10.5.0/lib/StripeClient.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/StripeClient.php rename to vendor/stripe-php-10.5.0/lib/StripeClient.php index 661483c5..73522abc 100644 --- a/vendor/stripe-php-7.72.0/lib/StripeClient.php +++ b/vendor/stripe-php-10.5.0/lib/StripeClient.php @@ -11,6 +11,7 @@ namespace Stripe; * @property \Stripe\Service\AccountService $accounts * @property \Stripe\Service\ApplePayDomainService $applePayDomains * @property \Stripe\Service\ApplicationFeeService $applicationFees + * @property \Stripe\Service\Apps\AppsServiceFactory $apps * @property \Stripe\Service\BalanceService $balance * @property \Stripe\Service\BalanceTransactionService $balanceTransactions * @property \Stripe\Service\BillingPortal\BillingPortalServiceFactory $billingPortal @@ -26,37 +27,42 @@ namespace Stripe; * @property \Stripe\Service\ExchangeRateService $exchangeRates * @property \Stripe\Service\FileLinkService $fileLinks * @property \Stripe\Service\FileService $files + * @property \Stripe\Service\FinancialConnections\FinancialConnectionsServiceFactory $financialConnections + * @property \Stripe\Service\Identity\IdentityServiceFactory $identity * @property \Stripe\Service\InvoiceItemService $invoiceItems * @property \Stripe\Service\InvoiceService $invoices * @property \Stripe\Service\Issuing\IssuingServiceFactory $issuing * @property \Stripe\Service\MandateService $mandates * @property \Stripe\Service\OAuthService $oauth - * @property \Stripe\Service\OrderReturnService $orderReturns - * @property \Stripe\Service\OrderService $orders * @property \Stripe\Service\PaymentIntentService $paymentIntents + * @property \Stripe\Service\PaymentLinkService $paymentLinks * @property \Stripe\Service\PaymentMethodService $paymentMethods * @property \Stripe\Service\PayoutService $payouts * @property \Stripe\Service\PlanService $plans * @property \Stripe\Service\PriceService $prices * @property \Stripe\Service\ProductService $products * @property \Stripe\Service\PromotionCodeService $promotionCodes + * @property \Stripe\Service\QuoteService $quotes * @property \Stripe\Service\Radar\RadarServiceFactory $radar * @property \Stripe\Service\RefundService $refunds * @property \Stripe\Service\Reporting\ReportingServiceFactory $reporting * @property \Stripe\Service\ReviewService $reviews * @property \Stripe\Service\SetupAttemptService $setupAttempts * @property \Stripe\Service\SetupIntentService $setupIntents + * @property \Stripe\Service\ShippingRateService $shippingRates * @property \Stripe\Service\Sigma\SigmaServiceFactory $sigma - * @property \Stripe\Service\SkuService $skus * @property \Stripe\Service\SourceService $sources * @property \Stripe\Service\SubscriptionItemService $subscriptionItems * @property \Stripe\Service\SubscriptionScheduleService $subscriptionSchedules * @property \Stripe\Service\SubscriptionService $subscriptions + * @property \Stripe\Service\TaxCodeService $taxCodes * @property \Stripe\Service\TaxRateService $taxRates * @property \Stripe\Service\Terminal\TerminalServiceFactory $terminal + * @property \Stripe\Service\TestHelpers\TestHelpersServiceFactory $testHelpers * @property \Stripe\Service\TokenService $tokens * @property \Stripe\Service\TopupService $topups * @property \Stripe\Service\TransferService $transfers + * @property \Stripe\Service\Treasury\TreasuryServiceFactory $treasury * @property \Stripe\Service\WebhookEndpointService $webhookEndpoints */ class StripeClient extends BaseStripeClient diff --git a/vendor/stripe-php-10.5.0/lib/StripeClientInterface.php b/vendor/stripe-php-10.5.0/lib/StripeClientInterface.php new file mode 100644 index 00000000..d5a8806f --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/StripeClientInterface.php @@ -0,0 +1,21 @@ +_unsavedValues->add($k); } + /** + * @param mixed $k + * + * @return bool + */ public function __isset($k) { return isset($this->_values[$k]); @@ -187,34 +192,58 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable return $nullval; } - // Magic method for var_dump output. Only works with PHP >= 5.6 + /** + * Magic method for var_dump output. Only works with PHP >= 5.6. + * + * @return array + */ public function __debugInfo() { return $this->_values; } // ArrayAccess methods + + /** + * @return void + */ + #[\ReturnTypeWillChange] public function offsetSet($k, $v) { $this->{$k} = $v; } + /** + * @return bool + */ + #[\ReturnTypeWillChange] public function offsetExists($k) { return \array_key_exists($k, $this->_values); } + /** + * @return void + */ + #[\ReturnTypeWillChange] public function offsetUnset($k) { unset($this->{$k}); } + /** + * @return mixed + */ + #[\ReturnTypeWillChange] public function offsetGet($k) { return \array_key_exists($k, $this->_values) ? $this->_values[$k] : null; } - // Countable method + /** + * @return int + */ + #[\ReturnTypeWillChange] public function count() { return \count($this->_values); @@ -419,6 +448,10 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable } } + /** + * @return mixed + */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->toArray(); diff --git a/vendor/stripe-php-10.5.0/lib/StripeStreamingClientInterface.php b/vendor/stripe-php-10.5.0/lib/StripeStreamingClientInterface.php new file mode 100644 index 00000000..e5e34c18 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/StripeStreamingClientInterface.php @@ -0,0 +1,11 @@ +month or year intervals, the day of the month for subsequent invoices. + * @property \Stripe\StripeObject $automatic_tax + * @property int $billing_cycle_anchor Determines the date of the first full invoice, and, for plans with month or year intervals, the day of the month for subsequent invoices. The timestamp is in UTC format. * @property null|\Stripe\StripeObject $billing_thresholds Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period * @property null|int $cancel_at A date in the future at which the subscription will automatically get canceled * @property bool $cancel_at_period_end If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period. * @property null|int $canceled_at If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with cancel_at_period_end, canceled_at will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state. - * @property null|string $collection_method Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. + * @property string $collection_method Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as active. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property int $current_period_end End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created. * @property int $current_period_start Start of the current period that the subscription has been invoiced for. * @property string|\Stripe\Customer $customer ID of the customer who owns the subscription. * @property null|int $days_until_due Number of days a customer has to pay invoices generated by this subscription. This value will be null for subscriptions where collection_method=charge_automatically. * @property null|string|\Stripe\PaymentMethod $default_payment_method ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over default_source. If neither are set, invoices will use the customer's invoice_settings.default_payment_method or default_source. - * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If default_payment_method is also set, default_payment_method will take precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method or default_source. + * @property null|string|\Stripe\Account|\Stripe\BankAccount|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If default_payment_method is also set, default_payment_method will take precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method or default_source. * @property null|\Stripe\TaxRate[] $default_tax_rates The tax rates that will apply to any subscription item that does not have tax_rates set. Invoices created will have their default_tax_rates populated from the subscription. + * @property null|string $description The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. * @property null|\Stripe\Discount $discount Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. * @property null|int $ended_at If the subscription has ended, the date the subscription ended. - * @property \Stripe\Collection $items List of subscription items, each with an attached price. + * @property \Stripe\Collection<\Stripe\SubscriptionItem> $items List of subscription items, each with an attached price. * @property null|string|\Stripe\Invoice $latest_invoice The most recent invoice this subscription has generated. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property null|int $next_pending_invoice_item_invoice Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at pending_invoice_item_interval. + * @property null|string|\Stripe\Account $on_behalf_of The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details. * @property null|\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused. + * @property null|\Stripe\StripeObject $payment_settings Payment settings passed on to invoices created by the subscription. * @property null|\Stripe\StripeObject $pending_invoice_item_interval Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling Create an invoice for the given subscription at the specified interval. * @property null|string|\Stripe\SetupIntent $pending_setup_intent You can use this SetupIntent to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the SCA Migration Guide. * @property null|\Stripe\StripeObject $pending_update If specified, pending updates that will be applied to the subscription once the latest_invoice has been paid. * @property null|string|\Stripe\SubscriptionSchedule $schedule The schedule attached to the subscription * @property int $start_date Date when the subscription was first created. The date might differ from the created date due to backdating. * @property string $status

Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, or unpaid.

For collection_method=charge_automatically a subscription moves into incomplete if the initial payment attempt fails. A subscription in this state can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an active state. If the first invoice is not paid within 23 hours, the subscription transitions to incomplete_expired. This is a terminal state, the open invoice will be voided and no further invoices will be generated.

A subscription that is currently in a trial period is trialing and moves to active when the trial period is over.

If subscription collection_method=charge_automatically it becomes past_due when payment to renew it fails and canceled or unpaid (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.

If subscription collection_method=send_invoice it becomes past_due when its invoice is not paid by the due date, and canceled or unpaid if it is still not paid by an additional deadline after that. Note that when a subscription has a status of unpaid, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.

+ * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this subscription belongs to. + * @property null|\Stripe\StripeObject $transfer_data The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. * @property null|int $trial_end If the subscription has a trial, the end of that trial. + * @property null|\Stripe\StripeObject $trial_settings Settings related to subscription trials. * @property null|int $trial_start If the subscription has a trial, the beginning of that trial. */ class Subscription extends ApiResource @@ -52,9 +61,11 @@ class Subscription extends ApiResource use ApiOperations\All; use ApiOperations\Create; use ApiOperations\Retrieve; + use ApiOperations\Search; use ApiOperations\Update; const PAYMENT_BEHAVIOR_ALLOW_INCOMPLETE = 'allow_incomplete'; + const PAYMENT_BEHAVIOR_DEFAULT_INCOMPLETE = 'default_incomplete'; const PAYMENT_BEHAVIOR_ERROR_IF_INCOMPLETE = 'error_if_incomplete'; const PAYMENT_BEHAVIOR_PENDING_IF_INCOMPLETE = 'pending_if_incomplete'; @@ -67,6 +78,7 @@ class Subscription extends ApiResource const STATUS_INCOMPLETE = 'incomplete'; const STATUS_INCOMPLETE_EXPIRED = 'incomplete_expired'; const STATUS_PAST_DUE = 'past_due'; + const STATUS_PAUSED = 'paused'; const STATUS_TRIALING = 'trialing'; const STATUS_UNPAID = 'unpaid'; @@ -92,11 +104,15 @@ class Subscription extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Subscription the deleted subscription + * @return \Stripe\Subscription the updated subscription */ - public function cancel($params = null, $opts = null) + public function deleteDiscount($params = null, $opts = null) { - return $this->_delete($params, $opts); + $url = $this->instanceUrl() . '/discount'; + list($response, $opts) = $this->_request('delete', $url, $params, $opts); + $this->refreshFrom(['discount' => null], $opts, true); + + return $this; } /** @@ -105,12 +121,46 @@ class Subscription extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Subscription the updated subscription + * @return \Stripe\Subscription the canceled subscription */ - public function deleteDiscount($params = null, $opts = null) + public function cancel($params = null, $opts = null) { - $url = $this->instanceUrl() . '/discount'; + $url = $this->instanceUrl(); list($response, $opts) = $this->_request('delete', $url, $params, $opts); - $this->refreshFrom(['discount' => null], $opts, true); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Subscription the resumed subscription + */ + public function resume($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/resume'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\SearchResult the subscription search results + */ + public static function search($params = null, $opts = null) + { + $url = '/v1/subscriptions/search'; + + return self::_searchResource($url, $params, $opts); } } diff --git a/vendor/stripe-php-7.72.0/lib/SubscriptionItem.php b/vendor/stripe-php-10.5.0/lib/SubscriptionItem.php similarity index 83% rename from vendor/stripe-php-7.72.0/lib/SubscriptionItem.php rename to vendor/stripe-php-10.5.0/lib/SubscriptionItem.php index 5bd25b25..79ea5989 100644 --- a/vendor/stripe-php-7.72.0/lib/SubscriptionItem.php +++ b/vendor/stripe-php-10.5.0/lib/SubscriptionItem.php @@ -13,8 +13,8 @@ namespace Stripe; * @property null|\Stripe\StripeObject $billing_thresholds Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property \Stripe\Plan $plan

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

Plans define the base price, currency, and billing cycle for recurring purchases of products. Products help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.

Related guides: Set up a subscription and more about products and prices.

- * @property \Stripe\Price $price

Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. Products help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.

Related guides: Set up a subscription, create an invoice, and more about products and prices.

+ * @property \Stripe\Plan $plan

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

Plans define the base price, currency, and billing cycle for recurring purchases of products. Products help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.

Related guides: Set up a subscription and more about products and prices.

+ * @property \Stripe\Price $price

Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. Products help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.

For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once.

Related guides: Set up a subscription, create an invoice, and more about products and prices.

* @property int $quantity The quantity of the plan to which the customer should be subscribed. * @property string $subscription The subscription this subscription_item belongs to. * @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to this subscription_item. When set, the default_tax_rates on the subscription do not apply to this subscription_item. @@ -46,26 +46,6 @@ class SubscriptionItem extends ApiResource return self::_createNestedResource($id, static::PATH_USAGE_RECORDS, $params, $opts); } - /** - * @deprecated usageRecordSummaries is deprecated. Please use SubscriptionItem::allUsageRecordSummaries instead. - * - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection the list of usage record summaries - */ - public function usageRecordSummaries($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/usage_record_summaries'; - list($response, $opts) = $this->_request('get', $url, $params, $opts); - $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); - $obj->setLastResponse($response); - - return $obj; - } - const PATH_USAGE_RECORD_SUMMARIES = '/usage_record_summaries'; /** @@ -75,7 +55,7 @@ class SubscriptionItem extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of usage record summaries + * @return \Stripe\Collection<\Stripe\UsageRecordSummary> the list of usage record summaries */ public static function allUsageRecordSummaries($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/SubscriptionSchedule.php b/vendor/stripe-php-10.5.0/lib/SubscriptionSchedule.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/SubscriptionSchedule.php rename to vendor/stripe-php-10.5.0/lib/SubscriptionSchedule.php index 0f1b1563..cc001170 100644 --- a/vendor/stripe-php-7.72.0/lib/SubscriptionSchedule.php +++ b/vendor/stripe-php-10.5.0/lib/SubscriptionSchedule.php @@ -14,13 +14,14 @@ namespace Stripe; * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|string|\Stripe\StripeObject $application ID of the Connect Application that created the schedule. * @property null|int $canceled_at Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch. * @property null|int $completed_at Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|\Stripe\StripeObject $current_phase Object representing the start and end dates for the current phase of the subscription schedule, if it is active. * @property string|\Stripe\Customer $customer ID of the customer who owns the subscription schedule. * @property \Stripe\StripeObject $default_settings - * @property string $end_behavior Behavior of the subscription schedule and underlying subscription when it ends. Possible values are release and cancel. + * @property string $end_behavior Behavior of the subscription schedule and underlying subscription when it ends. Possible values are release or cancel with the default being release. release will end the subscription schedule and keep the underlying subscription running.cancel will end the subscription schedule and cancel the underlying subscription. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property \Stripe\StripeObject[] $phases Configuration for the subscription schedule's phases. @@ -28,6 +29,7 @@ namespace Stripe; * @property null|string $released_subscription ID of the subscription once managed by the subscription schedule (if it is released). * @property string $status The present status of the subscription schedule. Possible values are not_started, active, completed, released, and canceled. You can read more about the different states in our behavior guide. * @property null|string|\Stripe\Subscription $subscription ID of the subscription managed by the subscription schedule. + * @property null|string|\Stripe\TestHelpers\TestClock $test_clock ID of the test clock this subscription schedule belongs to. */ class SubscriptionSchedule extends ApiResource { @@ -44,7 +46,7 @@ class SubscriptionSchedule extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return SubscriptionSchedule the canceled subscription schedule + * @return \Stripe\SubscriptionSchedule the canceled subscription schedule */ public function cancel($params = null, $opts = null) { @@ -61,7 +63,7 @@ class SubscriptionSchedule extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return SubscriptionSchedule the released subscription schedule + * @return \Stripe\SubscriptionSchedule the released subscription schedule */ public function release($params = null, $opts = null) { diff --git a/vendor/stripe-php-10.5.0/lib/TaxCode.php b/vendor/stripe-php-10.5.0/lib/TaxCode.php new file mode 100644 index 00000000..0dfc49e8 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/TaxCode.php @@ -0,0 +1,22 @@ +Tax codes classify + * goods and services for tax purposes. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property string $description A detailed description of which types of products the tax code represents. + * @property string $name A short name for the tax code. + */ +class TaxCode extends ApiResource +{ + const OBJECT_NAME = 'tax_code'; + + use ApiOperations\All; + use ApiOperations\Retrieve; +} diff --git a/vendor/stripe-php-7.72.0/lib/TaxId.php b/vendor/stripe-php-10.5.0/lib/TaxId.php similarity index 67% rename from vendor/stripe-php-7.72.0/lib/TaxId.php rename to vendor/stripe-php-10.5.0/lib/TaxId.php index 7281f00b..0e2dd4ac 100644 --- a/vendor/stripe-php-7.72.0/lib/TaxId.php +++ b/vendor/stripe-php-10.5.0/lib/TaxId.php @@ -18,7 +18,7 @@ namespace Stripe; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer ID of the customer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property string $type Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, gb_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, th_vat, tw_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown + * @property string $type Type of the tax ID, one of ae_trn, au_abn, au_arn, bg_uic, br_cnpj, br_cpf, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, ch_vat, cl_tin, eg_tin, es_cif, eu_oss_vat, eu_vat, gb_vat, ge_vat, hk_br, hu_tin, id_npwp, il_vat, in_gst, is_vat, jp_cn, jp_rn, jp_trn, ke_pin, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ph_tin, ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, si_tin, th_vat, tr_tin, tw_vat, ua_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown * @property string $value Value of the tax ID. * @property null|\Stripe\StripeObject $verification Tax ID verification information. */ @@ -30,20 +30,34 @@ class TaxId extends ApiResource const TYPE_AE_TRN = 'ae_trn'; const TYPE_AU_ABN = 'au_abn'; + const TYPE_AU_ARN = 'au_arn'; + const TYPE_BG_UIC = 'bg_uic'; const TYPE_BR_CNPJ = 'br_cnpj'; const TYPE_BR_CPF = 'br_cpf'; const TYPE_CA_BN = 'ca_bn'; + const TYPE_CA_GST_HST = 'ca_gst_hst'; + const TYPE_CA_PST_BC = 'ca_pst_bc'; + const TYPE_CA_PST_MB = 'ca_pst_mb'; + const TYPE_CA_PST_SK = 'ca_pst_sk'; const TYPE_CA_QST = 'ca_qst'; const TYPE_CH_VAT = 'ch_vat'; const TYPE_CL_TIN = 'cl_tin'; + const TYPE_EG_TIN = 'eg_tin'; const TYPE_ES_CIF = 'es_cif'; + const TYPE_EU_OSS_VAT = 'eu_oss_vat'; const TYPE_EU_VAT = 'eu_vat'; const TYPE_GB_VAT = 'gb_vat'; + const TYPE_GE_VAT = 'ge_vat'; const TYPE_HK_BR = 'hk_br'; + const TYPE_HU_TIN = 'hu_tin'; const TYPE_ID_NPWP = 'id_npwp'; + const TYPE_IL_VAT = 'il_vat'; const TYPE_IN_GST = 'in_gst'; + const TYPE_IS_VAT = 'is_vat'; const TYPE_JP_CN = 'jp_cn'; const TYPE_JP_RN = 'jp_rn'; + const TYPE_JP_TRN = 'jp_trn'; + const TYPE_KE_PIN = 'ke_pin'; const TYPE_KR_BRN = 'kr_brn'; const TYPE_LI_UID = 'li_uid'; const TYPE_MX_RFC = 'mx_rfc'; @@ -52,13 +66,17 @@ class TaxId extends ApiResource const TYPE_MY_SST = 'my_sst'; const TYPE_NO_VAT = 'no_vat'; const TYPE_NZ_GST = 'nz_gst'; + const TYPE_PH_TIN = 'ph_tin'; const TYPE_RU_INN = 'ru_inn'; const TYPE_RU_KPP = 'ru_kpp'; const TYPE_SA_VAT = 'sa_vat'; const TYPE_SG_GST = 'sg_gst'; const TYPE_SG_UEN = 'sg_uen'; + const TYPE_SI_TIN = 'si_tin'; const TYPE_TH_VAT = 'th_vat'; + const TYPE_TR_TIN = 'tr_tin'; const TYPE_TW_VAT = 'tw_vat'; + const TYPE_UA_VAT = 'ua_vat'; const TYPE_UNKNOWN = 'unknown'; const TYPE_US_EIN = 'us_ein'; const TYPE_ZA_VAT = 'za_vat'; diff --git a/vendor/stripe-php-7.72.0/lib/TaxRate.php b/vendor/stripe-php-10.5.0/lib/TaxRate.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/TaxRate.php rename to vendor/stripe-php-10.5.0/lib/TaxRate.php index e0ce630c..5a456378 100644 --- a/vendor/stripe-php-7.72.0/lib/TaxRate.php +++ b/vendor/stripe-php-10.5.0/lib/TaxRate.php @@ -28,6 +28,7 @@ namespace Stripe; * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property float $percentage This represents the tax rate percent out of 100. * @property null|string $state ISO 3166-2 subdivision code, without country prefix. For example, "NY" for New York, United States. + * @property null|string $tax_type The high-level tax type, such as vat or sales_tax. */ class TaxRate extends ApiResource { @@ -37,4 +38,13 @@ class TaxRate extends ApiResource use ApiOperations\Create; use ApiOperations\Retrieve; use ApiOperations\Update; + + const TAX_TYPE_GST = 'gst'; + const TAX_TYPE_HST = 'hst'; + const TAX_TYPE_JCT = 'jct'; + const TAX_TYPE_PST = 'pst'; + const TAX_TYPE_QST = 'qst'; + const TAX_TYPE_RST = 'rst'; + const TAX_TYPE_SALES_TAX = 'sales_tax'; + const TAX_TYPE_VAT = 'vat'; } diff --git a/vendor/stripe-php-10.5.0/lib/Terminal/Configuration.php b/vendor/stripe-php-10.5.0/lib/Terminal/Configuration.php new file mode 100644 index 00000000..f34831f7 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Terminal/Configuration.php @@ -0,0 +1,28 @@ +true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $tipping + * @property \Stripe\StripeObject $verifone_p400 + */ +class Configuration extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'terminal.configuration'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Delete; + use \Stripe\ApiOperations\Retrieve; + use \Stripe\ApiOperations\Update; +} diff --git a/vendor/stripe-php-7.72.0/lib/Terminal/ConnectionToken.php b/vendor/stripe-php-10.5.0/lib/Terminal/ConnectionToken.php similarity index 65% rename from vendor/stripe-php-7.72.0/lib/Terminal/ConnectionToken.php rename to vendor/stripe-php-10.5.0/lib/Terminal/ConnectionToken.php index e688857b..e49a0b0e 100644 --- a/vendor/stripe-php-7.72.0/lib/Terminal/ConnectionToken.php +++ b/vendor/stripe-php-10.5.0/lib/Terminal/ConnectionToken.php @@ -7,12 +7,11 @@ namespace Stripe\Terminal; /** * A Connection Token is used by the Stripe Terminal SDK to connect to a reader. * - * Related guide: Fleet + * Related guide: Fleet * Management. * * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property string $location The id of the location that this connection token is scoped to. + * @property string $location The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see the docs on scoping connection tokens. * @property string $secret Your application should pass this token to the Stripe Terminal SDK. */ class ConnectionToken extends \Stripe\ApiResource diff --git a/vendor/stripe-php-7.72.0/lib/Terminal/Location.php b/vendor/stripe-php-10.5.0/lib/Terminal/Location.php similarity index 84% rename from vendor/stripe-php-7.72.0/lib/Terminal/Location.php rename to vendor/stripe-php-10.5.0/lib/Terminal/Location.php index 5769ef35..11c625d8 100644 --- a/vendor/stripe-php-7.72.0/lib/Terminal/Location.php +++ b/vendor/stripe-php-10.5.0/lib/Terminal/Location.php @@ -7,13 +7,13 @@ namespace Stripe\Terminal; /** * A Location represents a grouping of readers. * - * Related guide: Fleet + * Related guide: Fleet * Management. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property \Stripe\StripeObject $address + * @property string $configuration_overrides The ID of a configuration that will be used to customize all readers in this location. * @property string $display_name The display name of the location. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. diff --git a/vendor/stripe-php-10.5.0/lib/Terminal/Reader.php b/vendor/stripe-php-10.5.0/lib/Terminal/Reader.php new file mode 100644 index 00000000..16d610a0 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Terminal/Reader.php @@ -0,0 +1,104 @@ +Connecting to a + * Reader. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|\Stripe\StripeObject $action The most recent action performed by the reader. + * @property null|string $device_sw_version The current software version of the reader. + * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, or simulated_wisepos_e. + * @property null|string $ip_address The local IP address of the reader. + * @property string $label Custom label given to the reader for easier identification. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|string|\Stripe\Terminal\Location $location The location identifier of the reader. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $serial_number Serial number of the reader. + * @property null|string $status The networking status of the reader. + */ +class Reader extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'terminal.reader'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Delete; + use \Stripe\ApiOperations\Retrieve; + use \Stripe\ApiOperations\Update; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader the canceled reader + */ + public function cancelAction($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel_action'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader the processed reader + */ + public function processPaymentIntent($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/process_payment_intent'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader the processed reader + */ + public function processSetupIntent($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/process_setup_intent'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Terminal\Reader the seted reader + */ + public function setReaderDisplay($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/set_reader_display'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/TestHelpers/TestClock.php b/vendor/stripe-php-10.5.0/lib/TestHelpers/TestClock.php new file mode 100644 index 00000000..01d36ea0 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/TestHelpers/TestClock.php @@ -0,0 +1,53 @@ +true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|string $name The custom name supplied at creation. + * @property string $status The status of the Test Clock. + */ +class TestClock extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'test_helpers.test_clock'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Delete; + use \Stripe\ApiOperations\Retrieve; + + const STATUS_ADVANCING = 'advancing'; + const STATUS_INTERNAL_FAILURE = 'internal_failure'; + const STATUS_READY = 'ready'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\TestHelpers\TestClock the advanced test clock + */ + public function advance($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/advance'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-7.72.0/lib/Token.php b/vendor/stripe-php-10.5.0/lib/Token.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Token.php rename to vendor/stripe-php-10.5.0/lib/Token.php index de7988cf..18b33e86 100644 --- a/vendor/stripe-php-7.72.0/lib/Token.php +++ b/vendor/stripe-php-10.5.0/lib/Token.php @@ -26,8 +26,8 @@ namespace Stripe; * href="https://stripe.com/docs/api#customers">Customer objects or Custom accounts. Note * that Radar, our integrated solution - * for automatic fraud protection, supports only integrations that use client-side - * tokenization. + * for automatic fraud protection, performs best with integrations that use + * client-side tokenization. * * Related guide: Accept diff --git a/vendor/stripe-php-7.72.0/lib/Topup.php b/vendor/stripe-php-10.5.0/lib/Topup.php similarity index 87% rename from vendor/stripe-php-7.72.0/lib/Topup.php rename to vendor/stripe-php-10.5.0/lib/Topup.php index 4a4c818b..a0ea053c 100644 --- a/vendor/stripe-php-7.72.0/lib/Topup.php +++ b/vendor/stripe-php-10.5.0/lib/Topup.php @@ -24,7 +24,7 @@ namespace Stripe; * @property null|string $failure_message Message to user further explaining reason for top-up failure if available. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property \Stripe\Source $source

Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like a Card object: once chargeable, they can be charged, or can be attached to customers.

Related guides: Sources API and Sources & Customers.

+ * @property null|\Stripe\Source $source For most Stripe users, the source of every top-up is a bank account. This hash is then the source object describing that bank account. * @property null|string $statement_descriptor Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter. * @property string $status The status of the top-up is either canceled, failed, pending, reversed, or succeeded. * @property null|string $transfer_group A string that identifies this top-up as part of a group. @@ -50,7 +50,7 @@ class Topup extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Topup the canceled topup + * @return \Stripe\Topup the canceled topup */ public function cancel($params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/Transfer.php b/vendor/stripe-php-10.5.0/lib/Transfer.php similarity index 85% rename from vendor/stripe-php-7.72.0/lib/Transfer.php rename to vendor/stripe-php-10.5.0/lib/Transfer.php index 6b8e4ac6..f93e3bda 100644 --- a/vendor/stripe-php-7.72.0/lib/Transfer.php +++ b/vendor/stripe-php-10.5.0/lib/Transfer.php @@ -30,10 +30,10 @@ namespace Stripe; * @property string|\Stripe\Charge $destination_payment If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property \Stripe\Collection $reversals A list of reversals that have been applied to the transfer. + * @property \Stripe\Collection<\Stripe\TransferReversal> $reversals A list of reversals that have been applied to the transfer. * @property bool $reversed Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false. * @property null|string|\Stripe\Charge $source_transaction ID of the charge or payment that was used to fund the transfer. If null, the transfer was funded from the available balance. - * @property null|string $source_type The source balance this transfer came from. One of card, fpx, or bank_account. + * @property string $source_type The source balance this transfer came from. One of card, fpx, or bank_account. * @property null|string $transfer_group A string that identifies this transaction as part of a group. See the Connect documentation for details. */ class Transfer extends ApiResource @@ -46,27 +46,9 @@ class Transfer extends ApiResource use ApiOperations\Retrieve; use ApiOperations\Update; - const SOURCE_TYPE_ALIPAY_ACCOUNT = 'alipay_account'; const SOURCE_TYPE_BANK_ACCOUNT = 'bank_account'; const SOURCE_TYPE_CARD = 'card'; - const SOURCE_TYPE_FINANCING = 'financing'; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return Transfer the canceled transfer - */ - public function cancel($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/cancel'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - $this->refreshFrom($response, $opts); - - return $this; - } + const SOURCE_TYPE_FPX = 'fpx'; const PATH_REVERSALS = '/reversals'; @@ -77,7 +59,7 @@ class Transfer extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection the list of transfer reversals + * @return \Stripe\Collection<\Stripe\TransferReversal> the list of transfer reversals */ public static function allReversals($id, $params = null, $opts = null) { diff --git a/vendor/stripe-php-7.72.0/lib/TransferReversal.php b/vendor/stripe-php-10.5.0/lib/TransferReversal.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/TransferReversal.php rename to vendor/stripe-php-10.5.0/lib/TransferReversal.php diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/CreditReversal.php b/vendor/stripe-php-10.5.0/lib/Treasury/CreditReversal.php new file mode 100644 index 00000000..e142d811 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/CreditReversal.php @@ -0,0 +1,42 @@ +ReceivedCredits + * depending on their network and source flow. Reversing a ReceivedCredit leads to + * the creation of a new object known as a CreditReversal. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $financial_account The FinancialAccount to reverse funds from. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $network The rails used to reverse the funds. + * @property string $received_credit The ReceivedCredit being reversed. + * @property string $status Status of the CreditReversal + * @property \Stripe\StripeObject $status_transitions + * @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class CreditReversal extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.credit_reversal'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + + const NETWORK_ACH = 'ach'; + const NETWORK_STRIPE = 'stripe'; + + const STATUS_CANCELED = 'canceled'; + const STATUS_POSTED = 'posted'; + const STATUS_PROCESSING = 'processing'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/DebitReversal.php b/vendor/stripe-php-10.5.0/lib/Treasury/DebitReversal.php new file mode 100644 index 00000000..fa550331 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/DebitReversal.php @@ -0,0 +1,43 @@ +ReceivedDebits depending + * on their network and source flow. Reversing a ReceivedDebit leads to the + * creation of a new object known as a DebitReversal. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property null|string $financial_account The FinancialAccount to reverse funds from. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property null|\Stripe\StripeObject $linked_flows Other flows linked to a DebitReversal. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $network The rails used to reverse the funds. + * @property string $received_debit The ReceivedDebit being reversed. + * @property string $status Status of the DebitReversal + * @property \Stripe\StripeObject $status_transitions + * @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class DebitReversal extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.debit_reversal'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + + const NETWORK_ACH = 'ach'; + const NETWORK_CARD = 'card'; + + const STATUS_FAILED = 'failed'; + const STATUS_PROCESSING = 'processing'; + const STATUS_SUCCEEDED = 'succeeded'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccount.php b/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccount.php new file mode 100644 index 00000000..a5c63c88 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccount.php @@ -0,0 +1,75 @@ +ISO 3166-1 alpha-2). + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property \Stripe\Treasury\FinancialAccountFeatures $features Encodes whether a FinancialAccount has access to a particular Feature, with a status enum and associated status_details. Stripe or the platform can control Features via the requested field. + * @property \Stripe\StripeObject[] $financial_addresses The set of credentials that resolve to a FinancialAccount. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string[] $pending_features The array of paths to pending Features in the Features hash. + * @property null|\Stripe\StripeObject $platform_restrictions The set of functionalities that the platform can restrict on the FinancialAccount. + * @property string[] $restricted_features The array of paths to restricted Features in the Features hash. + * @property string $status The enum specifying what state the account is in. + * @property \Stripe\StripeObject $status_details + * @property string[] $supported_currencies The currencies the FinancialAccount can hold a balance in. Three-letter ISO currency code, in lowercase. + */ +class FinancialAccount extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.financial_account'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + use \Stripe\ApiOperations\Update; + + const STATUS_CLOSED = 'closed'; + const STATUS_OPEN = 'open'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount the retrieved financial account + */ + public function retrieveFeatures($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/features'; + list($response, $opts) = $this->_request('get', $url, $params, $opts); + $obj = \Stripe\Util\Util::convertToStripeObject($response, $opts); + $obj->setLastResponse($response); + + return $obj; + } + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\FinancialAccount the updated financial account + */ + public function updateFeatures($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/features'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccountFeatures.php b/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccountFeatures.php new file mode 100644 index 00000000..ef343a7c --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/FinancialAccountFeatures.php @@ -0,0 +1,24 @@ +status enum and associated status_details. Stripe or + * the platform can control Features via the requested field. + * + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property \Stripe\StripeObject $card_issuing Toggle settings for enabling/disabling a feature + * @property \Stripe\StripeObject $deposit_insurance Toggle settings for enabling/disabling a feature + * @property \Stripe\StripeObject $financial_addresses Settings related to Financial Addresses features on a Financial Account + * @property \Stripe\StripeObject $inbound_transfers InboundTransfers contains inbound transfers features for a FinancialAccount. + * @property \Stripe\StripeObject $intra_stripe_flows Toggle settings for enabling/disabling a feature + * @property \Stripe\StripeObject $outbound_payments Settings related to Outbound Payments features on a Financial Account + * @property \Stripe\StripeObject $outbound_transfers OutboundTransfers contains outbound transfers features for a FinancialAccount. + */ +class FinancialAccountFeatures extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.financial_account_features'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/InboundTransfer.php b/vendor/stripe-php-10.5.0/lib/Treasury/InboundTransfer.php new file mode 100644 index 00000000..bc841aa4 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/InboundTransfer.php @@ -0,0 +1,65 @@ +InboundTransfers + * to add funds to your FinancialAccount via a + * PaymentMethod that is owned by you. The funds will be transferred via an ACH + * debit. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property bool $cancelable Returns true if the InboundTransfer is able to be canceled. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|\Stripe\StripeObject $failure_details Details about this InboundTransfer's failure. Only set when status is failed. + * @property string $financial_account The FinancialAccount that received the funds. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property \Stripe\StripeObject $linked_flows + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $origin_payment_method The origin payment method to be debited for an InboundTransfer. + * @property null|\Stripe\StripeObject $origin_payment_method_details Details about the PaymentMethod for an InboundTransfer. + * @property null|bool $returned Returns true if the funds for an InboundTransfer were returned after the InboundTransfer went to the succeeded state. + * @property string $statement_descriptor Statement descriptor shown when funds are debited from the source. Not all payment networks support statement_descriptor. + * @property string $status Status of the InboundTransfer: processing, succeeded, failed, and canceled. An InboundTransfer is processing if it is created and pending. The status changes to succeeded once the funds have been "confirmed" and a transaction is created and posted. The status changes to failed if the transfer fails. + * @property \Stripe\StripeObject $status_transitions + * @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class InboundTransfer extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.inbound_transfer'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + + const STATUS_CANCELED = 'canceled'; + const STATUS_FAILED = 'failed'; + const STATUS_PROCESSING = 'processing'; + const STATUS_SUCCEEDED = 'succeeded'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\InboundTransfer the canceled inbound transfer + */ + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/OutboundPayment.php b/vendor/stripe-php-10.5.0/lib/Treasury/OutboundPayment.php new file mode 100644 index 00000000..3997bd30 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/OutboundPayment.php @@ -0,0 +1,69 @@ +FinancialAccount. + * To send money to an account belonging to the same user, use an OutboundTransfer. + * + * Simulate OutboundPayment state changes with the + * /v1/test_helpers/treasury/outbound_payments endpoints. These + * methods can only be called on test mode objects. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property bool $cancelable Returns true if the object can be canceled, and false otherwise. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property null|string $customer ID of the customer to whom an OutboundPayment is sent. + * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|string $destination_payment_method The PaymentMethod via which an OutboundPayment is sent. This field can be empty if the OutboundPayment was created using destination_payment_method_data. + * @property null|\Stripe\StripeObject $destination_payment_method_details Details about the PaymentMethod for an OutboundPayment. + * @property null|\Stripe\StripeObject $end_user_details Details about the end user. + * @property int $expected_arrival_date The date when funds are expected to arrive in the destination account. + * @property string $financial_account The FinancialAccount that funds were pulled from. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|\Stripe\StripeObject $returned_details Details about a returned OutboundPayment. Only set when the status is returned. + * @property string $statement_descriptor The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). + * @property string $status Current status of the OutboundPayment: processing, failed, posted, returned, canceled. An OutboundPayment is processing if it has been created and is pending. The status changes to posted once the OutboundPayment has been "confirmed" and funds have left the account, or to failed or canceled. If an OutboundPayment fails to arrive at its destination, its status will change to returned. + * @property \Stripe\StripeObject $status_transitions + * @property string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class OutboundPayment extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.outbound_payment'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + + const STATUS_CANCELED = 'canceled'; + const STATUS_FAILED = 'failed'; + const STATUS_POSTED = 'posted'; + const STATUS_PROCESSING = 'processing'; + const STATUS_RETURNED = 'returned'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundPayment the canceled outbound payment + */ + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/OutboundTransfer.php b/vendor/stripe-php-10.5.0/lib/Treasury/OutboundTransfer.php new file mode 100644 index 00000000..a21680be --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/OutboundTransfer.php @@ -0,0 +1,69 @@ +FinancialAccount to a + * PaymentMethod belonging to the same entity. To send funds to a different party, + * use OutboundPayments + * instead. You can send funds over ACH rails or through a domestic wire transfer + * to a user's own external bank account. + * + * Simulate OutboundTransfer state changes with the + * /v1/test_helpers/treasury/outbound_transfers endpoints. These + * methods can only be called on test mode objects. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property bool $cancelable Returns true if the object can be canceled, and false otherwise. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|string $destination_payment_method The PaymentMethod used as the payment instrument for an OutboundTransfer. + * @property \Stripe\StripeObject $destination_payment_method_details + * @property int $expected_arrival_date The date when funds are expected to arrive in the destination account. + * @property string $financial_account The FinancialAccount that funds were pulled from. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property null|\Stripe\StripeObject $returned_details Details about a returned OutboundTransfer. Only set when the status is returned. + * @property string $statement_descriptor Information about the OutboundTransfer to be sent to the recipient account. + * @property string $status Current status of the OutboundTransfer: processing, failed, canceled, posted, returned. An OutboundTransfer is processing if it has been created and is pending. The status changes to posted once the OutboundTransfer has been "confirmed" and funds have left the account, or to failed or canceled. If an OutboundTransfer fails to arrive at its destination, its status will change to returned. + * @property \Stripe\StripeObject $status_transitions + * @property string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class OutboundTransfer extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.outbound_transfer'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Create; + use \Stripe\ApiOperations\Retrieve; + + const STATUS_CANCELED = 'canceled'; + const STATUS_FAILED = 'failed'; + const STATUS_POSTED = 'posted'; + const STATUS_PROCESSING = 'processing'; + const STATUS_RETURNED = 'returned'; + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Treasury\OutboundTransfer the canceled outbound transfer + */ + public function cancel($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/cancel'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedCredit.php b/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedCredit.php new file mode 100644 index 00000000..9a72ff07 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedCredit.php @@ -0,0 +1,48 @@ +FinancialAccount (for + * example, via ACH or wire). These money movements are not initiated from the + * FinancialAccount. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|string $failure_code Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen. + * @property null|string $financial_account The FinancialAccount that received the funds. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property \Stripe\StripeObject $initiating_payment_method_details + * @property \Stripe\StripeObject $linked_flows + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string $network The rails used to send the funds. + * @property null|\Stripe\StripeObject $reversal_details Details describing when a ReceivedCredit may be reversed. + * @property string $status Status of the ReceivedCredit. ReceivedCredits are created either succeeded (approved) or failed (declined). If a ReceivedCredit is declined, the failure reason can be found in the failure_code field. + * @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class ReceivedCredit extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.received_credit'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const FAILURE_CODE_ACCOUNT_CLOSED = 'account_closed'; + const FAILURE_CODE_ACCOUNT_FROZEN = 'account_frozen'; + const FAILURE_CODE_OTHER = 'other'; + + const NETWORK_ACH = 'ach'; + const NETWORK_CARD = 'card'; + const NETWORK_STRIPE = 'stripe'; + const NETWORK_US_DOMESTIC_WIRE = 'us_domestic_wire'; + + const STATUS_FAILED = 'failed'; + const STATUS_SUCCEEDED = 'succeeded'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedDebit.php b/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedDebit.php new file mode 100644 index 00000000..c252df41 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/ReceivedDebit.php @@ -0,0 +1,47 @@ +FinancialAccount. + * These are not initiated from the FinancialAccount. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|string $failure_code Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen. + * @property null|string $financial_account The FinancialAccount that funds were pulled from. + * @property null|string $hosted_regulatory_receipt_url A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * @property \Stripe\StripeObject $initiating_payment_method_details + * @property \Stripe\StripeObject $linked_flows + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string $network The network used for the ReceivedDebit. + * @property null|\Stripe\StripeObject $reversal_details Details describing when a ReceivedDebit might be reversed. + * @property string $status Status of the ReceivedDebit. ReceivedDebits are created with a status of either succeeded (approved) or failed (declined). The failure reason can be found under the failure_code. + * @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + */ +class ReceivedDebit extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.received_debit'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const FAILURE_CODE_ACCOUNT_CLOSED = 'account_closed'; + const FAILURE_CODE_ACCOUNT_FROZEN = 'account_frozen'; + const FAILURE_CODE_INSUFFICIENT_FUNDS = 'insufficient_funds'; + const FAILURE_CODE_OTHER = 'other'; + + const NETWORK_ACH = 'ach'; + const NETWORK_CARD = 'card'; + const NETWORK_STRIPE = 'stripe'; + + const STATUS_FAILED = 'failed'; + const STATUS_SUCCEEDED = 'succeeded'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/Transaction.php b/vendor/stripe-php-10.5.0/lib/Treasury/Transaction.php new file mode 100644 index 00000000..32168984 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/Transaction.php @@ -0,0 +1,48 @@ +FinancialAccount's + * balance. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property int $amount Amount (in cents) transferred. + * @property \Stripe\StripeObject $balance_impact Change to a FinancialAccount's balance + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. + * @property null|\Stripe\Collection<\Stripe\Treasury\TransactionEntry> $entries A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints. + * @property string $financial_account The FinancialAccount associated with this object. + * @property null|string $flow ID of the flow that created the Transaction. + * @property null|\Stripe\StripeObject $flow_details Details of the flow that created the Transaction. + * @property string $flow_type Type of the flow that created the Transaction. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string $status Status of the Transaction. + * @property \Stripe\StripeObject $status_transitions + */ +class Transaction extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.transaction'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const FLOW_TYPE_CREDIT_REVERSAL = 'credit_reversal'; + const FLOW_TYPE_DEBIT_REVERSAL = 'debit_reversal'; + const FLOW_TYPE_INBOUND_TRANSFER = 'inbound_transfer'; + const FLOW_TYPE_ISSUING_AUTHORIZATION = 'issuing_authorization'; + const FLOW_TYPE_OTHER = 'other'; + const FLOW_TYPE_OUTBOUND_PAYMENT = 'outbound_payment'; + const FLOW_TYPE_OUTBOUND_TRANSFER = 'outbound_transfer'; + const FLOW_TYPE_RECEIVED_CREDIT = 'received_credit'; + const FLOW_TYPE_RECEIVED_DEBIT = 'received_debit'; + + const STATUS_OPEN = 'open'; + const STATUS_POSTED = 'posted'; + const STATUS_VOID = 'void'; +} diff --git a/vendor/stripe-php-10.5.0/lib/Treasury/TransactionEntry.php b/vendor/stripe-php-10.5.0/lib/Treasury/TransactionEntry.php new file mode 100644 index 00000000..e50dbad9 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Treasury/TransactionEntry.php @@ -0,0 +1,62 @@ +Transaction. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property \Stripe\StripeObject $balance_impact Change to a FinancialAccount's balance + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. + * @property int $effective_at When the TransactionEntry will impact the FinancialAccount's balance. + * @property string $financial_account The FinancialAccount associated with this object. + * @property null|string $flow Token of the flow associated with the TransactionEntry. + * @property null|\Stripe\StripeObject $flow_details Details of the flow associated with the TransactionEntry. + * @property string $flow_type Type of the flow associated with the TransactionEntry. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. + * @property string $type The specific money movement that generated the TransactionEntry. + */ +class TransactionEntry extends \Stripe\ApiResource +{ + const OBJECT_NAME = 'treasury.transaction_entry'; + + use \Stripe\ApiOperations\All; + use \Stripe\ApiOperations\Retrieve; + + const FLOW_TYPE_CREDIT_REVERSAL = 'credit_reversal'; + const FLOW_TYPE_DEBIT_REVERSAL = 'debit_reversal'; + const FLOW_TYPE_INBOUND_TRANSFER = 'inbound_transfer'; + const FLOW_TYPE_ISSUING_AUTHORIZATION = 'issuing_authorization'; + const FLOW_TYPE_OTHER = 'other'; + const FLOW_TYPE_OUTBOUND_PAYMENT = 'outbound_payment'; + const FLOW_TYPE_OUTBOUND_TRANSFER = 'outbound_transfer'; + const FLOW_TYPE_RECEIVED_CREDIT = 'received_credit'; + const FLOW_TYPE_RECEIVED_DEBIT = 'received_debit'; + + const TYPE_CREDIT_REVERSAL = 'credit_reversal'; + const TYPE_CREDIT_REVERSAL_POSTING = 'credit_reversal_posting'; + const TYPE_DEBIT_REVERSAL = 'debit_reversal'; + const TYPE_INBOUND_TRANSFER = 'inbound_transfer'; + const TYPE_INBOUND_TRANSFER_RETURN = 'inbound_transfer_return'; + const TYPE_ISSUING_AUTHORIZATION_HOLD = 'issuing_authorization_hold'; + const TYPE_ISSUING_AUTHORIZATION_RELEASE = 'issuing_authorization_release'; + const TYPE_OTHER = 'other'; + const TYPE_OUTBOUND_PAYMENT = 'outbound_payment'; + const TYPE_OUTBOUND_PAYMENT_CANCELLATION = 'outbound_payment_cancellation'; + const TYPE_OUTBOUND_PAYMENT_FAILURE = 'outbound_payment_failure'; + const TYPE_OUTBOUND_PAYMENT_POSTING = 'outbound_payment_posting'; + const TYPE_OUTBOUND_PAYMENT_RETURN = 'outbound_payment_return'; + const TYPE_OUTBOUND_TRANSFER = 'outbound_transfer'; + const TYPE_OUTBOUND_TRANSFER_CANCELLATION = 'outbound_transfer_cancellation'; + const TYPE_OUTBOUND_TRANSFER_FAILURE = 'outbound_transfer_failure'; + const TYPE_OUTBOUND_TRANSFER_POSTING = 'outbound_transfer_posting'; + const TYPE_OUTBOUND_TRANSFER_RETURN = 'outbound_transfer_return'; + const TYPE_RECEIVED_CREDIT = 'received_credit'; + const TYPE_RECEIVED_DEBIT = 'received_debit'; +} diff --git a/vendor/stripe-php-7.72.0/lib/UsageRecord.php b/vendor/stripe-php-10.5.0/lib/UsageRecord.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/UsageRecord.php rename to vendor/stripe-php-10.5.0/lib/UsageRecord.php diff --git a/vendor/stripe-php-7.72.0/lib/UsageRecordSummary.php b/vendor/stripe-php-10.5.0/lib/UsageRecordSummary.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/UsageRecordSummary.php rename to vendor/stripe-php-10.5.0/lib/UsageRecordSummary.php diff --git a/vendor/stripe-php-10.5.0/lib/Util/ApiVersion.php b/vendor/stripe-php-10.5.0/lib/Util/ApiVersion.php new file mode 100644 index 00000000..9efa9d70 --- /dev/null +++ b/vendor/stripe-php-10.5.0/lib/Util/ApiVersion.php @@ -0,0 +1,10 @@ +container = \array_change_key_case($initial_array, \CASE_LOWER); } + /** + * @return int + */ + #[\ReturnTypeWillChange] public function count() { return \count($this->container); } + /** + * @return \ArrayIterator + */ + #[\ReturnTypeWillChange] public function getIterator() { return new \ArrayIterator($this->container); } + /** + * @return void + */ + #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { $offset = static::maybeLowercase($offset); @@ -41,6 +53,10 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \IteratorAggrega } } + /** + * @return bool + */ + #[\ReturnTypeWillChange] public function offsetExists($offset) { $offset = static::maybeLowercase($offset); @@ -48,12 +64,20 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \IteratorAggrega return isset($this->container[$offset]); } + /** + * @return void + */ + #[\ReturnTypeWillChange] public function offsetUnset($offset) { $offset = static::maybeLowercase($offset); unset($this->container[$offset]); } + /** + * @return mixed + */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { $offset = static::maybeLowercase($offset); diff --git a/vendor/stripe-php-7.72.0/lib/Util/DefaultLogger.php b/vendor/stripe-php-10.5.0/lib/Util/DefaultLogger.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Util/DefaultLogger.php rename to vendor/stripe-php-10.5.0/lib/Util/DefaultLogger.php diff --git a/vendor/stripe-php-7.72.0/lib/Util/LoggerInterface.php b/vendor/stripe-php-10.5.0/lib/Util/LoggerInterface.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Util/LoggerInterface.php rename to vendor/stripe-php-10.5.0/lib/Util/LoggerInterface.php diff --git a/vendor/stripe-php-7.72.0/lib/Util/ObjectTypes.php b/vendor/stripe-php-10.5.0/lib/Util/ObjectTypes.php similarity index 68% rename from vendor/stripe-php-7.72.0/lib/Util/ObjectTypes.php rename to vendor/stripe-php-10.5.0/lib/Util/ObjectTypes.php index 5aad2bb4..6fa98e40 100644 --- a/vendor/stripe-php-7.72.0/lib/Util/ObjectTypes.php +++ b/vendor/stripe-php-10.5.0/lib/Util/ObjectTypes.php @@ -12,18 +12,18 @@ class ObjectTypes const mapping = [ \Stripe\Account::OBJECT_NAME => \Stripe\Account::class, \Stripe\AccountLink::OBJECT_NAME => \Stripe\AccountLink::class, - \Stripe\AlipayAccount::OBJECT_NAME => \Stripe\AlipayAccount::class, \Stripe\ApplePayDomain::OBJECT_NAME => \Stripe\ApplePayDomain::class, \Stripe\ApplicationFee::OBJECT_NAME => \Stripe\ApplicationFee::class, \Stripe\ApplicationFeeRefund::OBJECT_NAME => \Stripe\ApplicationFeeRefund::class, + \Stripe\Apps\Secret::OBJECT_NAME => \Stripe\Apps\Secret::class, \Stripe\Balance::OBJECT_NAME => \Stripe\Balance::class, \Stripe\BalanceTransaction::OBJECT_NAME => \Stripe\BalanceTransaction::class, \Stripe\BankAccount::OBJECT_NAME => \Stripe\BankAccount::class, + \Stripe\BillingPortal\Configuration::OBJECT_NAME => \Stripe\BillingPortal\Configuration::class, \Stripe\BillingPortal\Session::OBJECT_NAME => \Stripe\BillingPortal\Session::class, - \Stripe\BitcoinReceiver::OBJECT_NAME => \Stripe\BitcoinReceiver::class, - \Stripe\BitcoinTransaction::OBJECT_NAME => \Stripe\BitcoinTransaction::class, \Stripe\Capability::OBJECT_NAME => \Stripe\Capability::class, \Stripe\Card::OBJECT_NAME => \Stripe\Card::class, + \Stripe\CashBalance::OBJECT_NAME => \Stripe\CashBalance::class, \Stripe\Charge::OBJECT_NAME => \Stripe\Charge::class, \Stripe\Checkout\Session::OBJECT_NAME => \Stripe\Checkout\Session::class, \Stripe\Collection::OBJECT_NAME => \Stripe\Collection::class, @@ -33,6 +33,7 @@ class ObjectTypes \Stripe\CreditNoteLineItem::OBJECT_NAME => \Stripe\CreditNoteLineItem::class, \Stripe\Customer::OBJECT_NAME => \Stripe\Customer::class, \Stripe\CustomerBalanceTransaction::OBJECT_NAME => \Stripe\CustomerBalanceTransaction::class, + \Stripe\CustomerCashBalanceTransaction::OBJECT_NAME => \Stripe\CustomerCashBalanceTransaction::class, \Stripe\Discount::OBJECT_NAME => \Stripe\Discount::class, \Stripe\Dispute::OBJECT_NAME => \Stripe\Dispute::class, \Stripe\EphemeralKey::OBJECT_NAME => \Stripe\EphemeralKey::class, @@ -41,6 +42,13 @@ class ObjectTypes \Stripe\File::OBJECT_NAME => \Stripe\File::class, \Stripe\File::OBJECT_NAME_ALT => \Stripe\File::class, \Stripe\FileLink::OBJECT_NAME => \Stripe\FileLink::class, + \Stripe\FinancialConnections\Account::OBJECT_NAME => \Stripe\FinancialConnections\Account::class, + \Stripe\FinancialConnections\AccountOwner::OBJECT_NAME => \Stripe\FinancialConnections\AccountOwner::class, + \Stripe\FinancialConnections\AccountOwnership::OBJECT_NAME => \Stripe\FinancialConnections\AccountOwnership::class, + \Stripe\FinancialConnections\Session::OBJECT_NAME => \Stripe\FinancialConnections\Session::class, + \Stripe\FundingInstructions::OBJECT_NAME => \Stripe\FundingInstructions::class, + \Stripe\Identity\VerificationReport::OBJECT_NAME => \Stripe\Identity\VerificationReport::class, + \Stripe\Identity\VerificationSession::OBJECT_NAME => \Stripe\Identity\VerificationSession::class, \Stripe\Invoice::OBJECT_NAME => \Stripe\Invoice::class, \Stripe\InvoiceItem::OBJECT_NAME => \Stripe\InvoiceItem::class, \Stripe\InvoiceLineItem::OBJECT_NAME => \Stripe\InvoiceLineItem::class, @@ -53,10 +61,8 @@ class ObjectTypes \Stripe\LineItem::OBJECT_NAME => \Stripe\LineItem::class, \Stripe\LoginLink::OBJECT_NAME => \Stripe\LoginLink::class, \Stripe\Mandate::OBJECT_NAME => \Stripe\Mandate::class, - \Stripe\Order::OBJECT_NAME => \Stripe\Order::class, - \Stripe\OrderItem::OBJECT_NAME => \Stripe\OrderItem::class, - \Stripe\OrderReturn::OBJECT_NAME => \Stripe\OrderReturn::class, \Stripe\PaymentIntent::OBJECT_NAME => \Stripe\PaymentIntent::class, + \Stripe\PaymentLink::OBJECT_NAME => \Stripe\PaymentLink::class, \Stripe\PaymentMethod::OBJECT_NAME => \Stripe\PaymentMethod::class, \Stripe\Payout::OBJECT_NAME => \Stripe\Payout::class, \Stripe\Person::OBJECT_NAME => \Stripe\Person::class, @@ -64,34 +70,47 @@ class ObjectTypes \Stripe\Price::OBJECT_NAME => \Stripe\Price::class, \Stripe\Product::OBJECT_NAME => \Stripe\Product::class, \Stripe\PromotionCode::OBJECT_NAME => \Stripe\PromotionCode::class, + \Stripe\Quote::OBJECT_NAME => \Stripe\Quote::class, \Stripe\Radar\EarlyFraudWarning::OBJECT_NAME => \Stripe\Radar\EarlyFraudWarning::class, \Stripe\Radar\ValueList::OBJECT_NAME => \Stripe\Radar\ValueList::class, \Stripe\Radar\ValueListItem::OBJECT_NAME => \Stripe\Radar\ValueListItem::class, - \Stripe\Recipient::OBJECT_NAME => \Stripe\Recipient::class, - \Stripe\RecipientTransfer::OBJECT_NAME => \Stripe\RecipientTransfer::class, \Stripe\Refund::OBJECT_NAME => \Stripe\Refund::class, \Stripe\Reporting\ReportRun::OBJECT_NAME => \Stripe\Reporting\ReportRun::class, \Stripe\Reporting\ReportType::OBJECT_NAME => \Stripe\Reporting\ReportType::class, \Stripe\Review::OBJECT_NAME => \Stripe\Review::class, + \Stripe\SearchResult::OBJECT_NAME => \Stripe\SearchResult::class, \Stripe\SetupAttempt::OBJECT_NAME => \Stripe\SetupAttempt::class, \Stripe\SetupIntent::OBJECT_NAME => \Stripe\SetupIntent::class, + \Stripe\ShippingRate::OBJECT_NAME => \Stripe\ShippingRate::class, \Stripe\Sigma\ScheduledQueryRun::OBJECT_NAME => \Stripe\Sigma\ScheduledQueryRun::class, - \Stripe\SKU::OBJECT_NAME => \Stripe\SKU::class, \Stripe\Source::OBJECT_NAME => \Stripe\Source::class, \Stripe\SourceTransaction::OBJECT_NAME => \Stripe\SourceTransaction::class, \Stripe\Subscription::OBJECT_NAME => \Stripe\Subscription::class, \Stripe\SubscriptionItem::OBJECT_NAME => \Stripe\SubscriptionItem::class, \Stripe\SubscriptionSchedule::OBJECT_NAME => \Stripe\SubscriptionSchedule::class, + \Stripe\TaxCode::OBJECT_NAME => \Stripe\TaxCode::class, \Stripe\TaxId::OBJECT_NAME => \Stripe\TaxId::class, \Stripe\TaxRate::OBJECT_NAME => \Stripe\TaxRate::class, + \Stripe\Terminal\Configuration::OBJECT_NAME => \Stripe\Terminal\Configuration::class, \Stripe\Terminal\ConnectionToken::OBJECT_NAME => \Stripe\Terminal\ConnectionToken::class, \Stripe\Terminal\Location::OBJECT_NAME => \Stripe\Terminal\Location::class, \Stripe\Terminal\Reader::OBJECT_NAME => \Stripe\Terminal\Reader::class, - \Stripe\ThreeDSecure::OBJECT_NAME => \Stripe\ThreeDSecure::class, + \Stripe\TestHelpers\TestClock::OBJECT_NAME => \Stripe\TestHelpers\TestClock::class, \Stripe\Token::OBJECT_NAME => \Stripe\Token::class, \Stripe\Topup::OBJECT_NAME => \Stripe\Topup::class, \Stripe\Transfer::OBJECT_NAME => \Stripe\Transfer::class, \Stripe\TransferReversal::OBJECT_NAME => \Stripe\TransferReversal::class, + \Stripe\Treasury\CreditReversal::OBJECT_NAME => \Stripe\Treasury\CreditReversal::class, + \Stripe\Treasury\DebitReversal::OBJECT_NAME => \Stripe\Treasury\DebitReversal::class, + \Stripe\Treasury\FinancialAccount::OBJECT_NAME => \Stripe\Treasury\FinancialAccount::class, + \Stripe\Treasury\FinancialAccountFeatures::OBJECT_NAME => \Stripe\Treasury\FinancialAccountFeatures::class, + \Stripe\Treasury\InboundTransfer::OBJECT_NAME => \Stripe\Treasury\InboundTransfer::class, + \Stripe\Treasury\OutboundPayment::OBJECT_NAME => \Stripe\Treasury\OutboundPayment::class, + \Stripe\Treasury\OutboundTransfer::OBJECT_NAME => \Stripe\Treasury\OutboundTransfer::class, + \Stripe\Treasury\ReceivedCredit::OBJECT_NAME => \Stripe\Treasury\ReceivedCredit::class, + \Stripe\Treasury\ReceivedDebit::OBJECT_NAME => \Stripe\Treasury\ReceivedDebit::class, + \Stripe\Treasury\Transaction::OBJECT_NAME => \Stripe\Treasury\Transaction::class, + \Stripe\Treasury\TransactionEntry::OBJECT_NAME => \Stripe\Treasury\TransactionEntry::class, \Stripe\UsageRecord::OBJECT_NAME => \Stripe\UsageRecord::class, \Stripe\UsageRecordSummary::OBJECT_NAME => \Stripe\UsageRecordSummary::class, \Stripe\WebhookEndpoint::OBJECT_NAME => \Stripe\WebhookEndpoint::class, diff --git a/vendor/stripe-php-7.72.0/lib/Util/RandomGenerator.php b/vendor/stripe-php-10.5.0/lib/Util/RandomGenerator.php similarity index 88% rename from vendor/stripe-php-7.72.0/lib/Util/RandomGenerator.php rename to vendor/stripe-php-10.5.0/lib/Util/RandomGenerator.php index b11e445d..ccf023ac 100644 --- a/vendor/stripe-php-7.72.0/lib/Util/RandomGenerator.php +++ b/vendor/stripe-php-10.5.0/lib/Util/RandomGenerator.php @@ -28,8 +28,8 @@ class RandomGenerator public function uuid() { $arr = \array_values(\unpack('N1a/n4b/N1c', \openssl_random_pseudo_bytes(16))); - $arr[2] = ($arr[2] & 0x0fff) | 0x4000; - $arr[3] = ($arr[3] & 0x3fff) | 0x8000; + $arr[2] = ($arr[2] & 0x0FFF) | 0x4000; + $arr[3] = ($arr[3] & 0x3FFF) | 0x8000; return \vsprintf('%08x-%04x-%04x-%04x-%04x%08x', $arr); } diff --git a/vendor/stripe-php-7.72.0/lib/Util/RequestOptions.php b/vendor/stripe-php-10.5.0/lib/Util/RequestOptions.php similarity index 97% rename from vendor/stripe-php-7.72.0/lib/Util/RequestOptions.php rename to vendor/stripe-php-10.5.0/lib/Util/RequestOptions.php index 89924bb6..cce3a521 100644 --- a/vendor/stripe-php-7.72.0/lib/Util/RequestOptions.php +++ b/vendor/stripe-php-10.5.0/lib/Util/RequestOptions.php @@ -93,7 +93,7 @@ class RequestOptions public static function parse($options, $strict = false) { if ($options instanceof self) { - return $options; + return clone $options; } if (null === $options) { @@ -154,8 +154,13 @@ class RequestOptions throw new \Stripe\Exception\InvalidArgumentException($message); } + /** @return string */ private function redactedApiKey() { + if (null === $this->apiKey) { + return ''; + } + $pieces = \explode('_', $this->apiKey, 3); $last = \array_pop($pieces); $redactedLast = \strlen($last) > 4 diff --git a/vendor/stripe-php-7.72.0/lib/Util/Set.php b/vendor/stripe-php-10.5.0/lib/Util/Set.php similarity index 90% rename from vendor/stripe-php-7.72.0/lib/Util/Set.php rename to vendor/stripe-php-10.5.0/lib/Util/Set.php index 017f9297..aaa811d5 100644 --- a/vendor/stripe-php-7.72.0/lib/Util/Set.php +++ b/vendor/stripe-php-10.5.0/lib/Util/Set.php @@ -37,6 +37,10 @@ class Set implements IteratorAggregate return \array_keys($this->_elts); } + /** + * @return ArrayIterator + */ + #[\ReturnTypeWillChange] public function getIterator() { return new ArrayIterator($this->toArray()); diff --git a/vendor/stripe-php-7.72.0/lib/Util/Util.php b/vendor/stripe-php-10.5.0/lib/Util/Util.php similarity index 98% rename from vendor/stripe-php-7.72.0/lib/Util/Util.php rename to vendor/stripe-php-10.5.0/lib/Util/Util.php index 4f390500..9ebc413c 100644 --- a/vendor/stripe-php-7.72.0/lib/Util/Util.php +++ b/vendor/stripe-php-10.5.0/lib/Util/Util.php @@ -74,7 +74,7 @@ abstract class Util public static function utf8($value) { if (null === self::$isMbstringAvailable) { - self::$isMbstringAvailable = \function_exists('mb_detect_encoding'); + self::$isMbstringAvailable = \function_exists('mb_detect_encoding') && \function_exists('mb_convert_encoding'); if (!self::$isMbstringAvailable) { \trigger_error('It looks like the mbstring extension is not enabled. ' . @@ -85,7 +85,7 @@ abstract class Util } if (\is_string($value) && self::$isMbstringAvailable && 'UTF-8' !== \mb_detect_encoding($value, 'UTF-8', true)) { - return \utf8_encode($value); + return mb_convert_encoding($value, 'UTF-8', 'ISO-8859-1'); } return $value; diff --git a/vendor/stripe-php-7.72.0/lib/Webhook.php b/vendor/stripe-php-10.5.0/lib/Webhook.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/Webhook.php rename to vendor/stripe-php-10.5.0/lib/Webhook.php diff --git a/vendor/stripe-php-7.72.0/lib/WebhookEndpoint.php b/vendor/stripe-php-10.5.0/lib/WebhookEndpoint.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/WebhookEndpoint.php rename to vendor/stripe-php-10.5.0/lib/WebhookEndpoint.php diff --git a/vendor/stripe-php-7.72.0/lib/WebhookSignature.php b/vendor/stripe-php-10.5.0/lib/WebhookSignature.php similarity index 100% rename from vendor/stripe-php-7.72.0/lib/WebhookSignature.php rename to vendor/stripe-php-10.5.0/lib/WebhookSignature.php diff --git a/vendor/stripe-php-7.72.0/update_certs.php b/vendor/stripe-php-10.5.0/update_certs.php similarity index 100% rename from vendor/stripe-php-7.72.0/update_certs.php rename to vendor/stripe-php-10.5.0/update_certs.php diff --git a/vendor/stripe-php-7.72.0/.coveralls.github-actions.yml b/vendor/stripe-php-7.72.0/.coveralls.github-actions.yml deleted file mode 100644 index 40ff9a76..00000000 --- a/vendor/stripe-php-7.72.0/.coveralls.github-actions.yml +++ /dev/null @@ -1,3 +0,0 @@ -service_name: github-actions -coverage_clover: clover.xml -json_path: coveralls-upload.json diff --git a/vendor/stripe-php-7.72.0/.editorconfig b/vendor/stripe-php-7.72.0/.editorconfig deleted file mode 100644 index 174e9120..00000000 --- a/vendor/stripe-php-7.72.0/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -; https://editorconfig.org/ - -root = true - -[*] -indent_style = space -indent_size = 4 -insert_final_newline = true -trim_trailing_whitespace = true -end_of_line = lf -charset = utf-8 - -[*.{json,yml}] -indent_size = 2 - -[*.neon] -indent_style = tab - -[Makefile] -indent_style = tab diff --git a/vendor/stripe-php-7.72.0/.gitignore b/vendor/stripe-php-7.72.0/.gitignore deleted file mode 100644 index db88f667..00000000 --- a/vendor/stripe-php-7.72.0/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -# Ignore build files -build/* - -# Mac OS X dumps these all over the place. -.DS_Store - -# Ignore the SimpleTest library if it is installed to /test/. -/test/simpletest/ - -# Ignore the /vendor/ directory for people using composer -/vendor/ - -# If the vendor directory isn't being commited the composer.lock file should also be ignored -composer.lock - -# Ignore PHPUnit coverage file -clover.xml - -# Ignore IDE's configuration files -.idea - -# Ignore PHP CS Fixer local config and cache -.php_cs -.php_cs.cache - -# Ignore PHPStan local config -.phpstan.neon - -# Ignore phpDocumentor's local config and artifacts -.phpdoc/* -phpdoc.xml diff --git a/vendor/stripe-php-7.72.0/.php_cs.dist b/vendor/stripe-php-7.72.0/.php_cs.dist deleted file mode 100644 index 2ebf9f3d..00000000 --- a/vendor/stripe-php-7.72.0/.php_cs.dist +++ /dev/null @@ -1,45 +0,0 @@ -setRiskyAllowed(true) - ->setRules([ - // Rulesets - '@PSR2' => true, - '@PhpCsFixer' => true, - '@PhpCsFixer:risky' => true, - '@PHP56Migration:risky' => true, - '@PHPUnit57Migration:risky' => true, - - // Additional rules - 'fopen_flags' => true, - 'linebreak_after_opening_tag' => true, - 'native_constant_invocation' => true, - 'native_function_invocation' => true, - - // --- Diffs from @PhpCsFixer / @PhpCsFixer:risky --- - - // This is the same as the default for the @PhpCsFixer ruleset, minus - // the following values: ['include', 'include_once', 'require', - // 'require_once']. We could enable them and remove this line after - // updating codegen for the `init.php` file to be compliant. - 'blank_line_before_statement' => ['statements' => ['break', 'case', 'continue', 'declare', 'default', 'exit', 'goto', 'return', 'switch', 'throw', 'try']], - - // This is just prettier / easier to read. - 'concat_space' => ['spacing' => 'one'], - - // This causes strange ordering with codegen'd classes. We might be - // able to enable this if we update codegen to output class elements - // in the correct order. - 'ordered_class_elements' => false, - - // Keep this disabled to avoid unnecessary diffs in PHPDoc comments of - // codegen'd classes. - 'phpdoc_align' => false, - - // This is a "risky" rule that causes a bug in our codebase. - // Specifically, in `StripeObject.updateAttributes` we construct new - // `StripeObject`s for metadata. We can't use `self` there because it - // needs to be a raw `StripeObject`. - 'self_accessor' => false, - ]) -; diff --git a/vendor/stripe-php-7.72.0/CHANGELOG.md b/vendor/stripe-php-7.72.0/CHANGELOG.md deleted file mode 100644 index 4f32d2e8..00000000 --- a/vendor/stripe-php-7.72.0/CHANGELOG.md +++ /dev/null @@ -1,1338 +0,0 @@ -# Changelog - -## 7.72.0 - 2021-02-08 -* [#1089](https://github.com/stripe/stripe-php/pull/1089) API Updates - * Add support for `afterpay_clearpay_payments` on `Account.capabilities` - * Add support for `payment_settings` on `Invoice` - -## 7.71.0 - 2021-02-05 -* [#1087](https://github.com/stripe/stripe-php/pull/1087) Update PHPDocs -* [#1086](https://github.com/stripe/stripe-php/pull/1086) Update CA cert bundle URL - -## 7.70.0 - 2021-02-03 -* [#1085](https://github.com/stripe/stripe-php/pull/1085) Update PHPDocs - * Add support for `nationality` on `Person` - * Add member `gb_vat` of `TaxID` enum - - -## 7.69.0 - 2021-01-21 -* [#1079](https://github.com/stripe/stripe-php/pull/1079) Update PHPDocs - -## 7.68.0 - 2021-01-14 -* [#1063](https://github.com/stripe/stripe-php/pull/1063) Multiple API changes -* [#1061](https://github.com/stripe/stripe-php/pull/1061) Bump phpDocumentor to 3.0.0 - -## 7.67.0 - 2020-12-09 -* [#1060](https://github.com/stripe/stripe-php/pull/1060) Improve PHPDocs for `Discount` -* [#1059](https://github.com/stripe/stripe-php/pull/1059) Upgrade PHPStan to 0.12.59 -* [#1057](https://github.com/stripe/stripe-php/pull/1057) Bump PHP-CS-Fixer and update code - -## 7.66.1 - 2020-12-01 -* [#1054](https://github.com/stripe/stripe-php/pull/1054) Improve error message for invalid keys in StripeClient - -## 7.66.0 - 2020-11-24 -* [#1053](https://github.com/stripe/stripe-php/pull/1053) Update PHPDocs - -## 7.65.0 - 2020-11-19 -* [#1050](https://github.com/stripe/stripe-php/pull/1050) Added constants for `proration_behavior` on `Subscription` - -## 7.64.0 - 2020-11-18 -* [#1049](https://github.com/stripe/stripe-php/pull/1049) Update PHPDocs - -## 7.63.0 - 2020-11-17 -* [#1048](https://github.com/stripe/stripe-php/pull/1048) Update PHPDocs -* [#1046](https://github.com/stripe/stripe-php/pull/1046) Force IPv4 resolving - -## 7.62.0 - 2020-11-09 -* [#1041](https://github.com/stripe/stripe-php/pull/1041) Add missing constants on `Event` -* [#1038](https://github.com/stripe/stripe-php/pull/1038) Update PHPDocs - -## 7.61.0 - 2020-10-20 -* [#1030](https://github.com/stripe/stripe-php/pull/1030) Add support for `jp_rn` and `ru_kpp` as a `type` on `TaxId` - -## 7.60.0 - 2020-10-15 -* [#1027](https://github.com/stripe/stripe-php/pull/1027) Warn if opts are in params - -## 7.58.0 - 2020-10-14 -* [#1026](https://github.com/stripe/stripe-php/pull/1026) Add support for the Payout Reverse API - -## 7.57.0 - 2020-09-29 -* [#1020](https://github.com/stripe/stripe-php/pull/1020) Add support for the `SetupAttempt` resource and List API - -## 7.56.0 - 2020-09-25 -* [#1019](https://github.com/stripe/stripe-php/pull/1019) Update PHPDocs - -## 7.55.0 - 2020-09-24 -* [#1018](https://github.com/stripe/stripe-php/pull/1018) Multiple API changes - * Updated PHPDocs - * Added `TYPE_CONTRIBUTION` as a constant on `BalanceTransaction` - -## 7.54.0 - 2020-09-23 -* [#1017](https://github.com/stripe/stripe-php/pull/1017) Updated PHPDoc - -## 7.53.1 - 2020-09-22 -* [#1015](https://github.com/stripe/stripe-php/pull/1015) Bugfix: don't error on systems with php_uname in disablefunctions with whitespace - -## 7.53.0 - 2020-09-21 -* [#1016](https://github.com/stripe/stripe-php/pull/1016) Updated PHPDocs - -## 7.52.0 - 2020-09-08 -* [#1010](https://github.com/stripe/stripe-php/pull/1010) Update PHPDocs - -## 7.51.0 - 2020-09-02 -* [#1007](https://github.com/stripe/stripe-php/pull/1007) Multiple API changes - * Add support for the Issuing Dispute Submit API - * Add constants for `payment_status` on Checkout `Session` -* [#1003](https://github.com/stripe/stripe-php/pull/1003) Add trim to getSignatures to allow for leading whitespace. - -## 7.50.0 - 2020-08-28 -* [#1005](https://github.com/stripe/stripe-php/pull/1005) Updated PHPDocs - -## 7.49.0 - 2020-08-19 -* [#998](https://github.com/stripe/stripe-php/pull/998) PHPDocs updated - -## 7.48.0 - 2020-08-17 -* [#997](https://github.com/stripe/stripe-php/pull/997) PHPDocs updated -* [#996](https://github.com/stripe/stripe-php/pull/996) Fixing telemetry - -## 7.47.0 - 2020-08-13 -* [#994](https://github.com/stripe/stripe-php/pull/994) Nullable balance_transactions on issuing disputes -* [#991](https://github.com/stripe/stripe-php/pull/991) Fix invalid return types in OAuthService - -## 7.46.1 - 2020-08-07 -* [#990](https://github.com/stripe/stripe-php/pull/990) PHPdoc changes - -## 7.46.0 - 2020-08-05 -* [#989](https://github.com/stripe/stripe-php/pull/989) Add support for the `PromotionCode` resource and APIs - -## 7.45.0 - 2020-07-28 -* [#981](https://github.com/stripe/stripe-php/pull/981) PHPdoc updates - -## 7.44.0 - 2020-07-20 -* [#948](https://github.com/stripe/stripe-php/pull/948) Add `first()` and `last()` functions to `Collection` - -## 7.43.0 - 2020-07-17 -* [#975](https://github.com/stripe/stripe-php/pull/975) Add support for `political_exposure` on `Person` - -## 7.42.0 - 2020-07-15 -* [#974](https://github.com/stripe/stripe-php/pull/974) Add new constants for `purpose` on `File` - -## 7.41.1 - 2020-07-15 -* [#973](https://github.com/stripe/stripe-php/pull/973) Multiple PHPDoc fixes - -## 7.41.0 - 2020-07-14 -* [#971](https://github.com/stripe/stripe-php/pull/971) Adds enum values for `billing_address_collection` on Checkout `Session` - -## 7.40.0 - 2020-07-06 -* [#964](https://github.com/stripe/stripe-php/pull/964) Add OAuthService - -## 7.39.0 - 2020-06-25 -* [#960](https://github.com/stripe/stripe-php/pull/960) Add constants for `payment_behavior` on `Subscription` - -## 7.38.0 - 2020-06-24 -* [#959](https://github.com/stripe/stripe-php/pull/959) Add multiple constants missing for `Event` - -## 7.37.2 - 2020-06-23 -* [#957](https://github.com/stripe/stripe-php/pull/957) Updated PHPDocs - -## 7.37.1 - 2020-06-11 -* [#952](https://github.com/stripe/stripe-php/pull/952) Improve PHPDoc - -## 7.37.0 - 2020-06-09 -* [#950](https://github.com/stripe/stripe-php/pull/950) Add support for `id_npwp` and `my_frp` as `type` on `TaxId` - -## 7.36.2 - 2020-06-03 -* [#946](https://github.com/stripe/stripe-php/pull/946) Update PHPDoc - -## 7.36.1 - 2020-05-28 -* [#938](https://github.com/stripe/stripe-php/pull/938) Remove extra array_keys() call. -* [#942](https://github.com/stripe/stripe-php/pull/942) fix autopagination for service methods - -## 7.36.0 - 2020-05-21 -* [#937](https://github.com/stripe/stripe-php/pull/937) Add support for `ae_trn`, `cl_tin` and `sa_vat` as `type` on `TaxId` - -## 7.35.0 - 2020-05-20 -* [#936](https://github.com/stripe/stripe-php/pull/936) Add `anticipation_repayment` as a `type` on `BalanceTransaction` - -## 7.34.0 - 2020-05-18 -* [#934](https://github.com/stripe/stripe-php/pull/934) Add support for `issuing_dispute` as a `type` on `BalanceTransaction` - -## 7.33.1 - 2020-05-15 -* [#933](https://github.com/stripe/stripe-php/pull/933) Services bugfix: convert nested null params to empty strings - -## 7.33.0 - 2020-05-14 -* [#771](https://github.com/stripe/stripe-php/pull/771) Introduce client/services API. The [migration guide](https://github.com/stripe/stripe-php/wiki/Migration-to-StripeClient-and-services-in-7.33.0) contains before & after examples of the backwards-compatible changes. - -## 7.32.1 - 2020-05-13 -* [#932](https://github.com/stripe/stripe-php/pull/932) Fix multiple PHPDoc - -## 7.32.0 - 2020-05-11 -* [#931](https://github.com/stripe/stripe-php/pull/931) Add support for the `LineItem` resource and APIs - -## 7.31.0 - 2020-05-01 -* [#927](https://github.com/stripe/stripe-php/pull/927) Add support for new tax IDs - -## 7.30.0 - 2020-04-29 -* [#924](https://github.com/stripe/stripe-php/pull/924) Add support for the `Price` resource and APIs - -## 7.29.0 - 2020-04-22 -* [#920](https://github.com/stripe/stripe-php/pull/920) Add support for the `Session` resource and APIs on the `BillingPortal` namespace - -## 7.28.1 - 2020-04-10 -* [#915](https://github.com/stripe/stripe-php/pull/915) Improve PHPdocs for many classes - -## 7.28.0 - 2020-04-03 -* [#912](https://github.com/stripe/stripe-php/pull/912) Preserve backwards compatibility for typoed `TYPE_ADJUSTEMENT` enum. -* [#911](https://github.com/stripe/stripe-php/pull/911) Codegenerated PHPDoc for nested resources -* [#902](https://github.com/stripe/stripe-php/pull/902) Update docstrings for nested resources - -## 7.27.3 - 2020-03-18 -* [#899](https://github.com/stripe/stripe-php/pull/899) Convert keys to strings in `StripeObject::toArray()` - -## 7.27.2 - 2020-03-13 -* [#894](https://github.com/stripe/stripe-php/pull/894) Multiple PHPDocs changes - -## 7.27.1 - 2020-03-03 -* [#890](https://github.com/stripe/stripe-php/pull/890) Update PHPdoc - -## 7.27.0 - 2020-02-28 -* [#889](https://github.com/stripe/stripe-php/pull/889) Add new constants for `type` on `TaxId` - -## 7.26.0 - 2020-02-26 -* [#886](https://github.com/stripe/stripe-php/pull/886) Add support for listing Checkout `Session` -* [#883](https://github.com/stripe/stripe-php/pull/883) Add PHPDoc class descriptions - -## 7.25.0 - 2020-02-14 -* [#879](https://github.com/stripe/stripe-php/pull/879) Make `\Stripe\Collection` implement `\Countable` -* [#875](https://github.com/stripe/stripe-php/pull/875) Last set of PHP-CS-Fixer updates -* [#874](https://github.com/stripe/stripe-php/pull/874) Enable php_unit_internal_class rule -* [#873](https://github.com/stripe/stripe-php/pull/873) Add support for phpDocumentor in Makefile -* [#872](https://github.com/stripe/stripe-php/pull/872) Another batch of PHP-CS-Fixer rule updates -* [#871](https://github.com/stripe/stripe-php/pull/871) Fix a few PHPDoc comments -* [#870](https://github.com/stripe/stripe-php/pull/870) More PHP-CS-Fixer tweaks - -## 7.24.0 - 2020-02-10 -* [#862](https://github.com/stripe/stripe-php/pull/862) Better PHPDoc -* [#865](https://github.com/stripe/stripe-php/pull/865) Get closer to `@PhpCsFixer` standard ruleset - -## 7.23.0 - 2020-02-05 -* [#860](https://github.com/stripe/stripe-php/pull/860) Add PHPDoc types for expandable fields -* [#858](https://github.com/stripe/stripe-php/pull/858) Use `native_function_invocation` PHPStan rule -* [#857](https://github.com/stripe/stripe-php/pull/857) Update PHPDoc on nested resources -* [#855](https://github.com/stripe/stripe-php/pull/855) PHPDoc: `StripeObject` -> `ErrorObject` where appropriate -* [#837](https://github.com/stripe/stripe-php/pull/837) Autogen diff -* [#854](https://github.com/stripe/stripe-php/pull/854) Upgrade PHPStan and fix settings -* [#850](https://github.com/stripe/stripe-php/pull/850) Yet more PHPDoc updates - -## 7.22.0 - 2020-01-31 -* [#849](https://github.com/stripe/stripe-php/pull/849) Add new constants for `type` on `TaxId` -* [#843](https://github.com/stripe/stripe-php/pull/843) Even more PHPDoc fixes -* [#841](https://github.com/stripe/stripe-php/pull/841) More PHPDoc fixes - -## 7.21.1 - 2020-01-29 -* [#840](https://github.com/stripe/stripe-php/pull/840) Update phpdocs across multiple resources. - -## 7.21.0 - 2020-01-28 -* [#839](https://github.com/stripe/stripe-php/pull/839) Add support for `TYPE_ES_CIF` on `TaxId` - -## 7.20.0 - 2020-01-23 -* [#836](https://github.com/stripe/stripe-php/pull/836) Add new type values for `TaxId` - -## 7.19.1 - 2020-01-14 -* [#831](https://github.com/stripe/stripe-php/pull/831) Fix incorrect `UnexpectedValueException` instantiation - -## 7.19.0 - 2020-01-14 -* [#830](https://github.com/stripe/stripe-php/pull/830) Add support for `CreditNoteLineItem` - -## 7.18.0 - 2020-01-13 -* [#829](https://github.com/stripe/stripe-php/pull/829) Don't call php_uname function if disabled by php.ini - -## 7.17.0 - 2020-01-08 -* [#821](https://github.com/stripe/stripe-php/pull/821) Improve PHPDoc types for `ApiErrorException.get/setJsonBody()` methods - -## 7.16.0 - 2020-01-06 -* [#826](https://github.com/stripe/stripe-php/pull/826) Rename remaining `$options` to `$opts` -* [#825](https://github.com/stripe/stripe-php/pull/825) Update PHPDoc - -## 7.15.0 - 2020-01-06 -* [#824](https://github.com/stripe/stripe-php/pull/824) Add constant `TYPE_SG_UEN` to `TaxId` - -## 7.14.2 - 2019-12-04 -* [#816](https://github.com/stripe/stripe-php/pull/816) Disable autoloader when checking for `Throwable` - -## 7.14.1 - 2019-11-26 -* [#812](https://github.com/stripe/stripe-php/pull/812) Fix invalid PHPdoc on `Subscription` - -## 7.14.0 - 2019-11-26 -* [#811](https://github.com/stripe/stripe-php/pull/811) Add support for `CreditNote` preview. - -## 7.13.0 - 2019-11-19 -* [#808](https://github.com/stripe/stripe-php/pull/808) Add support for listing lines on an Invoice directly via `Invoice::allLines()` - -## 7.12.0 - 2019-11-08 - -- [#805](https://github.com/stripe/stripe-php/pull/805) Add Source::allSourceTransactions and SubscriptionItem::allUsageRecordSummaries -- [#798](https://github.com/stripe/stripe-php/pull/798) The argument of `array_key_exists` cannot be `null` -- [#803](https://github.com/stripe/stripe-php/pull/803) Removed unwanted got - -## 7.11.0 - 2019-11-06 - -- [#797](https://github.com/stripe/stripe-php/pull/797) Add support for reverse pagination - -## 7.10.0 - 2019-11-05 - -- [#795](https://github.com/stripe/stripe-php/pull/795) Add support for `Mandate` - -## 7.9.0 - 2019-11-05 - -- [#794](https://github.com/stripe/stripe-php/pull/794) Add PHPDoc to `ApiResponse` -- [#792](https://github.com/stripe/stripe-php/pull/792) Use single quotes for `OBJECT_NAME` constants - -## 7.8.0 - 2019-11-05 - -- [#790](https://github.com/stripe/stripe-php/pull/790) Mark nullable fields in PHPDoc -- [#788](https://github.com/stripe/stripe-php/pull/788) Early codegen fixes -- [#787](https://github.com/stripe/stripe-php/pull/787) Use PHPStan in Travis CI - -## 7.7.1 - 2019-10-25 - -- [#781](https://github.com/stripe/stripe-php/pull/781) Fix telemetry header -- [#780](https://github.com/stripe/stripe-php/pull/780) Contributor Convenant - -## 7.7.0 - 2019-10-23 - -- [#776](https://github.com/stripe/stripe-php/pull/776) Add `CAPABILITY_TRANSFERS` to `Account` -- [#778](https://github.com/stripe/stripe-php/pull/778) Add support for `TYPE_MX_RFC` type on `TaxId` - -## 7.6.0 - 2019-10-22 - -- [#770](https://github.com/stripe/stripe-php/pull/770) Add missing constants for Customer's `TaxId` - -## 7.5.0 - 2019-10-18 - -- [#768](https://github.com/stripe/stripe-php/pull/768) Redact API key in `RequestOptions` debug info - -## 7.4.0 - 2019-10-15 - -- [#764](https://github.com/stripe/stripe-php/pull/764) Add support for HTTP request monitoring callback - -## 7.3.1 - 2019-10-07 - -- [#755](https://github.com/stripe/stripe-php/pull/755) Respect Stripe-Should-Retry and Retry-After headers - -## 7.3.0 - 2019-10-02 - -- [#752](https://github.com/stripe/stripe-php/pull/752) Add `payment_intent.canceled` and `setup_intent.canceled` events -- [#749](https://github.com/stripe/stripe-php/pull/749) Call `toArray()` on objects only - -## 7.2.2 - 2019-09-24 - -- [#746](https://github.com/stripe/stripe-php/pull/746) Add missing decline codes - -## 7.2.1 - 2019-09-23 - -- [#744](https://github.com/stripe/stripe-php/pull/744) Added new PHPDoc - -## 7.2.0 - 2019-09-17 - -- [#738](https://github.com/stripe/stripe-php/pull/738) Added missing constants for `SetupIntent` events - -## 7.1.1 - 2019-09-16 - -- [#737](https://github.com/stripe/stripe-php/pull/737) Added new PHPDoc - -## 7.1.0 - 2019-09-13 - -- [#736](https://github.com/stripe/stripe-php/pull/736) Make `CaseInsensitiveArray` countable and traversable - -## 7.0.2 - 2019-09-06 - -- [#729](https://github.com/stripe/stripe-php/pull/729) Fix usage of `SignatureVerificationException` in PHPDoc blocks - -## 7.0.1 - 2019-09-05 - -- [#728](https://github.com/stripe/stripe-php/pull/728) Clean up Collection - -## 7.0.0 - 2019-09-03 - -Major version release. The [migration guide](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v7) contains a detailed list of backwards-incompatible changes with upgrade instructions. - -Pull requests included in this release (cf. [#552](https://github.com/stripe/stripe-php/pull/552)) (⚠️ = breaking changes): - -- ⚠️ Drop support for PHP 5.4 ([#551](https://github.com/stripe/stripe-php/pull/551)) -- ⚠️ Drop support for PHP 5.5 ([#554](https://github.com/stripe/stripe-php/pull/554)) -- Bump dependencies ([#553](https://github.com/stripe/stripe-php/pull/553)) -- Remove `CURLFile` check ([#555](https://github.com/stripe/stripe-php/pull/555)) -- Update constant definitions for PHP >= 5.6 ([#556](https://github.com/stripe/stripe-php/pull/556)) -- ⚠️ Remove `FileUpload` alias ([#557](https://github.com/stripe/stripe-php/pull/557)) -- Remove `curl_reset` check ([#570](https://github.com/stripe/stripe-php/pull/570)) -- Use `\Stripe\::class` constant instead of strings ([#643](https://github.com/stripe/stripe-php/pull/643)) -- Use `array_column` to flatten params ([#686](https://github.com/stripe/stripe-php/pull/686)) -- ⚠️ Remove deprecated methods ([#692](https://github.com/stripe/stripe-php/pull/692)) -- ⚠️ Remove `IssuerFraudRecord` ([#696](https://github.com/stripe/stripe-php/pull/696)) -- Update constructors of Stripe exception classes ([#559](https://github.com/stripe/stripe-php/pull/559)) -- Fix remaining TODOs ([#700](https://github.com/stripe/stripe-php/pull/700)) -- Use yield for autopagination ([#703](https://github.com/stripe/stripe-php/pull/703)) -- ⚠️ Rename fake magic methods and rewrite array conversion ([#704](https://github.com/stripe/stripe-php/pull/704)) -- Add `ErrorObject` to Stripe exceptions ([#705](https://github.com/stripe/stripe-php/pull/705)) -- Start using PHP CS Fixer ([#706](https://github.com/stripe/stripe-php/pull/706)) -- Update error messages for nested resource operations ([#708](https://github.com/stripe/stripe-php/pull/708)) -- Upgrade retry logic ([#707](https://github.com/stripe/stripe-php/pull/707)) -- ⚠️ `Collection` improvements / fixes ([#715](https://github.com/stripe/stripe-php/pull/715)) -- ⚠️ Modernize exceptions ([#709](https://github.com/stripe/stripe-php/pull/709)) -- Add constants for error codes ([#716](https://github.com/stripe/stripe-php/pull/716)) -- Update certificate bundle ([#717](https://github.com/stripe/stripe-php/pull/717)) -- Retry requests on a 429 that's a lock timeout ([#718](https://github.com/stripe/stripe-php/pull/718)) -- Fix `toArray()` calls ([#719](https://github.com/stripe/stripe-php/pull/719)) -- Couple of fixes for PHP 7.4 ([#725](https://github.com/stripe/stripe-php/pull/725)) - -## 6.43.1 - 2019-08-29 - -- [#722](https://github.com/stripe/stripe-php/pull/722) Make `LoggerInterface::error` compatible with its PSR-3 counterpart -- [#714](https://github.com/stripe/stripe-php/pull/714) Add `pending_setup_intent` property in `Subscription` -- [#713](https://github.com/stripe/stripe-php/pull/713) Add typehint to `ApiResponse` -- [#712](https://github.com/stripe/stripe-php/pull/712) Fix comment -- [#701](https://github.com/stripe/stripe-php/pull/701) Start testing PHP 7.3 - -## 6.43.0 - 2019-08-09 - -- [#694](https://github.com/stripe/stripe-php/pull/694) Add `SubscriptionItem::createUsageRecord` method - -## 6.42.0 - 2019-08-09 - -- [#688](https://github.com/stripe/stripe-php/pull/688) Remove `SubscriptionScheduleRevision` - - Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused. - -## 6.41.0 - 2019-07-31 - -- [#683](https://github.com/stripe/stripe-php/pull/683) Move the List Balance History API to `/v1/balance_transactions` - -## 6.40.0 - 2019-06-27 - -- [#675](https://github.com/stripe/stripe-php/pull/675) Add support for `SetupIntent` resource and APIs - -## 6.39.2 - 2019-06-26 - -- [#676](https://github.com/stripe/stripe-php/pull/676) Fix exception message in `CustomerBalanceTransaction::update()` - -## 6.39.1 - 2019-06-25 - -- [#674](https://github.com/stripe/stripe-php/pull/674) Add new constants for `collection_method` on `Invoice` - -## 6.39.0 - 2019-06-24 - -- [#673](https://github.com/stripe/stripe-php/pull/673) Enable request latency telemetry by default - -## 6.38.0 - 2019-06-17 - -- [#649](https://github.com/stripe/stripe-php/pull/649) Add support for `CustomerBalanceTransaction` resource and APIs - -## 6.37.2 - 2019-06-17 - -- [#671](https://github.com/stripe/stripe-php/pull/671) Add new PHPDoc -- [#672](https://github.com/stripe/stripe-php/pull/672) Add constants for `submit_type` on Checkout `Session` - -## 6.37.1 - 2019-06-14 - -- [#670](https://github.com/stripe/stripe-php/pull/670) Add new PHPDoc - -## 6.37.0 - 2019-05-23 - -- [#663](https://github.com/stripe/stripe-php/pull/663) Add support for `radar.early_fraud_warning` resource - -## 6.36.0 - 2019-05-22 - -- [#661](https://github.com/stripe/stripe-php/pull/661) Add constants for new TaxId types -- [#662](https://github.com/stripe/stripe-php/pull/662) Add constants for BalanceTransaction types - -## 6.35.2 - 2019-05-20 - -- [#655](https://github.com/stripe/stripe-php/pull/655) Add constants for payment intent statuses -- [#659](https://github.com/stripe/stripe-php/pull/659) Fix PHPDoc for various nested Account actions -- [#660](https://github.com/stripe/stripe-php/pull/660) Fix various PHPDoc - -## 6.35.1 - 2019-05-20 - -- [#658](https://github.com/stripe/stripe-php/pull/658) Use absolute value when checking timestamp tolerance - -## 6.35.0 - 2019-05-14 - -- [#651](https://github.com/stripe/stripe-php/pull/651) Add support for the Capability resource and APIs - -## 6.34.6 - 2019-05-13 - -- [#654](https://github.com/stripe/stripe-php/pull/654) Fix typo in definition of `Event::PAYMENT_METHOD_ATTACHED` constant - -## 6.34.5 - 2019-05-06 - -- [#647](https://github.com/stripe/stripe-php/pull/647) Set the return type to static for more operations - -## 6.34.4 - 2019-05-06 - -- [#650](https://github.com/stripe/stripe-php/pull/650) Add missing constants for Event types - -## 6.34.3 - 2019-05-01 - -- [#644](https://github.com/stripe/stripe-php/pull/644) Update return type to `static` to improve static analysis -- [#645](https://github.com/stripe/stripe-php/pull/645) Fix constant for `payment_intent.payment_failed` - -## 6.34.2 - 2019-04-26 - -- [#642](https://github.com/stripe/stripe-php/pull/642) Fix an issue where existing idempotency keys would be overwritten when using automatic retries - -## 6.34.1 - 2019-04-25 - -- [#640](https://github.com/stripe/stripe-php/pull/640) Add missing phpdocs - -## 6.34.0 - 2019-04-24 - -- [#626](https://github.com/stripe/stripe-php/pull/626) Add support for the `TaxRate` resource and APIs -- [#639](https://github.com/stripe/stripe-php/pull/639) Fix multiple phpdoc issues - -## 6.33.0 - 2019-04-22 - -- [#630](https://github.com/stripe/stripe-php/pull/630) Add support for the `TaxId` resource and APIs - -## 6.32.1 - 2019-04-19 - -- [#636](https://github.com/stripe/stripe-php/pull/636) Correct type of `$personId` in PHPDoc - -## 6.32.0 - 2019-04-18 - -- [#621](https://github.com/stripe/stripe-php/pull/621) Add support for `CreditNote` - -## 6.31.5 - 2019-04-12 - -- [#628](https://github.com/stripe/stripe-php/pull/628) Add constants for `person.*` event types -- [#628](https://github.com/stripe/stripe-php/pull/628) Add missing constants for `Account` and `Person` - -## 6.31.4 - 2019-04-05 - -- [#624](https://github.com/stripe/stripe-php/pull/624) Fix encoding of nested parameters in multipart requests - -## 6.31.3 - 2019-04-02 - -- [#623](https://github.com/stripe/stripe-php/pull/623) Only use HTTP/2 with curl >= 7.60.0 - -## 6.31.2 - 2019-03-25 - -- [#619](https://github.com/stripe/stripe-php/pull/619) Fix PHPDoc return types for list methods for nested resources - -## 6.31.1 - 2019-03-22 - -- [#612](https://github.com/stripe/stripe-php/pull/612) Add a lot of constants -- [#614](https://github.com/stripe/stripe-php/pull/614) Add missing subscription status constants - -## 6.31.0 - 2019-03-18 - -- [#600](https://github.com/stripe/stripe-php/pull/600) Add support for the `PaymentMethod` resource and APIs -- [#606](https://github.com/stripe/stripe-php/pull/606) Add support for retrieving a Checkout `Session` -- [#611](https://github.com/stripe/stripe-php/pull/611) Add support for deleting a Terminal `Location` and `Reader` - -## 6.30.5 - 2019-03-11 - -- [#607](https://github.com/stripe/stripe-php/pull/607) Correctly handle case where a metadata key is called `metadata` - -## 6.30.4 - 2019-02-27 - -- [#602](https://github.com/stripe/stripe-php/pull/602) Add `subscription_schedule` to `Subscription` for PHPDoc. - -## 6.30.3 - 2019-02-26 - -- [#603](https://github.com/stripe/stripe-php/pull/603) Improve PHPDoc on the `Source` object to cover all types of Sources currently supported. - -## 6.30.2 - 2019-02-25 - -- [#601](https://github.com/stripe/stripe-php/pull/601) Fix PHPDoc across multiple resources and add support for new events. - -## 6.30.1 - 2019-02-16 - -- [#599](https://github.com/stripe/stripe-php/pull/599) Fix PHPDoc for `SubscriptionSchedule` and `SubscriptionScheduleRevision` - -## 6.30.0 - 2019-02-12 - -- [#590](https://github.com/stripe/stripe-php/pull/590) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision` - -## 6.29.3 - 2019-01-31 - -- [#592](https://github.com/stripe/stripe-php/pull/592) Some more PHPDoc fixes - -## 6.29.2 - 2019-01-31 - -- [#591](https://github.com/stripe/stripe-php/pull/591) Fix PHPDoc for nested resources - -## 6.29.1 - 2019-01-25 - -- [#566](https://github.com/stripe/stripe-php/pull/566) Fix dangling message contents -- [#586](https://github.com/stripe/stripe-php/pull/586) Don't overwrite `CURLOPT_HTTP_VERSION` option - -## 6.29.0 - 2019-01-23 - -- [#579](https://github.com/stripe/stripe-php/pull/579) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach. - -## 6.28.1 - 2019-01-21 - -- [#580](https://github.com/stripe/stripe-php/pull/580) Properly serialize `individual` on `Account` objects - -## 6.28.0 - 2019-01-03 - -- [#576](https://github.com/stripe/stripe-php/pull/576) Add support for iterating directly over `Collection` instances - -## 6.27.0 - 2018-12-21 - -- [#571](https://github.com/stripe/stripe-php/pull/571) Add support for the `CheckoutSession` resource - -## 6.26.0 - 2018-12-11 - -- [#568](https://github.com/stripe/stripe-php/pull/568) Enable persistent connections - -## 6.25.0 - 2018-12-10 - -- [#567](https://github.com/stripe/stripe-php/pull/567) Add support for account links - -## 6.24.0 - 2018-11-28 - -- [#562](https://github.com/stripe/stripe-php/pull/562) Add support for the Review resource -- [#564](https://github.com/stripe/stripe-php/pull/564) Add event name constants for subscription schedule aborted/expiring - -## 6.23.0 - 2018-11-27 - -- [#542](https://github.com/stripe/stripe-php/pull/542) Add support for `ValueList` and `ValueListItem` for Radar - -## 6.22.1 - 2018-11-20 - -- [#561](https://github.com/stripe/stripe-php/pull/561) Add cast and some docs to telemetry introduced in 6.22.0/549 - -## 6.22.0 - 2018-11-15 - -- [#549](https://github.com/stripe/stripe-php/pull/549) Add support for client telemetry - -## 6.21.1 - 2018-11-12 - -- [#548](https://github.com/stripe/stripe-php/pull/548) Don't mutate `Exception` class properties from `OAuthBase` error - -## 6.21.0 - 2018-11-08 - -- [#537](https://github.com/stripe/stripe-php/pull/537) Add new API endpoints for the `Invoice` resource. - -## 6.20.1 - 2018-11-07 - -- [#546](https://github.com/stripe/stripe-php/pull/546) Drop files from the Composer package that aren't needed in the release - -## 6.20.0 - 2018-10-30 - -- [#536](https://github.com/stripe/stripe-php/pull/536) Add support for the `Person` resource -- [#541](https://github.com/stripe/stripe-php/pull/541) Add support for the `WebhookEndpoint` resource - -## 6.19.5 - 2018-10-17 - -- [#539](https://github.com/stripe/stripe-php/pull/539) Fix methods on `\Stripe\PaymentIntent` to properly pass arguments to the API. - -## 6.19.4 - 2018-10-11 - -- [#534](https://github.com/stripe/stripe-php/pull/534) Fix PSR-4 autoloading for `\Stripe\FileUpload` class alias - -## 6.19.3 - 2018-10-09 - -- [#530](https://github.com/stripe/stripe-php/pull/530) Add constants for `flow` (`FLOW_*`), `status` (`STATUS_*`) and `usage` (`USAGE_*`) on `\Stripe\Source` - -## 6.19.2 - 2018-10-08 - -- [#531](https://github.com/stripe/stripe-php/pull/531) Store HTTP response headers in case-insensitive array - -## 6.19.1 - 2018-09-25 - -- [#526](https://github.com/stripe/stripe-php/pull/526) Ignore null values in request parameters - -## 6.19.0 - 2018-09-24 - -- [#523](https://github.com/stripe/stripe-php/pull/523) Add support for Stripe Terminal - -## 6.18.0 - 2018-09-24 - -- [#520](https://github.com/stripe/stripe-php/pull/520) Rename `\Stripe\FileUpload` to `\Stripe\File` - -## 6.17.2 - 2018-09-18 - -- [#522](https://github.com/stripe/stripe-php/pull/522) Fix warning when adding a new additional owner to an existing array - -## 6.17.1 - 2018-09-14 - -- [#517](https://github.com/stripe/stripe-php/pull/517) Integer-index encode all sequential arrays - -## 6.17.0 - 2018-09-05 - -- [#514](https://github.com/stripe/stripe-php/pull/514) Add support for reporting resources - -## 6.16.0 - 2018-08-23 - -- [#509](https://github.com/stripe/stripe-php/pull/509) Add support for usage record summaries - -## 6.15.0 - 2018-08-03 - -- [#504](https://github.com/stripe/stripe-php/pull/504) Add cancel support for topups - -## 6.14.0 - 2018-08-02 - -- [#505](https://github.com/stripe/stripe-php/pull/505) Add support for file links - -## 6.13.0 - 2018-07-31 - -- [#502](https://github.com/stripe/stripe-php/pull/502) Add `isDeleted()` method to `\Stripe\StripeObject` - -## 6.12.0 - 2018-07-28 - -- [#501](https://github.com/stripe/stripe-php/pull/501) Add support for scheduled query runs (`\Stripe\Sigma\ScheduledQueryRun`) for Sigma - -## 6.11.0 - 2018-07-26 - -- [#500](https://github.com/stripe/stripe-php/pull/500) Add support for Stripe Issuing - -## 6.10.4 - 2018-07-19 - -- [#498](https://github.com/stripe/stripe-php/pull/498) Internal improvements to the `\Stripe\ApiResource.classUrl()` method - -## 6.10.3 - 2018-07-16 - -- [#497](https://github.com/stripe/stripe-php/pull/497) Use HTTP/2 only for HTTPS requests - -## 6.10.2 - 2018-07-11 - -- [#494](https://github.com/stripe/stripe-php/pull/494) Enable HTTP/2 support - -## 6.10.1 - 2018-07-10 - -- [#493](https://github.com/stripe/stripe-php/pull/493) Add PHPDoc for `auto_advance` on `\Stripe\Invoice` - -## 6.10.0 - 2018-06-28 - -- [#488](https://github.com/stripe/stripe-php/pull/488) Add support for `$appPartnerId` to `Stripe::setAppInfo()` - -## 6.9.0 - 2018-06-28 - -- [#487](https://github.com/stripe/stripe-php/pull/487) Add support for payment intents - -## 6.8.2 - 2018-06-24 - -- [#486](https://github.com/stripe/stripe-php/pull/486) Make `Account.deauthorize()` return the `StripeObject` from the API - -## 6.8.1 - 2018-06-13 - -- [#472](https://github.com/stripe/stripe-php/pull/472) Added phpDoc for `ApiRequestor` and others, especially regarding thrown errors - -## 6.8.0 - 2018-06-13 - -- [#481](https://github.com/stripe/stripe-php/pull/481) Add new `\Stripe\Discount` and `\Stripe\OrderItem` classes, add more PHPDoc describing object attributes - -## 6.7.4 - 2018-05-29 - -- [#480](https://github.com/stripe/stripe-php/pull/480) PHPDoc changes for API version 2018-05-21 and the addition of the new `CHARGE_EXPIRED` event type - -## 6.7.3 - 2018-05-28 - -- [#479](https://github.com/stripe/stripe-php/pull/479) Fix unnecessary traits on `\Stripe\InvoiceLineItem` - -## 6.7.2 - 2018-05-28 - -- [#471](https://github.com/stripe/stripe-php/pull/471) Add `OBJECT_NAME` constant to all API resource classes, add `\Stripe\InvoiceLineItem` class - -## 6.7.1 - 2018-05-13 - -- [#468](https://github.com/stripe/stripe-php/pull/468) Update fields in PHP docs for accuracy - -## 6.7.0 - 2018-05-09 - -- [#466](https://github.com/stripe/stripe-php/pull/466) Add support for issuer fraud records - -## 6.6.0 - 2018-04-11 - -- [#460](https://github.com/stripe/stripe-php/pull/460) Add support for flexible billing primitives - -## 6.5.0 - 2018-04-05 - -- [#461](https://github.com/stripe/stripe-php/pull/461) Don't zero keys on non-`metadata` subobjects - -## 6.4.2 - 2018-03-17 - -- [#458](https://github.com/stripe/stripe-php/pull/458) Add PHPDoc for `account` on `\Stripe\Event` - -## 6.4.1 - 2018-03-02 - -- [#455](https://github.com/stripe/stripe-php/pull/455) Fix namespaces in PHPDoc -- [#456](https://github.com/stripe/stripe-php/pull/456) Fix namespaces for some exceptions - -## 6.4.0 - 2018-02-28 - -- [#453](https://github.com/stripe/stripe-php/pull/453) Add constants for `reason` (`REASON_*`) and `status` (`STATUS_*`) on `\Stripe\Dispute` - -## 6.3.2 - 2018-02-27 - -- [#452](https://github.com/stripe/stripe-php/pull/452) Add PHPDoc for `amount_paid` and `amount_remaining` on `\Stripe\Invoice` - -## 6.3.1 - 2018-02-26 - -- [#443](https://github.com/stripe/stripe-php/pull/443) Add event types as constants to `\Stripe\Event` class - -## 6.3.0 - 2018-02-23 - -- [#450](https://github.com/stripe/stripe-php/pull/450) Add support for `code` attribute on all Stripe exceptions - -## 6.2.0 - 2018-02-21 - -- [#440](https://github.com/stripe/stripe-php/pull/440) Add support for topups -- [#442](https://github.com/stripe/stripe-php/pull/442) Fix PHPDoc for `\Stripe\Error\SignatureVerification` - -## 6.1.0 - 2018-02-12 - -- [#435](https://github.com/stripe/stripe-php/pull/435) Fix header persistence on `Collection` objects -- [#436](https://github.com/stripe/stripe-php/pull/436) Introduce new `Idempotency` error class - -## 6.0.0 - 2018-02-07 - -Major version release. List of backwards incompatible changes to watch out for: - -- The minimum PHP version is now 5.4.0. If you're using PHP 5.3 or older, consider upgrading to a more recent version. - -* `\Stripe\AttachedObject` no longer exists. Attributes that used to be instances of `\Stripe\AttachedObject` (such as `metadata`) are now instances of `\Stripe\StripeObject`. - -- Attributes that used to be PHP arrays (such as `legal_entity->additional_owners` on `\Stripe\Account` instances) are now instances of `\Stripe\StripeObject`, except when they are empty. `\Stripe\StripeObject` has array semantics so this should not be an issue unless you are actively checking types. - -* `\Stripe\Collection` now derives from `\Stripe\StripeObject` rather than from `\Stripe\ApiResource`. - -Pull requests included in this release: - -- [#410](https://github.com/stripe/stripe-php/pull/410) Drop support for PHP 5.3 -- [#411](https://github.com/stripe/stripe-php/pull/411) Use traits for common API operations -- [#414](https://github.com/stripe/stripe-php/pull/414) Use short array syntax -- [#404](https://github.com/stripe/stripe-php/pull/404) Fix serialization logic -- [#417](https://github.com/stripe/stripe-php/pull/417) Remove `ExternalAccount` class -- [#418](https://github.com/stripe/stripe-php/pull/418) Increase test coverage -- [#421](https://github.com/stripe/stripe-php/pull/421) Update CA bundle and add script for future updates -- [#422](https://github.com/stripe/stripe-php/pull/422) Use vendored CA bundle for all requests -- [#428](https://github.com/stripe/stripe-php/pull/428) Support for automatic request retries - -## 5.9.2 - 2018-02-07 - -- [#431](https://github.com/stripe/stripe-php/pull/431) Update PHPDoc @property tags for latest API version - -## 5.9.1 - 2018-02-06 - -- [#427](https://github.com/stripe/stripe-php/pull/427) Add and update PHPDoc @property tags on all API resources - -## 5.9.0 - 2018-01-17 - -- [#421](https://github.com/stripe/stripe-php/pull/421) Updated bundled CA certificates -- [#423](https://github.com/stripe/stripe-php/pull/423) Escape unsanitized input in OAuth example - -## 5.8.0 - 2017-12-20 - -- [#403](https://github.com/stripe/stripe-php/pull/403) Add `__debugInfo()` magic method to `StripeObject` - -## 5.7.0 - 2017-11-28 - -- [#390](https://github.com/stripe/stripe-php/pull/390) Remove some unsupported API methods -- [#391](https://github.com/stripe/stripe-php/pull/391) Alphabetize the list of API resources in `Util::convertToStripeObject()` and add missing resources -- [#393](https://github.com/stripe/stripe-php/pull/393) Fix expiry date update for card sources - -## 5.6.0 - 2017-10-31 - -- [#386](https://github.com/stripe/stripe-php/pull/386) Support for exchange rates APIs - -## 5.5.1 - 2017-10-30 - -- [#387](https://github.com/stripe/stripe-php/pull/387) Allow `personal_address_kana` and `personal_address_kanji` to be updated on an account - -## 5.5.0 - 2017-10-27 - -- [#385](https://github.com/stripe/stripe-php/pull/385) Support for listing source transactions - -## 5.4.0 - 2017-10-24 - -- [#383](https://github.com/stripe/stripe-php/pull/383) Add static methods to manipulate resources from parent - - `Account` gains methods for external accounts and login links (e.g. `createExternalAccount`, `createLoginLink`) - - `ApplicationFee` gains methods for refunds - - `Customer` gains methods for sources - - `Transfer` gains methods for reversals - -## 5.3.0 - 2017-10-11 - -- [#378](https://github.com/stripe/stripe-php/pull/378) Rename source `delete` to `detach` (and deprecate the former) - -## 5.2.3 - 2017-09-27 - -- Add PHPDoc for `Card` - -## 5.2.2 - 2017-09-20 - -- Fix deserialization mapping of `FileUpload` objects - -## 5.2.1 - 2017-09-14 - -- Serialized `shipping` nested attribute - -## 5.2.0 - 2017-08-29 - -- Add support for `InvalidClient` OAuth error - -## 5.1.3 - 2017-08-14 - -- Allow `address_kana` and `address_kanji` to be updated for custom accounts - -## 5.1.2 - 2017-08-01 - -- Fix documented return type of `autoPagingIterator()` (was missing namespace) - -## 5.1.1 - 2017-07-03 - -- Fix order returns to use the right URL `/v1/order_returns` - -## 5.1.0 - 2017-06-30 - -- Add support for OAuth - -## 5.0.0 - 2017-06-27 - -- `pay` on invoice now takes params as well as opts - -## 4.13.0 - 2017-06-19 - -- Add support for ephemeral keys - -## 4.12.0 - 2017-06-05 - -- Clients can implement `getUserAgentInfo()` to add additional user agent information - -## 4.11.0 - 2017-06-05 - -- Implement `Countable` for `AttachedObject` (`metadata` and `additional_owners`) - -## 4.10.0 - 2017-05-25 - -- Add support for login links - -## 4.9.1 - 2017-05-10 - -- Fix docs to include arrays on `$id` parameter for retrieve methods - -## 4.9.0 - 2017-04-28 - -- Support for checking webhook signatures - -## 4.8.1 - 2017-04-24 - -- Allow nested field `payout_schedule` to be updated - -## 4.8.0 - 2017-04-20 - -- Add `\Stripe\Stripe::setLogger()` to support an external PSR-3 compatible logger - -## 4.7.0 - 2017-04-10 - -- Add support for payouts and recipient transfers - -## 4.6.0 - 2017-04-06 - -- Please see 4.7.0 instead (no-op release) - -## 4.5.1 - 2017-03-22 - -- Remove hard dependency on cURL - -## 4.5.0 - 2017-03-20 - -- Support for detaching sources from customers - -## 4.4.2 - 2017-02-27 - -- Correct handling of `owner` parameter when updating sources - -## 4.4.1 - 2017-02-24 - -- Correct the error check on a bad JSON decoding - -## 4.4.0 - 2017-01-18 - -- Add support for updating sources - -## 4.3.0 - 2016-11-30 - -- Add support for verifying sources - -## 4.2.0 - 2016-11-21 - -- Add retrieve method for 3-D Secure resources - -## 4.1.1 - 2016-10-21 - -- Add docblock with model properties for `Plan` - -## 4.1.0 - 2016-10-18 - -- Support for 403 status codes (permission denied) - -## 4.0.1 - 2016-10-17 - -- Fix transfer reversal materialization -- Fixes for some property definitions in docblocks - -## 4.0.0 - 2016-09-28 - -- Support for subscription items -- Drop attempt to force TLS 1.2: please note that this could be breaking if you're using old OS distributions or packages and upgraded recently (so please make sure to test your integration!) - -## 3.23.0 - 2016-09-15 - -- Add support for Apple Pay domains - -## 3.22.0 - 2016-09-13 - -- Add `Stripe::setAppInfo` to allow plugins to register user agent information - -## 3.21.0 - 2016-08-25 - -- Add `Source` model for generic payment sources - -## 3.20.0 - 2016-08-08 - -- Add `getDeclineCode` to card errors - -## 3.19.0 - 2016-07-29 - -- Opt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context) - -## 3.18.0 - 2016-07-28 - -- Add new `STATUS_` constants for subscriptions - -## 3.17.1 - 2016-07-28 - -- Fix auto-paging iterator so that it plays nicely with `iterator_to_array` - -## 3.17.0 - 2016-07-14 - -- Add field annotations to model classes for better editor hinting - -## 3.16.0 - 2016-07-12 - -- Add `ThreeDSecure` model for 3-D secure payments - -## 3.15.0 - 2016-06-29 - -- Add static `update` method to all resources that can be changed. - -## 3.14.3 - 2016-06-20 - -- Make sure that cURL never sends `Expects: 100-continue`, even on large request bodies - -## 3.14.2 - 2016-06-03 - -- Add `inventory` under `SKU` to list of keys that have nested data and can be updated - -## 3.14.1 - 2016-05-27 - -- Fix some inconsistencies in PHPDoc - -## 3.14.0 - 2016-05-25 - -- Add support for returning Relay orders - -## 3.13.0 - 2016-05-04 - -- Add `list`, `create`, `update`, `retrieve`, and `delete` methods to the Subscription class - -## 3.12.1 - 2016-04-07 - -- Additional check on value arrays for some extra safety - -## 3.12.0 - 2016-03-31 - -- Fix bug `refreshFrom` on `StripeObject` would not take an `$opts` array -- Fix bug where `$opts` not passed to parent `save` method in `Account` -- Fix bug where non-existent variable was referenced in `reverse` in `Transfer` -- Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1 - -## 3.11.0 - 2016-03-22 - -- Allow `CurlClient` to be initialized with default `CURLOPT_*` options - -## 3.10.1 - 2016-03-22 - -- Fix bug where request params and options were ignored in `ApplicationFee`'s `refund.` - -## 3.10.0 - 2016-03-15 - -- Add `reject` on `Account` to support the new API feature - -## 3.9.2 - 2016-03-04 - -- Fix error when an object's metadata is set more than once - -## 3.9.1 - 2016-02-24 - -- Fix encoding behavior of nested arrays for requests (see #227) - -## 3.9.0 - 2016-02-09 - -- Add automatic pagination mechanism with `autoPagingIterator()` -- Allow global account ID to be set with `Stripe::setAccountId()` - -## 3.8.0 - 2016-02-08 - -- Add `CountrySpec` model for looking up country payment information - -## 3.7.1 - 2016-02-01 - -- Update bundled CA certs - -## 3.7.0 - 2016-01-27 - -- Support deleting Relay products and SKUs - -## 3.6.0 - 2016-01-05 - -- Allow configuration of HTTP client timeouts - -## 3.5.0 - 2015-12-01 - -- Add a verification routine for external accounts - -## 3.4.0 - 2015-09-14 - -- Products, SKUs, and Orders -- https://stripe.com/relay - -## 3.3.0 - 2015-09-11 - -- Add support for 429 Rate Limit response - -## 3.2.0 - 2015-08-17 - -- Add refund listing and retrieval without an associated charge - -## 3.1.0 - 2015-08-03 - -- Add dispute listing and retrieval -- Add support for manage account deletion - -## 3.0.0 - 2015-07-28 - -- Rename `\Stripe\Object` to `\Stripe\StripeObject` (PHP 7 compatibility) -- Rename `getCode` and `getParam` in exceptions to `getStripeCode` and `getStripeParam` -- Add support for calling `json_encode` on Stripe objects in PHP 5.4+ -- Start supporting/testing PHP 7 - -## 2.3.0 - 2015-07-06 - -- Add request ID to all Stripe exceptions - -## 2.2.0 - 2015-06-01 - -- Add support for Alipay accounts as sources -- Add support for bank accounts as sources (private beta) -- Add support for bank accounts and cards as external_accounts on Account objects - -## 2.1.4 - 2015-05-13 - -- Fix CA certificate file path (thanks @lphilps & @matthewarkin) - -## 2.1.3 - 2015-05-12 - -- Fix to account updating to permit `tos_acceptance` and `personal_address` to be set properly -- Fix to Transfer reversal creation (thanks @neatness!) -- Network requests are now done through a swappable class for easier mocking - -## 2.1.2 - 2015-04-10 - -- Remove SSL cert revokation checking (all pre-Heartbleed certs have expired) -- Bug fixes to account updating - -## 2.1.1 - 2015-02-27 - -- Support transfer reversals - -## 2.1.0 - 2015-02-19 - -- Support new API version (2015-02-18) -- Added Bitcoin Receiever update and delete actions -- Edited tests to prefer "source" over "card" as per new API version - -## 2.0.1 - 2015-02-16 - -- Fix to fetching endpoints that use a non-default baseUrl (`FileUpload`) - -## 2.0.0 - 2015-02-14 - -- Bumped minimum version to 5.3.3 -- Switched to Stripe namespace instead of Stripe\_ class name prefiexes (thanks @chadicus!) -- Switched tests to PHPUnit (thanks @chadicus!) -- Switched style guide to PSR2 (thanks @chadicus!) -- Added \$opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist across multiple object loads. -- Added support for retrieving Account by ID - -## 1.18.0 - 2015-01-21 - -- Support making bitcoin charges through BitcoinReceiver source object - -## 1.17.5 - 2014-12-23 - -- Adding support for creating file uploads. - -## 1.17.4 - 2014-12-15 - -- Saving objects fetched with a custom key now works (thanks @JustinHook & @jpasilan) -- Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds - -## 1.17.3 - 2014-11-06 - -- Better handling of HHVM support for SSL certificate blacklist checking. - -## 1.17.2 - 2014-09-23 - -- Coupons now are backed by a `Stripe_Coupon` instead of `Stripe_Object`, and support updating metadata -- Running operations (`create`, `retrieve`, `all`) on upcoming invoice items now works - -## 1.17.1 - 2014-07-31 - -- Requests now send Content-Type header - -## 1.17.0 - 2014-07-29 - -- Application Fee refunds now a list instead of array -- HHVM now works -- Small bug fixes (thanks @bencromwell & @fastest963) -- `__toString` now returns the name of the object in addition to its JSON representation - -## 1.16.0 - 2014-06-17 - -- Add metadata for refunds and disputes - -## 1.15.0 - 2014-05-28 - -- Support canceling transfers - -## 1.14.1 - 2014-05-21 - -- Support cards for recipients. - -## 1.13.1 - 2014-05-15 - -- Fix bug in account resource where `id` wasn't in the result - -## 1.13.0 - 2014-04-10 - -- Add support for certificate blacklisting -- Update ca bundle -- Drop support for HHVM (Temporarily) - -## 1.12.0 - 2014-04-01 - -- Add Stripe_RateLimitError for catching rate limit errors. -- Update to Zend coding style (thanks, @jpiasetz) - -## 1.11.0 - 2014-01-29 - -- Add support for multiple subscriptions per customer - -## 1.10.1 - 2013-12-02 - -- Add new ApplicationFee - -## 1.9.1 - 2013-11-08 - -- Fix a bug where a null nestable object causes warnings to fire. - -## 1.9.0 - 2013-10-16 - -- Add support for metadata API. - -## 1.8.4 - 2013-09-18 - -- Add support for closing disputes. - -## 1.8.3 - 2013-08-13 - -- Add new Balance and BalanceTransaction - -## 1.8.2 - 2013-08-12 - -- Add support for unsetting attributes by updating to NULL. Setting properties to a blank string is now an error. - -## 1.8.1 - 2013-07-12 - -- Add support for multiple cards API (Stripe API version 2013-07-12: https://stripe.com/docs/upgrades#2013-07-05) - -## 1.8.0 - 2013-04-11 - -- Allow Transfers to be creatable -- Add new Recipient resource - -## 1.7.15 - 2013-02-21 - -- Add 'id' to the list of permanent object attributes - -## 1.7.14 - 2013-02-20 - -- Don't re-encode strings that are already encoded in UTF-8. If you were previously using plan or coupon objects with UTF-8 IDs, they may have been treated as ISO-8859-1 (Latin-1) and encoded to UTF-8 a 2nd time. You may now need to pass the IDs to utf8_encode before passing them to Stripe_Plan::retrieve or Stripe_Coupon::retrieve. -- Ensure that all input is encoded in UTF-8 before submitting it to Stripe's servers. (github issue #27) - -## 1.7.13 - 2013-02-01 - -- Add support for passing options when retrieving Stripe objects e.g., Stripe_Charge::retrieve(array("id"=>"foo", "expand" => array("customer"))); Stripe_Charge::retrieve("foo") will continue to work - -## 1.7.12 - 2013-01-15 - -- Add support for setting a Stripe API version override - -## 1.7.11 - 2012-12-30 - -- Version bump to cleanup constants and such (fix issue #26) - -## 1.7.10 - 2012-11-08 - -- Add support for updating charge disputes. -- Fix bug preventing retrieval of null attributes - -## 1.7.9 - 2012-11-08 - -- Fix usage under autoloaders such as the one generated by composer (fix issue #22) - -## 1.7.8 - 2012-10-30 - -- Add support for creating invoices. -- Add support for new invoice lines return format -- Add support for new list objects - -## 1.7.7 - 2012-09-14 - -- Get all of the various version numbers in the repo in sync (no other changes) - -## 1.7.6 - 2012-08-31 - -- Add update and pay methods to Invoice resource - -## 1.7.5 - 2012-08-23 - -- Change internal function names so that Stripe_SingletonApiRequest is E_STRICT-clean (github issue #16) - -## 1.7.4 - 2012-08-21 - -- Bugfix so that Stripe objects (e.g. Customer, Charge objects) used in API calls are transparently converted to their object IDs - -## 1.7.3 - 2012-08-15 - -- Add new Account resource - -## 1.7.2 - 2012-06-26 - -- Make clearer that you should be including lib/Stripe.php, not test/Stripe.php (github issue #14) - -## 1.7.1 - 2012-05-24 - -- Add missing argument to Stripe_InvalidRequestError constructor in Stripe_ApiResource::instanceUrl. Fixes a warning when Stripe_ApiResource::instanceUrl is called on a resource with no ID (fix issue #12) - -## 1.7.0 - 2012-05-17 - -- Support Composer and Packagist (github issue #9) -- Add new deleteDiscount method to Stripe_Customer -- Add new Transfer resource -- Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward) -- Numerous test suite improvements diff --git a/vendor/stripe-php-7.72.0/CODE_OF_CONDUCT.md b/vendor/stripe-php-7.72.0/CODE_OF_CONDUCT.md deleted file mode 100644 index 349f5a0b..00000000 --- a/vendor/stripe-php-7.72.0/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,77 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to make participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies within all project spaces, and it also applies when -an individual is representing the project or its community in public spaces. -Examples of representing a project or community include using an official -project e-mail address, posting via an official social media account, or acting -as an appointed representative at an online or offline event. Representation of -a project may be further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at conduct@stripe.com. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq - diff --git a/vendor/stripe-php-7.72.0/Makefile b/vendor/stripe-php-7.72.0/Makefile deleted file mode 100644 index 61b6de53..00000000 --- a/vendor/stripe-php-7.72.0/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -export PHPDOCUMENTOR_VERSION := v3.0.0 -export PHPSTAN_VERSION := 0.12.59 - -vendor: composer.json - composer install - -vendor/bin/phpstan: vendor - curl -sfL https://github.com/phpstan/phpstan/releases/download/$(PHPSTAN_VERSION)/phpstan.phar -o vendor/bin/phpstan - chmod +x vendor/bin/phpstan - -vendor/bin/phpdoc: vendor - curl -sfL https://github.com/phpDocumentor/phpDocumentor/releases/download/$(PHPDOCUMENTOR_VERSION)/phpDocumentor.phar -o vendor/bin/phpdoc - chmod +x vendor/bin/phpdoc - -test: vendor - vendor/bin/phpunit -.PHONY: test - -fmt: vendor - vendor/bin/php-cs-fixer fix -v --using-cache=no . -.PHONY: fmt - -fmtcheck: vendor - vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no . -.PHONY: fmtcheck - -phpdoc: vendor/bin/phpdoc - vendor/bin/phpdoc - -phpstan: vendor/bin/phpstan - php -d memory_limit=512M vendor/bin/phpstan analyse lib tests -.PHONY: phpstan - -phpstan-baseline: vendor/bin/phpstan - php -d memory_limit=512M vendor/bin/phpstan analyse lib tests --generate-baseline -.PHONY: phpstan-baseline diff --git a/vendor/stripe-php-7.72.0/README.md b/vendor/stripe-php-7.72.0/README.md deleted file mode 100644 index 45b36405..00000000 --- a/vendor/stripe-php-7.72.0/README.md +++ /dev/null @@ -1,270 +0,0 @@ -# Stripe PHP bindings - -[![Build Status](https://travis-ci.org/stripe/stripe-php.svg?branch=master)](https://travis-ci.org/stripe/stripe-php) -[![Latest Stable Version](https://poser.pugx.org/stripe/stripe-php/v/stable.svg)](https://packagist.org/packages/stripe/stripe-php) -[![Total Downloads](https://poser.pugx.org/stripe/stripe-php/downloads.svg)](https://packagist.org/packages/stripe/stripe-php) -[![License](https://poser.pugx.org/stripe/stripe-php/license.svg)](https://packagist.org/packages/stripe/stripe-php) -[![Code Coverage](https://coveralls.io/repos/stripe/stripe-php/badge.svg?branch=master)](https://coveralls.io/r/stripe/stripe-php?branch=master) - -The Stripe PHP library provides convenient access to the Stripe API from -applications written in the PHP language. It includes a pre-defined set of -classes for API resources that initialize themselves dynamically from API -responses which makes it compatible with a wide range of versions of the Stripe -API. - -## Requirements - -PHP 5.6.0 and later. - -## Composer - -You can install the bindings via [Composer](http://getcomposer.org/). Run the following command: - -```bash -composer require stripe/stripe-php -``` - -To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading): - -```php -require_once('vendor/autoload.php'); -``` - -## Manual Installation - -If you do not wish to use Composer, you can download the [latest release](https://github.com/stripe/stripe-php/releases). Then, to use the bindings, include the `init.php` file. - -```php -require_once('/path/to/stripe-php/init.php'); -``` - -## Dependencies - -The bindings require the following extensions in order to work properly: - -- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer -- [`json`](https://secure.php.net/manual/en/book.json.php) -- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String) - -If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available. - -## Getting Started - -Simple usage looks like: - -```php -$stripe = new \Stripe\StripeClient('sk_test_BQokikJOvBiI2HlWgH4olfQ2'); -$customer = $stripe->customers->create([ - 'description' => 'example customer', - 'email' => 'email@example.com', - 'payment_method' => 'pm_card_visa', -]); -echo $customer; -``` - -### Client/service patterns vs legacy patterns - -You can continue to use the legacy integration patterns used prior to version [7.33.0](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md#7330---2020-05-14). Review the [migration guide](https://github.com/stripe/stripe-php/wiki/Migration-to-StripeClient-and-services-in-7.33.0) for the backwards-compatible client/services pattern changes. - -## Documentation - -See the [PHP API docs](https://stripe.com/docs/api/php#intro). - -See [video demonstrations][youtube-playlist] covering how to use the library. - - -## Legacy Version Support - -### PHP 5.4 & 5.5 - -If you are using PHP 5.4 or 5.5, you can download v6.21.1 ([zip](https://github.com/stripe/stripe-php/archive/v6.21.1.zip), [tar.gz](https://github.com/stripe/stripe-php/archive/v6.21.1.tar.gz)) from our [releases page](https://github.com/stripe/stripe-php/releases). This version will continue to work with new versions of the Stripe API for all common uses. - -### PHP 5.3 - -If you are using PHP 5.3, you can download v5.9.2 ([zip](https://github.com/stripe/stripe-php/archive/v5.9.2.zip), [tar.gz](https://github.com/stripe/stripe-php/archive/v5.9.2.tar.gz)) from our [releases page](https://github.com/stripe/stripe-php/releases). This version will continue to work with new versions of the Stripe API for all common uses. - -## Custom Request Timeouts - -_NOTE:_ We do not recommend decreasing the timeout for non-read-only calls (e.g. charge creation), since even if you locally timeout, the request on Stripe's side can still complete. If you are decreasing timeouts on these calls, make sure to use [idempotency tokens](https://stripe.com/docs/api/php#idempotent_requests) to avoid executing the same transaction twice as a result of timeout retry logic. - -To modify request timeouts (connect or total, in seconds) you'll need to tell the API client to use a CurlClient other than its default. You'll set the timeouts in that CurlClient. - -```php -// set up your tweaked Curl client -$curl = new \Stripe\HttpClient\CurlClient(); -$curl->setTimeout(10); // default is \Stripe\HttpClient\CurlClient::DEFAULT_TIMEOUT -$curl->setConnectTimeout(5); // default is \Stripe\HttpClient\CurlClient::DEFAULT_CONNECT_TIMEOUT - -echo $curl->getTimeout(); // 10 -echo $curl->getConnectTimeout(); // 5 - -// tell Stripe to use the tweaked client -\Stripe\ApiRequestor::setHttpClient($curl); - -// use the Stripe API client as you normally would -``` - -## Custom cURL Options (e.g. proxies) - -Need to set a proxy for your requests? Pass in the requisite `CURLOPT_*` array to the CurlClient constructor, using the same syntax as `curl_stopt_array()`. This will set the default cURL options for each HTTP request made by the SDK, though many more common options (e.g. timeouts; see above on how to set those) will be overridden by the client even if set here. - -```php -// set up your tweaked Curl client -$curl = new \Stripe\HttpClient\CurlClient([CURLOPT_PROXY => 'proxy.local:80']); -// tell Stripe to use the tweaked client -\Stripe\ApiRequestor::setHttpClient($curl); -``` - -Alternately, a callable can be passed to the CurlClient constructor that returns the above array based on request inputs. See `testDefaultOptions()` in `tests/CurlClientTest.php` for an example of this behavior. Note that the callable is called at the beginning of every API request, before the request is sent. - -### Configuring a Logger - -The library does minimal logging, but it can be configured -with a [`PSR-3` compatible logger][psr3] so that messages -end up there instead of `error_log`: - -```php -\Stripe\Stripe::setLogger($logger); -``` - -### Accessing response data - -You can access the data from the last API response on any object via `getLastResponse()`. - -```php -$customer = $stripe->customers->create([ - 'description' => 'example customer', -]); -echo $customer->getLastResponse()->headers['Request-Id']; -``` - -### SSL / TLS compatibility issues - -Stripe's API now requires that [all connections use TLS 1.2](https://stripe.com/blog/upgrading-tls). Some systems (most notably some older CentOS and RHEL versions) are capable of using TLS 1.2 but will use TLS 1.0 or 1.1 by default. In this case, you'd get an `invalid_request_error` with the following error message: "Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at [https://stripe.com/blog/upgrading-tls](https://stripe.com/blog/upgrading-tls).". - -The recommended course of action is to [upgrade your cURL and OpenSSL packages](https://support.stripe.com/questions/how-do-i-upgrade-my-stripe-integration-from-tls-1-0-to-tls-1-2#php) so that TLS 1.2 is used by default, but if that is not possible, you might be able to solve the issue by setting the `CURLOPT_SSLVERSION` option to either `CURL_SSLVERSION_TLSv1` or `CURL_SSLVERSION_TLSv1_2`: - -```php -$curl = new \Stripe\HttpClient\CurlClient([CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1]); -\Stripe\ApiRequestor::setHttpClient($curl); -``` - -### Per-request Configuration - -For apps that need to use multiple keys during the lifetime of a process, like -one that uses [Stripe Connect][connect], it's also possible to set a -per-request key and/or account: - -```php -$customers = $stripe->customers->all([],[ - 'api_key' => 'sk_test_...', - 'stripe_account' => 'acct_...' -]); - -$stripe->customers->retrieve('cus_123456789', [], [ - 'api_key' => 'sk_test_...', - 'stripe_account' => 'acct_...' -]); -``` - -### Configuring CA Bundles - -By default, the library will use its own internal bundle of known CA -certificates, but it's possible to configure your own: - -```php -\Stripe\Stripe::setCABundlePath("path/to/ca/bundle"); -``` - -### Configuring Automatic Retries - -The library can be configured to automatically retry requests that fail due to -an intermittent network problem: - -```php -\Stripe\Stripe::setMaxNetworkRetries(2); -``` - -[Idempotency keys][idempotency-keys] are added to requests to guarantee that -retries are safe. - -### Request latency telemetry - -By default, the library sends request latency telemetry to Stripe. These -numbers help Stripe improve the overall latency of its API for all users. - -You can disable this behavior if you prefer: - -```php -\Stripe\Stripe::setEnableTelemetry(false); -``` - -## Development - -Get [Composer][composer]. For example, on Mac OS: - -```bash -brew install composer -``` - -Install dependencies: - -```bash -composer install -``` - -The test suite depends on [stripe-mock], so make sure to fetch and run it from a -background terminal ([stripe-mock's README][stripe-mock] also contains -instructions for installing via Homebrew and other methods): - -```bash -go get -u github.com/stripe/stripe-mock -stripe-mock -``` - -Install dependencies as mentioned above (which will resolve [PHPUnit](http://packagist.org/packages/phpunit/phpunit)), then you can run the test suite: - -```bash -./vendor/bin/phpunit -``` - -Or to run an individual test file: - -```bash -./vendor/bin/phpunit tests/UtilTest.php -``` - -Update bundled CA certificates from the [Mozilla cURL release][curl]: - -```bash -./update_certs.php -``` - -The library uses [PHP CS Fixer][php-cs-fixer] for code formatting. Code must be formatted before PRs are submitted, otherwise CI will fail. Run the formatter with: - -```bash -./vendor/bin/php-cs-fixer fix -v . -``` - -## Attention plugin developers - -Are you writing a plugin that integrates Stripe and embeds our library? Then please use the `setAppInfo` function to identify your plugin. For example: - -```php -\Stripe\Stripe::setAppInfo("MyAwesomePlugin", "1.2.34", "https://myawesomeplugin.info"); -``` - -The method should be called once, before any request is sent to the API. The second and third parameters are optional. - -### SSL / TLS configuration option - -See the "SSL / TLS compatibility issues" paragraph above for full context. If you want to ensure that your plugin can be used on all systems, you should add a configuration option to let your users choose between different values for `CURLOPT_SSLVERSION`: none (default), `CURL_SSLVERSION_TLSv1` and `CURL_SSLVERSION_TLSv1_2`. - -[composer]: https://getcomposer.org/ -[connect]: https://stripe.com/connect -[curl]: http://curl.haxx.se/docs/caextract.html -[idempotency-keys]: https://stripe.com/docs/api/php#idempotent_requests -[php-cs-fixer]: https://github.com/FriendsOfPHP/PHP-CS-Fixer -[psr3]: http://www.php-fig.org/psr/psr-3/ -[stripe-mock]: https://github.com/stripe/stripe-mock -[youtube-playlist]: https://www.youtube.com/playlist?list=PLy1nL-pvL2M6cUbiHrfMkXxZ9j9SGBxFE diff --git a/vendor/stripe-php-7.72.0/VERSION b/vendor/stripe-php-7.72.0/VERSION deleted file mode 100644 index f4b52505..00000000 --- a/vendor/stripe-php-7.72.0/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.72.0 diff --git a/vendor/stripe-php-7.72.0/build.php b/vendor/stripe-php-7.72.0/build.php deleted file mode 100644 index 37360ffe..00000000 --- a/vendor/stripe-php-7.72.0/build.php +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env php -=5.6.0", - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*" - }, - "require-dev": { - "phpunit/phpunit": "^5.7", - "php-coveralls/php-coveralls": "^2.1", - "squizlabs/php_codesniffer": "^3.3", - "symfony/process": "~3.4", - "friendsofphp/php-cs-fixer": "2.17.1" - }, - "autoload": { - "psr-4": { - "Stripe\\": "lib/" - } - }, - "autoload-dev": { - "psr-4": { - "Stripe\\": [ - "tests/", - "tests/Stripe/" - ] - } - }, - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - } -} diff --git a/vendor/stripe-php-7.72.0/lib/AlipayAccount.php b/vendor/stripe-php-7.72.0/lib/AlipayAccount.php deleted file mode 100644 index 1d6a5096..00000000 --- a/vendor/stripe-php-7.72.0/lib/AlipayAccount.php +++ /dev/null @@ -1,75 +0,0 @@ -Billing - * customer portal. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $customer The ID of the customer for this session. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property string $return_url The URL to which Stripe should send customers when they click on the link to return to your website. - * @property string $url The short-lived URL of the session giving customers access to the customer portal. - */ -class Session extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'billing_portal.session'; - - use \Stripe\ApiOperations\Create; -} diff --git a/vendor/stripe-php-7.72.0/lib/BitcoinReceiver.php b/vendor/stripe-php-7.72.0/lib/BitcoinReceiver.php deleted file mode 100644 index 208610a0..00000000 --- a/vendor/stripe-php-7.72.0/lib/BitcoinReceiver.php +++ /dev/null @@ -1,71 +0,0 @@ -currency that you are collecting as payment. - * @property int $amount_received The amount of currency to which bitcoin_amount_received has been converted. - * @property int $bitcoin_amount The amount of bitcoin that the customer should send to fill the receiver. The bitcoin_amount is denominated in Satoshi: there are 10^8 Satoshi in one bitcoin. - * @property int $bitcoin_amount_received The amount of bitcoin that has been sent by the customer to this receiver. - * @property string $bitcoin_uri This URI can be displayed to the customer as a clickable link (to activate their bitcoin client) or as a QR code (for mobile wallets). - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO code for the currency to which the bitcoin will be converted. - * @property null|string $customer The customer ID of the bitcoin receiver. - * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. - * @property null|string $email The customer's email address, set by the API call that creates the receiver. - * @property bool $filled This flag is initially false and updates to true when the customer sends the bitcoin_amount to this receiver. - * @property string $inbound_address A bitcoin address that is specific to this receiver. The customer can send bitcoin to this address to fill the receiver. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|string $payment The ID of the payment created from the receiver, if any. Hidden when viewing the receiver with a publishable key. - * @property null|string $refund_address The refund address of this bitcoin receiver. - * @property \Stripe\Collection $transactions A list with one entry for each time that the customer sent bitcoin to the receiver. Hidden when viewing the receiver with a publishable key. - * @property bool $uncaptured_funds This receiver contains uncaptured funds that can be used for a payment or refunded. - * @property null|bool $used_for_payment Indicate if this source is used for payment. - */ -class BitcoinReceiver extends ApiResource -{ - const OBJECT_NAME = 'bitcoin_receiver'; - - use ApiOperations\All; - use ApiOperations\Retrieve; - - /** - * @return string The class URL for this resource. It needs to be special - * cased because it doesn't fit into the standard resource pattern. - */ - public static function classUrl() - { - return '/v1/bitcoin/receivers'; - } - - /** - * @return string The instance URL for this resource. It needs to be special - * cased because it doesn't fit into the standard resource pattern. - */ - public function instanceUrl() - { - if ($this['customer']) { - $base = Customer::classUrl(); - $parent = $this['customer']; - $path = 'sources'; - $parentExtn = \urlencode(Util\Util::utf8($parent)); - $extn = \urlencode(Util\Util::utf8($this['id'])); - - return "{$base}/{$parentExtn}/{$path}/{$extn}"; - } - - $base = BitcoinReceiver::classUrl(); - $extn = \urlencode(Util\Util::utf8($this['id'])); - - return "{$base}/{$extn}"; - } -} diff --git a/vendor/stripe-php-7.72.0/lib/BitcoinTransaction.php b/vendor/stripe-php-7.72.0/lib/BitcoinTransaction.php deleted file mode 100644 index 3aa71185..00000000 --- a/vendor/stripe-php-7.72.0/lib/BitcoinTransaction.php +++ /dev/null @@ -1,19 +0,0 @@ -currency that the transaction was converted to in real-time. - * @property int $bitcoin_amount The amount of bitcoin contained in the transaction. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO code for the currency to which this transaction was converted. - * @property string $receiver The receiver to which this transaction was sent. - */ -class BitcoinTransaction extends ApiResource -{ - const OBJECT_NAME = 'bitcoin_transaction'; -} diff --git a/vendor/stripe-php-7.72.0/lib/Discount.php b/vendor/stripe-php-7.72.0/lib/Discount.php deleted file mode 100644 index 18a7470d..00000000 --- a/vendor/stripe-php-7.72.0/lib/Discount.php +++ /dev/null @@ -1,24 +0,0 @@ -products. You can - * create, retrieve, and pay individual orders, as well as list all orders. Orders - * are identified by a unique, random ID. - * - * Related guide: Tax, Shipping, and - * Inventory. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order. - * @property null|int $amount_returned The total amount that was returned to the customer. - * @property null|string $application ID of the Connect Application that created the order. - * @property null|int $application_fee A fee in cents that will be applied to the order and transferred to the application owner’s Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees documentation. - * @property null|string|\Stripe\Charge $charge The ID of the payment used to pay for the order. Present if the order status is paid, fulfilled, or refunded. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. - * @property null|string|\Stripe\Customer $customer The customer used for the order. - * @property null|string $email The email address of the customer placing the order. - * @property string $external_coupon_code External coupon code to load for this order. - * @property \Stripe\OrderItem[] $items List of items constituting the order. An order can have up to 25 items. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|\Stripe\Collection $returns A list of returns that have taken place for this order. - * @property null|string $selected_shipping_method The shipping method that is currently selected for this order, if any. If present, it is equal to one of the ids of shipping methods in the shipping_methods array. At order creation time, if there are multiple shipping methods, Stripe will automatically selected the first method. - * @property null|\Stripe\StripeObject $shipping The shipping address for the order. Present if the order is for goods to be shipped. - * @property null|\Stripe\StripeObject[] $shipping_methods A list of supported shipping methods for this order. The desired shipping method can be specified either by updating the order, or when paying it. - * @property string $status Current order status. One of created, paid, canceled, fulfilled, or returned. More details in the Orders Guide. - * @property null|\Stripe\StripeObject $status_transitions The timestamps at which the order status was updated. - * @property null|int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch. - * @property string $upstream_id The user's order ID if it is different from the Stripe order ID. - */ -class Order extends ApiResource -{ - const OBJECT_NAME = 'order'; - - use ApiOperations\All; - use ApiOperations\Create; - use ApiOperations\Retrieve; - use ApiOperations\Update; - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\OrderReturn the newly created return - */ - public function returnOrder($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/returns'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - - return Util\Util::convertToStripeObject($response, $opts); - } - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return Order the paid order - */ - public function pay($params = null, $opts = null) - { - $url = $this->instanceUrl() . '/pay'; - list($response, $opts) = $this->_request('post', $url, $params, $opts); - $this->refreshFrom($response, $opts); - - return $this; - } -} diff --git a/vendor/stripe-php-7.72.0/lib/OrderItem.php b/vendor/stripe-php-7.72.0/lib/OrderItem.php deleted file mode 100644 index e2e6e39a..00000000 --- a/vendor/stripe-php-7.72.0/lib/OrderItem.php +++ /dev/null @@ -1,19 +0,0 @@ -order items. Returns always - * belong to an order, and may optionally contain a refund. - * - * Related guide: Handling - * Returns. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the returned line item. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. - * @property \Stripe\OrderItem[] $items The items included in this order return. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|string|\Stripe\Order $order The order that this return includes items from. - * @property null|string|\Stripe\Refund $refund The ID of the refund issued for this return. - */ -class OrderReturn extends ApiResource -{ - const OBJECT_NAME = 'order_return'; - - use ApiOperations\All; - use ApiOperations\Retrieve; -} diff --git a/vendor/stripe-php-7.72.0/lib/Recipient.php b/vendor/stripe-php-7.72.0/lib/Recipient.php deleted file mode 100644 index 8d5ad4c0..00000000 --- a/vendor/stripe-php-7.72.0/lib/Recipient.php +++ /dev/null @@ -1,44 +0,0 @@ -Recipient objects, you can transfer money from your Stripe - * account to a third-party bank account or debit card. The API allows you to - * create, delete, and update your recipients. You can retrieve individual - * recipients as well as a list of all your recipients. - * - * Recipient objects have been deprecated in favor of Connect, specifically Connect's much - * more powerful Account objects. - * Stripe accounts that don't already use recipients can no longer begin doing so. - * Please use Account objects instead. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property null|\Stripe\BankAccount $active_account Hash describing the current account on the recipient, if there is one. - * @property null|\Stripe\Collection $cards - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property null|string|\Stripe\Card $default_card The default card to use for creating transfers to this recipient. - * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. - * @property null|string $email - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|string|\Stripe\Account $migrated_to The ID of the Custom account this recipient was migrated to. If set, the recipient can no longer be updated, nor can transfers be made to it: use the Custom account instead. - * @property null|string $name Full, legal name of the recipient. - * @property string|\Stripe\Account $rolled_back_from - * @property string $type Type of the recipient, one of individual or corporation. - * @property bool $verified Whether the recipient has been verified. This field is non-standard, and maybe removed in the future - */ -class Recipient extends ApiResource -{ - const OBJECT_NAME = 'recipient'; - - use ApiOperations\All; - use ApiOperations\Create; - use ApiOperations\Delete; - use ApiOperations\Retrieve; - use ApiOperations\Update; -} diff --git a/vendor/stripe-php-7.72.0/lib/SKU.php b/vendor/stripe-php-7.72.0/lib/SKU.php deleted file mode 100644 index b418c6c5..00000000 --- a/vendor/stripe-php-7.72.0/lib/SKU.php +++ /dev/null @@ -1,44 +0,0 @@ -stock keeping units. - * SKUs describe specific product variations, taking into account any combination - * of: attributes, currency, and cost. For example, a product may be a T-shirt, - * whereas a specific SKU represents the size: large, color: - * red version of that shirt. - * - * Can also be used to manage inventory. - * - * Related guide: Tax, Shipping, and - * Inventory. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property bool $active Whether the SKU is available for purchase. - * @property \Stripe\StripeObject $attributes A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are ["size", "gender"], a valid SKU has the following dictionary of attributes: {"size": "Medium", "gender": "Unisex"}. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. - * @property null|string $image The URL of an image for this SKU, meant to be displayable to the customer. - * @property \Stripe\StripeObject $inventory - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|\Stripe\StripeObject $package_dimensions The dimensions of this SKU for shipping purposes. - * @property int $price The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). - * @property string|\Stripe\Product $product The ID of the product this SKU is associated with. The product must be currently active. - * @property int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch. - */ -class SKU extends ApiResource -{ - const OBJECT_NAME = 'sku'; - - use ApiOperations\All; - use ApiOperations\Create; - use ApiOperations\Delete; - use ApiOperations\Retrieve; - use ApiOperations\Update; -} diff --git a/vendor/stripe-php-7.72.0/lib/Service/OrderReturnService.php b/vendor/stripe-php-7.72.0/lib/Service/OrderReturnService.php deleted file mode 100644 index 6183166c..00000000 --- a/vendor/stripe-php-7.72.0/lib/Service/OrderReturnService.php +++ /dev/null @@ -1,42 +0,0 @@ -requestCollection('get', '/v1/order_returns', $params, $opts); - } - - /** - * Retrieves the details of an existing order return. Supply the unique order ID - * from either an order return creation request or the order return list, and - * Stripe will return the corresponding order information. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\OrderReturn - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/order_returns/%s', $id), $params, $opts); - } -} diff --git a/vendor/stripe-php-7.72.0/lib/Service/OrderService.php b/vendor/stripe-php-7.72.0/lib/Service/OrderService.php deleted file mode 100644 index fa658fa7..00000000 --- a/vendor/stripe-php-7.72.0/lib/Service/OrderService.php +++ /dev/null @@ -1,109 +0,0 @@ -requestCollection('get', '/v1/orders', $params, $opts); - } - - /** - * Creates a new order object. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Order - */ - public function create($params = null, $opts = null) - { - return $this->request('post', '/v1/orders', $params, $opts); - } - - /** - * Pay an order by providing a source to create a payment. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Order - */ - public function pay($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/orders/%s/pay', $id), $params, $opts); - } - - /** - * Retrieves the details of an existing order. Supply the unique order ID from - * either an order creation request or the order list, and Stripe will return the - * corresponding order information. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Order - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/orders/%s', $id), $params, $opts); - } - - /** - * Return all or part of an order. The order must have a status of - * paid or fulfilled before it can be returned. Once all - * items have been returned, the order will become canceled or - * returned depending on which status the order started in. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Order - */ - public function returnOrder($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/orders/%s/returns', $id), $params, $opts); - } - - /** - * Updates the specific order by setting the values of the parameters passed. Any - * parameters not provided will be left unchanged. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Order - */ - public function update($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/orders/%s', $id), $params, $opts); - } -} diff --git a/vendor/stripe-php-7.72.0/lib/Service/SkuService.php b/vendor/stripe-php-7.72.0/lib/Service/SkuService.php deleted file mode 100644 index 8934f206..00000000 --- a/vendor/stripe-php-7.72.0/lib/Service/SkuService.php +++ /dev/null @@ -1,95 +0,0 @@ -requestCollection('get', '/v1/skus', $params, $opts); - } - - /** - * Creates a new SKU associated with a product. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\SKU - */ - public function create($params = null, $opts = null) - { - return $this->request('post', '/v1/skus', $params, $opts); - } - - /** - * Delete a SKU. Deleting a SKU is only possible until it has been used in an - * order. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\SKU - */ - public function delete($id, $params = null, $opts = null) - { - return $this->request('delete', $this->buildPath('/v1/skus/%s', $id), $params, $opts); - } - - /** - * Retrieves the details of an existing SKU. Supply the unique SKU identifier from - * either a SKU creation request or from the product, and Stripe will return the - * corresponding SKU information. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\SKU - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/skus/%s', $id), $params, $opts); - } - - /** - * Updates the specific SKU by setting the values of the parameters passed. Any - * parameters not provided will be left unchanged. - * - * Note that a SKU’s attributes are not editable. Instead, you would - * need to deactivate the existing SKU and create a new one with the new attribute - * values. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\SKU - */ - public function update($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/skus/%s', $id), $params, $opts); - } -} diff --git a/vendor/stripe-php-7.72.0/lib/Terminal/Reader.php b/vendor/stripe-php-7.72.0/lib/Terminal/Reader.php deleted file mode 100644 index 513b130a..00000000 --- a/vendor/stripe-php-7.72.0/lib/Terminal/Reader.php +++ /dev/null @@ -1,35 +0,0 @@ -Connecting to a - * Reader. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property null|string $device_sw_version The current software version of the reader. - * @property string $device_type Type of reader, one of bbpos_chipper2x or verifone_P400. - * @property null|string $ip_address The local IP address of the reader. - * @property string $label Custom label given to the reader for easier identification. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|string $location The location identifier of the reader. - * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $serial_number Serial number of the reader. - * @property null|string $status The networking status of the reader. - */ -class Reader extends \Stripe\ApiResource -{ - const OBJECT_NAME = 'terminal.reader'; - - use \Stripe\ApiOperations\All; - use \Stripe\ApiOperations\Create; - use \Stripe\ApiOperations\Delete; - use \Stripe\ApiOperations\Retrieve; - use \Stripe\ApiOperations\Update; -} diff --git a/vendor/stripe-php-7.72.0/lib/ThreeDSecure.php b/vendor/stripe-php-7.72.0/lib/ThreeDSecure.php deleted file mode 100644 index 51b5691d..00000000 --- a/vendor/stripe-php-7.72.0/lib/ThreeDSecure.php +++ /dev/null @@ -1,37 +0,0 @@ -3D - * Secure object. Once the object has been created, you can use it to - * authenticate the cardholder and create a charge. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property int $amount Amount of the charge that you will create when authentication completes. - * @property bool $authenticated True if the cardholder went through the authentication flow and their bank indicated that authentication succeeded. - * @property \Stripe\Card $card

You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.

Related guide: Card Payments with Sources.

- * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property null|string $redirect_url If present, this is the URL that you should send the cardholder to for authentication. If you are going to use Stripe.js to display the authentication page in an iframe, you should use the value "_callback". - * @property string $status Possible values are redirect_pending, succeeded, or failed. When the cardholder can be authenticated, the object starts with status redirect_pending. When liability will be shifted to the cardholder's bank (either because the cardholder was successfully authenticated, or because the bank has not implemented 3D Secure, the object wlil be in status succeeded. failed indicates that authentication was attempted unsuccessfully. - */ -class ThreeDSecure extends ApiResource -{ - const OBJECT_NAME = 'three_d_secure'; - - use ApiOperations\Create; - use ApiOperations\Retrieve; - - /** - * @return string the endpoint URL for the given class - */ - public static function classUrl() - { - return '/v1/3d_secure'; - } -} diff --git a/vendor/stripe-php-7.72.0/phpdoc.dist.xml b/vendor/stripe-php-7.72.0/phpdoc.dist.xml deleted file mode 100644 index b1ea92fa..00000000 --- a/vendor/stripe-php-7.72.0/phpdoc.dist.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - build/phpdoc - - - latest - - - lib - - api - - - php - - stripe-php - - -