diff --git a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestCreationDto.cs b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestCreationDto.cs index f76c9bd..4be6566 100644 --- a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestCreationDto.cs +++ b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestCreationDto.cs @@ -1,10 +1,12 @@ using JetBrains.Annotations; +using System; using System.ComponentModel.DataAnnotations; using Volo.Abp.ObjectExtending; using Volo.Abp.Validation; namespace Payment.PaymentRequests { + [Serializable] public class PaymentRequestCreationDto : ExtensibleObject { [DynamicMaxLength(typeof(PaymentRequestConsts), nameof(PaymentRequestConsts.MaxCustomerIdLength))] diff --git a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestDto.cs b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestDto.cs index 8e453fc..39a218d 100644 --- a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestDto.cs +++ b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/PaymentRequestDto.cs @@ -3,6 +3,7 @@ using Volo.Abp.Application.Dtos; namespace Payment.PaymentRequests { + [Serializable] public class PaymentRequestDto : CreationAuditedEntityDto { public string CustomerId { get; set; } diff --git a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentDto.cs b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentDto.cs index 00b1cc3..be9ca14 100644 --- a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentDto.cs +++ b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentDto.cs @@ -4,6 +4,7 @@ using System.ComponentModel.DataAnnotations; namespace Payment.PaymentRequests { + [Serializable] public class StartPaymentDto { public Guid PaymentRequestId { get; set; } diff --git a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentResultDto.cs b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentResultDto.cs index da2be6b..3cf0d4f 100644 --- a/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentResultDto.cs +++ b/modules/payment/src/Payment.Application.Contracts/PaymentRequests/StartPaymentResultDto.cs @@ -1,5 +1,8 @@ -namespace Payment.PaymentRequests +using System; + +namespace Payment.PaymentRequests { + [Serializable] public class StartPaymentResultDto { public string CheckoutLink { get; set; }