Class: Stripe::Issuing::Authorization::RespondParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/issuing/authorization.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of RespondParams.



1034
1035
1036
1037
# File 'lib/stripe/resources/issuing/authorization.rb', line 1034

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



1030
1031
1032
# File 'lib/stripe/resources/issuing/authorization.rb', line 1030

def confirmed
  @confirmed
end

#expandObject

Specifies which fields in the response should be expanded.



1032
1033
1034
# File 'lib/stripe/resources/issuing/authorization.rb', line 1032

def expand
  @expand
end