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
CountryVO
[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "countrystamp" })]
public CountryVO CountryVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
accessToken
The access Token to connect with GoCardLess
[AttFieldType(AttFieldType.InputTypes.memo)]
[AttHidden]
public string accessToken { get; set; }
Property Value
accessTokenExpDate
The access Token expiration date
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden]
public DateTime accessTokenExpDate { get; set; }
Property Value
accounts
[AttCollection(typeof(BankConAccountsVO))]
public List<BankConAccountsVO> accounts { get; set; }
Property Value
bankConExpiresIn
[AttVirtualField(typeof(BankConAttInfo))]
[AttList]
public string bankConExpiresIn { get; set; }
Property Value
bankConIsExpire
[AttVirtualField]
public bool bankConIsExpire { get; set; }
Property Value
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
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
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
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
bankConnectionStatusName
Name of bank connection status
[AttLenght(50)]
[AttLocale(typeof(BankConAttInfo), new string[] { "[BankConnector].[bankConnectionStatus]" })]
[AttLogInfo(1)]
public string bankConnectionStatusName { get; set; }
Property Value
bankId
Represents the bank id from GoCardLess API
[AttMandatory]
[AttLenght(200)]
public string bankId { get; set; }
Property Value
bankName
Represents the bank name from GoCardLess API
[AttLenght(200)]
[AttList]
[AttLogInfo(0)]
public string bankName { get; set; }
Property Value
bankconnectorstamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string bankconnectorstamp { get; set; }
Property Value
bltype
Type of treasury account
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal bltype { get; set; }
Property Value
Remarks
Length 10.
Search Field.
Field available in the basic search results list.
bltypename
[AttVirtualField]
public string bltypename { get; set; }
Property Value
country
Represents the name of country
[AttLenght(70)]
[AttList]
public string country { get; set; }
Property Value
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
Remarks
Length 45.
isToCreateBl
Create bl's after autentication if does not have match
public bool isToCreateBl { get; set; }
Property Value
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
refreshToken
The refresh Token to connect with GoCardLess
[AttFieldType(AttFieldType.InputTypes.memo)]
[AttHidden]
public string refreshToken { get; set; }
Property Value
refreshTokenExpDate
The refresh Token expiration date
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden]
public DateTime refreshTokenExpDate { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |