Part of stoqlib.domain.payment.group View In Hierarchy
Method | add_item | Undocumented |
Method | remove_item | Undocumented |
Method | get_items | Undocumented |
Method | payments | Undocumented |
Method | _get_paid_payments | Undocumented |
Method | can_cancel | Everything can be called |
Method | can_confirm | Newly created payment groups can be confirmed |
Method | can_pay | Confirmed payment groups can be paid |
Method | confirm | Confirms the payment group |
Method | pay | Pay all payments in the payment group |
Method | pay_money_payments | Pay all money payments in the payment group |
Method | cancel | Cancel all payments in the payment group |
Method | get_total_paid | Undocumented |
Method | get_total_value | Returns the sum of all payment values. |
Method | clear_unused | Delete payments of preview status associated to the current |
Method | get_description | Returns a small description for the payment group which will be |
Method | get_pending_payments | Undocumented |
Method | get_parent | Return the sale, purchase or renegotiation this group is part of |
Method | get_status_string | Undocumented |
Method | get_total_discount | Returns the sum of all payment discounts. |
Method | get_total_interest | Returns the sum of all payment interests. |
Method | get_total_penalty | Returns the sum of all payment penalties. |
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. |
Returns | True if the payment group can be cancelled, otherwise False |
Returns | True if the payment group can be confirmed, otherwise False |
Returns | True if the payment group can be paid, otherwise False |
Returns | the total payment value or zero. |
Returns | the total payment discount or zero. |