-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remaining types, endpoints, and params #266
Comments
Working on |
Working on |
Working on |
Working on |
I'm going to work on |
Going to work on |
Working on the rest of |
Moving onto |
Just did |
Working on |
Working on |
Tackling |
Tackling Payouts |
Hey everybody! All of the Resources have been updated to the current spec! 2.0.0-beta is really close. However, we need to ensure we have parity with the 2.0.0-alpha branch. I'm not sure I'm the best person to ask since I use the beta branch in my projects. Does anybody have any concerns on making the |
As I mentioned in #344 I support releasing the beta as full 2.0.0 and going from there. We can keep the alpha branch around in case we've missed anything for the sake of parity, but beta should be the template going forward. |
With the release of 2.0 and all items here being checked off, we can finally close this! |
For each of the following resources, we need to:
| nil
for allnullable: true
fields.from_json
macrosoptional(:key) => val
for the optional params and:key => val
for the required params.The types we use are:
Stripe.id | Stripe.Entity.id
for any expandable idEntity
is the given modulex-expansionResources
referencing their schemaStripe.id | Stripe.Entity.id | nil
when nullableString.t
for most stringsString.t
for any"enum"
valueStripe.Charge
hasrisk_level: String.t
| nil
when nullablepos_integer
when Stripe indicates value is > 0non_neg_integer
when Stripe indicates value is >= 0boolean
for all boolean values%{}
for empty map values[]
for empty list valuesStripe.List.of(Stripe.Entity.t)
for lists of Stripe objectsEntity
is the given moduledata: items:
map
for undefined mapsmetadata
becomes%{ optional(String.t) => String.t }
id
isStripe.id
object
isString.t
CORE RESOURCES
PAYMENT METHODS
SUBSCRIPTIONS
CONNECT
RADAR
RELAY
The text was updated successfully, but these errors were encountered: