mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* chore(storage): remove errors.Wrap deprecated * feat: add psu models * feat(storage): add psu migrations and functions * feat(*): add payment service users entity * feat(tests): update sdks and add psu integration tests * feat(validation): add validation on email and phone number
28 lines
912 B
Go
28 lines
912 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
type V3ForwardPaymentServiceUserBankAccountResponseData struct {
|
|
// Since this call is asynchronous, the response will contain the ID of the task that was created to forward the bank account to the PSP. You can use the task API to check the status of the task and get the resulting bank account ID.
|
|
//
|
|
TaskID string `json:"taskID"`
|
|
}
|
|
|
|
func (o *V3ForwardPaymentServiceUserBankAccountResponseData) GetTaskID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.TaskID
|
|
}
|
|
|
|
type V3ForwardPaymentServiceUserBankAccountResponse struct {
|
|
Data V3ForwardPaymentServiceUserBankAccountResponseData `json:"data"`
|
|
}
|
|
|
|
func (o *V3ForwardPaymentServiceUserBankAccountResponse) GetData() V3ForwardPaymentServiceUserBankAccountResponseData {
|
|
if o == nil {
|
|
return V3ForwardPaymentServiceUserBankAccountResponseData{}
|
|
}
|
|
return o.Data
|
|
}
|