Class: Stripe::SourceRetrieveParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/source_retrieve_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(client_secret: nil, expand: nil) ⇒ SourceRetrieveParams

Returns a new instance of SourceRetrieveParams.



11
12
13
14
# File 'lib/stripe/params/source_retrieve_params.rb', line 11

def initialize(client_secret: nil, expand: nil)
  @client_secret = client_secret
  @expand = expand
end

Instance Attribute Details

#client_secretObject

The client secret of the source. Required if a publishable key is used to retrieve the source.



7
8
9
# File 'lib/stripe/params/source_retrieve_params.rb', line 7

def client_secret
  @client_secret
end

#expandObject

Specifies which fields in the response should be expanded.



9
10
11
# File 'lib/stripe/params/source_retrieve_params.rb', line 9

def expand
  @expand
end