Class: Stripe::TestHelpers::Issuing::AuthorizationRespondParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/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.



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

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).



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

def confirmed
  @confirmed
end

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end