本文整理汇总了C++中OTPaymentPlan::GetSenderAcctID方法的典型用法代码示例。如果您正苦于以下问题:C++ OTPaymentPlan::GetSenderAcctID方法的具体用法?C++ OTPaymentPlan::GetSenderAcctID怎么用?C++ OTPaymentPlan::GetSenderAcctID使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OTPaymentPlan
的用法示例。
在下文中一共展示了OTPaymentPlan::GetSenderAcctID方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: SetTempValuesFromPaymentPlan
bool OTPayment::SetTempValuesFromPaymentPlan(const OTPaymentPlan & theInput)
{
if (OTPayment::PAYMENT_PLAN == m_Type)
{
m_bAreTempValuesSet = true;
m_bHasRecipient = true;
m_bHasRemitter = false;
// -------------------------
m_lAmount = theInput.GetInitialPaymentAmount(); // There're also regular payments of GetPaymentPlanAmount(). Can't fit 'em all.
m_lTransactionNum = theInput.GetTransactionNum();
// -------------------------
// const OTString & OTPaymentPlan::GetConsideration() const
// { return m_strConsideration; }
if (theInput.GetConsideration().Exists())
m_strMemo.Set(theInput.GetConsideration());
else
m_strMemo.Release();
// -------------------------
m_AssetTypeID = theInput.GetAssetID();
m_ServerID = theInput.GetServerID();
// ----------------------------
m_SenderUserID = theInput.GetSenderUserID();
m_SenderAcctID = theInput.GetSenderAcctID();
// ----------------------------
m_RecipientUserID = theInput.GetRecipientUserID();
m_RecipientAcctID = theInput.GetRecipientAcctID();
// ----------------------------
m_RemitterUserID.Release();
// ----------------------------
m_VALID_FROM = theInput.GetValidFrom();
m_VALID_TO = theInput.GetValidTo();
// --------------------------------
return true;
}
else
OTLog::Error("OTPayment::SetTempValuesFromPaymentPlan: Error: Wrong type. (Returning false.)\n");
return false;
}