Class: Increase::Models::PhysicalCard

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

Defined Under Namespace

Classes: Cardholder, Shipment

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#card_idString

The identifier for the Card this Physical Card represents.

Returns:

  • (String)


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

required :card_id, String

#cardholderIncrease::Models::PhysicalCard::Cardholder

Details about the cardholder, as it appears on the printed card.



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

required :cardholder, -> { Increase::Models::PhysicalCard::Cardholder }

#created_atString

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

Returns:

  • (String)


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

required :created_at, String

#idString

The physical card identifier.

Returns:

  • (String)


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


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

required :idempotency_key, String

#physical_card_profile_idString

The Physical Card Profile used for this Physical Card.

Returns:

  • (String)


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

required :physical_card_profile_id, String

#shipmentIncrease::Models::PhysicalCard::Shipment

The details used to ship this physical card.



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

required :shipment, -> { Increase::Models::PhysicalCard::Shipment }

#statusSymbol

The status of the Physical Card.

Returns:

  • (Symbol)


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

required :status, Increase::Enum.new(:active, :disabled, :canceled)

#typeSymbol

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

Returns:

  • (Symbol)


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

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