import { UserAgreementType } from "../../enums";

export interface Agreement {
  userAgreementId: number;
  agreementText: string;
  agreementParams: string;
  agreementUrl: string;
}

export class AgreementConditionsRequest {
  constructor(
    public AgreementType: UserAgreementType,
    public TaxNumber?: string
  ) {}
}

export class AgreementAgreeRequest {
  constructor(
    public agreed: boolean,
    public userAgreementId: number,
    public referrerUserMambuCorrelationKey?: string
  ) {}
}

export class ConfirmedAgreements {
  constructor(
    public Agreed: boolean,
    public AgreementId: number,
    public Required: boolean = true
  ) {}
}
