Class: Increase::Models::DigitalCardProfile

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/digital_card_profile.rb

Defined Under Namespace

Classes: TextColor

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#app_icon_file_idString

The identifier of the File containing the card's icon image.

Returns:

  • (String)


14
# File 'lib/increase/models/digital_card_profile.rb', line 14

required :app_icon_file_id, String

#background_image_file_idString

The identifier of the File containing the card's front image.

Returns:

  • (String)


19
# File 'lib/increase/models/digital_card_profile.rb', line 19

required :background_image_file_id, String

#card_descriptionString

A user-facing description for the card itself.

Returns:

  • (String)


24
# File 'lib/increase/models/digital_card_profile.rb', line 24

required :card_description, String

#contact_emailString

An email address the user can contact to receive support for their card.

Returns:

  • (String)


29
# File 'lib/increase/models/digital_card_profile.rb', line 29

required :contact_email, String

#contact_phoneString

A phone number the user can contact to receive support for their card.

Returns:

  • (String)


34
# File 'lib/increase/models/digital_card_profile.rb', line 34

required :contact_phone, String

#contact_websiteString

A website the user can visit to view and receive support for their card.

Returns:

  • (String)


39
# File 'lib/increase/models/digital_card_profile.rb', line 39

required :contact_website, String

#created_atString

The ISO 8601 date and time at which the Card Dispute was created.

Returns:

  • (String)


44
# File 'lib/increase/models/digital_card_profile.rb', line 44

required :created_at, String

#descriptionString

A description you can use to identify the Card Profile.

Returns:

  • (String)


49
# File 'lib/increase/models/digital_card_profile.rb', line 49

required :description, String

#idString

The Card Profile identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/digital_card_profile.rb', line 9

required :id, String

#idempotency_keyString

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

Returns:

  • (String)


54
# File 'lib/increase/models/digital_card_profile.rb', line 54

required :idempotency_key, String

#issuer_nameString

A user-facing description for whoever is issuing the card.

Returns:

  • (String)


59
# File 'lib/increase/models/digital_card_profile.rb', line 59

required :issuer_name, String

#statusSymbol

The status of the Card Profile.

Returns:

  • (Symbol)


64
# File 'lib/increase/models/digital_card_profile.rb', line 64

required :status, Increase::Enum.new(:pending, :rejected, :active, :archived)

#text_colorIncrease::Models::DigitalCardProfile::TextColor

The Card's text color, specified as an RGB triple.



69
# File 'lib/increase/models/digital_card_profile.rb', line 69

required :text_color, -> { Increase::Models::DigitalCardProfile::TextColor }

#typeSymbol

A constant representing the object's type. For this resource it will always be digital_card_profile.

Returns:

  • (Symbol)


74
# File 'lib/increase/models/digital_card_profile.rb', line 74

required :type, Increase::Enum.new(:digital_card_profile)