using System;

namespace OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;

public class IntegrationPaymentTermResponse : ResponseBase
{
    public int CreditCodeId { get; set; }
    public string CreditCode { get; set; }
    public string Description { get; set; }
    public DateTime ValidFrom { get; set; }
    public DateTime ValidTo { get; set; }
    public string SalesOrg { get; set; }
}

public class IntegrationPaymentTermReqResponse : ResponseBase
{
    public string CreditCode { get; set; }
    public string SalesOrg { get; set; }
    public bool IsUpdated {  get; set; }
}