public bool RemovePaymentAndTOSListener(PaymentAndTOSCallback callback, object userData)
    {
        PaymentAndTOSListener item = new PaymentAndTOSListener();

        item.SetCallback(callback);
        item.SetUserData(userData);
        return(this.m_paymentAndTOSListeners.Remove(item));
    }
    public bool RegisterPaymentAndTOSListener(PaymentAndTOSCallback callback, object userData)
    {
        PaymentAndTOSListener item = new PaymentAndTOSListener();

        item.SetCallback(callback);
        item.SetUserData(userData);
        if (this.m_paymentAndTOSListeners.Contains(item))
        {
            return(false);
        }
        this.m_paymentAndTOSListeners.Add(item);
        return(true);
    }
 public bool RemovePaymentAndTOSListener(PaymentAndTOSCallback callback)
 {
     return(this.RemovePaymentAndTOSListener(callback, null));
 }