Class: Stripe::AccountService::CreateParams::Settings

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

Defined Under Namespace

Classes: BacsDebitPayments, Branding, CardIssuing, CardPayments, Invoices, Payments, Payouts, Treasury

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bacs_debit_payments: nil, branding: nil, card_issuing: nil, card_payments: nil, invoices: nil, payments: nil, payouts: nil, treasury: nil) ⇒ Settings

Returns a new instance of Settings.



3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
# File 'lib/stripe/services/account_service.rb', line 3881

def initialize(
  bacs_debit_payments: nil,
  branding: nil,
  card_issuing: nil,
  card_payments: nil,
  invoices: nil,
  payments: nil,
  payouts: nil,
  treasury: nil
)
  @bacs_debit_payments = bacs_debit_payments
  @branding = branding
  @card_issuing = card_issuing
  @card_payments = card_payments
  @invoices = invoices
  @payments = payments
  @payouts = payouts
  @treasury = treasury
end

Instance Attribute Details

#bacs_debit_paymentsObject

Settings specific to Bacs Direct Debit.



3865
3866
3867
# File 'lib/stripe/services/account_service.rb', line 3865

def bacs_debit_payments
  @bacs_debit_payments
end

#brandingObject

Settings used to apply the account’s branding to email receipts, invoices, Checkout, and other products.



3867
3868
3869
# File 'lib/stripe/services/account_service.rb', line 3867

def branding
  @branding
end

#card_issuingObject

Settings specific to the account’s use of the Card Issuing product.



3869
3870
3871
# File 'lib/stripe/services/account_service.rb', line 3869

def card_issuing
  @card_issuing
end

#card_paymentsObject

Settings specific to card charging on the account.



3871
3872
3873
# File 'lib/stripe/services/account_service.rb', line 3871

def card_payments
  @card_payments
end

#invoicesObject

Settings specific to the account’s use of Invoices.



3873
3874
3875
# File 'lib/stripe/services/account_service.rb', line 3873

def invoices
  @invoices
end

#paymentsObject

Settings that apply across payment methods for charging on the account.



3875
3876
3877
# File 'lib/stripe/services/account_service.rb', line 3875

def payments
  @payments
end

#payoutsObject

Settings specific to the account’s payouts.



3877
3878
3879
# File 'lib/stripe/services/account_service.rb', line 3877

def payouts
  @payouts
end

#treasuryObject

Settings specific to the account’s Treasury FinancialAccounts.



3879
3880
3881
# File 'lib/stripe/services/account_service.rb', line 3879

def treasury
  @treasury
end