Skip to content

Commit

Permalink
Merge pull request #51 from w-h-a/payment-proto-2
Browse files Browse the repository at this point in the history
refactor: payment proto
  • Loading branch information
w-h-a authored Jul 19, 2024
2 parents 8892023 + 92631d6 commit 015447f
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 25 deletions.
173 changes: 151 additions & 22 deletions proto/payment/payment.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions proto/payment/payment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ message Payment {

// create request/response
message CreateRequest {
string orderKey = 1;
string token = 2;
string paymentToken = 1;
string orderKey = 2;
}

message CreateResponse {}
message CreateResponse {}

// read request/response
message ReadRequest {
string suffix = 1;
}

message ReadResponse {
repeated Payment payments = 1;
}

0 comments on commit 015447f

Please sign in to comment.