Table of Contents

Class CbbWS

Namespace
PHCWS
Assembly
PHCWS.dll

Bank collection services CbbVO.

[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class CbbWS : PHCTypedWS<CbbVO>, IComponent, IDisposable, IServiceProvider
Inheritance
CbbWS

Methods

GetSEPAOneToManyTransactions(string)

Gets a file compatible with the SEPA with all transactions made to these parameters.

[WebMethod]
public PHCResult GetSEPAOneToManyTransactions(string cbbstamp)

Parameters

Nome Tipo Descrição
cbbstamp string

Returns

PHCResult

A PHCResult containing a StringVO with the file location, or containing a list of MessageVO indicating an error message, or one of the following message:

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

Remarks

Create a SEPA file.

The SEPA file that sends credit anticipation on magnetic support.

GetSEPAOneToOneTransactions(string)

Obtém um ficheiro no formato ZIP que contém um ficheiro compatível com o SEPA para cada uma das transacções enviadas nos parâmetros

[WebMethod]
public PHCResult GetSEPAOneToOneTransactions(string cbbstamp)

Parameters

Nome Tipo Descrição
cbbstamp string

Returns

PHCResult

A PHCResult containing a StringVO with the file location, or containing a list of MessageVO indicating an error message, or one of the following message:

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

Remarks

Create a SEPA file.

The SEPA file that sends credit anticipation on magnetic support.

addNewCbblsByCC(CbbVO, List<string>)

Add new rows to the account P/R transaction Codes already filled.

[WebMethod]
public PHCResult addNewCbblsByCC(CbbVO itemCbb, List<string> ccstamps)

Parameters

Nome Tipo Descrição
itemCbb CbbVO
ccstamps List<string>

List of identifiers of the account P/R transaction codes that wish to add to each row, each list item corresponds to the value stored in the field ccstamp of CbblVO.

Returns

PHCResult

A PHCResult containing the lines of CbblVO added, or error messages produced by this process of updating rows.

The returned value may only contain the added lines or contain an CbbVO where in your collection cbbls contain lines added and / or other additional lines.

The return type depends so the changes that have been applied to the entity CbbVO in this process.

Remarks

The update is stored in memory, the final recording in the database should be done by the 'Save' service.

changeTheLines(string, List<string>)

Process or reverse process of certain CbblVO of a CbbVO.

[WebMethod]
public PHCResult changeTheLines(string cbbstamp, List<string> listOfCbblsToChange)

Parameters

Nome Tipo Descrição
cbbstamp string

Identifies the CbbVO.

listOfCbblsToChange List<string>

List of CbblVO to be processed or reverse processed.

Returns

PHCResult

A PHCResult containing CbbVO changed, or error messages associated with this process.

createPS2File(string)

Create a file PS2 (File Charges Interbank - Debts Systems and Direct Payments - Credit Transfers) for CbbVO.

[WebMethod]
public PHCResult createPS2File(string cbbstamp)

Parameters

Nome Tipo Descrição
cbbstamp string

Identifies the record CbbVO.

Returns

PHCResult

A PHCResult containing a StringVO with the file location, or containing a list of MessageVO showing an error message, or one of the following message:.

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

Remarks

Create a file PS2 .

The PS2 file is a type of file adopted by banks to receive direct debit orders by companies and later provide the results.

createQ19File(string, bool)

Create a file Q19 (Adeudos por domiciliaciones en soporte magnético) for CbbVO.

[WebMethod]
public PHCResult createQ19File(string cbbstamp, bool incluirIndividualOpcional)

Parameters

Nome Tipo Descrição
cbbstamp string

Identifies the record CbbVO.

incluirIndividualOpcional bool

Returns

PHCResult

A PHCResult containing a StringVO with the file location, or containing a list of MessageVO showing an error message, or one of the following message:.

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

Remarks

Create a file Q19.

The Q19 file that sends instant collection. Are the receipts that they are and that we have 20 days to return them.

createQ58File(string, bool)

Create a file Q58 (Adeudos por domiciliaciones en soporte magnético) for CbbVO.

[WebMethod]
public PHCResult createQ58File(string cbbstamp, bool incluirIndividualOpcional)

Parameters

Nome Tipo Descrição
cbbstamp string

Identifies the record CbbVO.

incluirIndividualOpcional bool

Returns

PHCResult

A PHCResult containing a StringVO with the file location, or containing a list of MessageVO showing an error message, or one of the following message:.

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

Remarks

Create a file Q58.

The Q58 file that sends credit anticipation on magnetic support.

getSEPAFile(string)

Obtains a file compatible with the SEPA with all transactions sent on the parameters or a zip file containing a set of files, according to the BlVO used.

[WebMethod]
public PHCResult getSEPAFile(string cbbstamp)

Parameters

Nome Tipo Descrição
cbbstamp string

Identified the collection via bank for which you want to generation (s) File (s) SEPA.

Returns

PHCResult

A PHCResult contendo um StringVO with the file location, or containing a list of MessageVO indicating an error message, or one of the following message:

- entity.cbb.no_cbbl.

- entity.cbb.not_found.

processUploadedPS2File(string, byte[])

Process a PS2 file (Return Codes).

[WebMethod]
public PHCResult processUploadedPS2File(string fileName, byte[] ficheiro)

Parameters

Nome Tipo Descrição
fileName string

Identifies the file to be processed.

ficheiro byte[]

Returns

PHCResult

A PHCResult containing a list of CbbVO processed, or one of the following error messages:.

- entity.sdd.rad.error_act_sdd.

- entity.sdd.ps2.no_item_processed.

Remarks

Process a PS2 file (return codes), identified by parameter fileName.

processUploadedSEPAFile(string, StringVO)

Process a SEPA file (Return Codes).

[WebMethod]
public PHCResult processUploadedSEPAFile(string fileName, StringVO ficheiro)

Parameters

Nome Tipo Descrição
fileName string

Identifies the file to be processed.

ficheiro StringVO

Returns

PHCResult

A PHCResult containing a list of CbbVO processed, or one of the following error messages:.

- entity.sdd.sepa.no_item_processed.

Remarks

Process a SEPA file (return codes), identified by parameter fileName.