Documentation ¶
Index ¶
- type FakeStripeClient
- func (t *FakeStripeClient) ConstructWebhookEvent(reqBody []byte, signature string, webhookKey string) (stripe.Event, error)
- func (t *FakeStripeClient) CreateAccount(accountParams *stripe.AccountParams) (*stripe.Account, error)
- func (t *FakeStripeClient) CreateAccountLink(accountLinkParams *stripe.AccountLinkParams) (*stripe.AccountLink, error)
- func (t *FakeStripeClient) CreatePaymentIntentMultiparty(paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string) (*stripe.PaymentIntent, error)
- func (t *FakeStripeClient) 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 FakeStripeClient ¶
func (*FakeStripeClient) ConstructWebhookEvent ¶
func (t *FakeStripeClient) ConstructWebhookEvent(reqBody []byte, signature string, webhookKey string) (stripe.Event, error)
func (*FakeStripeClient) CreateAccount ¶ added in v1.0.56
func (t *FakeStripeClient) CreateAccount(accountParams *stripe.AccountParams) (*stripe.Account, error)
func (*FakeStripeClient) CreateAccountLink ¶ added in v1.0.56
func (t *FakeStripeClient) CreateAccountLink(accountLinkParams *stripe.AccountLinkParams) (*stripe.AccountLink, error)
func (*FakeStripeClient) CreatePaymentIntentMultiparty ¶ added in v1.0.56
func (t *FakeStripeClient) CreatePaymentIntentMultiparty(paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string) (*stripe.PaymentIntent, error)
func (*FakeStripeClient) NewCheckoutSession ¶
func (t *FakeStripeClient) NewCheckoutSession( paymentMethods []string, mode, successURL, CancelURL string, lineItems []*stripe.CheckoutSessionLineItemParams, _ []*stripe.CheckoutSessionDiscountParams) *stripe.CheckoutSession
Click to show internal directories.
Click to hide internal directories.