/* Options: Date: 2024-11-21 16:49:34 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddPaysonApiSettings.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class PaysonApiSettingsQueryResponse { /** @description The company id */ // @ApiMember(Description="The company id") public CompanyId: string; /** @description The payson security user id */ // @ApiMember(Description="The payson security user id") public SecurityUserId: string; /** @description The payson security user password */ // @ApiMember(Description="The payson security user password") public SecurityPassword: string; /** @description The payson receiver email */ // @ApiMember(Description="The payson receiver email") public ReceiverEmail: string; /** @description The payson receiver firstname */ // @ApiMember(Description="The payson receiver firstname") public ReceiverFirstname: string; /** @description The payson receiver lastname */ // @ApiMember(Description="The payson receiver lastname") public ReceiverLastname: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/payson/apisettings", "POST") // @ValidateRequest(Validator="IsAuthenticated") export class AddPaysonApiSettings implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public CompanyId?: string; /** @description The payson security user id */ // @ApiMember(Description="The payson security user id", IsRequired=true) public SecurityUserId: string; /** @description The payson security user password */ // @ApiMember(Description="The payson security user password", IsRequired=true) public SecurityPassword: string; /** @description The payson receiver email */ // @ApiMember(Description="The payson receiver email", IsRequired=true) public ReceiverEmail: string; /** @description The payson receiver firstname */ // @ApiMember(Description="The payson receiver firstname", IsRequired=true) public ReceiverFirstname: string; /** @description The payson receiver lastname */ // @ApiMember(Description="The payson receiver lastname", IsRequired=true) public ReceiverLastname: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddPaysonApiSettings'; } public getMethod() { return 'POST'; } public createResponse() { return new PaysonApiSettingsQueryResponse(); } }