Documentation
¶
Index ¶
- type IStripe
- type Stripe
- func (s *Stripe) ConstructWebhookEvent(reqBody []byte, signature string, webhookKey string) (stripe.Event, error)
- func (s *Stripe) CreateAccount(accountParams *stripe.AccountParams) (*stripe.Account, error)
- func (s *Stripe) CreateAccountLink(accountLinkParams *stripe.AccountLinkParams) (*stripe.AccountLink, error)
- func (s *Stripe) CreatePaymentIntentMultiparty(paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string) (*stripe.PaymentIntent, error)
- func (s *Stripe) NewCheckoutSession(paymentMethods []string, mode, successURL, CancelURL string, ...) *stripe.CheckoutSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStripe ¶
type IStripe interface { CreateAccount(accountParams *stripe.AccountParams) (*stripe.Account, error) CreateAccountLink(accountLinkParams *stripe.AccountLinkParams) (*stripe.AccountLink, error) CreatePaymentIntentMultiparty(paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string) (*stripe.PaymentIntent, error) ConstructWebhookEvent(reqBody []byte, signature string, webhookKey string) (stripe.Event, error) NewCheckoutSession(paymentMethods []string, mode, successURL, CancelURL string, lineItems []*stripe.CheckoutSessionLineItemParams, discounts []*stripe.CheckoutSessionDiscountParams) *stripe.CheckoutSession }
type Stripe ¶
type Stripe struct {
// contains filtered or unexported fields
}
func (*Stripe) ConstructWebhookEvent ¶
func (*Stripe) CreateAccount ¶ added in v1.0.56
func (*Stripe) CreateAccountLink ¶ added in v1.0.56
func (*Stripe) CreatePaymentIntentMultiparty ¶ added in v1.0.56
func (*Stripe) NewCheckoutSession ¶
Click to show internal directories.
Click to hide internal directories.