/* Options:
Date: 2024-12-03 18:31:51
Version: 8.23
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bokamera.se
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: UpdatePaysonApiSettings.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
public partial class PaysonApiSettingsQueryResponse
{
///
///The company id
///
[ApiMember(Description="The company id")]
public virtual Guid CompanyId { get; set; }
///
///The payson security user id
///
[ApiMember(Description="The payson security user id")]
public virtual string SecurityUserId { get; set; }
///
///The payson security user password
///
[ApiMember(Description="The payson security user password")]
public virtual string SecurityPassword { get; set; }
///
///The payson receiver email
///
[ApiMember(Description="The payson receiver email")]
public virtual string ReceiverEmail { get; set; }
///
///The payson receiver firstname
///
[ApiMember(Description="The payson receiver firstname")]
public virtual string ReceiverFirstname { get; set; }
///
///The payson receiver lastname
///
[ApiMember(Description="The payson receiver lastname")]
public virtual string ReceiverLastname { get; set; }
}
[Route("/payment/payson/apisettings/", "PUT")]
[ValidateRequest("IsAuthenticated")]
public partial class UpdatePaysonApiSettings
: IReturn, ICompany
{
///
///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 virtual Guid? CompanyId { get; set; }
///
///The payson security user id
///
[ApiMember(Description="The payson security user id")]
public virtual string SecurityUserId { get; set; }
///
///The payson security user password
///
[ApiMember(Description="The payson security user password")]
public virtual string SecurityPassword { get; set; }
///
///The payson receiver email
///
[ApiMember(Description="The payson receiver email")]
public virtual string ReceiverEmail { get; set; }
///
///The payson receiver firstname
///
[ApiMember(Description="The payson receiver firstname")]
public virtual string ReceiverFirstname { get; set; }
///
///The payson receiver lastname
///
[ApiMember(Description="The payson receiver lastname")]
public virtual string ReceiverLastname { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}