Class: Increase::Models::CardDetails

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

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 for which sensitive details have been returned.

Returns:

  • (String)


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

required :card_id, String

#expiration_monthInteger

The month the card expires in M format (e.g., August is 8).

Returns:

  • (Integer)


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

required :expiration_month, Integer

#expiration_yearInteger

The year the card expires in YYYY format (e.g., 2025).

Returns:

  • (Integer)


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

required :expiration_year, Integer

#primary_account_numberString

The card number.

Returns:

  • (String)


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

required :primary_account_number, String

#typeSymbol

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

Returns:

  • (Symbol)


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

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

#verification_codeString

The three-digit verification code for the card. It's also known as the Card Verification Code (CVC), the Card Verification Value (CVV), or the Card Identification (CID).

Returns:

  • (String)


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

required :verification_code, String