Class: Stripe::Account::RejectParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, reason: nil) ⇒ RejectParams

Returns a new instance of RejectParams.



5322
5323
5324
5325
# File 'lib/stripe/resources/account.rb', line 5322

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



5318
5319
5320
# File 'lib/stripe/resources/account.rb', line 5318

def expand
  @expand
end

#reasonObject

The reason for rejecting the account. Can be ‘fraud`, `terms_of_service`, or `other`.



5320
5321
5322
# File 'lib/stripe/resources/account.rb', line 5320

def reason
  @reason
end