diff --git a/proto/cmp/services/activity/v1alpha/activity_types.proto b/proto/cmp/services/activity/v1alpha/activity_types.proto index 9237be28..c06237b5 100644 --- a/proto/cmp/services/activity/v1alpha/activity_types.proto +++ b/proto/cmp/services/activity/v1alpha/activity_types.proto @@ -49,7 +49,7 @@ message Activity { // // Several different packages could be included like "Windsurfing" with or without // "Wetsuit". Code and description match the information provided in the - // ProductInfo message These are in general also supplier specific + // ProductInfo message These are in general also supplier specific. string service_code = 6; // Status of the result, whether it is immediately bookable or not @@ -99,10 +99,10 @@ message ActivityExtendedInfo { // Activity static info Activity activity = 1; - // available Units + // Available Units repeated ActivityUnit units = 2; - // available Services + // Available Services repeated ActivityService services = 3; // Transfer Zone(s) in which participants of the activity can be used for pick-up @@ -187,11 +187,10 @@ message ActivityExtendedInfo { repeated cmp.types.v1alpha.RedemptionMethod redemption_methods = 29; } +// The unit gives us a choice of the different options that are available in an +// activity, like for example a normal ticket or a VIP ticket. a 2 hour or 4 hour +// jeep safari. A ticket to a specific section of a stadium. message ActivityUnit { - // The unit gives us a choice of the different options that are available in an - // activity, like for example a normal ticket or a VIP ticket. a 2 hour or 4 hour - // jeep safari. A ticket to a specific section of a stadium. - // //Schedule cmp.types.v1alpha.DateTimeRange schedule = 1; @@ -205,11 +204,10 @@ message ActivityUnit { string description = 4; } +// Services can be selected like do we go to the activity by ourselves or is a +// transfer from our hotel included. Do we book the VIP ticket with or without +// alcoholic drinks included? message ActivityService { - // Services can be selected like do we go to the activity by ourselves or is a - // transfer from our hotel included. Do we book the VIP ticket with or without - // alcoholic drinks included? - // // Service Code string code = 1; @@ -222,7 +220,7 @@ message ActivityService { // Included items in the activity service repeated string included = 4; - // Encluded items in the activity service + // Excluded items in the activity service repeated string excluded = 5; } diff --git a/proto/cmp/services/activity/v1alpha/info.proto b/proto/cmp/services/activity/v1alpha/info.proto index c52d0e9b..81655078 100644 --- a/proto/cmp/services/activity/v1alpha/info.proto +++ b/proto/cmp/services/activity/v1alpha/info.proto @@ -13,7 +13,7 @@ message ActivityProductInfoRequest { cmp.types.v1alpha.RequestHeader header = 1; // Only respond with the products that are new, modified or deactivated after this - // timestamp + // timestamp. google.protobuf.Timestamp modified_after = 2; // Languages to be included in the response for descriptions. Null means all diff --git a/proto/cmp/services/activity/v1alpha/search.proto b/proto/cmp/services/activity/v1alpha/search.proto index eaff9105..ad1b89f1 100644 --- a/proto/cmp/services/activity/v1alpha/search.proto +++ b/proto/cmp/services/activity/v1alpha/search.proto @@ -2,7 +2,7 @@ syntax = "proto3"; // ### Activity Services // -// The Activity services are used for both tickets and excursions +// The Activity services are used for both tickets and excursions. // // Any search message response in the Camino Messenger Protocol only includes // dynamic data in the search, validate and mint process. Static data can be cached @@ -48,7 +48,7 @@ import "cmp/types/v1alpha/traveller.proto"; // Search request for Activities message ActivitySearchRequest { // Message header. Contains API version, message info string and end-user wallet - // address + // address. cmp.types.v1alpha.RequestHeader header = 1; // Search request metadata @@ -107,8 +107,9 @@ message ActivitySearchRequest { // This one of field enforces only one of the fields below. They all share memory, // setting one will remove the others. oneof service_location { - // The code and code type of a stay location the distributor will be able to process - // Ex. Google Place ID, Foursquare fsq_id, OpenStreetMap Ref, Here ID or any other agreed code type. + // The code and code type of a stay location the distributor will be able to + // process. Ex. Google Place ID, Foursquare fsq_id, OpenStreetMap Ref, Here ID or + // any other agreed code type. cmp.types.v1alpha.LocationCodes service_location_codes = 12; // Single geographic point represented by two double fields. diff --git a/proto/cmp/types/v1alpha/price_type.proto b/proto/cmp/types/v1alpha/price_type.proto index bb3c37c4..4fe145cc 100644 --- a/proto/cmp/types/v1alpha/price_type.proto +++ b/proto/cmp/types/v1alpha/price_type.proto @@ -2,7 +2,8 @@ syntax = "proto3"; package cmp.types.v1alpha; -// the ChargeType defines whether a price is per person, per group or per unit. Enum might be amended upon request. +// The ChargeType defines whether a price is per person, per group or per unit. Enum +// might be amended upon request. enum ChargeType { CHARGE_TYPE_UNSPECIFIED = 0; CHARGE_TYPE_PER_PERSON = 1; @@ -14,13 +15,13 @@ enum ChargeType { // want to specify the different elements of how a total price was computed. message PriceTypeCode { // Type code of the price for traceability towards data in the inventory system or - // contract + // contract. string code = 1; // A price type can be a type of service or product delivered or form part of the - // fee or tax breakdown + // fee or tax breakdown. oneof type { - // detailing whether the price component is the base (room, flight seat, + // Detailing whether the price component is the base (room, flight seat, // ticket), a unit or a service surcharge or even a negative application of an // offer or a discount. PriceType price_type = 2;