Class: Increase::Models::PhysicalCardProfileCreateParams::FrontText

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/physical_card_profile_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(line1: , line2: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::PhysicalCardProfileCreateParams::FrontText for more details.

Text printed on the front of the card. Reach out to [support@increase.com](support@increase.com) for more information.

Parameters:

  • line1 (String) (defaults to: )

    The first line of text on the front of the card.

  • line2 (String) (defaults to: nil)

    The second line of text on the front of the card. Providing a second line moves



# File 'lib/increase/models/physical_card_profile_create_params.rb', line 142

Instance Attribute Details

#line1String

The first line of text on the front of the card.

Returns:

  • (String)


132
# File 'lib/increase/models/physical_card_profile_create_params.rb', line 132

required :line1, String

#line2String?

The second line of text on the front of the card. Providing a second line moves the first line slightly higher and prints the second line in the spot where the first line would have otherwise been printed.

Returns:

  • (String, nil)


140
# File 'lib/increase/models/physical_card_profile_create_params.rb', line 140

optional :line2, String