Class: Stripe::TestHelpers::Issuing::DisputeCloseParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(expand: nil, status: nil) ⇒ DisputeCloseParams

Returns a new instance of DisputeCloseParams.



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

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end

#statusObject

Whether to close the dispute as ‘won` or `lost`.



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

def status
  @status
end