Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostService" /> class.
 /// </summary>
 /// <param name="serviceType">The service type.</param>
 public PostService(PostServiceType serviceType)
 {
     ServiceType = serviceType;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvoiceServiceItem" /> class.
 /// </summary>
 /// <param name="serviceType">The service type.</param>
 /// <param name="serviceCost">The cost of the postal service.</param>
 public InvoiceServiceItem(PostServiceType serviceType, decimal serviceCost)
 {
     ServiceType = serviceType;
     Cost        = serviceCost;
 }