Class: Stripe::FinancialConnections::AccountService::UnsubscribeParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/financial_connections/account_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, features: nil) ⇒ UnsubscribeParams

Returns a new instance of UnsubscribeParams.



104
105
106
107
# File 'lib/stripe/services/financial_connections/account_service.rb', line 104

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



100
101
102
# File 'lib/stripe/services/financial_connections/account_service.rb', line 100

def expand
  @expand
end

#featuresObject

The list of account features from which you would like to unsubscribe.



102
103
104
# File 'lib/stripe/services/financial_connections/account_service.rb', line 102

def features
  @features
end