Skip to content

Commit

Permalink
remove CardPreRegistration
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Sep 20, 2024
1 parent 18b9c71 commit 07814c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
17 changes: 4 additions & 13 deletions client/src/main/protobuf/model/payment/transaction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -252,22 +252,13 @@ message PayInWithPreAuthorization {
optional string preRegistrationId = 10;
}

message CardPreRegistration{
option (scalapb.message).extends = "ProtobufDomainObject";
required string id = 1;
required string accessKey = 2;
required string preregistrationData = 3;
required string cardRegistrationURL = 4;
required bool registerCard = 5;
}

message PreRegistration{
option (scalapb.message).extends = "ProtobufDomainObject";
required string id = 1;
required string secretKey = 2;
optional string registrationData = 3;
optional string registrationURL = 4;
required bool registerMeansOfPayment = 5;
required string secretKey = 2; // replace accessKey
optional string registrationData = 3; // replace preregistrationData
optional string registrationURL = 4; // replace cardRegistrationURL
required bool registerMeansOfPayment = 5; // replace registerCard
}

message RecurringPaymentTransaction{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import app.softnetwork.payment.model.{
Address,
Business,
BusinessSupport,
CardPreRegistration,
LegalUser,
NaturalUser,
PreRegistration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import app.softnetwork.payment.message.PaymentMessages.{
import app.softnetwork.payment.model.{
computeExternalUuidWithProfile,
BankAccount,
CardPreRegistration,
LegalUser,
PreRegistration,
RecurringPayment,
Expand Down

0 comments on commit 07814c5

Please sign in to comment.