Class: Stripe::AccountSession::Components::Balances::Features

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/account_session.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#disable_stripe_user_authenticationObject (readonly)

Whether Stripe user authentication is disabled. This value can only be true for accounts where controller.requirement_collection is application for the account. The default value is the opposite of the external_account_collection value. For example, if you don't set external_account_collection, it defaults to true and disable_stripe_user_authentication defaults to false.



106
107
108
# File 'lib/stripe/resources/account_session.rb', line 106

def disable_stripe_user_authentication
  @disable_stripe_user_authentication
end

#edit_payout_scheduleObject (readonly)

Whether to allow payout schedule to be changed. Defaults to true when controller.losses.payments is set to stripe for the account, otherwise false.



108
109
110
# File 'lib/stripe/resources/account_session.rb', line 108

def edit_payout_schedule
  @edit_payout_schedule
end

#external_account_collectionObject (readonly)

Whether external account collection is enabled. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is true.



110
111
112
# File 'lib/stripe/resources/account_session.rb', line 110

def 
  @external_account_collection
end

#instant_payoutsObject (readonly)

Whether to allow creation of instant payouts. The default value is enabled when Stripe is responsible for negative account balances, and use_dashboard_rules otherwise.



112
113
114
# File 'lib/stripe/resources/account_session.rb', line 112

def instant_payouts
  @instant_payouts
end

#standard_payoutsObject (readonly)

Whether to allow creation of standard payouts. Defaults to true when controller.losses.payments is set to stripe for the account, otherwise false.



114
115
116
# File 'lib/stripe/resources/account_session.rb', line 114

def standard_payouts
  @standard_payouts
end

Class Method Details

.field_remappingsObject



120
121
122
# File 'lib/stripe/resources/account_session.rb', line 120

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



116
117
118
# File 'lib/stripe/resources/account_session.rb', line 116

def self.inner_class_types
  @inner_class_types = {}
end