Exemplo n.º 1
0
 static Address createPartialAddress(String addressId, String displayName) {
   Address addr = new Address();
   addr.addressId = addressId;
   addr.displayName = displayName;
   addr.searchRequiredForFullDetails = true;
   return addr;
 }
Exemplo n.º 2
0
 public static Address getKiteTeamAddress() {
   Address addr = new Address();
   addr.recipientName = "Kite Team";
   addr.line1 = "Eastcastle House";
   addr.line2 = "27-28 Eastcastle St";
   addr.city = "London";
   addr.zipOrPostalCode = "W1W 8DH";
   addr.country = Country.getInstance("GBR");
   return addr;
 }