Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Typo fix #1

Closed
wants to merge 5 commits into from
This page is out of date. Refresh to see the latest.
Showing with 54 additions and 57 deletions.
  1. +54 −57 shipping/src/main/avro/Shipping.avdl
View
111 shipping/src/main/avro/Shipping.avdl
@@ -1,7 +1,7 @@
@namespace("com.x.shipping.v0")
/**
- The shipping protocol defines the schema for all messages
+ The shipping protocol defines the schema for all messages
that are part of the shipping domain.
*/
@status("Working Draft")
@@ -10,66 +10,66 @@ protocol Shipping {
import idl "Name.avdl";
import idl "Address.avdl";
import idl "Contact.avdl";
-
+
enum DimensionUnitType {
- Inches,
- Centimeters
+ Inches,
+ Centimeters
}
-
+
enum WeightUnitType {
- Pounds,
- Kilograms
- }
+ Pounds,
+ Kilograms
+ }
enum PackagingMethodType {
- Together,
- Separately
+ Together,
+ Separately
}
-
+
enum SignatureOptionType {
- SignatureRequired,
- NoSignatureRequired,
- Direct,
- Indirect
+ SignatureRequired,
+ NoSignatureRequired,
+ Direct,
+ Indirect
}
-
+
enum PackageType {
- Box,
- Envelope,
- Tube,
- Other
- }
+ Box,
+ Envelope,
+ Tube,
+ Other
+ }
enum PackageSizeType {
- Regular,
- Large,
- Oversize
+ Regular,
+ Large,
+ Oversize
}
-
+
enum HandoffModeType {
- Pickup,
- DropOff
+ Pickup,
+ DropOff
}
-
+
enum ServiceClassType {
- NextDayAir,
- SecondaryDayAir,
- ThirdDay,
- StandardAir,
- Ground
- }
-
- enum PrinterType {
- Thermal,
- InkJet,
- Laser
- }
+ NextDayAir,
+ SecondaryDayAir,
+ ThirdDay,
+ StandardAir,
+ Ground
+ }
+
+ enum PrinterType {
+ Thermal,
+ InkJet,
+ Laser
+ }
enum LabelImageType {
EncodedString,
Url
}
-
+
record Package {
string description;
double weight;
@@ -92,7 +92,7 @@ protocol Shipping {
string phoneExtension;
string emailAddress;
}
-
+
record CustomsItem {
string originCountry;
double weightMajor;
@@ -103,7 +103,7 @@ protocol Shipping {
int quantity;
string description;
}
-
+
record CustomsForm {
string licenseNumber;
string itemDetail;
@@ -114,34 +114,34 @@ protocol Shipping {
string eelpfc;
array<CustomsItem> items;
}
-
+
record ShippingService {
string name;
string code;
ServiceClassType serviceClass;
double maxPackageWeight;
}
-
+
record ShippingServices {
array<ShippingService> services;
}
-
+
record SpecialService {
string name;
string description;
com.x.ocl.CurrencyAmount fee;
}
-
+
record SpecialServices {
array<SpecialService> services;
}
-
+
record CarrierHandoffMode {
string Code;
string Description;
HandoffModeType handoffMode;
}
-
+
record Carrier {
string name;
string code;
@@ -162,9 +162,9 @@ protocol Shipping {
HandoffModeType carrierHandoffMode;
ShippingServices shippingServices;
array<SpecialService> specialServices;
- string carrierCode;
+ string carrierCode;
}
-
+
record ShippingLabelParameters {
Shipment shipment;
long shipDate;
@@ -175,7 +175,7 @@ protocol Shipping {
boolean receipt;
CustomsForm customs;
}
-
+
record TrackingNumber {
string trackingNumber;
}
@@ -187,11 +187,8 @@ protocol Shipping {
string imageUrl;
com.x.ocl.CurrencyAmount cost;
}
-
+
record ShippingLabels {
array<ShippingLabel> labels;
- }
+ }
}
-
-
-
Something went wrong with that request. Please try again.