From 65e685915cd29a65947090aa9c00acf305cf1667 Mon Sep 17 00:00:00 2001 From: Sam Jaarsma C4T Date: Wed, 6 Nov 2024 10:59:43 +0100 Subject: [PATCH] added cancellable boolean --- proto/cmp/services/book/v2/mint.proto | 2 +- proto/cmp/services/book/v3/mint.proto | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/proto/cmp/services/book/v2/mint.proto b/proto/cmp/services/book/v2/mint.proto index 3f53b3b..65a7bdf 100644 --- a/proto/cmp/services/book/v2/mint.proto +++ b/proto/cmp/services/book/v2/mint.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package cmp.services.book.v2; +package cmp.services.book.v3; import "cmp/types/v1/common.proto"; import "cmp/types/v1/language.proto"; diff --git a/proto/cmp/services/book/v3/mint.proto b/proto/cmp/services/book/v3/mint.proto index a0af758..3523d06 100644 --- a/proto/cmp/services/book/v3/mint.proto +++ b/proto/cmp/services/book/v3/mint.proto @@ -94,6 +94,11 @@ message MintResponse { // // This field is not meant for the supplier. string buy_transaction_id = 11; + + // This field indicates whether the booking can be cancelled. If this field + // is not used, the default value is false, whick means the booking cannot be + // cancelled. + bool cancellable = 12; } // ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/book/v3/mint.proto.dot.xs.svg)