Stripe payment intent retrieval parameters holder for API calls.
# Source: https://github.com/stripe/stripe-ruby | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
class PaymentIntentRetrieveParams < ::Stripe::RequestParams
# The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.
attr_accessor :client_secret
# Specifies which fields in the response should be expanded.
attr_accessor :expand
def initialize(client_secret: nil, expand: nil)
@client_secret = client_secret
@expand = expand
end
end
end
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key