Class: Stripe::AccountService::RejectParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::RejectParams
- Defined in:
- lib/stripe/services/account_service.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#reason ⇒ Object
The reason for rejecting the account.
Instance Method Summary collapse
-
#initialize(expand: nil, reason: nil) ⇒ RejectParams
constructor
A new instance of RejectParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, reason: nil) ⇒ RejectParams
Returns a new instance of RejectParams.
4010 4011 4012 4013 |
# File 'lib/stripe/services/account_service.rb', line 4010 def initialize(expand: nil, reason: nil) @expand = @reason = reason end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
4006 4007 4008 |
# File 'lib/stripe/services/account_service.rb', line 4006 def @expand end |
#reason ⇒ Object
The reason for rejecting the account. Can be ‘fraud`, `terms_of_service`, or `other`.
4008 4009 4010 |
# File 'lib/stripe/services/account_service.rb', line 4008 def reason @reason end |