Class: Loqate::Bank::CardValidation

Inherits:
Dry::Struct::Value
  • Object
show all
Defined in:
lib/loqate/bank/card_validation.rb

Overview

Result of a card validation.

Instance Method Summary collapse

Instance Method Details

#card_numberString

The cleaned card number.



9
# File 'lib/loqate/bank/card_validation.rb', line 9

attribute :card_number, Types::Strict::String

#card_typeString

The card type (e.g. Visa, Mastercard etc).



15
# File 'lib/loqate/bank/card_validation.rb', line 15

attribute :card_type, Types::Strict::String