PINXS.Customers.Customer (pinxs v3.1.3) View Source
Provides functions for working with customers
Required Fields
When creating a Customer, the following fields must be provided
and one of
- card
- card_token
Link to this section Summary
Functions
Adds a card to a customer
Creates a customer
Deletes a customer
Deletes a card belonging to a customer
Retreives a customer
Retrieves a paginated list of customers
Retreives a specific page of customers
Retrieves all cards for the given customer
Retrieves all charges for customer
Updates a customer
Link to this section Types
Specs
t() :: %PINXS.Customers.Customer{ card: nil | PINXS.Cards.Card.t(), card_token: nil | String.t(), email: String.t(), token: nil | String.t() }
Link to this section Functions
Adds a card to a customer
Creates a customer
Deletes a customer
Deletes a card belonging to a customer
Retreives a customer
Retrieves a paginated list of customers
Retreives a specific page of customers
Retrieves all cards for the given customer
Retrieves all charges for customer
Updates a customer