Class: Stripe::AccountRejectParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountRejectParams
- Defined in:
- lib/stripe/params/account_reject_params.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) ⇒ AccountRejectParams
constructor
A new instance of AccountRejectParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, reason: nil) ⇒ AccountRejectParams
11 12 13 14 |
# File 'lib/stripe/params/account_reject_params.rb', line 11 def initialize(expand: nil, reason: nil) = @reason = reason end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
7 8 9 |
# File 'lib/stripe/params/account_reject_params.rb', line 7 def end |
#reason ⇒ Object
The reason for rejecting the account. Can be ‘fraud`, `terms_of_service`, or `other`.
9 10 11 |
# File 'lib/stripe/params/account_reject_params.rb', line 9 def reason @reason end |