Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct {
// contains filtered or unexported fields
}
Card - credit card structure
func (*Card) CardHolder ¶
CardHolder - return cardholder of credit card
func (*Card) MaskedNumber ¶
MaskedNumber - return a masked credit card number like 427615xxxxxx1234 @headlen - length of first series @taillen - length of last series
type Number ¶ added in v0.1.2
type Number struct {
// contains filtered or unexported fields
}
Number - holds a credit card number
func NewCardNumber ¶ added in v0.1.1
NewCardNumber - return a new Number object
type PaymentSystem ¶
type PaymentSystem struct {
Short, Full string
}
PaymentSystem holds a short and long names of who has issued the credit card
Click to show internal directories.
Click to hide internal directories.