Skip to content

Commit

Permalink
Update to async await (#152)
Browse files Browse the repository at this point in the history
* Update swift tool versions.

* Update Balance resource and routes.

* Update API handler with new async send.

* Rename StripeBalanceTransaction.

* Update BalanceTransaction

* Updated balance transaction routes.

* Added StripeAPI route protocol.

* Removed StripeModel and replaced with Codable

* Fixed API route protocol

* Charges async await (#160)

* Renamed StripeCurrency to Currency

* Updated address

* Update expandable to have multiple inits.

* Updated charge properties and renamed

* Added extension for sending requests using strings

* Updated charge routes and charge list.

* Customer async await (#161)

* Renamed Deleted Object.

* Added init for DynamicExpandable

* Renamed StripeCustomer

* Updated Customer and routes

* Fix search path for charges API

* Updated dispute. (#162)

* Updated event object and event api routes. (#164)

* Files async await (#165)

* Disable tests for now.

* Added http body extension for data.

* Renamed StripeFile.

* Updated file and file link routes.

* Updated Mandate. (#166)

* Payment intent async await (#167)

* Renamed Payment intent

* Updated payment intent models.

* Updated and added payment intent routes.

* Fix test workflow

* Updated SetupIntents (#169)

* Updated setup attempts. (#170)

* Update payouts. (#171)

* Updated refund. (#172)

* Updated tokens. (#173)

* Updated payment methods (#174)

* Updated bank accounts (#175)

* Added cash balance API. (#176)

* Updated Card api. (#177)

* Product async (#178)

* Updated sources with deprecation waning.

* Updated products and source

---------

* Prices async (#179)

* Updated sources with deprecation waning.

* Updated price.

---------

* Updated coupons. (#180)

* Updated promotions. (#181)

* Updated discounts. (#182)

* Updated TaxCode, TaxRate and ShippingRate. (#183)

* Session async (#184)

* Updated TaxCode, TaxRate and ShippingRate.

* Updated session.

* Credit notes async (#185)

* Updated payment links.

* Updated credit notes.

* Updated customer balance transactions. (#186)

* Updated portal config. (#187)

* Updated taxID. (#188)

* Updated invoices. (#189)

* Updated Invoice items. (#190)

* Updated plans. (#191)

* Updated Quotes. (#192)

* Updated subscriptions and subscription items. (#193)

* Updated subscription schedule. (#194)

* Added test clocks. (#195)

* Updated usage records. (#196)

* Updated connect account and account link. (#197)

* Added account sessions. (#198)

* Updated application fees, fee refunds, capabilities, country spec and external accounts. (#199)

* Updated persons, popups, transfers and transfer reversals. (#200)

* Updated fraud APIs (#201)

* Updated all of issuing APIs. (#202)

* Updated terminal APIs (#203)

* Removed Orders APIs and updated scheduled queries. (#204)

* Updated reporting APIs. (#208)

* Updated identity verification. (#209)

* Updated webhook APIs

* Added secret manager. (#210)

* Updated QuoteLineItemRoutes.

* Updated events, removed source APIs and bumped to latest API version.

* Added more currencies.

* Updated README

* Added utilities and updated README

* Fix tests.

---------
Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
  • Loading branch information
Andrewangeta authored May 18, 2023
1 parent 211a1fe commit c558b4b
Show file tree
Hide file tree
Showing 210 changed files with 25,765 additions and 12,486 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test
on:
pull_request:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [ main ] }
jobs:
unit-tests:
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// swift-tools-version:5.2
// swift-tools-version:5.7
import PackageDescription

let package = Package(
name: "stripe-kit",
platforms: [
.macOS(.v10_15)
.macOS(.v12)
],
products: [
.library(name: "StripeKit", targets: ["StripeKit"])
Expand Down
Loading

0 comments on commit c558b4b

Please sign in to comment.