foliolib.folio.usersImpl.UserAddress

class foliolib.folio.usersImpl.UserAddress(addressType, **kwargs)

Bases: collections.UserDict

Physical addresses associated with the user.

Tihs class can be used for UserImpl.add_user and UserImpl.modify_user methods.

Parameters

addressType (str) – addressType name or id.

Keyword Arguments
  • id (str) – UUID of the address.

  • primaryAddress (bool) – Wether is primary address.

  • countryId (str) – The country code for this address.

  • addressLine1 (str) – Address, Line 1.

  • addressLine2 (str) – Address, Line 2.

  • city (str) – City name.

  • region (str) – Region.

  • postalCode (str) – Postal Code.

Methods