Documentation ¶
Index ¶
- type FakeStripeClient
- func (t *FakeStripeClient) CancelSubscription(subscriptionID string, cancelParams *stripe.SubscriptionCancelParams) (*stripe.Subscription, error)
- 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) CreateBillingPortalSession(billingPortalSParams *stripe.BillingPortalSessionParams) (*stripe.BillingPortalSession, error)
- func (t *FakeStripeClient) CreateCheckoutSession(checkoutSessionParams *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
- func (t *FakeStripeClient) CreateCustomer(customerParams *stripe.CustomerParams) (*stripe.Customer, error)
- func (t *FakeStripeClient) CreatePaymentIntentMultiparty(paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string) (*stripe.PaymentIntent, error)
- func (t *FakeStripeClient) CreateRefundMultiparty(refundParams *stripe.RefundParams, linkedAccountID string) (*stripe.Refund, error)
- func (t *FakeStripeClient) CreateSetupIntent(setupIntentParams *stripe.SetupIntentParams) (*stripe.SetupIntent, error)
- func (t *FakeStripeClient) CreateSubscription(subscriptionParams *stripe.SubscriptionParams) (*stripe.Subscription, error)
- func (t *FakeStripeClient) GetAccount(accountID string, accountParams *stripe.AccountParams) (*stripe.Account, error)
- func (t *FakeStripeClient) GetPaymentIntent(paymentIntentID string, paymentIntentParams *stripe.PaymentIntentParams) (*stripe.PaymentIntent, error)
- func (t *FakeStripeClient) GetSubscription(subscriptionID string, params *stripe.SubscriptionParams) (*stripe.Subscription, error)
- func (t *FakeStripeClient) NewCheckoutSession(paymentMethods []string, mode, successURL, CancelURL string, ...) *stripe.CheckoutSession
- func (t *FakeStripeClient) UpdateAccount(accountID string, accountParams *stripe.AccountParams) (*stripe.Account, error)
- func (t *FakeStripeClient) UpdateCustomer(customerID string, customerParams *stripe.CustomerParams) (*stripe.Customer, error)
- func (t *FakeStripeClient) UpdateSubscription(subscriptionID string, subscriptionParams *stripe.SubscriptionParams) (*stripe.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStripeClient ¶
func (*FakeStripeClient) CancelSubscription ¶ added in v1.0.69
func (t *FakeStripeClient) CancelSubscription(subscriptionID string, cancelParams *stripe.SubscriptionCancelParams) (*stripe.Subscription, error)
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) CreateBillingPortalSession ¶ added in v1.0.67
func (t *FakeStripeClient) CreateBillingPortalSession(billingPortalSParams *stripe.BillingPortalSessionParams) (*stripe.BillingPortalSession, error)
func (*FakeStripeClient) CreateCheckoutSession ¶ added in v1.0.67
func (t *FakeStripeClient) CreateCheckoutSession(checkoutSessionParams *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
func (*FakeStripeClient) CreateCustomer ¶ added in v1.0.67
func (t *FakeStripeClient) CreateCustomer(customerParams *stripe.CustomerParams) (*stripe.Customer, error)
func (*FakeStripeClient) CreatePaymentIntentMultiparty ¶ added in v1.0.56
func (t *FakeStripeClient) CreatePaymentIntentMultiparty( paymentIntentParams *stripe.PaymentIntentParams, linkedAccountID string, ) (*stripe.PaymentIntent, error)
func (*FakeStripeClient) CreateRefundMultiparty ¶ added in v1.0.99
func (t *FakeStripeClient) CreateRefundMultiparty(refundParams *stripe.RefundParams, linkedAccountID string) (*stripe.Refund, error)
func (*FakeStripeClient) CreateSetupIntent ¶ added in v1.0.70
func (t *FakeStripeClient) CreateSetupIntent(setupIntentParams *stripe.SetupIntentParams) (*stripe.SetupIntent, error)
func (*FakeStripeClient) CreateSubscription ¶ added in v1.0.69
func (t *FakeStripeClient) CreateSubscription(subscriptionParams *stripe.SubscriptionParams) (*stripe.Subscription, error)
func (*FakeStripeClient) GetAccount ¶ added in v1.0.98
func (t *FakeStripeClient) GetAccount(accountID string, accountParams *stripe.AccountParams) (*stripe.Account, error)
func (*FakeStripeClient) GetPaymentIntent ¶ added in v1.1.0
func (t *FakeStripeClient) GetPaymentIntent(paymentIntentID string, paymentIntentParams *stripe.PaymentIntentParams) (*stripe.PaymentIntent, error)
func (*FakeStripeClient) GetSubscription ¶ added in v1.0.76
func (t *FakeStripeClient) GetSubscription(subscriptionID string, params *stripe.SubscriptionParams) (*stripe.Subscription, error)
func (*FakeStripeClient) NewCheckoutSession ¶
func (t *FakeStripeClient) NewCheckoutSession( paymentMethods []string, mode, successURL, CancelURL string, lineItems []*stripe.CheckoutSessionLineItemParams, _ []*stripe.CheckoutSessionDiscountParams) *stripe.CheckoutSession
func (*FakeStripeClient) UpdateAccount ¶ added in v1.2.42
func (t *FakeStripeClient) UpdateAccount(accountID string, accountParams *stripe.AccountParams) (*stripe.Account, error)
func (*FakeStripeClient) UpdateCustomer ¶ added in v1.0.71
func (t *FakeStripeClient) UpdateCustomer(customerID string, customerParams *stripe.CustomerParams) (*stripe.Customer, error)
func (*FakeStripeClient) UpdateSubscription ¶ added in v1.0.69
func (t *FakeStripeClient) UpdateSubscription(subscriptionID string, subscriptionParams *stripe.SubscriptionParams) (*stripe.Subscription, error)
Click to show internal directories.
Click to hide internal directories.