11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
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;
|
|
}
|
|
|