Class: Stripe::AccountService::RejectParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/services/account_service.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.



4642
4643
4644
4645
# File 'lib/stripe/services/account_service.rb', line 4642

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



4638
4639
4640
# File 'lib/stripe/services/account_service.rb', line 4638

def expand
  @expand
end

#reasonObject

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



4640
4641
4642
# File 'lib/stripe/services/account_service.rb', line 4640

def reason
  @reason
end