Class s.d.p.PersonAdaptToCreditProvider(PersonAdapter):

Part of stoqlib.domain.person View In Hierarchy

A credit provider facet of a person.
Class Method get_provider_by_provider_id Get a provider given a provider id string
Class Method get_card_providers Get a list of all credit card providers.
Class Method has_card_provider Find out if there is a card provider

Inherited from PersonAdapter:

Method person Undocumented
Method inactivate Undocumented
Method activate Undocumented
Method get_status_string Undocumented
Method get_description Undocumented

Inherited from ModelAdapter (via PersonAdapter):

Method __init__ Creates a new Adapted for adaptable

Inherited from AbstractModel (via PersonAdapter, ModelAdapter, BaseDomain):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method _create Undocumented
Method _SO_setValue Undocumented
Method clone Get a persistent copy of an existent object. Remember that we can
Method get_connection Undocumented

Inherited from ORMObjectAdapter (via PersonAdapter, ModelAdapter):

Method get_adapted Get the adapted object

Inherited from Adapter (via PersonAdapter, ModelAdapter, ORMObjectAdapter):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method __conform__ Undocumented
@classmethod
def get_provider_by_provider_id(cls, provider_id, conn):
Get a provider given a provider id string
Parametersprovider_ida string representing the provider
conna database connection
@classmethod
def get_card_providers(cls, conn):
Get a list of all credit card providers.
Parametersconna database connection
@classmethod
def has_card_provider(cls, conn):
Find out if there is a card provider
Parametersconna database connection
Returnsif there is a card provider
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.