rename inbound and outbound callContext name

This commit is contained in:
shuang 2019-04-23 21:44:37 +08:00
parent b5cc924f3c
commit 24c01b10d9
3 changed files with 235 additions and 268 deletions

View File

@ -152,12 +152,12 @@ case class GetGenerator(methodName: String, tp: Type) {
val lastMapStatement = if (isReturnBox || resultType.startsWith("Future[Box[")) {
"""| boxedResult.map { result =>
| (result.data, buildCallContext(result.OutboundAdapterCallContext, callContext))
| (result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
| }
""".stripMargin
} else {
"""| boxedResult match {
| case Full(result) => (Full(result.data), buildCallContext(result.OutboundAdapterCallContext, callContext))
| case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
| case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
| }
""".stripMargin
@ -229,13 +229,13 @@ case class PostGenerator(methodName: String, tp: Type) {
val lastMapStatement = if (isOBPReturnType) {
"""|boxedResult match {
| case Full(result) => (Full(result.data), buildCallContext(result.OutboundAdapterCallContext, callContext))
| case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
| case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
| }
""".stripMargin
} else {
"""|boxedResult.map { result =>
| (result.data, buildCallContext(result.OutboundAdapterCallContext, callContext))
| (result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
| }
""".stripMargin
}

View File

@ -94,7 +94,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundGetAdapterInfo](url, callContext)
.map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
@ -144,7 +144,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundGetAdapterInfoFuture](url, callContext)
.map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
@ -239,7 +239,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundGetChallengeThreshold](url, callContext)
.map { boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
@ -324,7 +324,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendPostRequest[InBoundCreateChallenge](url, callContext, jsonStr)
.map { boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
@ -418,7 +418,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
val url = getUrl("getBank" , ("bankId", bankId))
sendGetRequest[InBoundGetBankFuture](url, callContext) map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
}
@ -494,7 +494,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundGetBankAccountFuture](url, callContext)
.map{ boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
}
@ -518,7 +518,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundGetCounterpartiesFuture](url, callContext)
.map { boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
}
@ -583,7 +583,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundCheckBankAccountExistsFuture](url, callContext)
.map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
@ -607,7 +607,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendGetRequest[InBoundCheckBankAccountExistsFuture](url, callContext)
.map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
@ -622,7 +622,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendPostRequest[InBoundCreateChallenge](url, callContext, jsonStr)
.map{ boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
}
@ -635,7 +635,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendPostRequest[InBoundCreateCounterparty](url, callContext, jsonStr)
.map { boxedResult =>
boxedResult.map { result =>
(result.data, buildCallContext(result.adapterCallContext, callContext))
(result.data, buildCallContext(result.inboundAdapterCallContext, callContext))
}
}
}
@ -666,7 +666,7 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
sendPostRequest[InBoundMakePaymentv210](url, callContext, jsonStr)
.map{ boxedResult =>
boxedResult match {
case Full(result) => (Full(result.data), buildCallContext(result.adapterCallContext, callContext))
case Full(result) => (Full(result.data), buildCallContext(result.inboundAdapterCallContext, callContext))
case result: EmptyBox => (result, callContext) // Empty and Failure all match this case
}
}
@ -757,12 +757,12 @@ trait RestConnector_vMar2019 extends Connector with KafkaHelper with MdcLoggable
}
//TODO hongwei confirm the third valu: OutboundAdapterCallContext#adapterAuthInfo
private[this] def buildCallContext(adapterCallContext: OutboundAdapterCallContext, callContext: Option[CallContext]): Option[CallContext] =
private[this] def buildCallContext(inboundAdapterCallContext: InboundAdapterCallContext, callContext: Option[CallContext]): Option[CallContext] =
for (cc <- callContext)
yield cc.copy(correlationId = adapterCallContext.correlationId, sessionId = adapterCallContext.sessionId)
yield cc.copy(correlationId = inboundAdapterCallContext.correlationId, sessionId = inboundAdapterCallContext.sessionId)
private[this] def buildCallContext(boxedAdapterCallContext: Box[OutboundAdapterCallContext], callContext: Option[CallContext]): Option[CallContext] = boxedAdapterCallContext match {
case Full(adapterCallContext) => buildCallContext(adapterCallContext, callContext)
private[this] def buildCallContext(boxedInboundAdapterCallContext: Box[InboundAdapterCallContext], callContext: Option[CallContext]): Option[CallContext] = boxedInboundAdapterCallContext match {
case Full(inboundAdapterCallContext) => buildCallContext(inboundAdapterCallContext, callContext)
case _ => callContext
}
}

View File

@ -35,16 +35,15 @@ import scala.collection.immutable.List
//--------generated
case class OutBoundGetObpApiLoopback (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetObpApiLoopback (adapterCallContext: InboundAdapterCallContext, data: ObpApiLoopback)
case class OutBoundGetObpApiLoopback (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetObpApiLoopback (inboundAdapterCallContext: InboundAdapterCallContext, data: ObpApiLoopback)
case class OutBoundGetAdapterInfoFuture (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAdapterInfoFuture (adapterCallContext: InboundAdapterCallContext, data: InboundAdapterInfoInternal)
case class OutBoundGetAdapterInfoFuture (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAdapterInfoFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: InboundAdapterInfoInternal)
case class OutBoundGetChallengeThreshold (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetChallengeThreshold (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: String,
accountId: String,
viewId: String,
@ -52,10 +51,10 @@ case class OutBoundGetChallengeThreshold (adapterCallContext: OutboundAdapterCal
currency: String,
userId: String,
userName: String)
case class InBoundGetChallengeThreshold (adapterCallContext: InboundAdapterCallContext, data: AmountOfMoney)
case class InBoundGetChallengeThreshold (inboundAdapterCallContext: InboundAdapterCallContext, data: AmountOfMoney)
case class OutBoundGetChargeLevel (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetChargeLevel (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
viewId: ViewId,
@ -63,128 +62,101 @@ case class OutBoundGetChargeLevel (adapterCallContext: OutboundAdapterCallContex
userName: String,
transactionRequestType: String,
currency: String)
case class InBoundGetChargeLevel (adapterCallContext: InboundAdapterCallContext, data: AmountOfMoney)
case class InBoundGetChargeLevel (inboundAdapterCallContext: InboundAdapterCallContext, data: AmountOfMoney)
case class OutBoundGetBankFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetBankFuture (adapterCallContext: InboundAdapterCallContext, data: BankCommons)
case class InBoundGetBankFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: BankCommons)
case class OutBoundGetBanksFuture (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetBanksFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BankCommons])
case class OutBoundGetBanksFuture (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetBanksFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BankCommons])
case class OutBoundGetBankAccountsByUsernameFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccountsByUsernameFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
username: String)
case class InBoundGetBankAccountsByUsernameFuture (adapterCallContext: InboundAdapterCallContext, data: List[InboundAccountCommonCommons])
case class InBoundGetBankAccountsByUsernameFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[InboundAccountCommonCommons])
case class OutBoundGetBankAccountFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccountFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId)
case class InBoundGetBankAccountFuture (adapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class InBoundGetBankAccountFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class OutBoundGetBankAccountsFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccountsFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankIdAccountIds: List[BankIdAccountId])
case class InBoundGetBankAccountsFuture (adapterCallContext: InboundAdapterCallContext, data: List[BankAccountCommons])
case class InBoundGetBankAccountsFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BankAccountCommons])
case class OutBoundGetCoreBankAccountsFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCoreBankAccountsFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankIdAccountIds: List[BankIdAccountId])
case class InBoundGetCoreBankAccountsFuture (adapterCallContext: InboundAdapterCallContext, data: List[CoreAccount])
case class InBoundGetCoreBankAccountsFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CoreAccount])
case class OutBoundGetCoreBankAccountsHeldFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCoreBankAccountsHeldFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankIdAccountIds: List[BankIdAccountId])
case class InBoundGetCoreBankAccountsHeldFuture (adapterCallContext: InboundAdapterCallContext, data: List[AccountHeld])
case class InBoundGetCoreBankAccountsHeldFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[AccountHeld])
case class OutBoundCheckBankAccountExistsFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCheckBankAccountExistsFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId)
case class InBoundCheckBankAccountExistsFuture (adapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class InBoundCheckBankAccountExistsFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class OutBoundGetCounterpartyTrait (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartyTrait (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
couterpartyId: String)
case class InBoundGetCounterpartyTrait (adapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class InBoundGetCounterpartyTrait (inboundAdapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class OutBoundGetCounterpartyByCounterpartyIdFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartyByCounterpartyIdFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
counterpartyId: CounterpartyId)
case class InBoundGetCounterpartyByCounterpartyIdFuture (adapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class InBoundGetCounterpartyByCounterpartyIdFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class OutBoundGetCounterpartyByIban (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartyByIban (outboundAdapterCallContext: OutboundAdapterCallContext,
iban: String)
case class InBoundGetCounterpartyByIban (adapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class InBoundGetCounterpartyByIban (inboundAdapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class OutBoundGetCounterpartiesFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartiesFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
thisBankId: BankId,
thisAccountId: AccountId,
viewId: ViewId)
case class InBoundGetCounterpartiesFuture (adapterCallContext: InboundAdapterCallContext, data: List[CounterpartyTraitCommons])
case class InBoundGetCounterpartiesFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CounterpartyTraitCommons])
case class OutBoundGetTransactionsFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionsFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
limit: Int,
fromDate: String,
toDate: String)
case class InBoundGetTransactionsFuture (adapterCallContext: InboundAdapterCallContext, data: List[TransactionCommons])
case class InBoundGetTransactionsFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionCommons])
case class OutBoundGetTransactionFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
transactionId: TransactionId)
case class InBoundGetTransactionFuture (adapterCallContext: OutboundAdapterCallContext, data: TransactionCommons)
case class InBoundGetTransactionFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionCommons)
case class OutBoundMakePaymentv210 (adapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestCommonBody: TransactionRequestCommonBodyJSON,
amount: BigDecimal,
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy: String)
case class OutBoundMakePaymentv210 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundMakePaymentv210 (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccountCommons,
toAccount: BankAccountCommons,
transactionRequestCommonBody: TransactionRequestCommonBodyJSONCommons,
amount: BigDecimal,
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy: String) {
chargePolicy: String)
def this(adapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestCommonBody: TransactionRequestCommonBodyJSON,
amount: BigDecimal,
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy: String) = this(
adapterCallContext,
BankAccountCommons(fromAccount),
BankAccountCommons(toAccount),
TransactionRequestCommonBodyJSONCommons(transactionRequestCommonBody),
amount: BigDecimal,
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy)
}
case class InBoundMakePaymentv210 (adapterCallContext: OutboundAdapterCallContext, data: TransactionId)
case class InBoundMakePaymentv210 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionId)
case class OutBoundCreateTransactionRequestv210 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequestv210 (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User, //TODO FIXME
viewId: ViewId,
fromAccount: BankAccountCommons,
@ -193,52 +165,47 @@ case class OutBoundCreateTransactionRequestv210 (adapterCallContext: OutboundAda
transactionRequestCommonBody: TransactionRequestCommonBodyJSONCommons,
detailsPlain: String,
chargePolicy: String)
case class InBoundCreateTransactionRequestv210 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequestv210 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateTransactionAfterChallengeV210 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionAfterChallengeV210 (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccountCommons,
transactionRequest: TransactionRequest)
case class InBoundCreateTransactionAfterChallengeV210 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionAfterChallengeV210 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundGetBranchFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBranchFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
branchId: BranchId)
case class InBoundGetBranchFuture (adapterCallContext: OutboundAdapterCallContext, data: BranchTCommons)
case class InBoundGetBranchFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: BranchTCommons)
case class OutBoundGetBranchesFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBranchesFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId, limit: Int, offset: Int, fromDate: String, toDate: String)
case class InBoundGetBranchesFuture (adapterCallContext: OutboundAdapterCallContext, data: List[BranchTCommons])
case class OutBoundGetBranchesFuture (adapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetBranchesFuture (adapterCallContext: OutboundAdapterCallContext, data: List[BranchTCommons])
case class InBoundGetBranchesFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BranchTCommons])
case class OutBoundGetAtmFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetAtmFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
atmId: AtmId)
case class InBoundGetAtmFuture (adapterCallContext: OutboundAdapterCallContext, data: AtmTCommons)
case class InBoundGetAtmFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: AtmTCommons)
case class OutBoundGetAtmsFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetAtmsFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId, limit: Int, offset: Int, fromDate: String, toDate: String)
case class InBoundGetAtmsFuture (adapterCallContext: OutboundAdapterCallContext, data: List[AtmTCommons])
case class OutBoundGetAtmsFuture (adapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetAtmsFuture (adapterCallContext: OutboundAdapterCallContext, data: List[AtmTCommons])
case class InBoundGetAtmsFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[AtmTCommons])
case class OutBoundCreateTransactionAfterChallengev300 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionAfterChallengev300 (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User, //TODO fixme
fromAccount: BankAccountCommons,
transReqId: TransactionRequestId,
transactionRequestType: TransactionRequestType)
case class InBoundCreateTransactionAfterChallengev300 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionAfterChallengev300 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundMakePaymentv300 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundMakePaymentv300 (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User, //TODO fixme
fromAccount: BankAccountCommons,
toAccount: BankAccountCommons,
@ -246,10 +213,10 @@ case class OutBoundMakePaymentv300 (adapterCallContext: OutboundAdapterCallConte
transactionRequestCommonBody: TransactionRequestCommonBodyJSON, //TODO FIXME
transactionRequestType: TransactionRequestType,
chargePolicy: String)
case class InBoundMakePaymentv300 (adapterCallContext: OutboundAdapterCallContext, data: TransactionId)
case class InBoundMakePaymentv300 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionId)
case class OutBoundCreateTransactionRequestv300 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequestv300 (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User, //TODO fixme
viewId: ViewId,
fromAccount: BankAccountCommons,
@ -259,10 +226,10 @@ case class OutBoundCreateTransactionRequestv300 (adapterCallContext: OutboundAda
transactionRequestCommonBody: TransactionRequestCommonBodyJSON, //TODO FIXME
detailsPlain: String,
chargePolicy: String)
case class InBoundCreateTransactionRequestv300 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequestv300 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateCustomerFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateCustomerFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
legalName: String,
mobileNumber: String,
@ -278,31 +245,31 @@ case class OutBoundCreateCustomerFuture (adapterCallContext: OutboundAdapterCall
lastOkDate: Date,
creditRating: Option[CreditRating],
creditLimit: Option[AmountOfMoney])
case class InBoundCreateCustomerFuture (adapterCallContext: OutboundAdapterCallContext, data: CustomerCommons)
case class InBoundCreateCustomerFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerCommons)
case class OutBoundGetCustomersByUserIdFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomersByUserIdFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
userId: String)
case class InBoundGetCustomersByUserIdFuture (adapterCallContext: OutboundAdapterCallContext, data: List[CustomerCommons])
case class InBoundGetCustomersByUserIdFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CustomerCommons])
case class OutBoundGetCustomerByCustomerIdFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomerByCustomerIdFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String)
case class InBoundGetCustomerByCustomerIdFuture (adapterCallContext: OutboundAdapterCallContext, data: CustomerCommons)
case class InBoundGetCustomerByCustomerIdFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerCommons)
case class OutBoundGetCustomerByCustomerNumberFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomerByCustomerNumberFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
customerNumber: String,
bankId: BankId)
case class InBoundGetCustomerByCustomerNumberFuture (adapterCallContext: OutboundAdapterCallContext, data: CustomerCommons)
case class InBoundGetCustomerByCustomerNumberFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerCommons)
case class OutBoundGetCustomerAddress (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomerAddress (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String)
case class InBoundGetCustomerAddress (adapterCallContext: OutboundAdapterCallContext, data: List[CustomerAddressCommons])
case class InBoundGetCustomerAddress (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CustomerAddressCommons])
case class OutBoundCreateCustomerAddress (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateCustomerAddress (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String,
line1: String,
line2: String,
@ -314,10 +281,10 @@ case class OutBoundCreateCustomerAddress (adapterCallContext: OutboundAdapterCal
countryCode: String,
tags: String,
status: String)
case class InBoundCreateCustomerAddress (adapterCallContext: OutboundAdapterCallContext, data: CustomerAddressCommons)
case class InBoundCreateCustomerAddress (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerAddressCommons)
case class OutBoundUpdateCustomerAddress (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundUpdateCustomerAddress (outboundAdapterCallContext: OutboundAdapterCallContext,
customerAddressId: String,
line1: String,
line2: String,
@ -329,72 +296,72 @@ case class OutBoundUpdateCustomerAddress (adapterCallContext: OutboundAdapterCal
countryCode: String,
tags: String,
status: String)
case class InBoundUpdateCustomerAddress (adapterCallContext: OutboundAdapterCallContext, data: CustomerAddressCommons)
case class InBoundUpdateCustomerAddress (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerAddressCommons)
case class OutBoundCreateTaxResidence (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTaxResidence (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String,
domain: String,
taxNumber: String)
case class InBoundCreateTaxResidence (adapterCallContext: OutboundAdapterCallContext, data: TaxResidenceCommons)
case class InBoundCreateTaxResidence (inboundAdapterCallContext: InboundAdapterCallContext, data: TaxResidenceCommons)
case class OutBoundGetTaxResidence (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTaxResidence (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String)
case class InBoundGetTaxResidence (adapterCallContext: OutboundAdapterCallContext, data: List[TaxResidenceCommons])
case class InBoundGetTaxResidence (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TaxResidenceCommons])
case class OutBoundGetCustomersFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomersFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetCustomersFuture (adapterCallContext: OutboundAdapterCallContext, data: List[CustomerCommons])
case class InBoundGetCustomersFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CustomerCommons])
case class OutBoundGetCheckbookOrdersFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCheckbookOrdersFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: String,
accountId: String)
case class InBoundGetCheckbookOrdersFuture (adapterCallContext: OutboundAdapterCallContext, data: CheckbookOrdersJson)
case class InBoundGetCheckbookOrdersFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: CheckbookOrdersJson)
case class OutBoundGetStatusOfCreditCardOrderFuture (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetStatusOfCreditCardOrderFuture (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: String,
accountId: String)
case class InBoundGetStatusOfCreditCardOrderFuture (adapterCallContext: OutboundAdapterCallContext, data: List[CardObjectJson])
case class InBoundGetStatusOfCreditCardOrderFuture (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CardObjectJson])
case class OutBoundCreateUserAuthContext (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateUserAuthContext (outboundAdapterCallContext: OutboundAdapterCallContext,
userId: String,
key: String,
value: String)
case class InBoundCreateUserAuthContext (adapterCallContext: OutboundAdapterCallContext, data: UserAuthContextCommons)
case class InBoundCreateUserAuthContext (inboundAdapterCallContext: InboundAdapterCallContext, data: UserAuthContextCommons)
case class OutBoundGetUserAuthContexts (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetUserAuthContexts (outboundAdapterCallContext: OutboundAdapterCallContext,
userId: String)
case class InBoundGetUserAuthContexts (adapterCallContext: OutboundAdapterCallContext, data: List[UserAuthContextCommons])
case class InBoundGetUserAuthContexts (inboundAdapterCallContext: InboundAdapterCallContext, data: List[UserAuthContextCommons])
case class OutBoundCreateOrUpdateProductAttribute (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateOrUpdateProductAttribute (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
productCode: ProductCode,
productAttributeId: Option[String],
name: String,
attributType: ProductAttributeType.Value,
value: String)
case class InBoundCreateOrUpdateProductAttribute (adapterCallContext: OutboundAdapterCallContext, data: ProductAttributeCommons)
case class InBoundCreateOrUpdateProductAttribute (inboundAdapterCallContext: InboundAdapterCallContext, data: ProductAttributeCommons)
case class OutBoundGetProductAttributeById (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProductAttributeById (outboundAdapterCallContext: OutboundAdapterCallContext,
productAttributeId: String)
case class InBoundGetProductAttributeById (adapterCallContext: OutboundAdapterCallContext, data: ProductAttributeCommons)
case class InBoundGetProductAttributeById (inboundAdapterCallContext: InboundAdapterCallContext, data: ProductAttributeCommons)
case class OutBoundGetProductAttributesByBankAndCode (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProductAttributesByBankAndCode (outboundAdapterCallContext: OutboundAdapterCallContext,
bank: BankId,
productCode: ProductCode)
case class InBoundGetProductAttributesByBankAndCode (adapterCallContext: OutboundAdapterCallContext, data: List[ProductAttributeCommons])
case class InBoundGetProductAttributesByBankAndCode (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductAttributeCommons])
case class OutBoundCreateOrUpdateAccountAttribute (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateOrUpdateAccountAttribute (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
productCode: ProductCode,
@ -402,60 +369,60 @@ case class OutBoundCreateOrUpdateAccountAttribute (adapterCallContext: OutboundA
name: String,
attributType: AccountAttributeType.Value,
value: String)
case class InBoundCreateOrUpdateAccountAttribute (adapterCallContext: OutboundAdapterCallContext, data: AccountAttributeCommons)
case class InBoundCreateOrUpdateAccountAttribute (inboundAdapterCallContext: InboundAdapterCallContext, data: AccountAttributeCommons)
case class OutBoundCreateAccountApplication (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateAccountApplication (outboundAdapterCallContext: OutboundAdapterCallContext,
productCode: ProductCode,
userId: Option[String],
customerId: Option[String])
case class InBoundCreateAccountApplication (adapterCallContext: OutboundAdapterCallContext, data: AccountApplicationCommons)
case class InBoundCreateAccountApplication (inboundAdapterCallContext: InboundAdapterCallContext, data: AccountApplicationCommons)
case class OutBoundGetAllAccountApplication (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAllAccountApplication (adapterCallContext: OutboundAdapterCallContext, data: List[AccountApplicationCommons])
case class OutBoundGetAllAccountApplication (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAllAccountApplication (inboundAdapterCallContext: InboundAdapterCallContext, data: List[AccountApplicationCommons])
case class OutBoundGetAccountApplicationById (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetAccountApplicationById (outboundAdapterCallContext: OutboundAdapterCallContext,
accountApplicationId: String)
case class InBoundGetAccountApplicationById (adapterCallContext: OutboundAdapterCallContext, data: AccountApplicationCommons)
case class InBoundGetAccountApplicationById (inboundAdapterCallContext: InboundAdapterCallContext, data: AccountApplicationCommons)
case class OutBoundUpdateAccountApplicationStatus (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundUpdateAccountApplicationStatus (outboundAdapterCallContext: OutboundAdapterCallContext,
accountApplicationId: String,
status: String)
case class InBoundUpdateAccountApplicationStatus (adapterCallContext: OutboundAdapterCallContext, data: AccountApplicationCommons)
case class InBoundUpdateAccountApplicationStatus (inboundAdapterCallContext: InboundAdapterCallContext, data: AccountApplicationCommons)
case class OutBoundGetOrCreateProductCollection (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetOrCreateProductCollection (outboundAdapterCallContext: OutboundAdapterCallContext,
collectionCode: String,
productCodes: List[String])
case class InBoundGetOrCreateProductCollection (adapterCallContext: OutboundAdapterCallContext, data: List[ProductCollectionCommons])
case class InBoundGetOrCreateProductCollection (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductCollectionCommons])
case class OutBoundGetProductCollection (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProductCollection (outboundAdapterCallContext: OutboundAdapterCallContext,
collectionCode: String)
case class InBoundGetProductCollection (adapterCallContext: OutboundAdapterCallContext, data: List[ProductCollectionCommons])
case class InBoundGetProductCollection (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductCollectionCommons])
case class OutBoundGetOrCreateProductCollectionItem (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetOrCreateProductCollectionItem (outboundAdapterCallContext: OutboundAdapterCallContext,
collectionCode: String,
memberProductCodes: List[String])
case class InBoundGetOrCreateProductCollectionItem (adapterCallContext: OutboundAdapterCallContext, data: List[ProductCollectionItemCommons])
case class InBoundGetOrCreateProductCollectionItem (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductCollectionItemCommons])
case class OutBoundGetProductCollectionItem (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProductCollectionItem (outboundAdapterCallContext: OutboundAdapterCallContext,
collectionCode: String)
case class InBoundGetProductCollectionItem (adapterCallContext: OutboundAdapterCallContext, data: List[ProductCollectionItemCommons])
case class InBoundGetProductCollectionItem (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductCollectionItemCommons])
case class OutBoundGetProductCollectionItemsTree (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProductCollectionItemsTree (outboundAdapterCallContext: OutboundAdapterCallContext,
collectionCode: String,
bankId: String)
case class InBoundGetProductCollectionItemsTree (adapterCallContext: OutboundAdapterCallContext, data: List[(ProductCollectionItemCommons, ProductCommons, List[ProductAttributeCommons])])
case class InBoundGetProductCollectionItemsTree (inboundAdapterCallContext: InboundAdapterCallContext, data: List[(ProductCollectionItemCommons, ProductCommons, List[ProductAttributeCommons])])
case class OutBoundCreateMeeting (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateMeeting (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
staffUser: User, //TODO fixme
customerUser: User, //TODO fixme
@ -467,141 +434,141 @@ case class OutBoundCreateMeeting (adapterCallContext: OutboundAdapterCallContext
staffToken: String,
creator: ContactDetails,
invitees: List[Invitee])
case class InBoundCreateMeeting (adapterCallContext: OutboundAdapterCallContext, data: MeetingCommons)
case class InBoundCreateMeeting (inboundAdapterCallContext: InboundAdapterCallContext, data: MeetingCommons)
case class OutBoundGetMeetings (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetMeetings (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
user: User) //TODO fixme
case class InBoundGetMeetings (adapterCallContext: OutboundAdapterCallContext, data: List[MeetingCommons])
case class InBoundGetMeetings (inboundAdapterCallContext: InboundAdapterCallContext, data: List[MeetingCommons])
case class OutBoundGetMeeting (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetMeeting (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
user: User, //TODO fixme
meetingId: String)
case class InBoundGetMeeting (adapterCallContext: OutboundAdapterCallContext, data: MeetingCommons)
case class InBoundGetMeeting (inboundAdapterCallContext: InboundAdapterCallContext, data: MeetingCommons)
case class OutBoundGetUser(adapterCallContext: OutboundAdapterCallContext, name: String, password: String)
case class OutBoundGetUser (outboundAdapterCallContext: OutboundAdapterCallContext, name: String, password: String)
case class InBoundGetUser(adapterCallContext: OutboundAdapterCallContext, data: InboundUser)
case class InBoundGetUser (inboundAdapterCallContext: InboundAdapterCallContext, data: InboundUser)
//create bound case classes
case class OutBoundCreateChallenge(adapterCallContext: OutboundAdapterCallContext, bankId: BankId, accountId: AccountId, userId: String, transactionRequestType: TransactionRequestType, transactionRequestId: String)
case class OutBoundCreateChallenge (outboundAdapterCallContext: OutboundAdapterCallContext, bankId: BankId, accountId: AccountId, userId: String, transactionRequestType: TransactionRequestType, transactionRequestId: String)
case class InBoundCreateChallenge(adapterCallContext: OutboundAdapterCallContext, data: String)
case class InBoundCreateChallenge (inboundAdapterCallContext: InboundAdapterCallContext, data: String)
case class OutBoundCreateCounterparty(adapterCallContext: OutboundAdapterCallContext, name: String, description: String, createdByUserId: String, thisBankId: String, thisAccountId: String, thisViewId: String, otherAccountRoutingScheme: String, otherAccountRoutingAddress: String, otherAccountSecondaryRoutingScheme: String, otherAccountSecondaryRoutingAddress: String, otherBankRoutingScheme: String, otherBankRoutingAddress: String, otherBranchRoutingScheme: String, otherBranchRoutingAddress: String, isBeneficiary: Boolean, bespoke: List[CounterpartyBespoke])
case class OutBoundCreateCounterparty (outboundAdapterCallContext: OutboundAdapterCallContext, name: String, description: String, createdByUserId: String, thisBankId: String, thisAccountId: String, thisViewId: String, otherAccountRoutingScheme: String, otherAccountRoutingAddress: String, otherAccountSecondaryRoutingScheme: String, otherAccountSecondaryRoutingAddress: String, otherBankRoutingScheme: String, otherBankRoutingAddress: String, otherBranchRoutingScheme: String, otherBranchRoutingAddress: String, isBeneficiary: Boolean, bespoke: List[CounterpartyBespoke])
case class InBoundCreateCounterparty(adapterCallContext: OutboundAdapterCallContext, data: CounterpartyTraitCommons)
case class InBoundCreateCounterparty (inboundAdapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class OutBoundGetTransactionRequests210(adapterCallContext: OutboundAdapterCallContext, initiator : User, fromAccount : BankAccount)
case class OutBoundGetTransactionRequests210 (outboundAdapterCallContext: OutboundAdapterCallContext, initiator : User, fromAccount : BankAccount)
case class InBoundGetTransactionRequests210(adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequest])
case class InBoundGetTransactionRequests210 (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequest])
case class OutBoundGetTransactionsCore(bankId: BankId, accountID: AccountId, limit: Int, offset: Int, fromDate: String, toDate: String)
case class InBoundGetTransactionsCore(adapterCallContext: OutboundAdapterCallContext, data: List[TransactionCore])
case class InBoundGetTransactionsCore (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionCore])
case class OutBoundGetTransactions(bankId: BankId, accountID: AccountId, limit: Int, offset: Int, fromDate: String, toDate: String)
case class InBoundGetTransactions(adapterCallContext: OutboundAdapterCallContext, data: List[Transaction])
case class InBoundGetTransactions (inboundAdapterCallContext: InboundAdapterCallContext, data: List[Transaction])
//-------- return type are not Future--------------------------------------------------------------------------------------------------
case class OutBoundGetAdapterInfo (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAdapterInfo (adapterCallContext: OutboundAdapterCallContext, data: InboundAdapterInfoInternal)
case class OutBoundGetAdapterInfo (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetAdapterInfo (inboundAdapterCallContext: InboundAdapterCallContext, data: InboundAdapterInfoInternal)
case class OutBoundGetBank (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBank (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetBank (adapterCallContext: OutboundAdapterCallContext, data: BankCommons)
case class InBoundGetBank (inboundAdapterCallContext: InboundAdapterCallContext, data: BankCommons)
case class OutBoundGetBanks (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetBanks (adapterCallContext: OutboundAdapterCallContext, data: List[BankCommons])
case class OutBoundGetBanks (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetBanks (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BankCommons])
case class OutBoundGetBankAccounts (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccounts (outboundAdapterCallContext: OutboundAdapterCallContext,
accounts: List[(BankId, AccountId)])
case class InBoundGetBankAccounts (adapterCallContext: OutboundAdapterCallContext, data: List[BankAccountCommons])
case class InBoundGetBankAccounts (inboundAdapterCallContext: InboundAdapterCallContext, data: List[BankAccountCommons])
case class OutBoundGetBankAccountsByUsername (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccountsByUsername (outboundAdapterCallContext: OutboundAdapterCallContext,
username: String)
case class InBoundGetBankAccountsByUsername (adapterCallContext: OutboundAdapterCallContext, data: List[InboundAccountCommonCommons])
case class InBoundGetBankAccountsByUsername (inboundAdapterCallContext: InboundAdapterCallContext, data: List[InboundAccountCommonCommons])
case class OutBoundGetCoreBankAccounts (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCoreBankAccounts (outboundAdapterCallContext: OutboundAdapterCallContext,
bankIdAccountIds: List[BankIdAccountId])
case class InBoundGetCoreBankAccounts (adapterCallContext: OutboundAdapterCallContext, data: List[CoreAccount])
case class InBoundGetCoreBankAccounts (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CoreAccount])
case class OutBoundGetBankAccountsHeld (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBankAccountsHeld (outboundAdapterCallContext: OutboundAdapterCallContext,
bankIdAccountIds: List[BankIdAccountId])
case class InBoundGetBankAccountsHeld (adapterCallContext: OutboundAdapterCallContext, data: List[AccountHeld])
case class InBoundGetBankAccountsHeld (inboundAdapterCallContext: InboundAdapterCallContext, data: List[AccountHeld])
case class OutBoundCheckBankAccountExists (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCheckBankAccountExists (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId)
case class InBoundCheckBankAccountExists (adapterCallContext: OutboundAdapterCallContext, data: BankAccountCommons)
case class InBoundCheckBankAccountExists (inboundAdapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class OutBoundGetEmptyBankAccount (adapterCallContext: OutboundAdapterCallContext)
case class InBoundGetEmptyBankAccount (adapterCallContext: OutboundAdapterCallContext, data: BankAccountCommons)
case class OutBoundGetEmptyBankAccount (outboundAdapterCallContext: OutboundAdapterCallContext)
case class InBoundGetEmptyBankAccount (inboundAdapterCallContext: InboundAdapterCallContext, data: BankAccountCommons)
case class OutBoundGetCounterpartyFromTransaction (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartyFromTransaction (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
counterpartyId: String)
case class InBoundGetCounterpartyFromTransaction (adapterCallContext: OutboundAdapterCallContext, data: Counterparty)
case class InBoundGetCounterpartyFromTransaction (inboundAdapterCallContext: InboundAdapterCallContext, data: Counterparty)
case class OutBoundGetCounterpartiesFromTransaction (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartiesFromTransaction (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId)
case class InBoundGetCounterpartiesFromTransaction (adapterCallContext: OutboundAdapterCallContext, data: List[Counterparty])
case class InBoundGetCounterpartiesFromTransaction (inboundAdapterCallContext: InboundAdapterCallContext, data: List[Counterparty])
case class OutBoundGetCounterparty (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterparty (outboundAdapterCallContext: OutboundAdapterCallContext,
thisBankId: BankId,
thisAccountId: AccountId,
couterpartyId: String)
case class InBoundGetCounterparty (adapterCallContext: OutboundAdapterCallContext, data: Counterparty)
case class InBoundGetCounterparty (inboundAdapterCallContext: InboundAdapterCallContext, data: Counterparty)
case class OutBoundGetCounterpartyByCounterpartyId (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterpartyByCounterpartyId (outboundAdapterCallContext: OutboundAdapterCallContext,
counterpartyId: CounterpartyId)
case class InBoundGetCounterpartyByCounterpartyId (adapterCallContext: OutboundAdapterCallContext, data: CounterpartyTraitCommons)
case class InBoundGetCounterpartyByCounterpartyId (inboundAdapterCallContext: InboundAdapterCallContext, data: CounterpartyTraitCommons)
case class OutBoundGetCounterparties (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCounterparties (outboundAdapterCallContext: OutboundAdapterCallContext,
thisBankId: BankId,
thisAccountId: AccountId,
viewId: ViewId)
case class InBoundGetCounterparties (adapterCallContext: OutboundAdapterCallContext, data: List[CounterpartyTraitCommons])
case class InBoundGetCounterparties (inboundAdapterCallContext: InboundAdapterCallContext, data: List[CounterpartyTraitCommons])
case class OutBoundGetTransaction (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransaction (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountID: AccountId,
transactionId: TransactionId)
case class InBoundGetTransaction (adapterCallContext: OutboundAdapterCallContext, data: TransactionCommons)
case class InBoundGetTransaction (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionCommons)
case class OutBoundGetPhysicalCards (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetPhysicalCards (outboundAdapterCallContext: OutboundAdapterCallContext,
user: User)
case class InBoundGetPhysicalCards (adapterCallContext: OutboundAdapterCallContext, data: List[PhysicalCard])
case class InBoundGetPhysicalCards (inboundAdapterCallContext: InboundAdapterCallContext, data: List[PhysicalCard])
case class OutBoundGetPhysicalCardsForBank (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetPhysicalCardsForBank (outboundAdapterCallContext: OutboundAdapterCallContext,
bank: Bank,
user: User)
case class InBoundGetPhysicalCardsForBank (adapterCallContext: OutboundAdapterCallContext, data: List[PhysicalCard])
case class InBoundGetPhysicalCardsForBank (inboundAdapterCallContext: InboundAdapterCallContext, data: List[PhysicalCard])
case class OutBoundCreateOrUpdatePhysicalCard (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateOrUpdatePhysicalCard (outboundAdapterCallContext: OutboundAdapterCallContext,
bankCardNumber: String,
nameOnCard: String,
issueNumber: String,
@ -620,20 +587,20 @@ case class OutBoundCreateOrUpdatePhysicalCard (adapterCallContext: OutboundAdapt
pinResets: List[PinResetInfo],
collected: Option[CardCollectionInfo],
posted: Option[CardPostedInfo])
case class InBoundCreateOrUpdatePhysicalCard (adapterCallContext: OutboundAdapterCallContext, data: PhysicalCard)
case class InBoundCreateOrUpdatePhysicalCard (inboundAdapterCallContext: InboundAdapterCallContext, data: PhysicalCard)
case class OutBoundMakePayment (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundMakePayment (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
fromAccountUID: BankIdAccountId,
toAccountUID: BankIdAccountId,
amt: BigDecimal,
description: String,
transactionRequestType: TransactionRequestType)
case class InBoundMakePayment (adapterCallContext: OutboundAdapterCallContext, data: TransactionId)
case class InBoundMakePayment (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionId)
case class OutBoundMakePaymentv200 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundMakePaymentv200 (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestCommonBody: TransactionRequestCommonBodyJSON,
@ -641,10 +608,10 @@ case class OutBoundMakePaymentv200 (adapterCallContext: OutboundAdapterCallConte
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy: String)
case class InBoundMakePaymentv200 (adapterCallContext: OutboundAdapterCallContext, data: TransactionId)
case class InBoundMakePaymentv200 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionId)
case class OutBoundMakePaymentImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundMakePaymentImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestCommonBody: TransactionRequestCommonBodyJSON,
@ -652,28 +619,28 @@ case class OutBoundMakePaymentImpl (adapterCallContext: OutboundAdapterCallConte
description: String,
transactionRequestType: TransactionRequestType,
chargePolicy: String)
case class InBoundMakePaymentImpl (adapterCallContext: OutboundAdapterCallContext, data: TransactionId)
case class InBoundMakePaymentImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionId)
case class OutBoundCreateTransactionRequest (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequest (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestType: TransactionRequestType,
body: TransactionRequestBody)
case class InBoundCreateTransactionRequest (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequest (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateTransactionRequestv200 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequestv200 (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequestType: TransactionRequestType,
body: TransactionRequestBody)
case class InBoundCreateTransactionRequestv200 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequestv200 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateTransactionRequestImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequestImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
transactionRequestId: TransactionRequestId,
transactionRequestType: TransactionRequestType,
fromAccount: BankAccount,
@ -681,10 +648,10 @@ case class OutBoundCreateTransactionRequestImpl (adapterCallContext: OutboundAda
body: TransactionRequestBody,
status: String,
charge: TransactionRequestCharge)
case class InBoundCreateTransactionRequestImpl (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequestImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateTransactionRequestImpl210 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionRequestImpl210 (outboundAdapterCallContext: OutboundAdapterCallContext,
transactionRequestId: TransactionRequestId,
transactionRequestType: TransactionRequestType,
fromAccount: BankAccount,
@ -694,65 +661,65 @@ case class OutBoundCreateTransactionRequestImpl210 (adapterCallContext: Outbound
status: String,
charge: TransactionRequestCharge,
chargePolicy: String)
case class InBoundCreateTransactionRequestImpl210 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionRequestImpl210 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundGetTransactionRequests (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequests (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
fromAccount: BankAccount)
case class InBoundGetTransactionRequests (adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequest])
case class InBoundGetTransactionRequests (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequest])
case class OutBoundGetTransactionRequestStatuses (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestStatuses (outboundAdapterCallContext: OutboundAdapterCallContext,
)
case class InBoundGetTransactionRequestStatuses (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequestStatusCommons)
case class InBoundGetTransactionRequestStatuses (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequestStatusCommons)
case class OutBoundGetTransactionRequestStatusesImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestStatusesImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
)
case class InBoundGetTransactionRequestStatusesImpl (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequestStatusCommons)
case class InBoundGetTransactionRequestStatusesImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequestStatusCommons)
case class OutBoundGetTransactionRequestsImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestsImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount)
case class InBoundGetTransactionRequestsImpl (adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequest])
case class InBoundGetTransactionRequestsImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequest])
case class OutBoundGetTransactionRequestsImpl210 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestsImpl210 (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount)
case class InBoundGetTransactionRequestsImpl210 (adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequest])
case class InBoundGetTransactionRequestsImpl210 (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequest])
case class OutBoundGetTransactionRequestImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
transactionRequestId: TransactionRequestId)
case class InBoundGetTransactionRequestImpl (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundGetTransactionRequestImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundGetTransactionRequestTypes (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestTypes (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
fromAccount: BankAccount)
case class InBoundGetTransactionRequestTypes (adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequestType])
case class InBoundGetTransactionRequestTypes (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequestType])
case class OutBoundGetTransactionRequestTypesImpl (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestTypesImpl (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount)
case class InBoundGetTransactionRequestTypesImpl (adapterCallContext: OutboundAdapterCallContext, data: List[TransactionRequestType])
case class InBoundGetTransactionRequestTypesImpl (inboundAdapterCallContext: InboundAdapterCallContext, data: List[TransactionRequestType])
case class OutBoundCreateTransactionAfterChallenge (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionAfterChallenge (outboundAdapterCallContext: OutboundAdapterCallContext,
initiator: User,
transReqId: TransactionRequestId)
case class InBoundCreateTransactionAfterChallenge (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionAfterChallenge (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateTransactionAfterChallengev200 (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateTransactionAfterChallengev200 (outboundAdapterCallContext: OutboundAdapterCallContext,
fromAccount: BankAccount,
toAccount: BankAccount,
transactionRequest: TransactionRequest)
case class InBoundCreateTransactionAfterChallengev200 (adapterCallContext: OutboundAdapterCallContext, data: TransactionRequest)
case class InBoundCreateTransactionAfterChallengev200 (inboundAdapterCallContext: InboundAdapterCallContext, data: TransactionRequest)
case class OutBoundCreateBankAndAccount (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateBankAndAccount (outboundAdapterCallContext: OutboundAdapterCallContext,
bankName: String,
bankNationalIdentifier: String,
accountNumber: String,
@ -763,21 +730,21 @@ case class OutBoundCreateBankAndAccount (adapterCallContext: OutboundAdapterCall
branchId: String,
accountRoutingScheme: String,
accountRoutingAddress: String)
case class InBoundCreateBankAndAccount (adapterCallContext: OutboundAdapterCallContext, data: (BankCommons, BankAccountCommons))
case class InBoundCreateBankAndAccount (inboundAdapterCallContext: InboundAdapterCallContext, data: (BankCommons, BankAccountCommons))
case class OutBoundGetProducts (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProducts (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId)
case class InBoundGetProducts (adapterCallContext: OutboundAdapterCallContext, data: List[ProductCommons])
case class InBoundGetProducts (inboundAdapterCallContext: InboundAdapterCallContext, data: List[ProductCommons])
case class OutBoundGetProduct (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetProduct (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
productCode: ProductCode)
case class InBoundGetProduct (adapterCallContext: OutboundAdapterCallContext, data: ProductCommons)
case class InBoundGetProduct (inboundAdapterCallContext: InboundAdapterCallContext, data: ProductCommons)
case class OutBoundCreateOrUpdateBank (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateOrUpdateBank (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: String,
fullBankName: String,
shortBankName: String,
@ -787,10 +754,10 @@ case class OutBoundCreateOrUpdateBank (adapterCallContext: OutboundAdapterCallCo
national_identifier: String,
bankRoutingScheme: String,
bankRoutingAddress: String)
case class InBoundCreateOrUpdateBank (adapterCallContext: OutboundAdapterCallContext, data: BankCommons)
case class InBoundCreateOrUpdateBank (inboundAdapterCallContext: InboundAdapterCallContext, data: BankCommons)
case class OutBoundCreateOrUpdateProduct (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundCreateOrUpdateProduct (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: String,
code: String,
parentProductCode: Option[String],
@ -803,28 +770,28 @@ case class OutBoundCreateOrUpdateProduct (adapterCallContext: OutboundAdapterCal
description: String,
metaLicenceId: String,
metaLicenceName: String)
case class InBoundCreateOrUpdateProduct (adapterCallContext: OutboundAdapterCallContext, data: ProductCommons)
case class InBoundCreateOrUpdateProduct (inboundAdapterCallContext: InboundAdapterCallContext, data: ProductCommons)
case class OutBoundGetBranch (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetBranch (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
branchId: BranchId)
case class InBoundGetBranch (adapterCallContext: OutboundAdapterCallContext, data: BranchTCommons)
case class InBoundGetBranch (inboundAdapterCallContext: InboundAdapterCallContext, data: BranchTCommons)
case class OutBoundGetAtm (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetAtm (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
atmId: AtmId)
case class InBoundGetAtm (adapterCallContext: OutboundAdapterCallContext, data: AtmTCommons)
case class InBoundGetAtm (inboundAdapterCallContext: InboundAdapterCallContext, data: AtmTCommons)
case class OutBoundGetTransactionRequestTypeCharge (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetTransactionRequestTypeCharge (outboundAdapterCallContext: OutboundAdapterCallContext,
bankId: BankId,
accountId: AccountId,
viewId: ViewId,
transactionRequestType: TransactionRequestType)
case class OutBoundGetCustomerByCustomerId (adapterCallContext: OutboundAdapterCallContext,
case class OutBoundGetCustomerByCustomerId (outboundAdapterCallContext: OutboundAdapterCallContext,
customerId: String)
case class InBoundGetCustomerByCustomerId (adapterCallContext: OutboundAdapterCallContext, data: CustomerCommons)
case class InBoundGetCustomerByCustomerId (inboundAdapterCallContext: InboundAdapterCallContext, data: CustomerCommons)