Skip to content

Commit

Permalink
Update generated code for v268
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Mar 20, 2023
1 parent fe73975 commit 3b38c42
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v266
v268
18 changes: 18 additions & 0 deletions lib/stripe/resources/terminal/reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ def cancel_action(params = {}, opts = {})
)
end

def collect_inputs(params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(self["id"]) }),
params: params,
opts: opts
)
end

def process_payment_intent(params = {}, opts = {})
request_stripe_object(
method: :post,
Expand Down Expand Up @@ -68,6 +77,15 @@ def self.cancel_action(reader, params = {}, opts = {})
)
end

def self.collect_inputs(reader, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(reader) }),
params: params,
opts: opts
)
end

def self.process_payment_intent(reader, params = {}, opts = {})
request_stripe_object(
method: :post,
Expand Down

0 comments on commit 3b38c42

Please sign in to comment.