24 #ifndef _DIALOG_PAYMENT_H 25 #define _DIALOG_PAYMENT_H 37 PaymentWindow * gnc_ui_payment_new (GtkWindow *parent,
GncOwner *owner, QofBook *book);
38 PaymentWindow * gnc_ui_payment_new_with_invoice (GtkWindow *parent,
42 PaymentWindow * gnc_ui_payment_new_with_txn (GtkWindow *parent,
GncOwner *owner, Transaction *txn);
46 gboolean gnc_ui_payment_is_customer_payment(
const Transaction *txn);
49 void gnc_ui_payment_window_destroy (PaymentWindow *pw);
51 void gnc_ui_payment_window_set_num (PaymentWindow *pw,
const char* num);
52 void gnc_ui_payment_window_set_memo (PaymentWindow *pw,
const char* memo);
53 void gnc_ui_payment_window_set_date (PaymentWindow *pw,
const GDate *date);
54 void gnc_ui_payment_window_set_amount (PaymentWindow *pw, gnc_numeric amount);
55 void gnc_ui_payment_window_set_postaccount (PaymentWindow *pw,
const Account* account);
56 void gnc_ui_payment_window_set_xferaccount (PaymentWindow *pw,
const Account* account);
Business Interface: Object OWNERs.
Business Invoice Interface.