Customer
class Customer extends Resource implements CustomerInterface
Customer objects allow you to perform recurring charges, and to track multiple charges, that are associated with the same customer. The API allows you to create, delete, and update your customers. You can retrieve individual customers as well as a list of all your customers.
Traits
Properties
| string | $id | A unique identifier for the resource. | from Resource | 
| protected mixed | $response | A response from Stripe. | from Resource | 
Methods
Create a customer.
Create a Customer without requiring a token.
No description
Details
        in Resource at         line 29
                            string
    getId()
        
    
    Returns the unique identifier for this resource.
        in Resource at         line 39
                            mixed
    getResponse()
        
    
    Returns the raw Stripe response.
        in Resource at         line 47
                    protected        void
    setProperties()
        
    
    Set the response data as properties on the class.
        in Delete at         line 21
                            Delete
    delete(string $id)
        
    
    Delete a resource.
Delete a resource associated with the class this trait is being used. You must pass in the ID of the resource that you wish to delete. Then it will return the same instance of the class from which it was called.
        in ListAll at         line 21
                            ListAll
    listAll(array $arguments = [])
        
    
    List all the resources.
This will list all of the resources from which this trait belongs to. It will then return itself, so you can method chain it, or reuse the same instantiation.
        at         line 36
                            CustomerInterface
    create(string $email, string $token, array $arguments = [], string $key = null)
        
    
    Create a customer.
        at         line 56
                            CustomerInterface
    createWithoutToken(string $email, array $arguments = [], string $key = null)
        
    
    Create a Customer without requiring a token.