/* Options:
Date: 2024-11-21 13:21:06
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: RefundBookingPayment.*
//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 System.IO;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
[Route("/bookings/{Id}/refund/{PaymentLogId}", "PUT")]
[ValidateRequest("IsAuthenticated")]
public partial class RefundBookingPayment
: 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 booking id
///
[ApiMember(Description="The booking id", IsRequired=true, ParameterType="path")]
public virtual int Id { get; set; }
///
///The booking payment log id
///
[ApiMember(Description="The booking payment log id", IsRequired=true, ParameterType="path")]
public virtual int PaymentLogId { get; set; }
///
///The amount to refund on the checkout.
///
[ApiMember(Description="The amount to refund on the checkout.", IsRequired=true)]
public virtual double Amount { get; set; }
///
///Any comments to be saved in log.
///
[ApiMember(Description="Any comments to be saved in log.")]
public virtual string Comments { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}