Files
payments/pkg/client/models/components/v3paymentserviceuserupdatelinkrequest.go
e8acab14f2 chore: Make applicationName optional in create-link endpoint (#565)
* Make applicationName optional for create/update link

Co-authored-by: quentin <[email protected]>

* Fix test issue

* chore: Add validation for applicationName in plaid update-link

* chore: Rename validation error from client name to application name

* test: Fix test with new error name

---------

Co-authored-by: Cursor Agent <[email protected]>
2025-10-17 09:01:43 +00:00

24 lines
740 B
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
type V3PaymentServiceUserUpdateLinkRequest struct {
// The name of the application to be displayed to the user when they click the link (depending on the open banking provider). Note that this field might be mandatory for some open banking providers.
ApplicationName *string `json:"applicationName,omitempty"`
ClientRedirectURL string `json:"clientRedirectURL"`
}
func (o *V3PaymentServiceUserUpdateLinkRequest) GetApplicationName() *string {
if o == nil {
return nil
}
return o.ApplicationName
}
func (o *V3PaymentServiceUserUpdateLinkRequest) GetClientRedirectURL() string {
if o == nil {
return ""
}
return o.ClientRedirectURL
}