Class s.d.p.r.PaymentRenegotiation(Domain):

Part of stoqlib.domain.payment.renegotiation View In Hierarchy

Class for payments renegotiations
Method can_set_renegotiated Only sales with status confirmed can be renegotiated.
Method get_client_name Undocumented
Method get_responsible_name Undocumented
Method get_status_name Undocumented
Method get_subtotal Undocumented
Method set_renegotiated Set the sale as renegotiated. The sale payments have been
Method payments Undocumented
Method add_item Undocumented
Method remove_item Undocumented
Method get_items Undocumented

Inherited from Domain:

Method __init__ Undocumented
Method _create Undocumented
Method user Undocumented
Class Method iselect Like select, but search on the adapter implementing the interface iface
Class Method iselectBy Like selectBy, but search on the adapter implementing the interface iface
Class Method iselectOne Like selectOne, but search on the adapter implementing the interface iface
Class Method iselectOneBy Like selectOneBy, but search on the adapter implementing the interface iface
Class Method iget Like get, but gets on the adapter implementing the interface iface

Inherited from AbstractModel (via Domain, BaseDomain):

Method __ne__ Undocumented
Method __eq__ 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 AdaptableORMObject (via Domain):

Class Method registerFacet Registers a facet for class cls.

Inherited from Adaptable (via Domain, AdaptableORMObject):

Class Method getFacetType Fetches a facet type associated with an interface, or raise
Class Method getFacetTypes Returns facet classes for this object
Method addFacet Adds a facet implementing iface for the current object
Method removeFacet Removes a facet from the current object
Method getFacets Gets a list of facets assoicated with the current object.
def can_set_renegotiated(self):
Only sales with status confirmed can be renegotiated.
ReturnsTrue if the sale can be renegotiated, False otherwise.
def get_client_name(self):
Undocumented
def get_responsible_name(self):
Undocumented
def get_status_name(self):
Undocumented
def get_subtotal(self):
Undocumented
def set_renegotiated(self):
Set the sale as renegotiated. The sale payments have been renegotiated and the operations will be done in other payment group.
@property
def payments(self):
Undocumented
def add_item(self, payment):
Undocumented
def remove_item(self, payment):
Undocumented
def get_items(self):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.