Table of Contents

Class SepaMandateVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Representa uma Autorização/Mandato SEPA.

[AttTable("SepaMandate", 20201218)]
[AttTableGama(Gamas.Advanced)]
[AttTableVOInfo(typeof(SepaMandateAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttTableMaintenance(typeof(SepaMandateMaintenance))]
public class SepaMandateVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
SepaMandateVO

Properties

BlVO

[AttExternalCollection(typeof(BlVO))]
public BlVO BlVO { get; }

Property Value

BlVO

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "no", "cl.estab", "estab" })]
public ClVO ClVO { get; }

Property Value

ClVO

acceptedbybank

Indica que este Mandato já está ativo, isto é, não precisa de uma cobrança do tipo Primeiro Débito (FRST) para ativação do Mandato.

public bool acceptedbybank { get; set; }

Property Value

bool

cbbls

[AttExternalCollection(typeof(CbblVO))]
public List<CbblVO> cbbls { get; }

Property Value

List<CbblVO>

clstamp

[AttLenght(25)]
public string clstamp { get; set; }

Property Value

string

design

Designação do cliente

[AttLenght(100)]
[AttMandatory]
[AttIndex(true)]
[AttLogInfo(1)]
[AttList]
public string design { get; set; }

Property Value

string

Remarks

Length 100.

Campo de preenchimento obrigatório.

Searchable field.

Field available in the basic search results list.

email

[AttVirtualField]
[AttHidden]
public string email { get; set; }

Property Value

string

estab

Number that identifies the customer Branch.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
public int estab { get; set; }

Property Value

int

Remarks

Length 6.

From what range of software this field is available: Max.

inactivo

Indica se esta autorização está inativa.

[AttList]
public bool inactivo { get; set; }

Property Value

bool

ismigrated

Indica que este Mandato foi migrado a partir de uma autorização PS2 existente.

public bool ismigrated { get; set; }

Property Value

bool

no

Customer number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
public decimal no { get; set; }

Property Value

decimal

Remarks

Length 10.

nome

Nome do cliente/devedor.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public string nome { get; set; }

Property Value

string

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.

olduniqueref

Antiga Referência única do Mandato

[AttLenght(35)]
[AttHidden]
public string olduniqueref { get; set; }

Property Value

string

Remarks

Length 35.

Field not available to the user.

.

Serve para preencher o elemento "AmdmntInfDtls" do ficheiro SEPA .

Este campo só está preenchido quando o uniqueref é alterado e já existem cobranças processadas para este mandato.

paymenttype

Tipo de pagamento

[AttLenght(1)]
[AttMandatory]
[AttList]
public SepaPaymentType paymenttype { get; set; }

Property Value

SepaPaymentType

Remarks

O tipo de pagamento pode ser Pagamento pontual (one-off payment) ou Recorrente (Recurrent payment).

.

paymenttypedesign

Designação do tipo de movimento (FRST=Primeiro Débito, RCUR=Débito Recorrente, OOFF=Débito Pontual, FNAL=Último Débito)

[AttVirtualField]
public string paymenttypedesign { get; set; }

Property Value

string

paymenttypename

Nome de pagamento

[AttVirtualField]
public string paymenttypename { get; set; }

Property Value

string

sepamandatestamp

Single registration field, used to link others to this entity.

[AttLenght(25)]
public string sepamandatestamp { get; set; }

Property Value

string

Remarks

This field uniquely identifies the record (primary key by default).

Length 25.

signdate

Data de assinatura do Mandato.

public DateTime signdate { get; set; }

Property Value

DateTime

uniqueref

Referência única do Mandato

[AttPrimaryKey]
[AttLenght(35)]
[AttLogInfo(0)]
[AttList]
public string uniqueref { get; set; }

Property Value

string

Remarks

Length 35.

Searchable field.

Field available in the basic search results list.