File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ package stripe .api ;
2+
3+ import stripe .types .* ;
4+
5+ interface CardApi {
6+
7+ @:get (' /' )
8+ public function get (): Card ;
9+
10+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import stripe.types.*;
44
55interface CardsApi {
66
7+ @:sub (' / $id ' )
8+ function ofId (id : String ): CardApi ;
9+
710 @:post (' /' )
811 @:consumes (' application/x-www-form-urlencoded' )
912 public function create (body : {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ interface CustomersApi {
1010 @:get (' /' )
1111 @:consumes (' application/x-www-form-urlencoded' )
1212 function list (query : {
13- ? created : Date , // timestamp
13+ ? created : Timestamp ,
1414 ? ending_before : String ,
1515 ? starting_after : String ,
1616 ? limit : Int ,
You can’t perform that action at this time.
0 commit comments