class

Stripe::PaymentsSettingsSpecs

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR = 22
MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR_KANA = 22
MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR_KANJI = 22

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, statement_descriptor : String | Nil = nil, statement_descriptor_kana : String | Nil = nil, statement_descriptor_kanji : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
statement_descriptor

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.

Source
statement_descriptor=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] statement_descriptor Object to be assigned

Source
statement_descriptor_kana

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

Source
statement_descriptor_kana=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] statement_descriptor_kana Object to be assigned

Source
statement_descriptor_kanji

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

Source
statement_descriptor_kanji=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] statement_descriptor_kanji Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source