Class: Stripe::Issuing::AuthorizationRespondParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/authorization_respond_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(confirmed: nil, expand: nil) ⇒ AuthorizationRespondParams

Returns a new instance of AuthorizationRespondParams.



12
13
14
15
# File 'lib/stripe/params/issuing/authorization_respond_params.rb', line 12

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

Instance Attribute Details

#confirmedObject

Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false).



8
9
10
# File 'lib/stripe/params/issuing/authorization_respond_params.rb', line 8

def confirmed
  @confirmed
end

#expandObject

Specifies which fields in the response should be expanded.



10
11
12
# File 'lib/stripe/params/issuing/authorization_respond_params.rb', line 10

def expand
  @expand
end