示例#1
0
 public void SetDateRange(SWIGTYPE_p_time64_t tValidFrom, SWIGTYPE_p_time64_t tValidTo)
 {
     otapiPINVOKE.OTRecord_SetDateRange(swigCPtr, SWIGTYPE_p_time64_t.getCPtr(tValidFrom), SWIGTYPE_p_time64_t.getCPtr(tValidTo));
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static string Create_SmartContract(string SIGNER_NYM_ID, SWIGTYPE_p_time64_t VALID_FROM, SWIGTYPE_p_time64_t VALID_TO) {
   string ret = otapiPINVOKE.OTAPI_Wrap_Create_SmartContract(SIGNER_NYM_ID, SWIGTYPE_p_time64_t.getCPtr(VALID_FROM), SWIGTYPE_p_time64_t.getCPtr(VALID_TO));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string ProposePaymentPlan(string SERVER_ID, SWIGTYPE_p_time64_t VALID_FROM, SWIGTYPE_p_time64_t VALID_TO, string SENDER_ACCT_ID, string SENDER_USER_ID, string PLAN_CONSIDERATION, string RECIPIENT_ACCT_ID, string RECIPIENT_USER_ID, long INITIAL_PAYMENT_AMOUNT, SWIGTYPE_p_time64_t INITIAL_PAYMENT_DELAY, long PAYMENT_PLAN_AMOUNT, SWIGTYPE_p_time64_t PAYMENT_PLAN_DELAY, SWIGTYPE_p_time64_t PAYMENT_PLAN_PERIOD, SWIGTYPE_p_time64_t PAYMENT_PLAN_LENGTH, int PAYMENT_PLAN_MAX_PAYMENTS) {
   string ret = otapiPINVOKE.OTAPI_Wrap_ProposePaymentPlan(SERVER_ID, SWIGTYPE_p_time64_t.getCPtr(VALID_FROM), SWIGTYPE_p_time64_t.getCPtr(VALID_TO), SENDER_ACCT_ID, SENDER_USER_ID, PLAN_CONSIDERATION, RECIPIENT_ACCT_ID, RECIPIENT_USER_ID, INITIAL_PAYMENT_AMOUNT, SWIGTYPE_p_time64_t.getCPtr(INITIAL_PAYMENT_DELAY), PAYMENT_PLAN_AMOUNT, SWIGTYPE_p_time64_t.getCPtr(PAYMENT_PLAN_DELAY), SWIGTYPE_p_time64_t.getCPtr(PAYMENT_PLAN_PERIOD), SWIGTYPE_p_time64_t.getCPtr(PAYMENT_PLAN_LENGTH), PAYMENT_PLAN_MAX_PAYMENTS);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string WriteCheque(string SERVER_ID, long CHEQUE_AMOUNT, SWIGTYPE_p_time64_t VALID_FROM, SWIGTYPE_p_time64_t VALID_TO, string SENDER_ACCT_ID, string SENDER_USER_ID, string CHEQUE_MEMO, string RECIPIENT_USER_ID) {
   string ret = otapiPINVOKE.OTAPI_Wrap_WriteCheque(SERVER_ID, CHEQUE_AMOUNT, SWIGTYPE_p_time64_t.getCPtr(VALID_FROM), SWIGTYPE_p_time64_t.getCPtr(VALID_TO), SENDER_ACCT_ID, SENDER_USER_ID, CHEQUE_MEMO, RECIPIENT_USER_ID);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int issueMarketOffer(string ASSET_ACCT_ID, string CURRENCY_ACCT_ID, long MARKET_SCALE, long MINIMUM_INCREMENT, long TOTAL_ASSETS_ON_OFFER, long PRICE_LIMIT, bool bBuyingOrSelling, SWIGTYPE_p_time64_t LIFESPAN_IN_SECONDS, string STOP_SIGN, long ACTIVATION_PRICE) {
   int ret = otapiPINVOKE.OTAPI_Wrap_issueMarketOffer(ASSET_ACCT_ID, CURRENCY_ACCT_ID, MARKET_SCALE, MINIMUM_INCREMENT, TOTAL_ASSETS_ON_OFFER, PRICE_LIMIT, bBuyingOrSelling, SWIGTYPE_p_time64_t.getCPtr(LIFESPAN_IN_SECONDS), STOP_SIGN, ACTIVATION_PRICE);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static SWIGTYPE_p_time64_t Instrmnt_GetValidTo(string THE_INSTRUMENT) {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTAPI_Wrap_Instrmnt_GetValidTo(THE_INSTRUMENT), true);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#7
0
 public SWIGTYPE_p_time64_t GetPaymentPlanStartDate() {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetPaymentPlanStartDate(swigCPtr), true);
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_time64_t obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public static SWIGTYPE_p_time64_t GetTime() {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTAPI_Wrap_GetTime(), true);
   return ret;
 }
示例#10
0
 public void AddSpecialMsg(string str_msg_id, bool bIsOutgoing, int nMethodID, string str_contents, string str_address, string str_other_address, string str_type, string str_type_display, string str_my_nym_id, SWIGTYPE_p_time64_t tDate) {
   otapiPINVOKE.OTRecordList_AddSpecialMsg__SWIG_0(swigCPtr, str_msg_id, bIsOutgoing, nMethodID, str_contents, str_address, str_other_address, str_type, str_type_display, str_my_nym_id, SWIGTYPE_p_time64_t.getCPtr(tDate));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
 public void AddSpecialMsg(string str_msg_id, bool bIsOutgoing, int nMethodID, string str_contents, string str_address, string str_other_address, string str_type, string str_type_display, string str_my_nym_id, SWIGTYPE_p_time64_t tDate)
 {
     otapiPINVOKE.OTRecordList_AddSpecialMsg__SWIG_0(swigCPtr, str_msg_id, bIsOutgoing, nMethodID, str_contents, str_address, str_other_address, str_type, str_type_display, str_my_nym_id, SWIGTYPE_p_time64_t.getCPtr(tDate));
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_time64_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#13
0
        public SWIGTYPE_p_time64_t GetTimeBetweenPayments()
        {
            SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetTimeBetweenPayments(swigCPtr), true);

            return(ret);
        }
示例#14
0
        public SWIGTYPE_p_time64_t GetPaymentPlanStartDate()
        {
            SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetPaymentPlanStartDate(swigCPtr), true);

            return(ret);
        }
示例#15
0
 public SWIGTYPE_p_time64_t GetValidTo() {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetValidTo(swigCPtr), true);
   return ret;
 }
 public static SWIGTYPE_p_time64_t Transaction_GetDateSigned(string SERVER_ID, string USER_ID, string ACCOUNT_ID, string THE_TRANSACTION) {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTAPI_Wrap_Transaction_GetDateSigned(SERVER_ID, USER_ID, ACCOUNT_ID, THE_TRANSACTION), true);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#17
0
 public void SetDateRange(SWIGTYPE_p_time64_t tValidFrom, SWIGTYPE_p_time64_t tValidTo) {
   otapiPINVOKE.OTRecord_SetDateRange(swigCPtr, SWIGTYPE_p_time64_t.getCPtr(tValidFrom), SWIGTYPE_p_time64_t.getCPtr(tValidTo));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
 public static SWIGTYPE_p_time64_t Token_GetValidTo(string SERVER_ID, string ASSET_TYPE_ID, string THE_TOKEN) {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTAPI_Wrap_Token_GetValidTo(SERVER_ID, ASSET_TYPE_ID, THE_TOKEN), true);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#19
0
 public SWIGTYPE_p_time64_t GetTimeBetweenPayments() {
   SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetTimeBetweenPayments(swigCPtr), true);
   return ret;
 }
示例#20
0
        public SWIGTYPE_p_time64_t GetValidTo()
        {
            SWIGTYPE_p_time64_t ret = new SWIGTYPE_p_time64_t(otapiPINVOKE.OTRecord_GetValidTo(swigCPtr), true);

            return(ret);
        }