package com.tootsville.joshua.client.util;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * 
 * TODO: Document this type. Dec 7, 2009 : theys
 * 
 * @author <a href="mailto:theys@resinteractive.com">Tim Heys</a>
 * 
 */
public class Payment implements IsSerializable {

    /**
     * 
     */
    private boolean isCompleted = false;
    /**
     * 
     */
    private String paid = null;

    /**
     * 
     */
    private String payer = null;

    /**
     * 
     */
    private String paymentFor = null;

    /**
     * 
     */
    private String resultReason = null;

    /**
     * 
     */
    private String stamp = null;

    /**
     * 
     */
    private String [] annotations;

    /**
     * @return the annotations
     */
    public String [] getAnnotations () {
        return annotations;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public String getPaid () {
        // default getter (theys, Oct 15, 2009)
        return paid;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public String getPayer () {
        // default getter (theys, Oct 15, 2009)
        return payer;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public String getPaymentFor () {
        // default getter (theys, Oct 15, 2009)
        return paymentFor;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public String getResultReason () {
        // default getter (theys, Oct 15, 2009)
        return resultReason;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public String getStamp () {
        // default getter (theys, Oct 15, 2009)
        return stamp;
    }

    /**
     * 
     * WRITEME
     * 
     * @return
     */
    public boolean isCompleted () {
        // default getter (theys, Oct 15, 2009)
        return isCompleted;
    }

    /**
     * TODO: Document this method. Dec 7, 2009 : theys
     * 
     * @param annotations
     */
    public void setAnnotations (final String [] newAnnotations) {
        annotations = newAnnotations;
    }

    /**
     * 
     * WRITEME
     * 
     * @param completed
     */
    public void setCompleted (final boolean completed) {
        isCompleted = completed;
    }

    /**
     * 
     * WRITEME
     * 
     * @param newPaid
     */
    public void setPaid (final String newPaid) {
        paid = newPaid;
    }

    /**
     * 
     * WRITEME
     * 
     * @param newPayer
     */
    public void setPayer (final String newPayer) {
        payer = newPayer;
    }

    /**
     * 
     * WRITEME
     * 
     * @param newPaymentFor
     */
    public void setPaymentFor (final String newPaymentFor) {
        paymentFor = newPaymentFor;
    }

    /**
     * 
     * WRITEME
     * 
     * @param newResultReason
     */
    public void setResultReason (final String newResultReason) {
        resultReason = newResultReason;
    }

    /**
     * 
     * WRITEME
     * 
     * @param newStamp
     */
    public void setStamp (final String newStamp) {
        stamp = newStamp;
    }

}
