set payment method

This commit is contained in:
2025-11-23 10:03:44 +03:30
parent cc6614fe97
commit 4ea7c8d068
5 changed files with 95 additions and 2 deletions
@@ -0,0 +1,10 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';
export class SetPaymentMethodDto {
@ApiProperty({ description: 'Payment method ID', example: '01ARZ3NDEKTSV4RRFFQ69G5FAV' })
@IsNotEmpty()
@IsString()
paymentMethodId!: string;
}