Class: Increase::Models::PhysicalCardProfile

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#back_image_file_idString

The identifier of the File containing the physical card's back image.

Returns:

  • (String)


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

required :back_image_file_id, String

#carrier_image_file_idString

The identifier of the File containing the physical card's carrier image.

Returns:

  • (String)


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

required :carrier_image_file_id, String

#contact_phoneString

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

Returns:

  • (String)


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

required :contact_phone, String

#created_atString

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

Returns:

  • (String)


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

required :created_at, String

#creatorSymbol

The creator of this Physical Card Profile.

Returns:

  • (Symbol)


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

required :creator, Increase::Enum.new(:increase, :user)

#descriptionString

A description you can use to identify the Physical Card Profile.

Returns:

  • (String)


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

required :description, String

#front_image_file_idString

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

Returns:

  • (String)


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

required :front_image_file_id, String

#idString

The Card Profile identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/physical_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)


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

required :idempotency_key, String

#is_defaultBoolean

Whether this Physical Card Profile is the default for all cards in its Increase group.

Returns:

  • (Boolean)


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

required :is_default, Increase::BooleanModel

#statusSymbol

The status of the Physical Card Profile.

Returns:

  • (Symbol)


59
60
61
62
63
64
65
66
67
# File 'lib/increase/models/physical_card_profile.rb', line 59

required :status,
Increase::Enum.new(
  :pending_creating,
  :pending_reviewing,
  :rejected,
  :pending_submitting,
  :active,
  :archived
)

#typeSymbol

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

Returns:

  • (Symbol)


72
# File 'lib/increase/models/physical_card_profile.rb', line 72

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