Skip to content

Commit

Permalink
fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
havan committed Aug 23, 2024
1 parent 6724a7e commit c6761dc
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
22 changes: 10 additions & 12 deletions proto/cmp/services/activity/v1alpha/activity_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand 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;

Expand All @@ -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;

Expand All @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion proto/cmp/services/activity/v1alpha/info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions proto/cmp/services/activity/v1alpha/search.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
9 changes: 5 additions & 4 deletions proto/cmp/types/v1alpha/price_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit c6761dc

Please sign in to comment.