Files
Vendaweb-api/src/sales/payment/pix/santander/models/create-cob.model.ts

50 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export interface Calendario {
    dataDeVencimento: string;
    validadeAposVencimento: number;
}
export interface Devedor {
    logradouro: string;
    cidade: string;
    uf: string;
    cep: string;
    cpf: string;
    nome: string;
}
export interface Multa {
    modalidade: string;
    valorPerc: number;
}
export interface Juros {
    modalidade: string;
    valorPerc: number;
}
export interface DescontoDataFixa {
    data: string;
    valorPerc: string;
}
export interface Desconto {
    modalidade: string;
    descontoDataFixa: DescontoDataFixa[];
}
export interface Valor {
    original: number;
    multa: Multa;
    juros: Juros;
    desconto: Desconto;
}
export interface SantanderCreateCob {
    calendario: Calendario;
    devedor: Devedor;
    valor: Valor;
    chave: string;
    solicitacaoPagador: string;
}