iyzico v1.0.1 Iyzico.Card
Link to this section Summary
Functions
Invalidates a registration of given card
Same as delete_card/1
but raises Iyzico.CardNotRegistered
error if card is not registered
Retrieves all cards of a user
Link to this section Types
Link to this type
t()
t() :: %Iyzico.Card{cvc: integer, exp_month: integer, exp_year: integer, holder_name: binary, number: binary, register?: integer}
Represents a card to perform the checkout.
Link to this section Functions
Link to this function
create_card(card)
Invalidates a registration of given card.
Same as delete_card/1
but raises Iyzico.CardNotRegistered
error if card is not registered.
Retrieves all cards of a user.
Link to this function
valid?(card)