Exemplo 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
     });
 }
Exemplo 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()
     });
 }