ExternalAccount

v0.5.9 v0.5.9
Vernon Keenan 2023-06-05 00:09:35 +00:00
parent 8958a4bc42
commit 5f6047db4d
25 changed files with 65 additions and 65 deletions

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM
// Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"`
ExternalAccount *string `json:"ExternalAccount"`
}
// Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateTaxnexusAccount(formats); err != nil {
if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err)
}
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil
}
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error {
func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil {
if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err
}

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this response meta

View File

@ -37,7 +37,7 @@ type TenantUser struct {
ContactID *string `json:"ContactID,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Tenant active?
TenantActive *bool `json:"TenantActive,omitempty"`

View File

@ -86,6 +86,9 @@ type User struct {
// Extension
Extension *string `json:"Extension,omitempty"`
// Account
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Fax
Fax *string `json:"Fax,omitempty"`
@ -173,9 +176,6 @@ type User struct {
// Onboarding Status
Status *string `json:"Status,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user
TenantID *string `json:"TenantID,omitempty"`

View File

@ -36,6 +36,9 @@ type UserRole struct {
// Contact ID
ContactID *string `json:"ContactID,omitempty"`
// Account Number
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Role description
RoleDescription *string `json:"RoleDescription,omitempty"`
@ -45,9 +48,6 @@ type UserRole struct {
// Role Name
RoleName *string `json:"RoleName,omitempty"`
// Account Number
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// User Email Address
UserEmail *string `json:"UserEmail,omitempty"`

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this response meta

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM
// Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"`
ExternalAccount *string `json:"ExternalAccount"`
}
// Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateTaxnexusAccount(formats); err != nil {
if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err)
}
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil
}
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error {
func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil {
if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err
}

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this response meta

View File

@ -22,7 +22,7 @@ import (
type RequestMeta struct {
// Account Number of the Reseller or OEM
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
ExternalAccount string `json:"ExternalAccount,omitempty"`
}
// Validate validates this request meta

View File

@ -28,6 +28,9 @@ type ResearchProjectCompanyResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResearchProjectCompanyResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this research project company response meta

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this response meta

View File

@ -86,6 +86,9 @@ type User struct {
// Extension
Extension *string `json:"Extension,omitempty"`
// Account
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Fabric API Key
FabricAPIKey *string `json:"FabricAPIKey,omitempty"`
@ -188,9 +191,6 @@ type User struct {
// Status
Status *string `json:"Status,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user
TenantID *string `json:"TenantID,omitempty"`

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM
// Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"`
ExternalAccount *string `json:"ExternalAccount"`
}
// Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateTaxnexusAccount(formats); err != nil {
if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err)
}
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil
}
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error {
func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil {
if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err
}

View File

@ -27,6 +27,9 @@ type ResponseMeta struct {
// Copyright Info
Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions
License string `json:"License,omitempty"`
@ -50,9 +53,6 @@ type ResponseMeta struct {
// Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this response meta

View File

@ -1,8 +1,8 @@
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
- ExternalAccount
type: object

View File

@ -32,7 +32,7 @@ ResponseMeta:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object

View File

@ -21,7 +21,7 @@ TenantUser:
description: Contact ID
type: string
x-nullable: true
TaxnexusAccount:
ExternalAccount:
description: Account
type: string
x-nullable: true

View File

@ -33,7 +33,7 @@ UserRole:
description: Role Name
type: string
x-nullable: true
TaxnexusAccount:
ExternalAccount:
description: Account Number
type: string
x-nullable: true

View File

@ -198,7 +198,7 @@ User:
description: Onboarding Status
type: string
x-nullable: true
TaxnexusAccount:
ExternalAccount:
description: Account
type: string
x-nullable: true

View File

@ -1899,11 +1899,11 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
- ExternalAccount
type: object
ResponseMeta:
properties:
@ -1939,7 +1939,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object

View File

@ -4263,7 +4263,7 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
type: object
@ -4301,7 +4301,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object
@ -4822,7 +4822,7 @@ definitions:
description: Status
type: string
x-nullable: true
TaxnexusAccount:
ExternalAccount:
description: Account
type: string
x-nullable: true

View File

@ -171,11 +171,11 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
- ExternalAccount
type: object
ResponseMeta:
properties:
@ -209,7 +209,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object

View File

@ -1899,11 +1899,11 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
- ExternalAccount
type: object
ResponseMeta:
properties:
@ -1939,7 +1939,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object

View File

@ -4263,7 +4263,7 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
type: object
@ -4301,7 +4301,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object
@ -4822,7 +4822,7 @@ definitions:
description: Status
type: string
x-nullable: true
TaxnexusAccount:
ExternalAccount:
description: Account
type: string
x-nullable: true

View File

@ -171,11 +171,11 @@ definitions:
type: object
RequestMeta:
properties:
TaxnexusAccount:
ExternalAccount:
description: Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
- ExternalAccount
type: object
ResponseMeta:
properties:
@ -209,7 +209,7 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object