Versions in this module Expand all Collapse all v2 v2.0.12 Oct 13, 2026 Changes in this version + const UserAgent + var NewAndAuth = https.NewAndAuth + var NewAuth = https.NewAuth + var NewHttpConfiguration = https.NewHttpConfiguration + var NewOrAuth = https.NewOrAuth + var NewRetryConfiguration = https.NewRetryConfiguration + var WithBackoffFactor = https.WithBackoffFactor + var WithHttpMethodsToRetry = https.WithHttpMethodsToRetry + var WithHttpStatusCodesToRetry = https.WithHttpStatusCodesToRetry + var WithMaxRetryAttempts = https.WithMaxRetryAttempts + var WithMaximumRetryWaitTime = https.WithMaximumRetryWaitTime + var WithRetryConfiguration = https.WithRetryConfiguration + var WithRetryInterval = https.WithRetryInterval + var WithRetryOnTimeout = https.WithRetryOnTimeout + var WithTimeout = https.WithTimeout + var WithTransport = https.WithTransport + func NewBaseController(cb callBuilderFactory) *baseController + type ApiKeyCredentials struct + func NewApiKeyCredentials(xSplititApiKey string) ApiKeyCredentials + func (a ApiKeyCredentials) Authenticator() https.HttpInterceptor + func (a ApiKeyCredentials) Validate() error + func (a ApiKeyCredentials) WithXSplititApiKey(xSplititApiKey string) ApiKeyCredentials + func (a ApiKeyCredentials) XSplititApiKey() string + type ClientInterface interface + CloneWithConfiguration func(options ...ConfigurationOptions) ClientInterface + Configuration func() Configuration + InstallmentPlanController func() *InstallmentPlanController + OAuth2Manager func() *OAuth2Manager + OAuthAuthorizationController func() *OAuthAuthorizationController + func NewClient(configuration Configuration) ClientInterface + type Configuration struct + func CreateConfiguration(options ...ConfigurationOptions) Configuration + func CreateConfigurationFromEnvironment(options ...ConfigurationOptions) Configuration + func DefaultConfiguration() Configuration + func (c Configuration) ApiKeyCredentials() ApiKeyCredentials + func (c Configuration) Environment() Environment + func (c Configuration) HttpConfiguration() HttpConfiguration + func (c Configuration) OAuth2Credentials() OAuth2Credentials + type ConfigurationOptions func(*Configuration) + func WithApiKeyCredentials(apiKeyCredentials ApiKeyCredentials) ConfigurationOptions + func WithEnvironment(environment Environment) ConfigurationOptions + func WithHttpConfiguration(httpConfiguration HttpConfiguration) ConfigurationOptions + func WithOAuth2Credentials(oAuth2Credentials OAuth2Credentials) ConfigurationOptions + type Environment string + const PRODUCTION + const SANDBOX + type HttpConfiguration = https.HttpConfiguration + func CreateHttpConfiguration(options ...HttpConfigurationOptions) HttpConfiguration + func DefaultHttpConfiguration() HttpConfiguration + type HttpConfigurationOptions = https.HttpConfigurationOptions + type InstallmentPlanController struct + func NewInstallmentPlanController(baseController baseController) *InstallmentPlanController + func (i *InstallmentPlanController) InstallmentPlanAuthorize(ctx context.Context, installmentPlanNumber string, ...) (models.ApiResponse[models.AuthorizeResponse], error) + func (i *InstallmentPlanController) InstallmentPlanCheckCardValidity(ctx context.Context, body models.CardValidityRequest, ...) (models.ApiResponse[models.CardValidityResponse], error) + func (i *InstallmentPlanController) InstallmentPlanCreateOffers(ctx context.Context, body models.OffersRequest, xSplititTouchPoint *string, ...) (models.ApiResponse[models.OffersResponse], error) + func (i *InstallmentPlanController) InstallmentPlanGeneratePaymentLink(ctx context.Context, body models.PaymentLinkRequest, ...) (models.ApiResponse[models.PaymentLinkResponse], error) + func (i *InstallmentPlanController) InstallmentPlanGetByInstallmentPlanNumber(ctx context.Context, installmentPlanNumber string, xSplititTouchPoint *string, ...) (models.ApiResponse[models.InstallmentPlanDetailsResponse], error) + func (i *InstallmentPlanController) InstallmentPlanRefund(ctx context.Context, installmentPlanNumber string, body models.RefundRequest, ...) (models.ApiResponse[models.RefundResponse], error) + func (i *InstallmentPlanController) InstallmentPlanSearch(ctx context.Context, body models.InstallmentPlanSearchRequest, ...) (models.ApiResponse[models.InstallmentPlanSearchDetailsResponse], error) + func (i *InstallmentPlanController) InstallmentPlanUpdateOffers(ctx context.Context, installmentPlanNumber string, ...) (models.ApiResponse[models.OffersResponse], error) + func (i *InstallmentPlanController) InstallmentPlanUpdateOrder(ctx context.Context, installmentPlanNumber string, ...) (models.ApiResponse[models.UpdateOrderResponse], error) + type OAuth2Credentials struct + func NewOAuth2Credentials(oAuthClientId string, oAuthClientSecret string) OAuth2Credentials + func (o OAuth2Credentials) OAuthClientId() string + func (o OAuth2Credentials) OAuthClientSecret() string + func (o OAuth2Credentials) OAuthClockSkew() int64 + func (o OAuth2Credentials) OAuthOnTokenUpdate() func(token models.OAuthToken) + func (o OAuth2Credentials) OAuthScopes() []models.OAuthScopeOAuth2Enum + func (o OAuth2Credentials) OAuthToken() models.OAuthToken + func (o OAuth2Credentials) OAuthTokenProvider() func(models.OAuthToken, OAuth2Manager) models.OAuthToken + func (o OAuth2Credentials) WithOAuthClientId(oAuthClientId string) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthClientSecret(oAuthClientSecret string) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthClockSkew(oAuthClockSkew int64) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthOnTokenUpdate(oAuthOnTokenUpdate func(token models.OAuthToken)) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthScopes(oAuthScopes []models.OAuthScopeOAuth2Enum) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthToken(oAuthToken models.OAuthToken) OAuth2Credentials + func (o OAuth2Credentials) WithOAuthTokenProvider(oAuthTokenProvider func(models.OAuthToken, OAuth2Manager) models.OAuthToken) OAuth2Credentials + type OAuth2Manager struct + func (o *OAuth2Manager) Authenticator() https.HttpInterceptor + func (o *OAuth2Manager) FetchToken(ctx context.Context) (models.OAuthToken, error) + func (o *OAuth2Manager) OAuthTokenIsAuthorize() bool + func (o *OAuth2Manager) OAuthTokenIsExpired() bool + func (o *OAuth2Manager) Validate() error + type OAuthAuthorizationController struct + func NewOAuthAuthorizationController(baseController baseController) *OAuthAuthorizationController + func (o *OAuthAuthorizationController) RequestTokenOAuth2(ctx context.Context, authorization string, scope *string, ...) (models.ApiResponse[models.OAuthToken], error) + type RetryConfiguration = https.RetryConfiguration + func CreateRetryConfiguration(options ...RetryConfigurationOptions) RetryConfiguration + func DefaultRetryConfiguration() RetryConfiguration + type RetryConfigurationOptions = https.RetryConfigurationOptions + type Server string + const ACCESSTOKENSERVER + const ENUMDEFAULT