Class: Stripe::AccountCreateParams::Settings::Payments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(statement_descriptor: nil, statement_descriptor_kana: nil, statement_descriptor_kanji: nil) ⇒ Payments



1959
1960
1961
1962
1963
1964
1965
1966
1967
# File 'lib/stripe/params/account_create_params.rb', line 1959

def initialize(
  statement_descriptor: nil,
  statement_descriptor_kana: nil,
  statement_descriptor_kanji: nil
)
  @statement_descriptor = statement_descriptor
  @statement_descriptor_kana = statement_descriptor_kana
  @statement_descriptor_kanji = statement_descriptor_kanji
end

Instance Attribute Details

#statement_descriptorObject

The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the account settings documentation.



1953
1954
1955
# File 'lib/stripe/params/account_create_params.rb', line 1953

def statement_descriptor
  @statement_descriptor
end

#statement_descriptor_kanaObject

The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have special requirements.



1955
1956
1957
# File 'lib/stripe/params/account_create_params.rb', line 1955

def statement_descriptor_kana
  @statement_descriptor_kana
end

#statement_descriptor_kanjiObject

The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have special requirements.



1957
1958
1959
# File 'lib/stripe/params/account_create_params.rb', line 1957

def statement_descriptor_kanji
  @statement_descriptor_kanji
end