public CallabilityPrice(double amount, CallabilityPrice.Type type) : this(NQuantLibcPINVOKE.new_CallabilityPrice(amount, (int)type), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public CallabilityPrice.Type type()
 {
     CallabilityPrice.Type ret = (CallabilityPrice.Type)NQuantLibcPINVOKE.CallabilityPrice_type(swigCPtr);
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }