Esempio n. 1
0
 public static Package CreatePickup(string postal)
 {
     return(new Package
     {
         Airbill = AirBillGenerator.Create(),
         Origin = AddressGenerator.Create(postal),
         Destination = AddressGenerator.Create(),
         Service = Service,
         Recipient = CreateContact(),
         Shipper = CreateContact(),
         Dimensions = Dimension
     });
 }
Esempio n. 2
0
 public static Package Create()
 {
     return(new Package
     {
         Airbill = AirBillGenerator.Create(),
         Origin = AddressGenerator.Create(),
         Destination = AddressGenerator.Create(),
         Service = Service,
         Dimensions = Dimension,
         Signature = Signature,
         Recipient = CreateContact(),
         Shipper = CreateContact()
     });
 }