Rev 404 | Rev 635 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 03-May-2010@author: ashish'''from shop2020.clients.UserClient import UserClientfrom shop2020.thriftpy.model.v1.user.ttypes import *from shop2020.thriftpy.model.v1.user.UserContextService import addAddressForUser_resultuser_client = UserClient()user_client.__start__()client = user_client.get_client()address1 = Address()address1.city = "Sikar"address1.country = "India"address1.pin = "332301"address1.line1 = "Line 1 house 1"address1.line2 = "Line 2 House 2"address1.enabled = True#addresses = []#addresses.append(address1)#primary_info.addresses = addresses