Versions in this module Expand all Collapse all v0 v0.18.0 Mar 16, 2019 Changes in this version + type Client struct + func NewClient() *Client + func (c *Client) CancelSubscription() error + func (c *Client) ClearPaymentInfo() error + func (c *Client) CreateCustomer(email string) (string, error) + func (c *Client) DeleteCustomer() error + func (c *Client) GetPaymentInfo() (*models.PaymentInfo, error) + func (c *Client) GetPlanByID(countryCode, planID string) (*models.BillingPlan, error) + func (c *Client) GetUpcomingInvoice() (*models.UpcomingInvoice, error) + func (c *Client) ListPlans(countryCode string) ([]*models.BillingPlan, error) + func (c *Client) SetCurrentTenant(tenant *models.Tenant) + func (c *Client) SetCurrentUser(user *models.User) + func (c *Client) Subscribe(planID string) error + func (c *Client) UpdatePaymentInfo(input *models.CreateEditBillingPaymentInfo) error