Table of Contents

Class BankConnectorVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("BankConnector", 20240111)]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.BankConnector1, Products.BankConnector5, Products.BankConnector10 })]
[AttTableOrderBy("bankConnectionDate", OrderTypes.Ascending)]
[AttTableVOInfo(typeof(BankConAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess })]
public class BankConnectorVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BankConnectorVO

Properties

BlTypeVO

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

Property Value

BlTypeVO

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "countrystamp" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

accessToken

The access Token to connect with GoCardLess

[AttFieldType(AttFieldType.InputTypes.memo)]
[AttHidden]
public string accessToken { get; set; }

Property Value

string

accessTokenExpDate

The access Token expiration date

[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden]
public DateTime accessTokenExpDate { get; set; }

Property Value

DateTime

accounts

[AttCollection(typeof(BankConAccountsVO))]
public List<BankConAccountsVO> accounts { get; set; }

Property Value

List<BankConAccountsVO>

bankConExpiresIn

[AttVirtualField(typeof(BankConAttInfo))]
[AttList]
public string bankConExpiresIn { get; set; }

Property Value

string

bankConIsExpire

[AttVirtualField]
public bool bankConIsExpire { get; set; }

Property Value

bool

bankConnectionDate

Represents the bank connection date from GoCardLess API

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime bankConnectionDate { get; set; }

Property Value

DateTime

bankConnectionExpDate

Represents the bank connection expiration date from GoCardLess API

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public DateTime bankConnectionExpDate { get; set; }

Property Value

DateTime

bankConnectionId

Represents the bank connection id from GoCardLess API, we use this id to check the status or to delete the connection

[AttLenght(200)]
[AttHidden]
public string bankConnectionId { get; set; }

Property Value

string

bankConnectionStatus

Represents the bank connection status from GoCardLess API

[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public BankConnectorApi.BankConApiResponse.BankConnectionStatus bankConnectionStatus { get; set; }

Property Value

BankConnectorApi.BankConApiResponse.BankConnectionStatus

bankConnectionStatusName

Name of bank connection status

[AttLenght(50)]
[AttLocale(typeof(BankConAttInfo), new string[] { "[BankConnector].[bankConnectionStatus]" })]
[AttLogInfo(1)]
public string bankConnectionStatusName { get; set; }

Property Value

string

bankId

Represents the bank id from GoCardLess API

[AttMandatory]
[AttLenght(200)]
public string bankId { get; set; }

Property Value

string

bankName

Represents the bank name from GoCardLess API

[AttLenght(200)]
[AttList]
[AttLogInfo(0)]
public string bankName { get; set; }

Property Value

string

bankconnectorstamp

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

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

Property Value

string

bltype

Type of treasury account

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal bltype { get; set; }

Property Value

decimal

Remarks

Length 10.

Search Field.

Field available in the basic search results list.

bltypename

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

Property Value

string

country

Represents the name of country

[AttLenght(70)]
[AttList]
public string country { get; set; }

Property Value

string

countrystamp

Connection field to entity CountryVO.

[AttMandatory]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string countrystamp { get; set; }

Property Value

string

Remarks

Length 45.

isToCreateBl

Create bl's after autentication if does not have match

public bool isToCreateBl { get; set; }

Property Value

bool

maximumTransactionDays

Maximum transaction days allowed by each bank

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal maximumTransactionDays { get; set; }

Property Value

decimal

refreshToken

The refresh Token to connect with GoCardLess

[AttFieldType(AttFieldType.InputTypes.memo)]
[AttHidden]
public string refreshToken { get; set; }

Property Value

string

refreshTokenExpDate

The refresh Token expiration date

[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden]
public DateTime refreshTokenExpDate { get; set; }

Property Value

DateTime

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string