export type PaymentTypeCode = "OM" | "FLOOZ" | "MTN" | "WAVE" | "CB";

export interface PaymentType {
	reference: number;
	nom: string;
	description: string;
	code: PaymentTypeCode;
	etat: boolean;
	type_operateur: string;
}

export interface DjangoPaginated<T> {
	count: number;
	next: string | null;
	previous: string | null;
	results: T;
}

export interface Merchant {
	marchand_id: string;
	nom: string;
	code: string;
	adresse: string;
	url_succes: string;
	url_echec: string;
	entreprise: number;
	user: number;
}

export interface IuserInformations {
	username: string;
	email: string;
	first_name: string;
	last_name: string;
	marchand: Merchant;
}
