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