Class: Increase::Models::PhysicalCardProfileCloneParams::FrontText

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/physical_card_profile_clone_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::PhysicalCardProfileCloneParams::FrontText for more details.

Text printed on the front of the card. Reach out to [[email protected]]([email protected]) 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



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/increase/models/physical_card_profile_clone_params.rb', line 65

class FrontText < Increase::Internal::Type::BaseModel
  # @!attribute line1
  #   The first line of text on the front of the card.
  #
  #   @return [String]
  required :line1, String

  # @!attribute line2
  #   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.
  #
  #   @return [String, nil]
  optional :line2, String

  # @!method initialize(line1:, line2: nil)
  #   Some parameter documentations has been truncated, see
  #   {Increase::Models::PhysicalCardProfileCloneParams::FrontText} for more details.
  #
  #   Text printed on the front of the card. Reach out to
  #   [[email protected]](mailto:[email protected]) for more information.
  #
  #   @param line1 [String] The first line of text on the front of the card.
  #
  #   @param line2 [String] The second line of text on the front of the card. Providing a second line moves
end

Instance Attribute Details

#line1String

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

Returns:

  • (String)


70
# File 'lib/increase/models/physical_card_profile_clone_params.rb', line 70

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)


78
# File 'lib/increase/models/physical_card_profile_clone_params.rb', line 78

optional :line2, String