/* Options: Date: 2026-11-08 11:39:03 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CreditCardPaymentRefund.* //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 BH.CloudAPI.Common.DTO; using BH.CloudAPI.Common.Interfaces; using BH.API.CloudApi.Core; using BH.CloudAPI.Common4.DTO; namespace BH.API.CloudApi.Core { public partial interface IHaveErrorField { bool IsError { get; set; } } } namespace BH.CloudAPI.Common.DTO { public partial class ApiClientHeader { public virtual int ClientId { get; set; } public virtual string Referrer { get; set; } public virtual string IpAddress { get; set; } public virtual int LoggedInUserId { get; set; } public virtual int GroupId { get; set; } public virtual string Task { get; set; } public virtual string Machine { get; set; } public virtual string Location { get; set; } public virtual int CreatedBy { get; set; } public virtual int CampaignId { get; set; } public virtual decimal? ReCaptchaScore { get; set; } } public partial class CreditCardCloudServiceResponse : IHaveErrorField { public virtual bool IsDuplicate { get; set; } public virtual bool IsSuccessful { get; set; } public virtual string ErrorCode { get; set; } public virtual string Message { get; set; } public virtual int? GatewayId { get; set; } public virtual string ConfirmationNumber { get; set; } public virtual string NetworkTransactionId { get; set; } public virtual bool IsError { get; set; } } public partial class CreditCardPaymentRefund { public virtual ApiClientHeader Header { get; set; } public virtual CreditCardRefundInformation RefundInfo { get; set; } } public partial class CreditCardPaymentRefundResult : CreditCardCloudServiceResponse { public virtual long TransactionRecordID { get; set; } public virtual PaymentFailureType FailureType { get; set; } public virtual bool IsOverpayment { get; set; } public virtual bool PaymentNotFound { get; set; } } public partial class CreditCardRefundInformation { public virtual string CurrencyCode { get; set; } public virtual string GatewayTransactionId { get; set; } public virtual decimal Amount { get; set; } public virtual string Memo { get; set; } public virtual long MemberPaymentId { get; set; } public virtual PaymentTransactionType Type { get; set; } public virtual int ReasonId { get; set; } public virtual int UserId { get; set; } } public enum PaymentFailureType { None = 0, Gateway = 1, PaymentTransaction = 2, KeyProcurment = 3, CardVerification = 4, } public enum PaymentTransactionType { None = 0, MemberPayment = 1, DonationPayment = 2, PmiPayment = 3, MemberPaymentRefund = 4, DonationRefund = 5, SmpPayment = 6, } } namespace BH.CloudAPI.Common.Interfaces { public partial interface IHaveErrorField { bool IsError { get; set; } } } namespace BH.CloudAPI.Common4.DTO { [Route("/api/CreditCard/Payment/Refund", "POST")] public partial class CreditCardPaymentRefund : CreditCardPaymentRefund, IReturn { } }