Documentation
¶
Index ¶
- type Biller
- type StripeBiller
- func (b *StripeBiller) CreateCheckoutSession(p *data.Person) (string, error)
- func (b *StripeBiller) CreatePortalSession(p *data.Person) (string, error)
- func (b *StripeBiller) PreparePerson(ctx context.Context, d *data.Client, p *data.Person) error
- func (b *StripeBiller) SyncPerson(p *data.Person) error
- func (b *StripeBiller) WebhookHandler() http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Biller ¶
type Biller interface { // data.Client is not a struct property because function needs to receive a transactional one PreparePerson(context.Context, *data.Client, *data.Person) error SyncPerson(*data.Person) error CreateCheckoutSession(*data.Person) (string, error) CreatePortalSession(*data.Person) (string, error) WebhookHandler() http.Handler }
type StripeBiller ¶
type StripeBiller struct {
// contains filtered or unexported fields
}
func (*StripeBiller) CreateCheckoutSession ¶
func (b *StripeBiller) CreateCheckoutSession(p *data.Person) (string, error)
func (*StripeBiller) CreatePortalSession ¶
func (b *StripeBiller) CreatePortalSession(p *data.Person) (string, error)
func (*StripeBiller) PreparePerson ¶
data.Client is not a struct property because function needs to receive a transactional one
func (*StripeBiller) SyncPerson ¶
func (b *StripeBiller) SyncPerson(p *data.Person) error
func (*StripeBiller) WebhookHandler ¶
func (b *StripeBiller) WebhookHandler() http.Handler
Click to show internal directories.
Click to hide internal directories.