Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions connectorconfig/3dsecureio.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ func (c *ThreeDSecureIOCredentials) IsRecoveryAgent() bool {
func (c *ThreeDSecureIOCredentials) Supports3RI() bool {
return false
}

func (c *ThreeDSecureIOCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/adyen.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ func (c *AdyenCredentials) GetGooglePay() *GooglePayCredentials {
func (c *AdyenCredentials) GetApplePay() *ApplePayCredentials {
return c.ApplePay
}

func (c *AdyenCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/applePay.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,7 @@ func (a *ApplePayCredentials) GetAppleMerchantCapabilities() []AppleMerchantCapa
}
return a.AppleMerchantCapabilities
}

func (a *ApplePayCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/authorizenet.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ func (c *AuthorizeCredentials) IsRecoveryAgent() bool {
func (c *AuthorizeCredentials) Supports3RI() bool {
return false
}

func (g *AuthorizeCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/bluesnap.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@ func (c *BlueSnapCredentials) IsRecoveryAgent() bool {
func (c *BlueSnapCredentials) Supports3RI() bool {
return false
}

func (g *BlueSnapCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/bottomline.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,7 @@ func (c *BottomlineCredentials) IsRecoveryAgent() bool {
func (c *BottomlineCredentials) Supports3RI() bool {
return false
}

func (c *BottomlineCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/braintree.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ func (c *BraintreeCredentials) GetApplePay() *ApplePayCredentials {
func (c *BraintreeCredentials) Supports3RI() bool {
return false
}

func (g *BraintreeCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,7 @@ func (c *CheckoutCredentials) IsRecoveryAgent() bool {
func (c *CheckoutCredentials) Supports3RI() bool {
return false
}

func (c *CheckoutCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/clearhaus.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ func (c *ClearhausCredentials) IsRecoveryAgent() bool {
func (c *ClearhausCredentials) Supports3RI() bool {
return false
}

func (c *ClearhausCredentials) IsAccountUpdater() bool {
return false
}
5 changes: 5 additions & 0 deletions connectorconfig/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type Credentials interface {
CanPlanModeUse(mode environment.Mode) bool // Determine if this plan mode can use this configuration
IsRecoveryAgent() bool
Supports3RI() bool
IsAccountUpdater() bool
}

type NoLibrary map[string]any
Expand Down Expand Up @@ -76,3 +77,7 @@ func (n NoLibrary) IsRecoveryAgent() bool {
func (n NoLibrary) Supports3RI() bool {
return false
}

func (n NoLibrary) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/cwams.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ func (c *CWAMSCredentials) IsRecoveryAgent() bool {
func (c *CWAMSCredentials) Supports3RI() bool {
return false
}

func (c *CWAMSCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/cybersource.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ func (c *CyberSourceCredentials) IsRecoveryAgent() bool {
func (c *CyberSourceCredentials) Supports3RI() bool {
return false
}

func (c *CyberSourceCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/epx.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,7 @@ func (c *EpxCredentials) IsRecoveryAgent() bool {
func (c *EpxCredentials) Supports3RI() bool {
return false
}

func (c *EpxCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/flexpay.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,7 @@ func (c *FlexPayCredentials) IsRecoveryAgent() bool {
func (c *FlexPayCredentials) Supports3RI() bool {
return false
}

func (c *FlexPayCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/googlePay.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ func (g *GooglePayCredentials) Supports3RI() bool {
return false
}

func (g *GooglePayCredentials) IsAccountUpdater() bool {
return false
}

func (g *GooglePayCredentials) GetSecureFields() []*string {
if g == nil {
return nil
Expand Down
4 changes: 4 additions & 0 deletions connectorconfig/gpayments.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ func (c *GPaymentsCredentials) IsRecoveryAgent() bool {
func (c *GPaymentsCredentials) Supports3RI() bool {
return true
}

func (c *GPaymentsCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/inoviopay.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ func (c *InovioPayCredentials) IsRecoveryAgent() bool {
func (c *InovioPayCredentials) Supports3RI() bool {
return false
}

func (c *InovioPayCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/kount.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,7 @@ func (c *KountCredentials) IsRecoveryAgent() bool {
func (c *KountCredentials) Supports3RI() bool {
return false
}

func (c *KountCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/maxmind.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,7 @@ func (c *MaxMindCredentials) IsRecoveryAgent() bool {
func (c *MaxMindCredentials) Supports3RI() bool {
return false
}

func (c *MaxMindCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/nuvei.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ func (c *NuveiCredentials) IsRecoveryAgent() bool {
func (c *NuveiCredentials) Supports3RI() bool {
return false
}

func (c *NuveiCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/paypalcompletepayments.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ func (c *PayPalCompletePaymentsCredentials) IsRecoveryAgent() bool {
func (c *PayPalCompletePaymentsCredentials) Supports3RI() bool {
return false
}

func (c *PayPalCompletePaymentsCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/paypalexpresscheckout.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ func (c *PayPalExpressCheckoutCredentials) IsRecoveryAgent() bool {
func (c *PayPalExpressCheckoutCredentials) Supports3RI() bool {
return false
}

func (c *PayPalExpressCheckoutCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/paypalwebsitepaymentspro.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,7 @@ func (c *PayPalWebsitePaymentsProCredentials) IsRecoveryAgent() bool {
func (c *PayPalWebsitePaymentsProCredentials) Supports3RI() bool {
return false
}

func (c *PayPalWebsitePaymentsProCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/paysafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,7 @@ func (c *PaySafeCredentials) IsRecoveryAgent() bool {
func (c *PaySafeCredentials) Supports3RI() bool {
return false
}

func (c *PaySafeCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/paysafeaccountupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ func (c *PaySafeAccountUpdaterCredentials) IsRecoveryAgent() bool {
func (c *PaySafeAccountUpdaterCredentials) Supports3RI() bool {
return false
}

func (c *PaySafeAccountUpdaterCredentials) IsAccountUpdater() bool {
return true
}
4 changes: 4 additions & 0 deletions connectorconfig/qualpay.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ func (c *QualpayCredentials) IsRecoveryAgent() bool {
func (c *QualpayCredentials) Supports3RI() bool {
return false
}

func (g *QualpayCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/recaptcha.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ func (c *RecaptchaCredentials) IsRecoveryAgent() bool {
func (c *RecaptchaCredentials) Supports3RI() bool {
return false
}

func (c *RecaptchaCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/sandbanx.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,7 @@ func (c *SandbanxCredentials) GetGooglePayParams() map[string]string {
func (c *SandbanxCredentials) GetApplePay() *ApplePayCredentials {
return c.ApplePay
}

func (c *SandbanxCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ func (c *SandboxCredentials) IsRecoveryAgent() bool {
func (c *SandboxCredentials) Supports3RI() bool {
return false
}

func (c *SandboxCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/sticky-io.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ func (c *StickyIOCredentials) IsRecoveryAgent() bool {
func (c *StickyIOCredentials) Supports3RI() bool {
return false
}

func (c *StickyIOCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/stripe.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ func (c *StripeCredentials) IsRecoveryAgent() bool {
func (c *StripeCredentials) Supports3RI() bool {
return false
}

func (g *StripeCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/tokenexaccountupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ func (c *TokenExAccountUpdaterCredentials) IsRecoveryAgent() bool {
func (c *TokenExAccountUpdaterCredentials) Supports3RI() bool {
return false
}

func (c *TokenExAccountUpdaterCredentials) IsAccountUpdater() bool {
return true
}
4 changes: 4 additions & 0 deletions connectorconfig/tokenexapiaccountupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ func (c *TokenExApiAccountUpdaterCredentials) IsRecoveryAgent() bool {
func (c *TokenExApiAccountUpdaterCredentials) Supports3RI() bool {
return false
}

func (c *TokenExApiAccountUpdaterCredentials) IsAccountUpdater() bool {
return true
}
4 changes: 4 additions & 0 deletions connectorconfig/tokenexnetworktokenization.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ func (c *TokenExNetworkTokenizationCredentials) IsRecoveryAgent() bool {
func (c *TokenExNetworkTokenizationCredentials) Supports3RI() bool {
return false
}

func (c *TokenExNetworkTokenizationCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/trustPayments.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ func (c *TrustPaymentsCredentials) IsRecoveryAgent() bool {
func (c *TrustPaymentsCredentials) Supports3RI() bool {
return false
}

func (c *TrustPaymentsCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/vindicia.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ func (c *VindiciaCredentials) IsRecoveryAgent() bool {
func (c *VindiciaCredentials) Supports3RI() bool {
return false
}

func (c *VindiciaCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/woodforest.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ func (c *WoodforestCredentials) IsRecoveryAgent() bool {
func (c *WoodforestCredentials) Supports3RI() bool {
return false
}

func (c *WoodforestCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/worldpay.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,7 @@ func (c *WorldpayCredentials) IsRecoveryAgent() bool {
func (c *WorldpayCredentials) Supports3RI() bool {
return false
}

func (c *WorldpayCredentials) IsAccountUpdater() bool {
return false
}
4 changes: 4 additions & 0 deletions connectorconfig/yapstone.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ func (c *YapstoneCredentials) IsRecoveryAgent() bool {
func (c *YapstoneCredentials) Supports3RI() bool {
return false
}

func (c *YapstoneCredentials) IsAccountUpdater() bool {
return false
}